From 79cb01ee8192fb079849d8af82a7ea2d5afac54b Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sun, 21 Jun 2020 21:54:35 +0300 Subject: [PATCH] Update protobufs --- Resources/Protobufs | 2 +- .../SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs | 70 +++++++ .../Base/Generated/GC/Dota/MsgGCClient.cs | 62 ++++++ .../Generated/GC/Dota/MsgGCClientGuild.cs | 11 + .../Base/Generated/GC/Dota/MsgGCCommon.cs | 10 + .../Generated/GC/Dota/MsgGCCommonMatchMgmt.cs | 72 ++++--- .../Base/Generated/GC/Dota/MsgGCMsgId.cs | 6 + .../Base/Generated/GC/Dota/MsgGCServer.cs | 188 +++++++++++++++++- .../Base/Generated/GC/Dota/SteamMsgBase.cs | 33 +++ .../SteamKit2/Base/Generated/GC/TF2/MsgGC.cs | 10 + .../Base/Generated/SteamMsgBroadcast.cs | 10 + .../Generated/SteamMsgClientServerLogin.cs | 22 +- .../Base/Generated/SteamMsgDepotBuilder.cs | 20 ++ 13 files changed, 461 insertions(+), 55 deletions(-) diff --git a/Resources/Protobufs b/Resources/Protobufs index eeb5c60e9..a5b0c25f0 160000 --- a/Resources/Protobufs +++ b/Resources/Protobufs @@ -1 +1 @@ -Subproject commit eeb5c60e9a6bf9f989b86bf77ec3d9e04a1bb8c6 +Subproject commit a5b0c25f06bd5cdb0a02dff01dc5a242a112f312 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs index 1a95354d5..71269cf60 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs @@ -1709,6 +1709,9 @@ public string error [global::ProtoBuf.ProtoMember(17)] public global::System.Collections.Generic.List launcher_mismatch_sessions { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(18)] + public global::System.Collections.Generic.List insecure_account_id_sessions { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoContract()] public partial class Note : global::ProtoBuf.IExtensible { @@ -6960,6 +6963,27 @@ public uint process_id public void Resetprocess_id() => __pbn__process_id = null; private uint? __pbn__process_id; + [global::ProtoBuf.ProtoMember(9)] + public int osversion + { + get { return __pbn__osversion.GetValueOrDefault(); } + set { __pbn__osversion = value; } + } + public bool ShouldSerializeosversion() => __pbn__osversion != null; + public void Resetosversion() => __pbn__osversion = null; + private int? __pbn__osversion; + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue(EClientReportingVersion.k_EClientReportingVersion_SupportsSecureMode)] + public EClientReportingVersion clientreportversion + { + get { return __pbn__clientreportversion ?? EClientReportingVersion.k_EClientReportingVersion_SupportsSecureMode; } + set { __pbn__clientreportversion = value; } + } + public bool ShouldSerializeclientreportversion() => __pbn__clientreportversion != null; + public void Resetclientreportversion() => __pbn__clientreportversion = null; + private EClientReportingVersion? __pbn__clientreportversion; + } [global::ProtoBuf.ProtoContract()] @@ -6980,6 +7004,46 @@ public string file_report public void Resetfile_report() => __pbn__file_report = null; private string __pbn__file_report; + [global::ProtoBuf.ProtoMember(2)] + public bool offer_insecure_mode + { + get { return __pbn__offer_insecure_mode.GetValueOrDefault(); } + set { __pbn__offer_insecure_mode = value; } + } + public bool ShouldSerializeoffer_insecure_mode() => __pbn__offer_insecure_mode != null; + public void Resetoffer_insecure_mode() => __pbn__offer_insecure_mode = null; + private bool? __pbn__offer_insecure_mode; + + [global::ProtoBuf.ProtoMember(3)] + public bool offer_secure_mode + { + get { return __pbn__offer_secure_mode.GetValueOrDefault(); } + set { __pbn__offer_secure_mode = value; } + } + public bool ShouldSerializeoffer_secure_mode() => __pbn__offer_secure_mode != null; + public void Resetoffer_secure_mode() => __pbn__offer_secure_mode = null; + private bool? __pbn__offer_secure_mode; + + [global::ProtoBuf.ProtoMember(4)] + public bool show_unsigned_ui + { + get { return __pbn__show_unsigned_ui.GetValueOrDefault(); } + set { __pbn__show_unsigned_ui = value; } + } + public bool ShouldSerializeshow_unsigned_ui() => __pbn__show_unsigned_ui != null; + public void Resetshow_unsigned_ui() => __pbn__show_unsigned_ui = null; + private bool? __pbn__show_unsigned_ui; + + [global::ProtoBuf.ProtoMember(5)] + public bool kick_user + { + get { return __pbn__kick_user.GetValueOrDefault(); } + set { __pbn__kick_user = value; } + } + public bool ShouldSerializekick_user() => __pbn__kick_user != null; + public void Resetkick_user() => __pbn__kick_user = null; + private bool? __pbn__kick_user; + } [global::ProtoBuf.ProtoContract()] @@ -7117,6 +7181,12 @@ public enum ECsgoSteamUserStat k_ECsgoSteamUserStat_SurvivedDangerZone = 3, } + [global::ProtoBuf.ProtoContract()] + public enum EClientReportingVersion + { + k_EClientReportingVersion_SupportsSecureMode = 1, + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs index b2d1e0422..616c6d963 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs @@ -16318,6 +16318,58 @@ public uint slot_id } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCUnderDraftRollBackBench : 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 event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCUnderDraftRollBackBenchResponse : 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(EUnderDraftResponse.k_eInternalError)] + public EUnderDraftResponse result + { + get { return __pbn__result ?? EUnderDraftResponse.k_eInternalError; } + set { __pbn__result = value; } + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private EUnderDraftResponse? __pbn__result; + + [global::ProtoBuf.ProtoMember(2)] + public uint event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + [global::ProtoBuf.ProtoMember(3)] + public CMsgUnderDraftData draft_data { get; set; } + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgClientToGCUnderDraftSell : global::ProtoBuf.IExtensible { @@ -16909,6 +16961,15 @@ public uint dire_votes } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCApplyGauntletTicket : 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.ProtoContract()] public enum DOTA_WatchReplayType { @@ -17048,6 +17109,7 @@ public enum EUnderDraftResponse k_eHasBigReward = 8, k_eNoGCConnection = 9, k_eTooBusy = 10, + k_eCantRollBack = 11, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs index fe27dec41..16843d567 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs @@ -332,6 +332,16 @@ public uint member_joined_timestamp public void Resetmember_joined_timestamp() => __pbn__member_joined_timestamp = null; private uint? __pbn__member_joined_timestamp; + [global::ProtoBuf.ProtoMember(4)] + public uint member_last_active_timestamp + { + get { return __pbn__member_last_active_timestamp.GetValueOrDefault(); } + set { __pbn__member_last_active_timestamp = value; } + } + public bool ShouldSerializemember_last_active_timestamp() => __pbn__member_last_active_timestamp != null; + public void Resetmember_last_active_timestamp() => __pbn__member_last_active_timestamp = null; + private uint? __pbn__member_last_active_timestamp; + } [global::ProtoBuf.ProtoContract()] @@ -2145,6 +2155,7 @@ public enum EGuildAuditAction k_EGuildAuditAction_GuildTagChanged = 23, k_EGuildAuditAction_AdminWhitelisted = 24, k_EGuildAuditAction_AdminBlacklisted = 25, + k_EGuildAuditAction_AdminBannedUser = 26, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs index ab5d27ac4..5d7b6a97d 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs @@ -9517,6 +9517,16 @@ public uint total_gold public void Resettotal_gold() => __pbn__total_gold = null; private uint? __pbn__total_gold; + [global::ProtoBuf.ProtoMember(5)] + public bool not_restorable + { + get { return __pbn__not_restorable.GetValueOrDefault(); } + set { __pbn__not_restorable = value; } + } + public bool ShouldSerializenot_restorable() => __pbn__not_restorable != null; + public void Resetnot_restorable() => __pbn__not_restorable = null; + private bool? __pbn__not_restorable; + [global::ProtoBuf.ProtoContract()] public partial class BenchSlot : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs index 642f22295..69a8a54b7 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs @@ -1222,16 +1222,6 @@ public uint channel public void Resetchannel() => __pbn__channel = null; private uint? __pbn__channel; - [global::ProtoBuf.ProtoMember(18)] - public uint prize_def_index - { - get { return __pbn__prize_def_index.GetValueOrDefault(); } - set { __pbn__prize_def_index = value; } - } - public bool ShouldSerializeprize_def_index() => __pbn__prize_def_index != null; - public void Resetprize_def_index() => __pbn__prize_def_index = null; - private uint? __pbn__prize_def_index; - [global::ProtoBuf.ProtoMember(20)] public global::System.Collections.Generic.List disabled_hero_id { get; } = new global::System.Collections.Generic.List(); @@ -1323,16 +1313,6 @@ public bool cameraman [global::ProtoBuf.ProtoMember(31)] public global::System.Collections.Generic.List custom_game_product_ids { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(32)] - public uint lobby_mvp_vote_account_id - { - get { return __pbn__lobby_mvp_vote_account_id.GetValueOrDefault(); } - set { __pbn__lobby_mvp_vote_account_id = value; } - } - public bool ShouldSerializelobby_mvp_vote_account_id() => __pbn__lobby_mvp_vote_account_id != null; - public void Resetlobby_mvp_vote_account_id() => __pbn__lobby_mvp_vote_account_id = null; - private uint? __pbn__lobby_mvp_vote_account_id; - [global::ProtoBuf.ProtoMember(33)] [global::System.ComponentModel.DefaultValue(MatchType.MATCH_TYPE_CASUAL)] public MatchType search_match_type @@ -1452,9 +1432,6 @@ public int rank_tier public void Resetrank_tier() => __pbn__rank_tier = null; private int? __pbn__rank_tier; - [global::ProtoBuf.ProtoMember(49)] - public global::System.Collections.Generic.List guild_info { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(50)] public uint title { @@ -1465,6 +1442,16 @@ public uint title public void Resettitle() => __pbn__title = null; private uint? __pbn__title; + [global::ProtoBuf.ProtoMember(51)] + public uint guild_id + { + get { return __pbn__guild_id.GetValueOrDefault(); } + set { __pbn__guild_id = value; } + } + public bool ShouldSerializeguild_id() => __pbn__guild_id != null; + public void Resetguild_id() => __pbn__guild_id = null; + private uint? __pbn__guild_id; + [global::ProtoBuf.ProtoContract()] public partial class CDOTALobbyMemberXPBonus : global::ProtoBuf.IExtensible { @@ -1649,7 +1636,7 @@ public string team_logo_url } [global::ProtoBuf.ProtoContract()] - public partial class CLobbyTeamGuildDetails : global::ProtoBuf.IExtensible + public partial class CLobbyGuildDetails : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -1735,6 +1722,28 @@ public uint guild_flags public void Resetguild_flags() => __pbn__guild_flags = null; private uint? __pbn__guild_flags; + [global::ProtoBuf.ProtoMember(9)] + [global::System.ComponentModel.DefaultValue(DOTA_GC_TEAM.DOTA_GC_TEAM_GOOD_GUYS)] + public DOTA_GC_TEAM team_for_guild + { + get { return __pbn__team_for_guild ?? DOTA_GC_TEAM.DOTA_GC_TEAM_GOOD_GUYS; } + set { __pbn__team_for_guild = value; } + } + public bool ShouldSerializeteam_for_guild() => __pbn__team_for_guild != null; + public void Resetteam_for_guild() => __pbn__team_for_guild = null; + private DOTA_GC_TEAM? __pbn__team_for_guild; + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] + public string guild_tag + { + get { return __pbn__guild_tag ?? ""; } + set { __pbn__guild_tag = value; } + } + public bool ShouldSerializeguild_tag() => __pbn__guild_tag != null; + public void Resetguild_tag() => __pbn__guild_tag = null; + private string __pbn__guild_tag; + } [global::ProtoBuf.ProtoContract()] @@ -2705,16 +2714,6 @@ public EEvent current_primary_event public void Resetcurrent_primary_event() => __pbn__current_primary_event = null; private EEvent? __pbn__current_primary_event; - [global::ProtoBuf.ProtoMember(104)] - public bool lowpri_deprecated - { - get { return __pbn__lowpri_deprecated.GetValueOrDefault(); } - set { __pbn__lowpri_deprecated = value; } - } - public bool ShouldSerializelowpri_deprecated() => __pbn__lowpri_deprecated != null; - public void Resetlowpri_deprecated() => __pbn__lowpri_deprecated = null; - private bool? __pbn__lowpri_deprecated; - [global::ProtoBuf.ProtoMember(105)] public global::System.Collections.Generic.List emergency_disabled_hero_ids { get; } = new global::System.Collections.Generic.List(); @@ -2738,9 +2737,6 @@ public bool custom_game_penalties public void Resetcustom_game_penalties() => __pbn__custom_game_penalties = null; private bool? __pbn__custom_game_penalties; - [global::ProtoBuf.ProtoMember(108)] - public global::System.Collections.Generic.List mutations { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(109)] [global::System.ComponentModel.DefaultValue("")] public string lan_host_ping_location @@ -2816,7 +2812,7 @@ public bool experimental_gameplay_enabled public global::System.Collections.Generic.List guild_challenges { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(118)] - public global::System.Collections.Generic.List guild_team_details { get; } = new global::System.Collections.Generic.List(); + public global::System.Collections.Generic.List guild_details { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoContract()] public partial class CExtraMsg : global::ProtoBuf.IExtensible diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs index 15172e2d0..d02554184 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs @@ -491,6 +491,7 @@ public enum EDOTAGCMsg k_EMsgGCToClientPartySearchInvites = 7680, k_EMsgGCToClientRequestMMInfo = 7681, k_EMsgClientToGCMMInfo = 7682, + k_EMsgSignOutTextMuteInfo = 7683, k_EMsgGCDev_GrantWarKill = 8001, k_EMsgServerToGCLockCharmTrading = 8004, k_EMsgClientToGCPlayerStatsRequest = 8006, @@ -917,6 +918,11 @@ public enum EDOTAGCMsg k_EMsgClientToGCSubmitDraftTriviaMatchAnswer = 8736, k_EMsgClientToGCSubmitDraftTriviaMatchAnswerResponse = 8737, k_EMsgGCToGCSignoutSpendBounty = 8738, + k_EMsgClientToGCApplyGauntletTicket = 8739, + k_EMsgClientToGCUnderDraftRollBackBench = 8740, + k_EMsgClientToGCUnderDraftRollBackBenchResponse = 8741, + k_EMsgServerToGCGetGuildContracts = 8744, + k_EMsgServerToGCGetGuildContractsResponse = 8745, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs index 324186b7a..59aa55717 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs @@ -2151,6 +2151,58 @@ public DOTABotDifficulty bot_difficulty_dire } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSignOutTextMuteInfo : 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 global::System.Collections.Generic.List text_mute_messages { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class TextMuteMessage : 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 region + { + get { return __pbn__region.GetValueOrDefault(); } + set { __pbn__region = value; } + } + public bool ShouldSerializeregion() => __pbn__region != null; + public void Resetregion() => __pbn__region = null; + private uint? __pbn__region; + + [global::ProtoBuf.ProtoMember(2)] + public bool caused_text_mute + { + get { return __pbn__caused_text_mute.GetValueOrDefault(); } + set { __pbn__caused_text_mute = value; } + } + public bool ShouldSerializecaused_text_mute() => __pbn__caused_text_mute != null; + public void Resetcaused_text_mute() => __pbn__caused_text_mute = null; + private bool? __pbn__caused_text_mute; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string chat_message + { + get { return __pbn__chat_message ?? ""; } + set { __pbn__chat_message = value; } + } + public bool ShouldSerializechat_message() => __pbn__chat_message != null; + public void Resetchat_message() => __pbn__chat_message = null; + private string __pbn__chat_message; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgSignOutPlayerStats : global::ProtoBuf.IExtensible { @@ -7943,16 +7995,6 @@ public int net_worth public void Resetnet_worth() => __pbn__net_worth = null; private int? __pbn__net_worth; - [global::ProtoBuf.ProtoMember(11)] - public int item_value - { - get { return __pbn__item_value.GetValueOrDefault(); } - set { __pbn__item_value = value; } - } - public bool ShouldSerializeitem_value() => __pbn__item_value != null; - public void Resetitem_value() => __pbn__item_value = null; - private int? __pbn__item_value; - [global::ProtoBuf.ProtoMember(12)] public int support_gold_spent { @@ -8142,6 +8184,132 @@ public partial class CMsgServerToGCRefreshGuildContractResponse : global::ProtoB } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgServerToGCGetGuildContracts : 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 global::System.Collections.Generic.List account_ids { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgServerToGCGetGuildContractsResponse : 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 global::System.Collections.Generic.List player_contracts { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class ContractDetails : 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 ulong contract_id + { + get { return __pbn__contract_id.GetValueOrDefault(); } + set { __pbn__contract_id = value; } + } + public bool ShouldSerializecontract_id() => __pbn__contract_id != null; + public void Resetcontract_id() => __pbn__contract_id = null; + private ulong? __pbn__contract_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint challenge_instance_id + { + get { return __pbn__challenge_instance_id.GetValueOrDefault(); } + set { __pbn__challenge_instance_id = value; } + } + public bool ShouldSerializechallenge_instance_id() => __pbn__challenge_instance_id != null; + public void Resetchallenge_instance_id() => __pbn__challenge_instance_id = null; + private uint? __pbn__challenge_instance_id; + + [global::ProtoBuf.ProtoMember(3)] + public uint challenge_parameter + { + get { return __pbn__challenge_parameter.GetValueOrDefault(); } + set { __pbn__challenge_parameter = value; } + } + public bool ShouldSerializechallenge_parameter() => __pbn__challenge_parameter != null; + public void Resetchallenge_parameter() => __pbn__challenge_parameter = null; + private uint? __pbn__challenge_parameter; + + [global::ProtoBuf.ProtoMember(4)] + public uint contract_stars + { + get { return __pbn__contract_stars.GetValueOrDefault(); } + set { __pbn__contract_stars = value; } + } + public bool ShouldSerializecontract_stars() => __pbn__contract_stars != null; + public void Resetcontract_stars() => __pbn__contract_stars = null; + private uint? __pbn__contract_stars; + + [global::ProtoBuf.ProtoMember(5)] + public uint contract_slot + { + get { return __pbn__contract_slot.GetValueOrDefault(); } + set { __pbn__contract_slot = value; } + } + public bool ShouldSerializecontract_slot() => __pbn__contract_slot != null; + public void Resetcontract_slot() => __pbn__contract_slot = null; + private uint? __pbn__contract_slot; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class Player : 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 account_id + { + get { return __pbn__account_id.GetValueOrDefault(); } + set { __pbn__account_id = value; } + } + public bool ShouldSerializeaccount_id() => __pbn__account_id != null; + public void Resetaccount_id() => __pbn__account_id = null; + private uint? __pbn__account_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint guild_id + { + get { return __pbn__guild_id.GetValueOrDefault(); } + set { __pbn__guild_id = value; } + } + public bool ShouldSerializeguild_id() => __pbn__guild_id != null; + public void Resetguild_id() => __pbn__guild_id = null; + private uint? __pbn__guild_id; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(EEvent.EVENT_ID_NONE)] + public EEvent event_id + { + get { return __pbn__event_id ?? EEvent.EVENT_ID_NONE; } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private EEvent? __pbn__event_id; + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List contracts { get; } = new global::System.Collections.Generic.List(); + + } + + } + [global::ProtoBuf.ProtoContract()] public enum EPoorNetworkConditionsType { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs index c20217b78..bdec45d7a 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs @@ -2827,6 +2827,39 @@ public uint nexonid public void Resetnexonid() => __pbn__nexonid = null; private uint? __pbn__nexonid; + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(0)] + public int ageclass + { + get { return __pbn__ageclass ?? 0; } + set { __pbn__ageclass = value; } + } + public bool ShouldSerializeageclass() => __pbn__ageclass != null; + public void Resetageclass() => __pbn__ageclass = null; + private int? __pbn__ageclass; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(true)] + public bool id_verified + { + get { return __pbn__id_verified ?? true; } + set { __pbn__id_verified = value; } + } + public bool ShouldSerializeid_verified() => __pbn__id_verified != null; + public void Resetid_verified() => __pbn__id_verified = null; + private bool? __pbn__id_verified; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue(true)] + public bool is_adult + { + get { return __pbn__is_adult ?? true; } + set { __pbn__is_adult = value; } + } + public bool ShouldSerializeis_adult() => __pbn__is_adult != null; + public void Resetis_adult() => __pbn__is_adult = null; + private bool? __pbn__is_adult; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/TF2/MsgGC.cs b/SteamKit2/SteamKit2/Base/Generated/GC/TF2/MsgGC.cs index e96693677..965d85f42 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/TF2/MsgGC.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/TF2/MsgGC.cs @@ -2803,6 +2803,16 @@ public uint rank public void Resetrank() => __pbn__rank = null; private uint? __pbn__rank; + [global::ProtoBuf.ProtoMember(23)] + public bool chat_suspension + { + get { return __pbn__chat_suspension.GetValueOrDefault(); } + set { __pbn__chat_suspension = value; } + } + public bool ShouldSerializechat_suspension() => __pbn__chat_suspension != null; + public void Resetchat_suspension() => __pbn__chat_suspension = null; + private bool? __pbn__chat_suspension; + [global::ProtoBuf.ProtoContract()] public enum ConnectState { diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs index a5e8c5874..9e4125c87 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs @@ -107,6 +107,16 @@ public uint sysid public void Resetsysid() => __pbn__sysid = null; private uint? __pbn__sysid; + [global::ProtoBuf.ProtoMember(10)] + public bool allow_webrtc + { + get { return __pbn__allow_webrtc.GetValueOrDefault(); } + set { __pbn__allow_webrtc = value; } + } + public bool ShouldSerializeallow_webrtc() => __pbn__allow_webrtc != null; + public void Resetallow_webrtc() => __pbn__allow_webrtc = null; + private bool? __pbn__allow_webrtc; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs index 4c320b78e..cb3f4aac0 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs @@ -653,6 +653,16 @@ public int priority_reason [global::ProtoBuf.ProtoMember(105)] public CMsgClientSecret embedded_client_secret { get; set; } + [global::ProtoBuf.ProtoMember(106)] + public bool disable_partner_autogrants + { + get { return __pbn__disable_partner_autogrants.GetValueOrDefault(); } + set { __pbn__disable_partner_autogrants = value; } + } + public bool ShouldSerializedisable_partner_autogrants() => __pbn__disable_partner_autogrants != null; + public void Resetdisable_partner_autogrants() => __pbn__disable_partner_autogrants = null; + private bool? __pbn__disable_partner_autogrants; + } [global::ProtoBuf.ProtoContract()] @@ -786,14 +796,14 @@ public uint cell_id_ping_threshold private uint? __pbn__cell_id_ping_threshold; [global::ProtoBuf.ProtoMember(13)] - public bool use_pics + public bool deprecated_use_pics { - get { return __pbn__use_pics.GetValueOrDefault(); } - set { __pbn__use_pics = value; } + get { return __pbn__deprecated_use_pics.GetValueOrDefault(); } + set { __pbn__deprecated_use_pics = value; } } - public bool ShouldSerializeuse_pics() => __pbn__use_pics != null; - public void Resetuse_pics() => __pbn__use_pics = null; - private bool? __pbn__use_pics; + public bool ShouldSerializedeprecated_use_pics() => __pbn__deprecated_use_pics != null; + public void Resetdeprecated_use_pics() => __pbn__deprecated_use_pics = null; + private bool? __pbn__deprecated_use_pics; [global::ProtoBuf.ProtoMember(14)] [global::System.ComponentModel.DefaultValue("")] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgDepotBuilder.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDepotBuilder.cs index d5bd09b3c..c579df9b5 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgDepotBuilder.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDepotBuilder.cs @@ -155,6 +155,26 @@ public uint offset_detection_blast_radius_post public void Resetoffset_detection_blast_radius_post() => __pbn__offset_detection_blast_radius_post = null; private uint? __pbn__offset_detection_blast_radius_post; + [global::ProtoBuf.ProtoMember(10)] + public uint offset_detection_max_distance_pre + { + get { return __pbn__offset_detection_max_distance_pre.GetValueOrDefault(); } + set { __pbn__offset_detection_max_distance_pre = value; } + } + public bool ShouldSerializeoffset_detection_max_distance_pre() => __pbn__offset_detection_max_distance_pre != null; + public void Resetoffset_detection_max_distance_pre() => __pbn__offset_detection_max_distance_pre = null; + private uint? __pbn__offset_detection_max_distance_pre; + + [global::ProtoBuf.ProtoMember(11)] + public uint offset_detection_max_distance_post + { + get { return __pbn__offset_detection_max_distance_post.GetValueOrDefault(); } + set { __pbn__offset_detection_max_distance_post = value; } + } + public bool ShouldSerializeoffset_detection_max_distance_post() => __pbn__offset_detection_max_distance_post != null; + public void Resetoffset_detection_max_distance_post() => __pbn__offset_detection_max_distance_post = null; + private uint? __pbn__offset_detection_max_distance_post; + } [global::ProtoBuf.ProtoContract()]