Skip to content

Commit

Permalink
Update protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Jul 29, 2021
1 parent 42ce7fc commit 4e94498
Show file tree
Hide file tree
Showing 42 changed files with 5,852 additions and 2,641 deletions.
1 change: 1 addition & 0 deletions Resources/ProtobufGen/protos.csv
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ steam,steammessages_chat.steamclient.proto,SteamMsgChat.cs,SteamKit2.Internal
steam,steammessages_clientserver.proto,SteamMsgClientServer.cs,SteamKit2.Internal
steam,steammessages_clientserver_2.proto,SteamMsgClientServer2.cs,SteamKit2.Internal
steam,steammessages_clientserver_friends.proto,SteamMsgClientServerFriends.cs,SteamKit2.Internal
steam,steammessages_clientserver_gameservers.proto,SteamMsgClientServerGameServers.cs,SteamKit2.Internal
steam,steammessages_clientserver_login.proto,SteamMsgClientServerLogin.cs,SteamKit2.Internal
steam,steammessages_cloud.steamclient.proto,SteamMsgCloud.cs,SteamKit2.Internal
steam,steammessages_credentials.steamclient.proto,SteamMsgCredentials.cs,SteamKit2.Internal
Expand Down
2 changes: 1 addition & 1 deletion Resources/Protobufs
Submodule Protobufs updated 87 files
+4 −2 artifact/dcg_gcmessages_common.proto
+2 −1 artifact/dcg_gcmessages_server.proto
+10 −0 csgo/cstrike15_gcmessages.proto
+0 −21 csgo/cstrike15_usermessages.proto
+1 −0 csgo/econ_gcmessages.proto
+10 −0 csgo/gcsystemmsgs.proto
+2 −1 csgo/steamdatagram_messages_auth.proto
+16 −83 csgo/steamdatagram_messages_sdr.proto
+3 −0 csgo/steammessages.proto
+42 −0 csgo/steammessages_gamenetworkingui.proto
+7 −0 csgo/steamnetworkingsockets_messages.proto
+28 −0 dota2/base_gcmessages.proto
+3 −0 dota2/demo.proto
+38 −9 dota2/dota_clientmessages.proto
+8 −2 dota2/dota_commonmessages.proto
+118 −103 dota2/dota_gcmessages_client.proto
+14 −0 dota2/dota_gcmessages_client_chat.proto
+379 −0 dota2/dota_gcmessages_client_coaching.proto
+39 −1 dota2/dota_gcmessages_client_fantasy.proto
+2 −0 dota2/dota_gcmessages_client_guild.proto
+1 −0 dota2/dota_gcmessages_client_guild_events.proto
+2 −0 dota2/dota_gcmessages_client_match_management.proto
+56 −0 dota2/dota_gcmessages_client_team.proto
+1 −0 dota2/dota_gcmessages_client_watch.proto
+224 −86 dota2/dota_gcmessages_common.proto
+4 −0 dota2/dota_gcmessages_common_bot_script.proto
+44 −0 dota2/dota_gcmessages_common_league.proto
+17 −1 dota2/dota_gcmessages_common_match_management.proto
+41 −5 dota2/dota_gcmessages_msgid.proto
+76 −19 dota2/dota_gcmessages_server.proto
+4 −0 dota2/dota_match_metadata.proto
+7 −3 dota2/dota_messages_mlbot.proto
+27 −6 dota2/dota_shared_enums.proto
+41 −2 dota2/dota_usermessages.proto
+8 −17 dota2/econ_gcmessages.proto
+10 −0 dota2/gcsdk_gcmessages.proto
+11 −0 dota2/netmessages.proto
+25 −83 dota2/steamdatagram_messages_sdr.proto
+1 −0 dota2/steammessages.proto
+42 −0 dota2/steammessages_gamenetworkingui.proto
+11 −0 dota2/steamnetworkingsockets_messages.proto
+1 −1 dota2/usermessages.proto
+14 −0 steam/enums.proto
+1 −12 steam/enums_clientserver.proto
+34 −0 steam/htmlmessages.proto
+112 −0 steam/iclient_objects.proto
+23 −84 steam/steamdatagram_messages_sdr.proto
+1 −0 steam/steammessages_appoverview.proto
+2 −0 steam/steammessages_base.proto
+3 −0 steam/steammessages_chat.steamclient.proto
+55 −0 steam/steammessages_clientmetrics.steamclient.proto
+11 −0 steam/steammessages_clientnotificationtypes.proto
+1 −36 steam/steammessages_clientserver.proto
+0 −175 steam/steammessages_clientserver_2.proto
+3 −0 steam/steammessages_clientserver_friends.proto
+157 −0 steam/steammessages_clientserver_gameservers.proto
+1 −0 steam/steammessages_clientserver_login.proto
+114 −1 steam/steammessages_cloud.steamclient.proto
+2 −0 steam/steammessages_contentsystem.steamclient.proto
+5 −2 steam/steammessages_credentials.steamclient.proto
+26 −0 steam/steammessages_datapublisher.steamclient.proto
+1 −0 steam/steammessages_friendmessages.steamclient.proto
+42 −0 steam/steammessages_gamenetworkingui.proto
+1 −0 steam/steammessages_hiddevices.proto
+17 −0 steam/steammessages_player.steamclient.proto
+22 −1 steam/steammessages_publishedfile.steamclient.proto
+8 −0 steam/steammessages_remoteclient_service.steamclient.proto
+46 −3 steam/steammessages_remoteclient_service_messages.proto
+22 −0 steam/steammessages_workshop.steamclient.proto
+10 −2 steam/steamnetworkingsockets_messages.proto
+38 −0 steam/stream.proto
+557 −101 webui/common.proto
+90 −0 webui/friends_mobile.proto
+42 −0 webui/service_accountprivacy.proto
+1 −98 webui/service_chatroom.proto
+16 −0 webui/service_clan.proto
+162 −0 webui/service_clanfaqs.proto
+3 −0 webui/service_clientmetrics.proto
+12 −71 webui/service_community.proto
+0 −2 webui/service_friendmessages.proto
+11 −42 webui/service_loyaltyrewards.proto
+16 −45 webui/service_player.proto
+1 −0 webui/service_publishedfile.proto
+2 −9 webui/service_quest.proto
+1 −0 webui/service_saleitemrewards.proto
+0 −170 webui/service_storebrowse.proto
+26 −0 webui/service_storequery.proto
1 change: 1 addition & 0 deletions Resources/SteamLanguage/enums.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ enum EOSType
Macos1015 = -82;
MacOS1016 = -81;
MacOS11 = -80;
MacOS111 = -79;
MacOSMax = -1;

