Skip to content

Commit

Permalink
Merge pull request #957 from xPaw/protobufs
Browse files Browse the repository at this point in the history
Update protobufs
  • Loading branch information
yaakov-h authored Jan 10, 2021
2 parents ae73921 + a9b216e commit f43d827
Show file tree
Hide file tree
Showing 105 changed files with 296 additions and 204 deletions.
2 changes: 2 additions & 0 deletions Resources/ProtobufGen/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
& git submodule update --remote --merge
& "$PSScriptRoot\generate-all.ps1"
2 changes: 1 addition & 1 deletion Resources/SteamLanguage/enums.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ enum EAppType flags
Beta = 65536;

Shortcut = 1073741824;
DepotOnly = -2147483648;
DepotOnly = -2147483648; obsolete
};

enum EChatRoomGroupType
Expand Down
2 changes: 1 addition & 1 deletion Resources/SteamLanguage/eresult.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ enum EResult
DeniedDueToCommunityCooldown = 116;
NoLauncherSpecified = 117;
MustAgreeToSSA = 118;
ClientNoLongerSupported = 119;
LauncherMigrated = 119;
};
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/ContentManifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.Internal
{

Expand Down Expand Up @@ -403,5 +403,5 @@ public enum EContentDeltaChunkDataLocation

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.Internal
{

Expand Down Expand Up @@ -121,5 +121,5 @@ public enum EProfileCustomizationType

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -5705,5 +5705,5 @@ public enum EChatMessageAdditionalData

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -3491,5 +3491,5 @@ public enum DCG_COMBATLOG_TYPES

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -2042,5 +2042,5 @@ public enum EGCServerSignoutData

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -3703,5 +3703,5 @@ public enum GCProtoBufMsgSrc

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/Artifact/SteamMsgGC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -2874,5 +2874,5 @@ public enum ECustomGameInstallStatus

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -4509,5 +4509,5 @@ public enum EGCMsgInitiateTradeResponse

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -90,5 +90,5 @@ public enum EGCMsgUseItemResponse

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -2047,5 +2047,5 @@ public enum GCConnectionStatus

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Artifact.Internal
{

Expand Down Expand Up @@ -41,5 +41,5 @@ public enum EGCBaseClientMsg

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
5 changes: 3 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.CSGO.Internal
{

Expand Down Expand Up @@ -7647,6 +7647,7 @@ public enum ECsgoGCMsg
k_EMsgGCCStrike15_v2_GC2ClientRequestValidation = 9207,
k_EMsgGCCStrike15_v2_ClientRedeemMissionReward = 9209,
k_EMsgGCCStrike15_ClientDeepStats = 9210,
k_EMsgGCCStrike15_StartAgreementSessionInGame = 9211,
}

[global::ProtoBuf.ProtoContract()]
Expand All @@ -7667,5 +7668,5 @@ public enum EClientReportingVersion

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
53 changes: 51 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.CSGO.Internal
{

Expand Down Expand Up @@ -3487,6 +3487,55 @@ public enum EErrorCode

}

[global::ProtoBuf.ProtoContract()]
public partial class CChinaAgreementSessions_StartAgreementSessionInGame_Request : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

[global::ProtoBuf.ProtoMember(1)]
public uint appid
{
get => __pbn__appid.GetValueOrDefault();
set => __pbn__appid = value;
}
public bool ShouldSerializeappid() => __pbn__appid != null;
public void Resetappid() => __pbn__appid = null;
private uint? __pbn__appid;

[global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
public ulong steamid
{
get => __pbn__steamid.GetValueOrDefault();
set => __pbn__steamid = value;
}
public bool ShouldSerializesteamid() => __pbn__steamid != null;
public void Resetsteamid() => __pbn__steamid = null;
private ulong? __pbn__steamid;

}

[global::ProtoBuf.ProtoContract()]
public partial class CChinaAgreementSessions_StartAgreementSessionInGame_Response : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

[global::ProtoBuf.ProtoMember(1)]
[global::System.ComponentModel.DefaultValue("")]
public string agreement_url
{
get => __pbn__agreement_url ?? "";
set => __pbn__agreement_url = value;
}
public bool ShouldSerializeagreement_url() => __pbn__agreement_url != null;
public void Resetagreement_url() => __pbn__agreement_url = null;
private string __pbn__agreement_url;

}

[global::ProtoBuf.ProtoContract()]
public enum GCProtoBufMsgSrc
{
Expand All @@ -3499,5 +3548,5 @@ public enum GCProtoBufMsgSrc

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.CSGO.Internal
{

Expand Down Expand Up @@ -3217,5 +3217,5 @@ public enum GC_BannedWordType

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.CSGO.Internal
{

Expand Down Expand Up @@ -363,5 +363,5 @@ public enum EGCItemCustomizationNotification

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.CSGO.Internal
{

Expand Down Expand Up @@ -120,5 +120,5 @@ public uint cdndelay

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
5 changes: 3 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSDK.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.CSGO.Internal
{

Expand Down Expand Up @@ -1686,6 +1686,7 @@ public enum GCClientLauncherType
{
GCClientLauncherType_DEFAULT = 0,
GCClientLauncherType_PERFECTWORLD = 1,
GCClientLauncherType_STEAMCHINA = 2,
}

[global::ProtoBuf.ProtoContract()]
Expand All @@ -1700,5 +1701,5 @@ public enum GCConnectionStatus

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.CSGO.Internal
{

Expand Down Expand Up @@ -673,5 +673,5 @@ public enum ECommunityItemAttribute

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
4 changes: 2 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgClientEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.GC.Dota.Internal
{

Expand Down Expand Up @@ -117,5 +117,5 @@ public enum EPartyBeaconType

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
Loading

0 comments on commit f43d827

Please sign in to comment.