LinuxUnknown = -203;
Expand Down
1 change: 1 addition & 0 deletions Resources/SteamLanguage/eresult.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,5 @@ enum EResult
NoLauncherSpecified = 117;
MustAgreeToSSA = 118;
LauncherMigrated = 119;
CurrentSteamRealmDoesNotMatch = 120;
};
18 changes: 18 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public enum EPublishedFileQueryType
k_PublishedFileQueryType_RankedByPlaytimeSessionsTrend = 17,
k_PublishedFileQueryType_RankedByLifetimePlaytimeSessions = 18,
k_PublishedFileQueryType_RankedByInappropriateContentRating = 19,
k_PublishedFileQueryType_RankedByBanContentCheck = 20,
}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -119,6 +120,23 @@ public enum EProfileCustomizationType
k_EProfileCustomizationTypeAchievementsCompletionist = 23,
}

[global::ProtoBuf.ProtoContract()]
public enum EPublishedFileStorageSystem
{
k_EPublishedFileStorageSystemInvalid = 0,
k_EPublishedFileStorageSystemLegacyCloud = 1,
k_EPublishedFileStorageSystemDepot = 2,
k_EPublishedFileStorageSystemUGCCloud = 3,
}

[global::ProtoBuf.ProtoContract()]
public enum ECloudStoragePersistState
{
k_ECloudStoragePersistStatePersisted = 0,
k_ECloudStoragePersistStateForgotten = 1,
k_ECloudStoragePersistStateDeleted = 2,
}

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
Expand Down
25 changes: 18 additions & 7 deletions SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ public uint draft_mmr_level
public enum EFlags
{
k_eDeveloper = 1,
k_eFreePlayer = 2,
}

}
Expand Down Expand Up @@ -944,16 +945,16 @@ public EDCGMatchMode match_mode
private EDCGMatchMode? __pbn__match_mode;

[global::ProtoBuf.ProtoMember(5)]
public byte[] deck_data
public byte[] deck_code
{
get => __pbn__deck_data;
set => __pbn__deck_data = value;
get => __pbn__deck_code;
set => __pbn__deck_code = value;
}
public bool ShouldSerializedeck_data() => __pbn__deck_data != null;
public void Resetdeck_data() => __pbn__deck_data = null;
private byte[] __pbn__deck_data;
public bool ShouldSerializedeck_code() => __pbn__deck_code != null;
public void Resetdeck_code() => __pbn__deck_code = null;
private byte[] __pbn__deck_code;

[global::ProtoBuf.ProtoMember(6)]
[global::ProtoBuf.ProtoMember(7)]
public bool is_anonymous
{
get => __pbn__is_anonymous.GetValueOrDefault();
Expand All @@ -963,6 +964,16 @@ public bool is_anonymous
public void Resetis_anonymous() => __pbn__is_anonymous = null;
private bool? __pbn__is_anonymous;

[global::ProtoBuf.ProtoMember(8)]
public byte[] collection_code
{
get => __pbn__collection_code;
set => __pbn__collection_code = value;
}
public bool ShouldSerializecollection_code() => __pbn__collection_code != null;
public void Resetcollection_code() => __pbn__collection_code = null;
private byte[] __pbn__collection_code;

}

[global::ProtoBuf.ProtoContract()]
Expand Down
22 changes: 16 additions & 6 deletions SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,24 @@ public partial class CServerLobbyData_PlayerDeck : global::ProtoBuf.IExtensible
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

[global::ProtoBuf.ProtoMember(1)]
public byte[] deck_data
public byte[] deck_code
{
get => __pbn__deck_data;
set => __pbn__deck_data = value;
get => __pbn__deck_code;
set => __pbn__deck_code = value;
}
public bool ShouldSerializedeck_data() => __pbn__deck_data != null;
public void Resetdeck_data() => __pbn__deck_data = null;
private byte[] __pbn__deck_data;
public bool ShouldSerializedeck_code() => __pbn__deck_code != null;
public void Resetdeck_code() => __pbn__deck_code = null;
private byte[] __pbn__deck_code;

[global::ProtoBuf.ProtoMember(2)]
public byte[] collection_code
{
get => __pbn__collection_code;
set => __pbn__collection_code = value;
}
public bool ShouldSerializecollection_code() => __pbn__collection_code != null;
public void Resetcollection_code() => __pbn__collection_code = null;
private byte[] __pbn__collection_code;

}

Expand Down
59 changes: 59 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2926,6 +2926,12 @@ public bool b_switched_teams
[global::ProtoBuf.ProtoMember(28)]
public global::System.Collections.Generic.List<int> enemy_2ks { get; } = new global::System.Collections.Generic.List<int>();

[global::ProtoBuf.ProtoMember(29)]
public global::System.Collections.Generic.List<int> player_spawned { get; } = new global::System.Collections.Generic.List<int>();

[global::ProtoBuf.ProtoMember(30)]
public global::System.Collections.Generic.List<int> team_spawn_count { get; } = new global::System.Collections.Generic.List<int>();

[global::ProtoBuf.ProtoContract()]
public partial class DropInfo : global::ProtoBuf.IExtensible
{
Expand Down Expand Up @@ -5591,6 +5597,9 @@ public uint type
public void Resettype() => __pbn__type = null;
private uint? __pbn__type;

[global::ProtoBuf.ProtoMember(4)]
public global::System.Collections.Generic.List<uint> userdata { get; } = new global::System.Collections.Generic.List<uint>();

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -5930,6 +5939,35 @@ public uint season_pass_time

}

[global::ProtoBuf.ProtoContract()]
public partial class CSOAccountRecurringSubscription : 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 time_next_cycle
{
get => __pbn__time_next_cycle.GetValueOrDefault();
set => __pbn__time_next_cycle = value;
}
public bool ShouldSerializetime_next_cycle() => __pbn__time_next_cycle != null;
public void Resettime_next_cycle() => __pbn__time_next_cycle = null;
private uint? __pbn__time_next_cycle;

[global::ProtoBuf.ProtoMember(2)]
public uint time_initiated
{
get => __pbn__time_initiated.GetValueOrDefault();
set => __pbn__time_initiated = value;
}
public bool ShouldSerializetime_initiated() => __pbn__time_initiated != null;
public void Resettime_initiated() => __pbn__time_initiated = null;
private uint? __pbn__time_initiated;

}

[global::ProtoBuf.ProtoContract()]
public partial class CSOPersonaDataPublic : global::ProtoBuf.IExtensible
{
Expand Down Expand Up @@ -7518,6 +7556,27 @@ public bool show_warning_not_trusted
public void Resetshow_warning_not_trusted() => __pbn__show_warning_not_trusted = null;
private bool? __pbn__show_warning_not_trusted;

[global::ProtoBuf.ProtoMember(8)]
public bool show_warning_not_trusted_2
{
get => __pbn__show_warning_not_trusted_2.GetValueOrDefault();
set => __pbn__show_warning_not_trusted_2 = value;
}
public bool ShouldSerializeshow_warning_not_trusted_2() => __pbn__show_warning_not_trusted_2 != null;
public void Resetshow_warning_not_trusted_2() => __pbn__show_warning_not_trusted_2 = null;
private bool? __pbn__show_warning_not_trusted_2;

[global::ProtoBuf.ProtoMember(9)]
[global::System.ComponentModel.DefaultValue("")]
public string files_prevented_trusted
{
get => __pbn__files_prevented_trusted ?? "";
set => __pbn__files_prevented_trusted = value;
}
public bool ShouldSerializefiles_prevented_trusted() => __pbn__files_prevented_trusted != null;
public void Resetfiles_prevented_trusted() => __pbn__files_prevented_trusted = null;
private string __pbn__files_prevented_trusted;

}

[global::ProtoBuf.ProtoContract()]
Expand Down
31 changes: 31 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2292,6 +2292,26 @@ public string txn_country_code
public void Resettxn_country_code() => __pbn__txn_country_code = null;
private string __pbn__txn_country_code;

[global::ProtoBuf.ProtoMember(38)]
public bool has_accepted_china_ssa
{
get => __pbn__has_accepted_china_ssa.GetValueOrDefault();
set => __pbn__has_accepted_china_ssa = value;
}
public bool ShouldSerializehas_accepted_china_ssa() => __pbn__has_accepted_china_ssa != null;
public void Resethas_accepted_china_ssa() => __pbn__has_accepted_china_ssa = null;
private bool? __pbn__has_accepted_china_ssa;

[global::ProtoBuf.ProtoMember(39)]
public bool is_banned_steam_china
{
get => __pbn__is_banned_steam_china.GetValueOrDefault();
set => __pbn__is_banned_steam_china = value;
}
public bool ShouldSerializeis_banned_steam_china() => __pbn__is_banned_steam_china != null;
public void Resetis_banned_steam_china() => __pbn__is_banned_steam_china = null;
private bool? __pbn__is_banned_steam_china;

}

[global::ProtoBuf.ProtoContract()]
Expand Down Expand Up @@ -3514,6 +3534,17 @@ public ulong steamid
public void Resetsteamid() => __pbn__steamid = null;
private ulong? __pbn__steamid;

[global::ProtoBuf.ProtoMember(3)]
[global::System.ComponentModel.DefaultValue("")]
public string client_ipaddress
{
get => __pbn__client_ipaddress ?? "";
set => __pbn__client_ipaddress = value;
}
public bool ShouldSerializeclient_ipaddress() => __pbn__client_ipaddress != null;
public void Resetclient_ipaddress() => __pbn__client_ipaddress = null;
private string __pbn__client_ipaddress;

}

[global::ProtoBuf.ProtoContract()]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ public enum EGCItemMsg
k_EMsgGCRequestPassportItemGrant = 2527,
k_EMsgGCClientVersionUpdated = 2528,
k_EMsgGCAdjustItemEquippedStateMulti = 2529,
k_EMsgGCRecurringSubscriptionStatus = 2530,
}

[global::ProtoBuf.ProtoContract()]
Expand Down
52 changes: 52 additions & 0 deletions SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,55 @@ public ulong steamid_lobby

}

[global::ProtoBuf.ProtoContract()]
public partial class CMsgGCHRecurringSubscriptionStatusChange : 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, 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.ProtoMember(2)]
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(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
public ulong agreementid
{
get => __pbn__agreementid.GetValueOrDefault();
set => __pbn__agreementid = value;
}
public bool ShouldSerializeagreementid() => __pbn__agreementid != null;
public void Resetagreementid() => __pbn__agreementid = null;
private ulong? __pbn__agreementid;

[global::ProtoBuf.ProtoMember(4)]
public bool active
{
get => __pbn__active.GetValueOrDefault();
set => __pbn__active = value;
}
public bool ShouldSerializeactive() => __pbn__active != null;
public void Resetactive() => __pbn__active = null;
private bool? __pbn__active;

}

[global::ProtoBuf.ProtoContract()]
public partial class CQuest_PublisherAddCommunityItemsToPlayer_Request : global::ProtoBuf.IExtensible
{
Expand Down Expand Up @@ -596,6 +645,9 @@ public enum EGCSystemMsg
k_EGCMsgGetGamePersonalDataEntriesResponse = 527,
k_EGCMsgTerminateGamePersonalDataEntriesRequest = 528,
k_EGCMsgTerminateGamePersonalDataEntriesResponse = 529,
k_EGCMsgRecurringSubscriptionStatusChange = 530,
k_EGCMsgDirectServiceMethod = 531,
k_EGCMsgDirectServiceMethodResponse = 532,
}

[global::ProtoBuf.ProtoContract()]
Expand Down
Loading

0 comments on commit 4e94498

Please sign in to comment.