diff --git a/Resources/ProtobufGen/protos.csv b/Resources/ProtobufGen/protos.csv index 3a1e1c270..fecb987f0 100644 --- a/Resources/ProtobufGen/protos.csv +++ b/Resources/ProtobufGen/protos.csv @@ -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 diff --git a/Resources/Protobufs b/Resources/Protobufs index e26de77c0..02cf60799 160000 --- a/Resources/Protobufs +++ b/Resources/Protobufs @@ -1 +1 @@ -Subproject commit e26de77c0336e817aa40bd78ee3007ec7892369b +Subproject commit 02cf6079906dcf33061b6e6adfe3192089470d29 diff --git a/Resources/SteamLanguage/enums.steamd b/Resources/SteamLanguage/enums.steamd index b978453cf..92fd27d3c 100644 --- a/Resources/SteamLanguage/enums.steamd +++ b/Resources/SteamLanguage/enums.steamd @@ -704,6 +704,7 @@ enum EOSType Macos1015 = -82; MacOS1016 = -81; MacOS11 = -80; + MacOS111 = -79; MacOSMax = -1; LinuxUnknown = -203; diff --git a/Resources/SteamLanguage/eresult.steamd b/Resources/SteamLanguage/eresult.steamd index 8dca7c2f9..62c7eb1c1 100644 --- a/Resources/SteamLanguage/eresult.steamd +++ b/Resources/SteamLanguage/eresult.steamd @@ -129,4 +129,5 @@ enum EResult NoLauncherSpecified = 117; MustAgreeToSSA = 118; LauncherMigrated = 119; + CurrentSteamRealmDoesNotMatch = 120; }; diff --git a/SteamKit2/SteamKit2/Base/Generated/Enums.cs b/SteamKit2/SteamKit2/Base/Generated/Enums.cs index ef252df1c..96886effd 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Enums.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Enums.cs @@ -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()] @@ -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 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCCommon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCCommon.cs index fe8b356bd..01e5e24f1 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCCommon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCCommon.cs @@ -460,6 +460,7 @@ public uint draft_mmr_level public enum EFlags { k_eDeveloper = 1, + k_eFreePlayer = 2, } } @@ -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(); @@ -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()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCServer.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCServer.cs index b7543d749..98c92ccfa 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Artifact/MsgGCServer.cs @@ -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; } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs index ab49f41ca..8bdf6ca0c 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs @@ -2926,6 +2926,12 @@ public bool b_switched_teams [global::ProtoBuf.ProtoMember(28)] public global::System.Collections.Generic.List enemy_2ks { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(29)] + public global::System.Collections.Generic.List player_spawned { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(30)] + public global::System.Collections.Generic.List team_spawn_count { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoContract()] public partial class DropInfo : global::ProtoBuf.IExtensible { @@ -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 userdata { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -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 { @@ -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()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgBase.cs index eaade471c..097817b08 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgBase.cs @@ -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()] @@ -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()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs index d6989f411..497de9480 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs @@ -306,6 +306,7 @@ public enum EGCItemMsg k_EMsgGCRequestPassportItemGrant = 2527, k_EMsgGCClientVersionUpdated = 2528, k_EMsgGCAdjustItemEquippedStateMulti = 2529, + k_EMsgGCRecurringSubscriptionStatus = 2530, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSystem.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSystem.cs index 9d91c8977..0a0905da5 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSystem.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSystem.cs @@ -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 { @@ -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()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs index 5431abaa7..d67de46bb 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs @@ -621,6 +621,26 @@ public uint num_negative_reports_total public void Resetnum_negative_reports_total() => __pbn__num_negative_reports_total = null; private uint? __pbn__num_negative_reports_total; + [global::ProtoBuf.ProtoMember(5)] + public uint num_comms_reports_remaining + { + get => __pbn__num_comms_reports_remaining.GetValueOrDefault(); + set => __pbn__num_comms_reports_remaining = value; + } + public bool ShouldSerializenum_comms_reports_remaining() => __pbn__num_comms_reports_remaining != null; + public void Resetnum_comms_reports_remaining() => __pbn__num_comms_reports_remaining = null; + private uint? __pbn__num_comms_reports_remaining; + + [global::ProtoBuf.ProtoMember(6)] + public uint num_comms_reports_total + { + get => __pbn__num_comms_reports_total.GetValueOrDefault(); + set => __pbn__num_comms_reports_total = value; + } + public bool ShouldSerializenum_comms_reports_total() => __pbn__num_comms_reports_total != null; + public void Resetnum_comms_reports_total() => __pbn__num_comms_reports_total = null; + private uint? __pbn__num_comms_reports_total; + } [global::ProtoBuf.ProtoContract()] @@ -3905,6 +3925,25 @@ public partial class LootListRewardData : global::ProtoBuf.IExtensible } + [global::ProtoBuf.ProtoContract()] + public partial class ActionListRewardData : 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 action_id + { + get => __pbn__action_id.GetValueOrDefault(); + set => __pbn__action_id = value; + } + public bool ShouldSerializeaction_id() => __pbn__action_id != null; + public void Resetaction_id() => __pbn__action_id = null; + private uint? __pbn__action_id; + + } + [global::ProtoBuf.ProtoContract()] public partial class GrantedRewardData : global::ProtoBuf.IExtensible { @@ -4178,6 +4217,16 @@ public uint audit_action public void Resetaudit_action() => __pbn__audit_action = null; private uint? __pbn__audit_action; + [global::ProtoBuf.ProtoMember(10)] + public uint active_season_id + { + get => __pbn__active_season_id.GetValueOrDefault(); + set => __pbn__active_season_id = value; + } + public bool ShouldSerializeactive_season_id() => __pbn__active_season_id != null; + public void Resetactive_season_id() => __pbn__active_season_id = null; + private uint? __pbn__active_season_id; + [global::ProtoBuf.ProtoContract()] public partial class Action : global::ProtoBuf.IExtensible { @@ -9151,6 +9200,85 @@ public enum Result } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCCreateTeamPlayerCardPack : 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 card_dust_item_id + { + get => __pbn__card_dust_item_id.GetValueOrDefault(); + set => __pbn__card_dust_item_id = value; + } + public bool ShouldSerializecard_dust_item_id() => __pbn__card_dust_item_id != null; + public void Resetcard_dust_item_id() => __pbn__card_dust_item_id = null; + private ulong? __pbn__card_dust_item_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint event_id + { + get => __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 bool premium_pack + { + get => __pbn__premium_pack.GetValueOrDefault(); + set => __pbn__premium_pack = value; + } + public bool ShouldSerializepremium_pack() => __pbn__premium_pack != null; + public void Resetpremium_pack() => __pbn__premium_pack = null; + private bool? __pbn__premium_pack; + + [global::ProtoBuf.ProtoMember(4)] + public uint team_id + { + get => __pbn__team_id.GetValueOrDefault(); + set => __pbn__team_id = value; + } + public bool ShouldSerializeteam_id() => __pbn__team_id != null; + public void Resetteam_id() => __pbn__team_id = null; + private uint? __pbn__team_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCCreateTeamPlayerCardPackResponse : 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(Result.SUCCESS)] + public Result result + { + get => __pbn__result ?? Result.SUCCESS; + set => __pbn__result = value; + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private Result? __pbn__result; + + [global::ProtoBuf.ProtoContract()] + public enum Result + { + SUCCESS = 1, + ERROR_INTERNAL = 2, + ERROR_INSUFFICIENT_DUST = 3, + ERROR_ITEM_NOT_DUST_ITEM = 4, + ERROR_FAILED_CARD_PACK_CREATE = 5, + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgGCToClientBattlePassRollup_International2016 : global::ProtoBuf.IExtensible { @@ -12117,58 +12245,6 @@ public float weight } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRecycleHeroRelic : 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 item_ids { get; } = new global::System.Collections.Generic.List(); - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRecycleHeroRelicResponse : 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(Result.SUCCESS)] - public Result result - { - get => __pbn__result ?? Result.SUCCESS; - set => __pbn__result = value; - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private Result? __pbn__result; - - [global::ProtoBuf.ProtoMember(2)] - public uint dust_amount - { - get => __pbn__dust_amount.GetValueOrDefault(); - set => __pbn__dust_amount = value; - } - public bool ShouldSerializedust_amount() => __pbn__dust_amount != null; - public void Resetdust_amount() => __pbn__dust_amount = null; - private uint? __pbn__dust_amount; - - [global::ProtoBuf.ProtoContract()] - public enum Result - { - SUCCESS = 1, - ERROR_INTERNAL = 2, - ERROR_FAILED_TO_FIND_HERO_RELIC = 3, - ERROR_ITEM_NOT_HERO_RELIC = 4, - ERROR_FAILED_EVENT_NOT_OWNED = 5, - } - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgPurchaseHeroRelic : global::ProtoBuf.IExtensible { @@ -12235,6 +12311,17 @@ public uint hero_id public void Resethero_id() => __pbn__hero_id = null; private uint? __pbn__hero_id; + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(EHeroRelicRarity.HERO_RELIC_RARITY_INVALID)] + public EHeroRelicRarity relic_rarity + { + get => __pbn__relic_rarity ?? EHeroRelicRarity.HERO_RELIC_RARITY_INVALID; + set => __pbn__relic_rarity = value; + } + public bool ShouldSerializerelic_rarity() => __pbn__relic_rarity != null; + public void Resetrelic_rarity() => __pbn__relic_rarity = null; + private EHeroRelicRarity? __pbn__relic_rarity; + } [global::ProtoBuf.ProtoContract()] @@ -15548,7 +15635,7 @@ public enum EResponse } [global::ProtoBuf.ProtoContract()] - public partial class CMsgPlayerCoachMatch : global::ProtoBuf.IExtensible + public partial class CMsgClientToGCSubmitPlayerMatchSurvey : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -15564,73 +15651,30 @@ public ulong match_id public void Resetmatch_id() => __pbn__match_id = null; private ulong? __pbn__match_id; - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue(EMatchOutcome.k_EMatchOutcome_Unknown)] - public EMatchOutcome match_outcome - { - get => __pbn__match_outcome ?? EMatchOutcome.k_EMatchOutcome_Unknown; - set => __pbn__match_outcome = value; - } - public bool ShouldSerializematch_outcome() => __pbn__match_outcome != null; - public void Resetmatch_outcome() => __pbn__match_outcome = null; - private EMatchOutcome? __pbn__match_outcome; - - [global::ProtoBuf.ProtoMember(3)] - public uint coached_team - { - get => __pbn__coached_team.GetValueOrDefault(); - set => __pbn__coached_team = value; - } - public bool ShouldSerializecoached_team() => __pbn__coached_team != null; - public void Resetcoached_team() => __pbn__coached_team = null; - private uint? __pbn__coached_team; - - [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public uint start_time - { - get => __pbn__start_time.GetValueOrDefault(); - set => __pbn__start_time = value; - } - public bool ShouldSerializestart_time() => __pbn__start_time != null; - public void Resetstart_time() => __pbn__start_time = null; - private uint? __pbn__start_time; - - [global::ProtoBuf.ProtoMember(5)] - public uint duration + [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] + public int rating { - get => __pbn__duration.GetValueOrDefault(); - set => __pbn__duration = value; + get => __pbn__rating.GetValueOrDefault(); + set => __pbn__rating = value; } - public bool ShouldSerializeduration() => __pbn__duration != null; - public void Resetduration() => __pbn__duration = null; - private uint? __pbn__duration; - - [global::ProtoBuf.ProtoMember(6)] - public global::System.Collections.Generic.List teammate_ratings { get; } = new global::System.Collections.Generic.List(); + public bool ShouldSerializerating() => __pbn__rating != null; + public void Resetrating() => __pbn__rating = null; + private int? __pbn__rating; - [global::ProtoBuf.ProtoMember(7)] - public uint coach_flags + [global::ProtoBuf.ProtoMember(4)] + public uint flags { - get => __pbn__coach_flags.GetValueOrDefault(); - set => __pbn__coach_flags = value; + get => __pbn__flags.GetValueOrDefault(); + set => __pbn__flags = value; } - public bool ShouldSerializecoach_flags() => __pbn__coach_flags != null; - public void Resetcoach_flags() => __pbn__coach_flags = null; - private uint? __pbn__coach_flags; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRequestPlayerCoachMatches : 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); + public bool ShouldSerializeflags() => __pbn__flags != null; + public void Resetflags() => __pbn__flags = null; + private uint? __pbn__flags; } [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRequestPlayerCoachMatchesResponse : global::ProtoBuf.IExtensible + public partial class CMsgClientToGCSubmitPlayerMatchSurveyResponse : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -15638,17 +15682,24 @@ public partial class CMsgClientToGCRequestPlayerCoachMatchesResponse : global::P [global::ProtoBuf.ProtoMember(1)] [global::System.ComponentModel.DefaultValue(EResponse.k_eInternalError)] - public EResponse result + public EResponse eresult { - get => __pbn__result ?? EResponse.k_eInternalError; - set => __pbn__result = value; + get => __pbn__eresult ?? EResponse.k_eInternalError; + set => __pbn__eresult = value; } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResponse? __pbn__result; + public bool ShouldSerializeeresult() => __pbn__eresult != null; + public void Reseteresult() => __pbn__eresult = null; + private EResponse? __pbn__eresult; [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List coach_matches { get; } = new global::System.Collections.Generic.List(); + public uint account_id + { + get => __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.ProtoContract()] public enum EResponse @@ -15657,265 +15708,36 @@ public enum EResponse k_eSuccess = 1, k_eTooBusy = 2, k_eDisabled = 3, + k_eAlreadySubmitted = 4, + k_ePlayerNotValid = 5, } } [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRequestPlayerCoachMatch : global::ProtoBuf.IExtensible + public partial class CMsgClientToGCGetTicketCodesRequest : 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 match_id - { - get => __pbn__match_id.GetValueOrDefault(); - set => __pbn__match_id = value; - } - public bool ShouldSerializematch_id() => __pbn__match_id != null; - public void Resetmatch_id() => __pbn__match_id = null; - private ulong? __pbn__match_id; + public global::System.Collections.Generic.List ticket_pool_ids { get; } = new global::System.Collections.Generic.List(); } [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRequestPlayerCoachMatchResponse : global::ProtoBuf.IExtensible + public partial class CMsgClientToGCGetTicketCodesResponse : 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(EResponse.k_eInternalError)] - public EResponse result - { - get => __pbn__result ?? EResponse.k_eInternalError; - set => __pbn__result = value; - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResponse? __pbn__result; - - [global::ProtoBuf.ProtoMember(2)] - public CMsgPlayerCoachMatch coach_match { get; set; } + public global::System.Collections.Generic.List codes { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoContract()] - public enum EResponse - { - k_eInternalError = 0, - k_eSuccess = 1, - k_eTooBusy = 2, - k_eDisabled = 3, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCSubmitCoachTeammateRating : 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 match_id - { - get => __pbn__match_id.GetValueOrDefault(); - set => __pbn__match_id = value; - } - public bool ShouldSerializematch_id() => __pbn__match_id != null; - public void Resetmatch_id() => __pbn__match_id = null; - private ulong? __pbn__match_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint coach_account_id - { - get => __pbn__coach_account_id.GetValueOrDefault(); - set => __pbn__coach_account_id = value; - } - public bool ShouldSerializecoach_account_id() => __pbn__coach_account_id != null; - public void Resetcoach_account_id() => __pbn__coach_account_id = null; - private uint? __pbn__coach_account_id; - - [global::ProtoBuf.ProtoMember(3)] - [global::System.ComponentModel.DefaultValue(ECoachTeammateRating.k_ECoachTeammateRating_None)] - public ECoachTeammateRating rating - { - get => __pbn__rating ?? ECoachTeammateRating.k_ECoachTeammateRating_None; - set => __pbn__rating = value; - } - public bool ShouldSerializerating() => __pbn__rating != null; - public void Resetrating() => __pbn__rating = null; - private ECoachTeammateRating? __pbn__rating; - - [global::ProtoBuf.ProtoMember(4)] - [global::System.ComponentModel.DefaultValue("")] - public string reason - { - get => __pbn__reason ?? ""; - set => __pbn__reason = value; - } - public bool ShouldSerializereason() => __pbn__reason != null; - public void Resetreason() => __pbn__reason = null; - private string __pbn__reason; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCSubmitCoachTeammateRatingResponse : 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(EResponse.k_eInternalError)] - public EResponse result - { - get => __pbn__result ?? EResponse.k_eInternalError; - set => __pbn__result = value; - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResponse? __pbn__result; - - [global::ProtoBuf.ProtoContract()] - public enum EResponse - { - k_eInternalError = 0, - k_eSuccess = 1, - k_eTooBusy = 2, - k_eDisabled = 3, - k_eInvalidInput = 4, - k_eAlreadySubmitted = 5, - k_eVotingFinished = 6, - k_ePlayerNotInMatch = 7, - k_eCoachNotInMatch = 8, - k_ePlayerNotOnCoachTeam = 9, - k_ePlayerInSamePartyAsCoach = 10, - k_eMatchNotEligible = 11, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGCToClientCoachTeammateRatingsChanged : 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 CMsgPlayerCoachMatch coach_match { get; set; } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCSubmitPlayerMatchSurvey : 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 match_id - { - get => __pbn__match_id.GetValueOrDefault(); - set => __pbn__match_id = value; - } - public bool ShouldSerializematch_id() => __pbn__match_id != null; - public void Resetmatch_id() => __pbn__match_id = null; - private ulong? __pbn__match_id; - - [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int rating - { - get => __pbn__rating.GetValueOrDefault(); - set => __pbn__rating = value; - } - public bool ShouldSerializerating() => __pbn__rating != null; - public void Resetrating() => __pbn__rating = null; - private int? __pbn__rating; - - [global::ProtoBuf.ProtoMember(4)] - public uint flags - { - get => __pbn__flags.GetValueOrDefault(); - set => __pbn__flags = value; - } - public bool ShouldSerializeflags() => __pbn__flags != null; - public void Resetflags() => __pbn__flags = null; - private uint? __pbn__flags; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCSubmitPlayerMatchSurveyResponse : 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(EResponse.k_eInternalError)] - public EResponse eresult - { - get => __pbn__eresult ?? EResponse.k_eInternalError; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private EResponse? __pbn__eresult; - - [global::ProtoBuf.ProtoMember(2)] - public uint account_id - { - get => __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.ProtoContract()] - public enum EResponse - { - k_eInternalError = 0, - k_eSuccess = 1, - k_eTooBusy = 2, - k_eDisabled = 3, - k_eAlreadySubmitted = 4, - k_ePlayerNotValid = 5, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCGetTicketCodesRequest : 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 ticket_pool_ids { get; } = new global::System.Collections.Generic.List(); - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCGetTicketCodesResponse : 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 codes { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class Code : global::ProtoBuf.IExtensible + public partial class Code : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -16640,17 +16462,6 @@ public uint timestamp public void Resettimestamp() => __pbn__timestamp = null; private uint? __pbn__timestamp; - [global::ProtoBuf.ProtoMember(6)] - [global::System.ComponentModel.DefaultValue("")] - public string zip_url - { - get => __pbn__zip_url ?? ""; - set => __pbn__zip_url = value; - } - public bool ShouldSerializezip_url() => __pbn__zip_url != null; - public void Resetzip_url() => __pbn__zip_url = null; - private string __pbn__zip_url; - [global::ProtoBuf.ProtoMember(7)] public ulong ugc_logo { @@ -16661,6 +16472,88 @@ public ulong ugc_logo public void Resetugc_logo() => __pbn__ugc_logo = null; private ulong? __pbn__ugc_logo; + [global::ProtoBuf.ProtoMember(8)] + public uint workshop_account_id + { + get => __pbn__workshop_account_id.GetValueOrDefault(); + set => __pbn__workshop_account_id = value; + } + public bool ShouldSerializeworkshop_account_id() => __pbn__workshop_account_id != null; + public void Resetworkshop_account_id() => __pbn__workshop_account_id = null; + private uint? __pbn__workshop_account_id; + + [global::ProtoBuf.ProtoMember(9)] + [global::System.ComponentModel.DefaultValue("")] + public string abbreviation + { + get => __pbn__abbreviation ?? ""; + set => __pbn__abbreviation = value; + } + public bool ShouldSerializeabbreviation() => __pbn__abbreviation != null; + public void Resetabbreviation() => __pbn__abbreviation = null; + private string __pbn__abbreviation; + + [global::ProtoBuf.ProtoMember(10)] + public uint voiceline_count + { + get => __pbn__voiceline_count.GetValueOrDefault(); + set => __pbn__voiceline_count = value; + } + public bool ShouldSerializevoiceline_count() => __pbn__voiceline_count != null; + public void Resetvoiceline_count() => __pbn__voiceline_count = null; + private uint? __pbn__voiceline_count; + + [global::ProtoBuf.ProtoMember(11)] + public uint spray_count + { + get => __pbn__spray_count.GetValueOrDefault(); + set => __pbn__spray_count = value; + } + public bool ShouldSerializespray_count() => __pbn__spray_count != null; + public void Resetspray_count() => __pbn__spray_count = null; + private uint? __pbn__spray_count; + + [global::ProtoBuf.ProtoMember(12)] + public uint emoticon_count + { + get => __pbn__emoticon_count.GetValueOrDefault(); + set => __pbn__emoticon_count = value; + } + public bool ShouldSerializeemoticon_count() => __pbn__emoticon_count != null; + public void Resetemoticon_count() => __pbn__emoticon_count = null; + private uint? __pbn__emoticon_count; + + [global::ProtoBuf.ProtoMember(13)] + public uint wallpaper_count + { + get => __pbn__wallpaper_count.GetValueOrDefault(); + set => __pbn__wallpaper_count = value; + } + public bool ShouldSerializewallpaper_count() => __pbn__wallpaper_count != null; + public void Resetwallpaper_count() => __pbn__wallpaper_count = null; + private uint? __pbn__wallpaper_count; + + [global::ProtoBuf.ProtoMember(14)] + [global::System.ComponentModel.DefaultValue("")] + public string comment + { + get => __pbn__comment ?? ""; + set => __pbn__comment = value; + } + public bool ShouldSerializecomment() => __pbn__comment != null; + public void Resetcomment() => __pbn__comment = null; + private string __pbn__comment; + + [global::ProtoBuf.ProtoMember(15)] + public uint comment_timestamp + { + get => __pbn__comment_timestamp.GetValueOrDefault(); + set => __pbn__comment_timestamp = value; + } + public bool ShouldSerializecomment_timestamp() => __pbn__comment_timestamp != null; + public void Resetcomment_timestamp() => __pbn__comment_timestamp = null; + private uint? __pbn__comment_timestamp; + } } @@ -17182,6 +17075,26 @@ public uint target_hero_id public void Resettarget_hero_id() => __pbn__target_hero_id = null; private uint? __pbn__target_hero_id; + [global::ProtoBuf.ProtoMember(10)] + public uint rank_tier + { + get => __pbn__rank_tier.GetValueOrDefault(); + set => __pbn__rank_tier = value; + } + public bool ShouldSerializerank_tier() => __pbn__rank_tier != null; + public void Resetrank_tier() => __pbn__rank_tier = null; + private uint? __pbn__rank_tier; + + [global::ProtoBuf.ProtoMember(11)] + public uint lane_selection_flags + { + get => __pbn__lane_selection_flags.GetValueOrDefault(); + set => __pbn__lane_selection_flags = value; + } + public bool ShouldSerializelane_selection_flags() => __pbn__lane_selection_flags != null; + public void Resetlane_selection_flags() => __pbn__lane_selection_flags = null; + private uint? __pbn__lane_selection_flags; + [global::ProtoBuf.ProtoContract()] public partial class Marker : global::ProtoBuf.IExtensible { @@ -17253,14 +17166,25 @@ public uint target_player_slot [global::ProtoBuf.ProtoMember(3)] [global::System.ComponentModel.DefaultValue(EOverwatchConviction.k_EOverwatchConviction_None)] - public EOverwatchConviction conviction + public EOverwatchConviction cheating_conviction { - get => __pbn__conviction ?? EOverwatchConviction.k_EOverwatchConviction_None; - set => __pbn__conviction = value; + get => __pbn__cheating_conviction ?? EOverwatchConviction.k_EOverwatchConviction_None; + set => __pbn__cheating_conviction = value; } - public bool ShouldSerializeconviction() => __pbn__conviction != null; - public void Resetconviction() => __pbn__conviction = null; - private EOverwatchConviction? __pbn__conviction; + public bool ShouldSerializecheating_conviction() => __pbn__cheating_conviction != null; + public void Resetcheating_conviction() => __pbn__cheating_conviction = null; + private EOverwatchConviction? __pbn__cheating_conviction; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(EOverwatchConviction.k_EOverwatchConviction_None)] + public EOverwatchConviction griefing_conviction + { + get => __pbn__griefing_conviction ?? EOverwatchConviction.k_EOverwatchConviction_None; + set => __pbn__griefing_conviction = value; + } + public bool ShouldSerializegriefing_conviction() => __pbn__griefing_conviction != null; + public void Resetgriefing_conviction() => __pbn__griefing_conviction = null; + private EOverwatchConviction? __pbn__griefing_conviction; } @@ -17302,6 +17226,7 @@ public enum EResponse k_eNotPermitted = 4, k_eInvalidReplayID = 5, k_eInvalidConviction = 6, + k_eInvalidPlayerSlot = 7, } } @@ -17382,6 +17307,290 @@ public uint expire_time } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCStartWatchingOverwatch : 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 overwatch_replay_id + { + get => __pbn__overwatch_replay_id.GetValueOrDefault(); + set => __pbn__overwatch_replay_id = value; + } + public bool ShouldSerializeoverwatch_replay_id() => __pbn__overwatch_replay_id != null; + public void Resetoverwatch_replay_id() => __pbn__overwatch_replay_id = null; + private ulong? __pbn__overwatch_replay_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint target_player_slot + { + get => __pbn__target_player_slot.GetValueOrDefault(); + set => __pbn__target_player_slot = value; + } + public bool ShouldSerializetarget_player_slot() => __pbn__target_player_slot != null; + public void Resettarget_player_slot() => __pbn__target_player_slot = null; + private uint? __pbn__target_player_slot; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCStopWatchingOverwatch : 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 overwatch_replay_id + { + get => __pbn__overwatch_replay_id.GetValueOrDefault(); + set => __pbn__overwatch_replay_id = value; + } + public bool ShouldSerializeoverwatch_replay_id() => __pbn__overwatch_replay_id != null; + public void Resetoverwatch_replay_id() => __pbn__overwatch_replay_id = null; + private ulong? __pbn__overwatch_replay_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint target_player_slot + { + get => __pbn__target_player_slot.GetValueOrDefault(); + set => __pbn__target_player_slot = value; + } + public bool ShouldSerializetarget_player_slot() => __pbn__target_player_slot != null; + public void Resettarget_player_slot() => __pbn__target_player_slot = null; + private uint? __pbn__target_player_slot; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCOverwatchReplayError : 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 overwatch_replay_id + { + get => __pbn__overwatch_replay_id.GetValueOrDefault(); + set => __pbn__overwatch_replay_id = value; + } + public bool ShouldSerializeoverwatch_replay_id() => __pbn__overwatch_replay_id != null; + public void Resetoverwatch_replay_id() => __pbn__overwatch_replay_id = null; + private ulong? __pbn__overwatch_replay_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCGetDPCFavorites : 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 partial class CMsgClientToGCGetDPCFavoritesResponse : 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(EResponse.k_eInternalError)] + public EResponse result + { + get => __pbn__result ?? EResponse.k_eInternalError; + set => __pbn__result = value; + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private EResponse? __pbn__result; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List favorites { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Favorite : 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(EDPCFavoriteType.FAVORITE_TYPE_ALL)] + public EDPCFavoriteType favorite_type + { + get => __pbn__favorite_type ?? EDPCFavoriteType.FAVORITE_TYPE_ALL; + set => __pbn__favorite_type = value; + } + public bool ShouldSerializefavorite_type() => __pbn__favorite_type != null; + public void Resetfavorite_type() => __pbn__favorite_type = null; + private EDPCFavoriteType? __pbn__favorite_type; + + [global::ProtoBuf.ProtoMember(2)] + public uint favorite_id + { + get => __pbn__favorite_id.GetValueOrDefault(); + set => __pbn__favorite_id = value; + } + public bool ShouldSerializefavorite_id() => __pbn__favorite_id != null; + public void Resetfavorite_id() => __pbn__favorite_id = null; + private uint? __pbn__favorite_id; + + } + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTooBusy = 2, + k_eDisabled = 3, + k_eTimeout = 4, + k_eInvalidRequest = 5, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetDPCFavoriteState : 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(EDPCFavoriteType.FAVORITE_TYPE_ALL)] + public EDPCFavoriteType favorite_type + { + get => __pbn__favorite_type ?? EDPCFavoriteType.FAVORITE_TYPE_ALL; + set => __pbn__favorite_type = value; + } + public bool ShouldSerializefavorite_type() => __pbn__favorite_type != null; + public void Resetfavorite_type() => __pbn__favorite_type = null; + private EDPCFavoriteType? __pbn__favorite_type; + + [global::ProtoBuf.ProtoMember(2)] + public uint favorite_id + { + get => __pbn__favorite_id.GetValueOrDefault(); + set => __pbn__favorite_id = value; + } + public bool ShouldSerializefavorite_id() => __pbn__favorite_id != null; + public void Resetfavorite_id() => __pbn__favorite_id = null; + private uint? __pbn__favorite_id; + + [global::ProtoBuf.ProtoMember(3)] + public bool enabled + { + get => __pbn__enabled.GetValueOrDefault(); + set => __pbn__enabled = value; + } + public bool ShouldSerializeenabled() => __pbn__enabled != null; + public void Resetenabled() => __pbn__enabled = null; + private bool? __pbn__enabled; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetDPCFavoriteStateResponse : 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(EResponse.k_eInternalError)] + public EResponse result + { + get => __pbn__result ?? EResponse.k_eInternalError; + set => __pbn__result = value; + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private EResponse? __pbn__result; + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eFavoriteTypeOutOfRange = 2, + k_eLockFailed = 3, + k_eAlreadyFavorited = 4, + k_eAlreadyUnfavorited = 5, + k_eInsertRecordFailed = 6, + k_eRemoveRecordFailed = 7, + k_eTimeout = 8, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetEventActiveSeasonID : 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 => __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(2)] + public uint active_season_id + { + get => __pbn__active_season_id.GetValueOrDefault(); + set => __pbn__active_season_id = value; + } + public bool ShouldSerializeactive_season_id() => __pbn__active_season_id != null; + public void Resetactive_season_id() => __pbn__active_season_id = null; + private uint? __pbn__active_season_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetEventActiveSeasonIDResponse : 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(EResponse.k_eInternalError)] + public EResponse result + { + get => __pbn__result ?? EResponse.k_eInternalError; + set => __pbn__result = value; + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private EResponse? __pbn__result; + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eDisabled = 2, + k_eTooBusy = 3, + k_eNotAllowed = 4, + k_eTimeout = 5, + } + + } + [global::ProtoBuf.ProtoContract()] public enum DOTA_WatchReplayType { @@ -17459,6 +17668,7 @@ public enum EPurchaseHeroRelicResult k_EPurchaseHeroRelicResult_PurchaseNotAllowed = 4, k_EPurchaseHeroRelicResult_InvalidRelic = 5, k_EPurchaseHeroRelicResult_AlreadyOwned = 6, + k_EPurchaseHeroRelicResult_InvalidRarity = 7, } [global::ProtoBuf.ProtoContract()] @@ -17492,21 +17702,6 @@ public enum ESupportEventRequestResult k_ESupportEventRequestResult_TransactionFailed = 13, } - [global::ProtoBuf.ProtoContract()] - public enum ECoachTeammateRating - { - k_ECoachTeammateRating_None = 0, - k_ECoachTeammateRating_Positive = 1, - k_ECoachTeammateRating_Negative = 2, - k_ECoachTeammateRating_Abusive = 3, - } - - [global::ProtoBuf.ProtoContract()] - public enum EPlayerCoachMatchFlag - { - k_EPlayerCoachMatchFlag_EligibleForRewards = 1, - } - [global::ProtoBuf.ProtoContract()] public enum EUnderDraftResponse { @@ -17529,8 +17724,7 @@ public enum ETeamFanContentStatus { TEAM_FAN_CONTENT_STATUS_INVALID = 0, TEAM_FAN_CONTENT_STATUS_PENDING = 1, - TEAM_FAN_CONTENT_STATUS_APPROVED = 2, - TEAM_FAN_CONTENT_STATUS_REJECTED = 3, + TEAM_FAN_CONTENT_STATUS_EVALUATED = 2, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientChat.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientChat.cs index 85ac0001c..532ebdc37 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientChat.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientChat.cs @@ -323,6 +323,16 @@ public DOTAChatChannelType_t channel_type public void Resetchannel_type() => __pbn__channel_type = null; private DOTAChatChannelType_t? __pbn__channel_type; + [global::ProtoBuf.ProtoMember(5)] + public bool silent_rejection + { + get => __pbn__silent_rejection.GetValueOrDefault(); + set => __pbn__silent_rejection = value; + } + public bool ShouldSerializesilent_rejection() => __pbn__silent_rejection != null; + public void Resetsilent_rejection() => __pbn__silent_rejection = null; + private bool? __pbn__silent_rejection; + } [global::ProtoBuf.ProtoContract()] @@ -392,6 +402,45 @@ public uint ignored_account_id } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgDOTAChatModeratorBan : 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 channel_id + { + get => __pbn__channel_id.GetValueOrDefault(); + set => __pbn__channel_id = value; + } + public bool ShouldSerializechannel_id() => __pbn__channel_id != null; + public void Resetchannel_id() => __pbn__channel_id = null; + private ulong? __pbn__channel_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint account_id + { + get => __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(3)] + public uint duration + { + get => __pbn__duration.GetValueOrDefault(); + set => __pbn__duration = value; + } + public bool ShouldSerializeduration() => __pbn__duration != null; + public void Resetduration() => __pbn__duration = null; + private uint? __pbn__duration; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgDOTAChatMessage : global::ProtoBuf.IExtensible { @@ -731,6 +780,26 @@ public bool ctrl_is_down public void Resetctrl_is_down() => __pbn__ctrl_is_down = null; private bool? __pbn__ctrl_is_down; + [global::ProtoBuf.ProtoMember(37)] + public uint favorite_team_id + { + get => __pbn__favorite_team_id.GetValueOrDefault(); + set => __pbn__favorite_team_id = value; + } + public bool ShouldSerializefavorite_team_id() => __pbn__favorite_team_id != null; + public void Resetfavorite_team_id() => __pbn__favorite_team_id = null; + private uint? __pbn__favorite_team_id; + + [global::ProtoBuf.ProtoMember(38)] + public uint favorite_team_quality + { + get => __pbn__favorite_team_quality.GetValueOrDefault(); + set => __pbn__favorite_team_quality = value; + } + public bool ShouldSerializefavorite_team_quality() => __pbn__favorite_team_quality != null; + public void Resetfavorite_team_quality() => __pbn__favorite_team_quality = null; + private uint? __pbn__favorite_team_quality; + [global::ProtoBuf.ProtoContract()] public partial class DiceRoll : global::ProtoBuf.IExtensible { @@ -985,6 +1054,17 @@ public string welcome_message public void Resetwelcome_message() => __pbn__welcome_message = null; private string __pbn__welcome_message; + [global::ProtoBuf.ProtoMember(11)] + [global::System.ComponentModel.DefaultValue(EChatSpecialPrivileges.k_EChatSpecialPrivileges_None)] + public EChatSpecialPrivileges special_privileges + { + get => __pbn__special_privileges ?? EChatSpecialPrivileges.k_EChatSpecialPrivileges_None; + set => __pbn__special_privileges = value; + } + public bool ShouldSerializespecial_privileges() => __pbn__special_privileges != null; + public void Resetspecial_privileges() => __pbn__special_privileges = null; + private EChatSpecialPrivileges? __pbn__special_privileges; + [global::ProtoBuf.ProtoContract()] public enum Result { @@ -1003,6 +1083,10 @@ public enum Result PRIVATE_CHAT_CREATE_LOCK_FAILED = 12, PRIVATE_CHAT_KICKED = 13, USER_NOT_ALLOWED = 14, + ENSURE_SPECIAL_PRIVILEGES_FAILED = 15, + NEW_PLAYER_USER_NOT_ELIGIBLE = 16, + SILENT_ERROR = 17, + NEW_PLAYER_USER_BANNED = 18, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientFantasy.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientFantasy.cs index 11d2cf761..3acde8963 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientFantasy.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientFantasy.cs @@ -133,16 +133,6 @@ public string real_name public void Resetreal_name() => __pbn__real_name = null; private string __pbn__real_name; - [global::ProtoBuf.ProtoMember(12)] - public uint birthdate - { - get => __pbn__birthdate.GetValueOrDefault(); - set => __pbn__birthdate = value; - } - public bool ShouldSerializebirthdate() => __pbn__birthdate != null; - public void Resetbirthdate() => __pbn__birthdate = null; - private uint? __pbn__birthdate; - [global::ProtoBuf.ProtoMember(13)] public uint total_earnings { @@ -4267,6 +4257,186 @@ public enum ERosterStatus } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgDOTADPCSearchResults : 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 players { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List teams { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List leagues { get; } = new global::System.Collections.Generic.List(); + + [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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string real_name + { + get => __pbn__real_name ?? ""; + set => __pbn__real_name = value; + } + public bool ShouldSerializereal_name() => __pbn__real_name != null; + public void Resetreal_name() => __pbn__real_name = null; + private string __pbn__real_name; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class Team : 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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string url + { + get => __pbn__url ?? ""; + set => __pbn__url = value; + } + public bool ShouldSerializeurl() => __pbn__url != null; + public void Reseturl() => __pbn__url = null; + private string __pbn__url; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class League : 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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + } + + [global::ProtoBuf.ProtoContract()] + public enum ESearchResultsDesired + { + k_ESearchResultsDesired_Players = 1, + k_ESearchResultsDesired_Teams = 2, + k_ESearchResultsDesired_Leagues = 4, + k_ESearchResultsDesired_All = 7, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgDOTADPCTeamFavoriteRankings : 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 teams { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Team : 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 team_id + { + get => __pbn__team_id.GetValueOrDefault(); + set => __pbn__team_id = value; + } + public bool ShouldSerializeteam_id() => __pbn__team_id != null; + public void Resetteam_id() => __pbn__team_id = null; + private uint? __pbn__team_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint favorites + { + get => __pbn__favorites.GetValueOrDefault(); + set => __pbn__favorites = value; + } + public bool ShouldSerializefavorites() => __pbn__favorites != null; + public void Resetfavorites() => __pbn__favorites = null; + private uint? __pbn__favorites; + + } + + } + [global::ProtoBuf.ProtoContract()] public enum DOTA_2013PassportSelectionIndices { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs index e0069b86b..a133a3772 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs @@ -1290,6 +1290,7 @@ public enum EResponse k_eAlreadyInvited = 9, k_eNoInvitePermissions = 10, k_eTooManyInvites = 11, + k_eInvalidUser = 12, } } @@ -2219,6 +2220,7 @@ public enum EGuildAuditAction k_EGuildAuditAction_AdminPermitted = 24, k_EGuildAuditAction_AdminBlocked = 25, k_EGuildAuditAction_AdminBannedUser = 26, + k_EGuildAuditAction_AdminExonerated = 27, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs index 26549a5c6..33cf7d396 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs @@ -2820,6 +2820,8 @@ public enum EStartFindingMatchResult k_EStartFindingMatchResult_DifficultyNotUnlocked = 130, k_EStartFindingMatchResult_CoachesNotAllowedInParty = 131, k_EStartFindingMatchResult_MatchmakingBusy = 132, + k_EStartFindingMatchResult_SteamChinaBanned = 133, + k_EStartFindingMatchResult_SteamChinaInvalidMixedParty = 134, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientTeam.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientTeam.cs index 8db538422..98faa2d2a 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientTeam.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientTeam.cs @@ -521,9 +521,30 @@ public uint games_played_matchmaking public void Resetgames_played_matchmaking() => __pbn__games_played_matchmaking = null; private uint? __pbn__games_played_matchmaking; + [global::ProtoBuf.ProtoMember(24)] + [global::System.ComponentModel.DefaultValue("")] + public string url_logo + { + get => __pbn__url_logo ?? ""; + set => __pbn__url_logo = value; + } + public bool ShouldSerializeurl_logo() => __pbn__url_logo != null; + public void Reseturl_logo() => __pbn__url_logo = null; + private string __pbn__url_logo; + [global::ProtoBuf.ProtoMember(30)] public global::System.Collections.Generic.List registered_member_account_ids { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(36)] + public uint coach_account_id + { + get => __pbn__coach_account_id.GetValueOrDefault(); + set => __pbn__coach_account_id = value; + } + public bool ShouldSerializecoach_account_id() => __pbn__coach_account_id != null; + public void Resetcoach_account_id() => __pbn__coach_account_id = null; + private uint? __pbn__coach_account_id; + [global::ProtoBuf.ProtoMember(31)] public global::System.Collections.Generic.List audit_entries { get; } = new global::System.Collections.Generic.List(); @@ -538,6 +559,360 @@ public ELeagueRegion region public void Resetregion() => __pbn__region = null; private ELeagueRegion? __pbn__region; + [global::ProtoBuf.ProtoMember(32)] + [global::System.ComponentModel.DefaultValue("")] + public string abbreviation + { + get => __pbn__abbreviation ?? ""; + set => __pbn__abbreviation = value; + } + public bool ShouldSerializeabbreviation() => __pbn__abbreviation != null; + public void Resetabbreviation() => __pbn__abbreviation = null; + private string __pbn__abbreviation; + + [global::ProtoBuf.ProtoMember(33)] + public global::System.Collections.Generic.List member_stats { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(34)] + public TeamStats team_stats { get; set; } + + [global::ProtoBuf.ProtoMember(35)] + public global::System.Collections.Generic.List dpc_results { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(37)] + [global::System.ComponentModel.DefaultValue("")] + public string color_primary + { + get => __pbn__color_primary ?? ""; + set => __pbn__color_primary = value; + } + public bool ShouldSerializecolor_primary() => __pbn__color_primary != null; + public void Resetcolor_primary() => __pbn__color_primary = null; + private string __pbn__color_primary; + + [global::ProtoBuf.ProtoMember(38)] + [global::System.ComponentModel.DefaultValue("")] + public string color_secondary + { + get => __pbn__color_secondary ?? ""; + set => __pbn__color_secondary = value; + } + public bool ShouldSerializecolor_secondary() => __pbn__color_secondary != null; + public void Resetcolor_secondary() => __pbn__color_secondary = null; + private string __pbn__color_secondary; + + [global::ProtoBuf.ProtoMember(39)] + public uint team_captain + { + get => __pbn__team_captain.GetValueOrDefault(); + set => __pbn__team_captain = value; + } + public bool ShouldSerializeteam_captain() => __pbn__team_captain != null; + public void Resetteam_captain() => __pbn__team_captain = null; + private uint? __pbn__team_captain; + + [global::ProtoBuf.ProtoContract()] + public partial class HeroStats : 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 hero_id + { + get => __pbn__hero_id.GetValueOrDefault(); + set => __pbn__hero_id = value; + } + public bool ShouldSerializehero_id() => __pbn__hero_id != null; + public void Resethero_id() => __pbn__hero_id = null; + private uint? __pbn__hero_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint picks + { + get => __pbn__picks.GetValueOrDefault(); + set => __pbn__picks = value; + } + public bool ShouldSerializepicks() => __pbn__picks != null; + public void Resetpicks() => __pbn__picks = null; + private uint? __pbn__picks; + + [global::ProtoBuf.ProtoMember(3)] + public uint wins + { + get => __pbn__wins.GetValueOrDefault(); + set => __pbn__wins = value; + } + public bool ShouldSerializewins() => __pbn__wins != null; + public void Resetwins() => __pbn__wins = null; + private uint? __pbn__wins; + + [global::ProtoBuf.ProtoMember(4)] + public uint bans + { + get => __pbn__bans.GetValueOrDefault(); + set => __pbn__bans = value; + } + public bool ShouldSerializebans() => __pbn__bans != null; + public void Resetbans() => __pbn__bans = null; + private uint? __pbn__bans; + + [global::ProtoBuf.ProtoMember(5)] + public float avg_kills + { + get => __pbn__avg_kills.GetValueOrDefault(); + set => __pbn__avg_kills = value; + } + public bool ShouldSerializeavg_kills() => __pbn__avg_kills != null; + public void Resetavg_kills() => __pbn__avg_kills = null; + private float? __pbn__avg_kills; + + [global::ProtoBuf.ProtoMember(6)] + public float avg_deaths + { + get => __pbn__avg_deaths.GetValueOrDefault(); + set => __pbn__avg_deaths = value; + } + public bool ShouldSerializeavg_deaths() => __pbn__avg_deaths != null; + public void Resetavg_deaths() => __pbn__avg_deaths = null; + private float? __pbn__avg_deaths; + + [global::ProtoBuf.ProtoMember(7)] + public float avg_assists + { + get => __pbn__avg_assists.GetValueOrDefault(); + set => __pbn__avg_assists = value; + } + public bool ShouldSerializeavg_assists() => __pbn__avg_assists != null; + public void Resetavg_assists() => __pbn__avg_assists = null; + private float? __pbn__avg_assists; + + [global::ProtoBuf.ProtoMember(8)] + public float avg_gpm + { + get => __pbn__avg_gpm.GetValueOrDefault(); + set => __pbn__avg_gpm = value; + } + public bool ShouldSerializeavg_gpm() => __pbn__avg_gpm != null; + public void Resetavg_gpm() => __pbn__avg_gpm = null; + private float? __pbn__avg_gpm; + + [global::ProtoBuf.ProtoMember(9)] + public float avg_xpm + { + get => __pbn__avg_xpm.GetValueOrDefault(); + set => __pbn__avg_xpm = value; + } + public bool ShouldSerializeavg_xpm() => __pbn__avg_xpm != null; + public void Resetavg_xpm() => __pbn__avg_xpm = null; + private float? __pbn__avg_xpm; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class MemberStats : 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 => __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 wins_with_team + { + get => __pbn__wins_with_team.GetValueOrDefault(); + set => __pbn__wins_with_team = value; + } + public bool ShouldSerializewins_with_team() => __pbn__wins_with_team != null; + public void Resetwins_with_team() => __pbn__wins_with_team = null; + private uint? __pbn__wins_with_team; + + [global::ProtoBuf.ProtoMember(3)] + public uint losses_with_team + { + get => __pbn__losses_with_team.GetValueOrDefault(); + set => __pbn__losses_with_team = value; + } + public bool ShouldSerializelosses_with_team() => __pbn__losses_with_team != null; + public void Resetlosses_with_team() => __pbn__losses_with_team = null; + private uint? __pbn__losses_with_team; + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List top_heroes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public float avg_kills + { + get => __pbn__avg_kills.GetValueOrDefault(); + set => __pbn__avg_kills = value; + } + public bool ShouldSerializeavg_kills() => __pbn__avg_kills != null; + public void Resetavg_kills() => __pbn__avg_kills = null; + private float? __pbn__avg_kills; + + [global::ProtoBuf.ProtoMember(6)] + public float avg_deaths + { + get => __pbn__avg_deaths.GetValueOrDefault(); + set => __pbn__avg_deaths = value; + } + public bool ShouldSerializeavg_deaths() => __pbn__avg_deaths != null; + public void Resetavg_deaths() => __pbn__avg_deaths = null; + private float? __pbn__avg_deaths; + + [global::ProtoBuf.ProtoMember(7)] + public float avg_assists + { + get => __pbn__avg_assists.GetValueOrDefault(); + set => __pbn__avg_assists = value; + } + public bool ShouldSerializeavg_assists() => __pbn__avg_assists != null; + public void Resetavg_assists() => __pbn__avg_assists = null; + private float? __pbn__avg_assists; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class TeamStats : 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 played_heroes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public float farming + { + get => __pbn__farming.GetValueOrDefault(); + set => __pbn__farming = value; + } + public bool ShouldSerializefarming() => __pbn__farming != null; + public void Resetfarming() => __pbn__farming = null; + private float? __pbn__farming; + + [global::ProtoBuf.ProtoMember(3)] + public float fighting + { + get => __pbn__fighting.GetValueOrDefault(); + set => __pbn__fighting = value; + } + public bool ShouldSerializefighting() => __pbn__fighting != null; + public void Resetfighting() => __pbn__fighting = null; + private float? __pbn__fighting; + + [global::ProtoBuf.ProtoMember(4)] + public float versatility + { + get => __pbn__versatility.GetValueOrDefault(); + set => __pbn__versatility = value; + } + public bool ShouldSerializeversatility() => __pbn__versatility != null; + public void Resetversatility() => __pbn__versatility = null; + private float? __pbn__versatility; + + [global::ProtoBuf.ProtoMember(5)] + public float avg_kills + { + get => __pbn__avg_kills.GetValueOrDefault(); + set => __pbn__avg_kills = value; + } + public bool ShouldSerializeavg_kills() => __pbn__avg_kills != null; + public void Resetavg_kills() => __pbn__avg_kills = null; + private float? __pbn__avg_kills; + + [global::ProtoBuf.ProtoMember(6)] + public float avg_deaths + { + get => __pbn__avg_deaths.GetValueOrDefault(); + set => __pbn__avg_deaths = value; + } + public bool ShouldSerializeavg_deaths() => __pbn__avg_deaths != null; + public void Resetavg_deaths() => __pbn__avg_deaths = null; + private float? __pbn__avg_deaths; + + [global::ProtoBuf.ProtoMember(7)] + public float avg_duration + { + get => __pbn__avg_duration.GetValueOrDefault(); + set => __pbn__avg_duration = value; + } + public bool ShouldSerializeavg_duration() => __pbn__avg_duration != null; + public void Resetavg_duration() => __pbn__avg_duration = null; + private float? __pbn__avg_duration; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class DPCResult : 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 league_id + { + get => __pbn__league_id.GetValueOrDefault(); + set => __pbn__league_id = value; + } + public bool ShouldSerializeleague_id() => __pbn__league_id != null; + public void Resetleague_id() => __pbn__league_id = null; + private uint? __pbn__league_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint standing + { + get => __pbn__standing.GetValueOrDefault(); + set => __pbn__standing = value; + } + public bool ShouldSerializestanding() => __pbn__standing != null; + public void Resetstanding() => __pbn__standing = null; + private uint? __pbn__standing; + + [global::ProtoBuf.ProtoMember(3)] + public uint points + { + get => __pbn__points.GetValueOrDefault(); + set => __pbn__points = value; + } + public bool ShouldSerializepoints() => __pbn__points != null; + public void Resetpoints() => __pbn__points = null; + private uint? __pbn__points; + + [global::ProtoBuf.ProtoMember(4)] + public uint earnings + { + get => __pbn__earnings.GetValueOrDefault(); + set => __pbn__earnings = value; + } + public bool ShouldSerializeearnings() => __pbn__earnings != null; + public void Resetearnings() => __pbn__earnings = null; + private uint? __pbn__earnings; + + [global::ProtoBuf.ProtoMember(5)] + public uint timestamp + { + get => __pbn__timestamp.GetValueOrDefault(); + set => __pbn__timestamp = value; + } + public bool ShouldSerializetimestamp() => __pbn__timestamp != null; + public void Resettimestamp() => __pbn__timestamp = null; + private uint? __pbn__timestamp; + + } + [global::ProtoBuf.ProtoContract()] public partial class Member : global::ProtoBuf.IExtensible { @@ -575,6 +950,17 @@ public bool admin public void Resetadmin() => __pbn__admin = null; private bool? __pbn__admin; + [global::ProtoBuf.ProtoMember(6)] + [global::System.ComponentModel.DefaultValue("")] + public string pro_name + { + get => __pbn__pro_name ?? ""; + set => __pbn__pro_name = value; + } + public bool ShouldSerializepro_name() => __pbn__pro_name != null; + public void Resetpro_name() => __pbn__pro_name = null; + private string __pbn__pro_name; + } [global::ProtoBuf.ProtoContract()] @@ -652,6 +1038,18 @@ public uint league_id } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgDOTATeamInfoList : 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 teams { get; } = new global::System.Collections.Generic.List(); + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgDOTAMyTeamInfoRequest : global::ProtoBuf.IExtensible { @@ -762,6 +1160,17 @@ public bool pickup_team public void Resetpickup_team() => __pbn__pickup_team = null; private bool? __pbn__pickup_team; + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] + public string abbreviation + { + get => __pbn__abbreviation ?? ""; + set => __pbn__abbreviation = value; + } + public bool ShouldSerializeabbreviation() => __pbn__abbreviation != null; + public void Resetabbreviation() => __pbn__abbreviation = null; + private string __pbn__abbreviation; + } [global::ProtoBuf.ProtoContract()] @@ -929,6 +1338,17 @@ public bool in_use_by_party public void Resetin_use_by_party() => __pbn__in_use_by_party = null; private bool? __pbn__in_use_by_party; + [global::ProtoBuf.ProtoMember(11)] + [global::System.ComponentModel.DefaultValue("")] + public string abbreviation + { + get => __pbn__abbreviation ?? ""; + set => __pbn__abbreviation = value; + } + public bool ShouldSerializeabbreviation() => __pbn__abbreviation != null; + public void Resetabbreviation() => __pbn__abbreviation = null; + private string __pbn__abbreviation; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientWatch.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientWatch.cs index 4c65e4141..a71ffac08 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientWatch.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientWatch.cs @@ -816,6 +816,7 @@ public enum EWatchLiveResult ERROR_SPECTATOR_SWITCHED_TEAMS = 11, ERROR_FRIENDS_ON_BOTH_SIDES = 12, ERROR_SPECTATOR_IN_THIS_LOBBY = 13, + ERROR_LOBBY_IS_LEAGUE = 14, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs index f8345eae8..b5e5d26ff 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs @@ -136,6 +136,16 @@ public uint prevent_public_text_chat_until_date public void Resetprevent_public_text_chat_until_date() => __pbn__prevent_public_text_chat_until_date = null; private uint? __pbn__prevent_public_text_chat_until_date; + [global::ProtoBuf.ProtoMember(122)] + public uint prevent_new_player_chat_until_date + { + get => __pbn__prevent_new_player_chat_until_date.GetValueOrDefault(); + set => __pbn__prevent_new_player_chat_until_date = value; + } + public bool ShouldSerializeprevent_new_player_chat_until_date() => __pbn__prevent_new_player_chat_until_date != null; + public void Resetprevent_new_player_chat_until_date() => __pbn__prevent_new_player_chat_until_date = null; + private uint? __pbn__prevent_new_player_chat_until_date; + [global::ProtoBuf.ProtoMember(22)] public uint last_abandoned_game_date { @@ -457,16 +467,6 @@ public uint tourney_recent_participation_date public void Resettourney_recent_participation_date() => __pbn__tourney_recent_participation_date = null; private uint? __pbn__tourney_recent_participation_date; - [global::ProtoBuf.ProtoMember(87)] - public uint favorite_team - { - get => __pbn__favorite_team.GetValueOrDefault(); - set => __pbn__favorite_team = value; - } - public bool ShouldSerializefavorite_team() => __pbn__favorite_team != null; - public void Resetfavorite_team() => __pbn__favorite_team = null; - private uint? __pbn__favorite_team; - [global::ProtoBuf.ProtoMember(88)] public ulong anchored_phone_number_id { @@ -517,106 +517,6 @@ public uint recent_game_time_3 public void Resetrecent_game_time_3() => __pbn__recent_game_time_3 = null; private uint? __pbn__recent_game_time_3; - [global::ProtoBuf.ProtoMember(93)] - public uint general_seasonal_ranked_rank - { - get => __pbn__general_seasonal_ranked_rank.GetValueOrDefault(); - set => __pbn__general_seasonal_ranked_rank = value; - } - public bool ShouldSerializegeneral_seasonal_ranked_rank() => __pbn__general_seasonal_ranked_rank != null; - public void Resetgeneral_seasonal_ranked_rank() => __pbn__general_seasonal_ranked_rank = null; - private uint? __pbn__general_seasonal_ranked_rank; - - [global::ProtoBuf.ProtoMember(94)] - public uint general_seasonal_ranked_calibration_games_remaining - { - get => __pbn__general_seasonal_ranked_calibration_games_remaining.GetValueOrDefault(); - set => __pbn__general_seasonal_ranked_calibration_games_remaining = value; - } - public bool ShouldSerializegeneral_seasonal_ranked_calibration_games_remaining() => __pbn__general_seasonal_ranked_calibration_games_remaining != null; - public void Resetgeneral_seasonal_ranked_calibration_games_remaining() => __pbn__general_seasonal_ranked_calibration_games_remaining = null; - private uint? __pbn__general_seasonal_ranked_calibration_games_remaining; - - [global::ProtoBuf.ProtoMember(95)] - public uint general_seasonal_ranked_games_played - { - get => __pbn__general_seasonal_ranked_games_played.GetValueOrDefault(); - set => __pbn__general_seasonal_ranked_games_played = value; - } - public bool ShouldSerializegeneral_seasonal_ranked_games_played() => __pbn__general_seasonal_ranked_games_played != null; - public void Resetgeneral_seasonal_ranked_games_played() => __pbn__general_seasonal_ranked_games_played = null; - private uint? __pbn__general_seasonal_ranked_games_played; - - [global::ProtoBuf.ProtoMember(96)] - public uint general_seasonal_ranked_rank_peak - { - get => __pbn__general_seasonal_ranked_rank_peak.GetValueOrDefault(); - set => __pbn__general_seasonal_ranked_rank_peak = value; - } - public bool ShouldSerializegeneral_seasonal_ranked_rank_peak() => __pbn__general_seasonal_ranked_rank_peak != null; - public void Resetgeneral_seasonal_ranked_rank_peak() => __pbn__general_seasonal_ranked_rank_peak = null; - private uint? __pbn__general_seasonal_ranked_rank_peak; - - [global::ProtoBuf.ProtoMember(97)] - public bool general_seasonal_rank_transferred - { - get => __pbn__general_seasonal_rank_transferred.GetValueOrDefault(); - set => __pbn__general_seasonal_rank_transferred = value; - } - public bool ShouldSerializegeneral_seasonal_rank_transferred() => __pbn__general_seasonal_rank_transferred != null; - public void Resetgeneral_seasonal_rank_transferred() => __pbn__general_seasonal_rank_transferred = null; - private bool? __pbn__general_seasonal_rank_transferred; - - [global::ProtoBuf.ProtoMember(98)] - public uint solo_seasonal_ranked_rank - { - get => __pbn__solo_seasonal_ranked_rank.GetValueOrDefault(); - set => __pbn__solo_seasonal_ranked_rank = value; - } - public bool ShouldSerializesolo_seasonal_ranked_rank() => __pbn__solo_seasonal_ranked_rank != null; - public void Resetsolo_seasonal_ranked_rank() => __pbn__solo_seasonal_ranked_rank = null; - private uint? __pbn__solo_seasonal_ranked_rank; - - [global::ProtoBuf.ProtoMember(99)] - public uint solo_seasonal_ranked_calibration_games_remaining - { - get => __pbn__solo_seasonal_ranked_calibration_games_remaining.GetValueOrDefault(); - set => __pbn__solo_seasonal_ranked_calibration_games_remaining = value; - } - public bool ShouldSerializesolo_seasonal_ranked_calibration_games_remaining() => __pbn__solo_seasonal_ranked_calibration_games_remaining != null; - public void Resetsolo_seasonal_ranked_calibration_games_remaining() => __pbn__solo_seasonal_ranked_calibration_games_remaining = null; - private uint? __pbn__solo_seasonal_ranked_calibration_games_remaining; - - [global::ProtoBuf.ProtoMember(100)] - public uint solo_seasonal_ranked_games_played - { - get => __pbn__solo_seasonal_ranked_games_played.GetValueOrDefault(); - set => __pbn__solo_seasonal_ranked_games_played = value; - } - public bool ShouldSerializesolo_seasonal_ranked_games_played() => __pbn__solo_seasonal_ranked_games_played != null; - public void Resetsolo_seasonal_ranked_games_played() => __pbn__solo_seasonal_ranked_games_played = null; - private uint? __pbn__solo_seasonal_ranked_games_played; - - [global::ProtoBuf.ProtoMember(101)] - public uint solo_seasonal_ranked_rank_peak - { - get => __pbn__solo_seasonal_ranked_rank_peak.GetValueOrDefault(); - set => __pbn__solo_seasonal_ranked_rank_peak = value; - } - public bool ShouldSerializesolo_seasonal_ranked_rank_peak() => __pbn__solo_seasonal_ranked_rank_peak != null; - public void Resetsolo_seasonal_ranked_rank_peak() => __pbn__solo_seasonal_ranked_rank_peak = null; - private uint? __pbn__solo_seasonal_ranked_rank_peak; - - [global::ProtoBuf.ProtoMember(102)] - public bool solo_seasonal_rank_transferred - { - get => __pbn__solo_seasonal_rank_transferred.GetValueOrDefault(); - set => __pbn__solo_seasonal_rank_transferred = value; - } - public bool ShouldSerializesolo_seasonal_rank_transferred() => __pbn__solo_seasonal_rank_transferred != null; - public void Resetsolo_seasonal_rank_transferred() => __pbn__solo_seasonal_rank_transferred = null; - private bool? __pbn__solo_seasonal_rank_transferred; - [global::ProtoBuf.ProtoMember(103)] public ulong favorite_team_packed { @@ -687,46 +587,6 @@ public uint coach_rating public void Resetcoach_rating() => __pbn__coach_rating = null; private uint? __pbn__coach_rating; - [global::ProtoBuf.ProtoMember(110)] - public uint competitive_core_rank - { - get => __pbn__competitive_core_rank.GetValueOrDefault(); - set => __pbn__competitive_core_rank = value; - } - public bool ShouldSerializecompetitive_core_rank() => __pbn__competitive_core_rank != null; - public void Resetcompetitive_core_rank() => __pbn__competitive_core_rank = null; - private uint? __pbn__competitive_core_rank; - - [global::ProtoBuf.ProtoMember(111)] - public uint competitive_core_calibration_games_remaining - { - get => __pbn__competitive_core_calibration_games_remaining.GetValueOrDefault(); - set => __pbn__competitive_core_calibration_games_remaining = value; - } - public bool ShouldSerializecompetitive_core_calibration_games_remaining() => __pbn__competitive_core_calibration_games_remaining != null; - public void Resetcompetitive_core_calibration_games_remaining() => __pbn__competitive_core_calibration_games_remaining = null; - private uint? __pbn__competitive_core_calibration_games_remaining; - - [global::ProtoBuf.ProtoMember(112)] - public uint competitive_support_rank - { - get => __pbn__competitive_support_rank.GetValueOrDefault(); - set => __pbn__competitive_support_rank = value; - } - public bool ShouldSerializecompetitive_support_rank() => __pbn__competitive_support_rank != null; - public void Resetcompetitive_support_rank() => __pbn__competitive_support_rank = null; - private uint? __pbn__competitive_support_rank; - - [global::ProtoBuf.ProtoMember(113)] - public uint competitive_support_calibration_games_remaining - { - get => __pbn__competitive_support_calibration_games_remaining.GetValueOrDefault(); - set => __pbn__competitive_support_calibration_games_remaining = value; - } - public bool ShouldSerializecompetitive_support_calibration_games_remaining() => __pbn__competitive_support_calibration_games_remaining != null; - public void Resetcompetitive_support_calibration_games_remaining() => __pbn__competitive_support_calibration_games_remaining = null; - private uint? __pbn__competitive_support_calibration_games_remaining; - [global::ProtoBuf.ProtoMember(114)] public uint queue_points { @@ -1144,36 +1004,6 @@ public bool owned public void Resetowned() => __pbn__owned = null; private bool? __pbn__owned; - [global::ProtoBuf.ProtoMember(5)] - public uint favorite_team - { - get => __pbn__favorite_team.GetValueOrDefault(); - set => __pbn__favorite_team = value; - } - public bool ShouldSerializefavorite_team() => __pbn__favorite_team != null; - public void Resetfavorite_team() => __pbn__favorite_team = null; - private uint? __pbn__favorite_team; - - [global::ProtoBuf.ProtoMember(6)] - public uint favorite_team_level - { - get => __pbn__favorite_team_level.GetValueOrDefault(); - set => __pbn__favorite_team_level = value; - } - public bool ShouldSerializefavorite_team_level() => __pbn__favorite_team_level != null; - public void Resetfavorite_team_level() => __pbn__favorite_team_level = null; - private uint? __pbn__favorite_team_level; - - [global::ProtoBuf.ProtoMember(9)] - public uint favorite_team_foil_level - { - get => __pbn__favorite_team_foil_level.GetValueOrDefault(); - set => __pbn__favorite_team_foil_level = value; - } - public bool ShouldSerializefavorite_team_foil_level() => __pbn__favorite_team_foil_level != null; - public void Resetfavorite_team_foil_level() => __pbn__favorite_team_foil_level = null; - private uint? __pbn__favorite_team_foil_level; - [global::ProtoBuf.ProtoMember(12)] public ulong active_effects_mask { @@ -1231,6 +1061,16 @@ public uint tip_amount_index public void Resettip_amount_index() => __pbn__tip_amount_index = null; private uint? __pbn__tip_amount_index; + [global::ProtoBuf.ProtoMember(27)] + public uint active_event_season_id + { + get => __pbn__active_event_season_id.GetValueOrDefault(); + set => __pbn__active_event_season_id = value; + } + public bool ShouldSerializeactive_event_season_id() => __pbn__active_event_season_id != null; + public void Resetactive_event_season_id() => __pbn__active_event_season_id = null; + private uint? __pbn__active_event_season_id; + } } @@ -2250,6 +2090,26 @@ public uint enemy_barracks_killed public void Resetenemy_barracks_killed() => __pbn__enemy_barracks_killed = null; private uint? __pbn__enemy_barracks_killed; + [global::ProtoBuf.ProtoMember(4)] + public uint enemy_towers_status + { + get => __pbn__enemy_towers_status.GetValueOrDefault(); + set => __pbn__enemy_towers_status = value; + } + public bool ShouldSerializeenemy_towers_status() => __pbn__enemy_towers_status != null; + public void Resetenemy_towers_status() => __pbn__enemy_towers_status = null; + private uint? __pbn__enemy_towers_status; + + [global::ProtoBuf.ProtoMember(5)] + public uint enemy_barracks_status + { + get => __pbn__enemy_barracks_status.GetValueOrDefault(); + set => __pbn__enemy_barracks_status = value; + } + public bool ShouldSerializeenemy_barracks_status() => __pbn__enemy_barracks_status != null; + public void Resetenemy_barracks_status() => __pbn__enemy_barracks_status = null; + private uint? __pbn__enemy_barracks_status; + } [global::ProtoBuf.ProtoContract()] @@ -2879,16 +2739,6 @@ public uint account_id public void Resetaccount_id() => __pbn__account_id = null; private uint? __pbn__account_id; - [global::ProtoBuf.ProtoMember(2)] - public uint background_def_index - { - get => __pbn__background_def_index.GetValueOrDefault(); - set => __pbn__background_def_index = value; - } - public bool ShouldSerializebackground_def_index() => __pbn__background_def_index != null; - public void Resetbackground_def_index() => __pbn__background_def_index = null; - private uint? __pbn__background_def_index; - [global::ProtoBuf.ProtoMember(3)] public global::System.Collections.Generic.List slots { get; } = new global::System.Collections.Generic.List(); @@ -3025,6 +2875,16 @@ public uint title public void Resettitle() => __pbn__title = null; private uint? __pbn__title; + [global::ProtoBuf.ProtoMember(24)] + public ulong favorite_team_packed + { + get => __pbn__favorite_team_packed.GetValueOrDefault(); + set => __pbn__favorite_team_packed = value; + } + public bool ShouldSerializefavorite_team_packed() => __pbn__favorite_team_packed != null; + public void Resetfavorite_team_packed() => __pbn__favorite_team_packed = null; + private ulong? __pbn__favorite_team_packed; + [global::ProtoBuf.ProtoContract()] public partial class Slot : global::ProtoBuf.IExtensible { @@ -3097,10 +2957,10 @@ public partial class Stat : global::ProtoBuf.IExtensible => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); [global::ProtoBuf.ProtoMember(1)] - [global::System.ComponentModel.DefaultValue(CMsgDOTAProfileCard.EStatID.k_eStat_CoreRank)] + [global::System.ComponentModel.DefaultValue(CMsgDOTAProfileCard.EStatID.k_eStat_Wins)] public CMsgDOTAProfileCard.EStatID stat_id { - get => __pbn__stat_id ?? CMsgDOTAProfileCard.EStatID.k_eStat_CoreRank; + get => __pbn__stat_id ?? CMsgDOTAProfileCard.EStatID.k_eStat_Wins; set => __pbn__stat_id = value; } public bool ShouldSerializestat_id() => __pbn__stat_id != null; @@ -3230,8 +3090,6 @@ public uint team_id [global::ProtoBuf.ProtoContract()] public enum EStatID { - k_eStat_CoreRank = 1, - k_eStat_SupportRank = 2, k_eStat_Wins = 3, k_eStat_Commends = 4, k_eStat_GamesPlayed = 5, @@ -5654,106 +5512,187 @@ public uint achievement_level } [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTASeasonPredictions : global::ProtoBuf.IExtensible + public partial class CMsgPredictionChoice : 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 predictions { get; } = new global::System.Collections.Generic.List(); + public uint value + { + get => __pbn__value.GetValueOrDefault(); + set => __pbn__value = value; + } + public bool ShouldSerializevalue() => __pbn__value != null; + public void Resetvalue() => __pbn__value = null; + private uint? __pbn__value; [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List in_game_predictions { get; } = new global::System.Collections.Generic.List(); + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; [global::ProtoBuf.ProtoMember(3)] - public uint in_game_prediction_count_per_game + public uint min_raw_value { - get => __pbn__in_game_prediction_count_per_game.GetValueOrDefault(); - set => __pbn__in_game_prediction_count_per_game = value; + get => __pbn__min_raw_value.GetValueOrDefault(); + set => __pbn__min_raw_value = value; } - public bool ShouldSerializein_game_prediction_count_per_game() => __pbn__in_game_prediction_count_per_game != null; - public void Resetin_game_prediction_count_per_game() => __pbn__in_game_prediction_count_per_game = null; - private uint? __pbn__in_game_prediction_count_per_game; + public bool ShouldSerializemin_raw_value() => __pbn__min_raw_value != null; + public void Resetmin_raw_value() => __pbn__min_raw_value = null; + private uint? __pbn__min_raw_value; [global::ProtoBuf.ProtoMember(4)] - public uint in_game_prediction_voting_period_minutes + public uint max_raw_value { - get => __pbn__in_game_prediction_voting_period_minutes.GetValueOrDefault(); - set => __pbn__in_game_prediction_voting_period_minutes = value; + get => __pbn__max_raw_value.GetValueOrDefault(); + set => __pbn__max_raw_value = value; } - public bool ShouldSerializein_game_prediction_voting_period_minutes() => __pbn__in_game_prediction_voting_period_minutes != null; - public void Resetin_game_prediction_voting_period_minutes() => __pbn__in_game_prediction_voting_period_minutes = null; - private uint? __pbn__in_game_prediction_voting_period_minutes; + public bool ShouldSerializemax_raw_value() => __pbn__max_raw_value != null; + public void Resetmax_raw_value() => __pbn__max_raw_value = null; + private uint? __pbn__max_raw_value; - [global::ProtoBuf.ProtoContract()] - public partial class Choice : global::ProtoBuf.IExtensible + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgInGamePrediction : 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 id { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; - [global::ProtoBuf.ProtoMember(1)] - public uint value - { - get => __pbn__value.GetValueOrDefault(); - set => __pbn__value = value; - } - public bool ShouldSerializevalue() => __pbn__value != null; - public void Resetvalue() => __pbn__value = null; - private uint? __pbn__value; + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string name - { - get => __pbn__name ?? ""; - set => __pbn__name = value; - } - public bool ShouldSerializename() => __pbn__name != null; - public void Resetname() => __pbn__name = null; - private string __pbn__name; + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(EPredictionType.Generic)] + public EPredictionType type + { + get => __pbn__type ?? EPredictionType.Generic; + set => __pbn__type = value; + } + public bool ShouldSerializetype() => __pbn__type != null; + public void Resettype() => __pbn__type = null; + private EPredictionType? __pbn__type; - [global::ProtoBuf.ProtoMember(3)] - public uint min_raw_value - { - get => __pbn__min_raw_value.GetValueOrDefault(); - set => __pbn__min_raw_value = value; - } - public bool ShouldSerializemin_raw_value() => __pbn__min_raw_value != null; - public void Resetmin_raw_value() => __pbn__min_raw_value = null; - private uint? __pbn__min_raw_value; + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(ERandomSelectionGroup_t.EarlyGame)] + public ERandomSelectionGroup_t group + { + get => __pbn__group ?? ERandomSelectionGroup_t.EarlyGame; + set => __pbn__group = value; + } + public bool ShouldSerializegroup() => __pbn__group != null; + public void Resetgroup() => __pbn__group = null; + private ERandomSelectionGroup_t? __pbn__group; - [global::ProtoBuf.ProtoMember(4)] - public uint max_raw_value - { - get => __pbn__max_raw_value.GetValueOrDefault(); - set => __pbn__max_raw_value = value; - } - public bool ShouldSerializemax_raw_value() => __pbn__max_raw_value != null; - public void Resetmax_raw_value() => __pbn__max_raw_value = null; - private uint? __pbn__max_raw_value; + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string question + { + get => __pbn__question ?? ""; + set => __pbn__question = value; + } + public bool ShouldSerializequestion() => __pbn__question != null; + public void Resetquestion() => __pbn__question = null; + private string __pbn__question; + + [global::ProtoBuf.ProtoMember(6)] + public global::System.Collections.Generic.List choices { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(7)] + public global::System.Collections.Generic.List required_heroes { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue("")] + public string query_name + { + get => __pbn__query_name ?? ""; + set => __pbn__query_name = value; } + public bool ShouldSerializequery_name() => __pbn__query_name != null; + public void Resetquery_name() => __pbn__query_name = null; + private string __pbn__query_name; - [global::ProtoBuf.ProtoContract()] - public partial class Answers : global::ProtoBuf.IExtensible + [global::ProtoBuf.ProtoMember(9)] + public global::System.Collections.Generic.List query_values { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue(EResolutionType_t.InvalidQuery)] + public EResolutionType_t answer_resolution_type { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + get => __pbn__answer_resolution_type ?? EResolutionType_t.InvalidQuery; + set => __pbn__answer_resolution_type = value; + } + public bool ShouldSerializeanswer_resolution_type() => __pbn__answer_resolution_type != null; + public void Resetanswer_resolution_type() => __pbn__answer_resolution_type = null; + private EResolutionType_t? __pbn__answer_resolution_type; - [global::ProtoBuf.ProtoMember(1)] - public uint answer_id - { - get => __pbn__answer_id.GetValueOrDefault(); - set => __pbn__answer_id = value; - } - public bool ShouldSerializeanswer_id() => __pbn__answer_id != null; - public void Resetanswer_id() => __pbn__answer_id = null; - private uint? __pbn__answer_id; + [global::ProtoBuf.ProtoMember(11)] + public uint points_to_grant + { + get => __pbn__points_to_grant.GetValueOrDefault(); + set => __pbn__points_to_grant = value; + } + public bool ShouldSerializepoints_to_grant() => __pbn__points_to_grant != null; + public void Resetpoints_to_grant() => __pbn__points_to_grant = null; + private uint? __pbn__points_to_grant; + + [global::ProtoBuf.ProtoMember(12)] + public uint reward_action + { + get => __pbn__reward_action.GetValueOrDefault(); + set => __pbn__reward_action = value; + } + public bool ShouldSerializereward_action() => __pbn__reward_action != null; + public void Resetreward_action() => __pbn__reward_action = null; + private uint? __pbn__reward_action; + + [global::ProtoBuf.ProtoMember(13)] + public uint debug_force_selection + { + get => __pbn__debug_force_selection.GetValueOrDefault(); + set => __pbn__debug_force_selection = value; + } + public bool ShouldSerializedebug_force_selection() => __pbn__debug_force_selection != null; + public void Resetdebug_force_selection() => __pbn__debug_force_selection = null; + private uint? __pbn__debug_force_selection; + [global::ProtoBuf.ProtoMember(14)] + [global::System.ComponentModel.DefaultValue(ERawValueType_t.Number)] + public ERawValueType_t raw_value_type + { + get => __pbn__raw_value_type ?? ERawValueType_t.Number; + set => __pbn__raw_value_type = value; } + public bool ShouldSerializeraw_value_type() => __pbn__raw_value_type != null; + public void Resetraw_value_type() => __pbn__raw_value_type = null; + private ERawValueType_t? __pbn__raw_value_type; [global::ProtoBuf.ProtoContract()] public partial class QueryKeyValues : global::ProtoBuf.IExtensible @@ -5787,39 +5726,116 @@ public string value } [global::ProtoBuf.ProtoContract()] - public partial class Prediction : global::ProtoBuf.IExtensible + public enum ERawValueType_t { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + Number = 0, + Time = 1, + } - [global::ProtoBuf.ProtoMember(1)] - [global::System.ComponentModel.DefaultValue(CMsgDOTASeasonPredictions.ePredictionType.Generic)] - public CMsgDOTASeasonPredictions.ePredictionType type - { - get => __pbn__type ?? CMsgDOTASeasonPredictions.ePredictionType.Generic; - set => __pbn__type = value; - } - public bool ShouldSerializetype() => __pbn__type != null; - public void Resettype() => __pbn__type = null; - private CMsgDOTASeasonPredictions.ePredictionType? __pbn__type; + [global::ProtoBuf.ProtoContract()] + public enum EPredictionType + { + Generic = 0, + Hero = 1, + Team = 2, + Player = 3, + Special = 4, + YesNo = 5, + QualifiersTeam = 6, + } - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string question - { - get => __pbn__question ?? ""; - set => __pbn__question = value; - } - public bool ShouldSerializequestion() => __pbn__question != null; - public void Resetquestion() => __pbn__question = null; - private string __pbn__question; + [global::ProtoBuf.ProtoContract()] + public enum EResolutionType_t + { + InvalidQuery = 0, + FirstToPassQuery = 1, + LastToPassQuery = 2, + LastRemainingQuery = 3, + MaxToPassQuery = 4, + MinToPassQuery = 5, + SumQuery = 6, + MaxTeamSumToPassQuery = 7, + MinTeamSumToPassQuery = 8, + } - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List choices { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoContract()] + public enum ERandomSelectionGroup_t + { + EarlyGame = 0, + MidGame = 1, + LateGame = 2, + Count = 3, + } - [global::ProtoBuf.ProtoMember(4)] - public uint selection_id + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgDOTASeasonPredictions : 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 predictions { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List in_game_predictions { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public uint in_game_prediction_count_per_game + { + get => __pbn__in_game_prediction_count_per_game.GetValueOrDefault(); + set => __pbn__in_game_prediction_count_per_game = value; + } + public bool ShouldSerializein_game_prediction_count_per_game() => __pbn__in_game_prediction_count_per_game != null; + public void Resetin_game_prediction_count_per_game() => __pbn__in_game_prediction_count_per_game = null; + private uint? __pbn__in_game_prediction_count_per_game; + + [global::ProtoBuf.ProtoMember(4)] + public uint in_game_prediction_voting_period_minutes + { + get => __pbn__in_game_prediction_voting_period_minutes.GetValueOrDefault(); + set => __pbn__in_game_prediction_voting_period_minutes = value; + } + public bool ShouldSerializein_game_prediction_voting_period_minutes() => __pbn__in_game_prediction_voting_period_minutes != null; + public void Resetin_game_prediction_voting_period_minutes() => __pbn__in_game_prediction_voting_period_minutes = null; + private uint? __pbn__in_game_prediction_voting_period_minutes; + + [global::ProtoBuf.ProtoContract()] + public partial class Prediction : 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(EPredictionType.Generic)] + public EPredictionType type + { + get => __pbn__type ?? EPredictionType.Generic; + set => __pbn__type = value; + } + public bool ShouldSerializetype() => __pbn__type != null; + public void Resettype() => __pbn__type = null; + private EPredictionType? __pbn__type; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string question + { + get => __pbn__question ?? ""; + set => __pbn__question = value; + } + public bool ShouldSerializequestion() => __pbn__question != null; + public void Resetquestion() => __pbn__question = null; + private string __pbn__question; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List choices { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public uint selection_id { get => __pbn__selection_id.GetValueOrDefault(); set => __pbn__selection_id = value; @@ -5859,15 +5875,15 @@ public uint reward private uint? __pbn__reward; [global::ProtoBuf.ProtoMember(8)] - [global::System.ComponentModel.DefaultValue(CMsgDOTASeasonPredictions.eAnswerType.SingleInt)] - public CMsgDOTASeasonPredictions.eAnswerType answer_type + [global::System.ComponentModel.DefaultValue(EAnswerType.SingleInt)] + public EAnswerType answer_type { - get => __pbn__answer_type ?? CMsgDOTASeasonPredictions.eAnswerType.SingleInt; + get => __pbn__answer_type ?? EAnswerType.SingleInt; set => __pbn__answer_type = value; } public bool ShouldSerializeanswer_type() => __pbn__answer_type != null; public void Resetanswer_type() => __pbn__answer_type = null; - private CMsgDOTASeasonPredictions.eAnswerType? __pbn__answer_type; + private EAnswerType? __pbn__answer_type; [global::ProtoBuf.ProtoMember(9)] public uint answer_id @@ -5880,7 +5896,7 @@ public uint answer_id private uint? __pbn__answer_id; [global::ProtoBuf.ProtoMember(10)] - public global::System.Collections.Generic.List answers { get; } = new global::System.Collections.Generic.List(); + public global::System.Collections.Generic.List answers { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(11)] [global::System.ComponentModel.DefaultValue("")] @@ -5947,196 +5963,95 @@ public ELeagueRegion region [global::ProtoBuf.ProtoMember(18)] public global::System.Collections.Generic.List phases { get; } = new global::System.Collections.Generic.List(); - } - - [global::ProtoBuf.ProtoContract()] - public partial class InGamePrediction : 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 id - { - get => __pbn__id.GetValueOrDefault(); - set => __pbn__id = value; - } - public bool ShouldSerializeid() => __pbn__id != null; - public void Resetid() => __pbn__id = null; - private uint? __pbn__id; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string name - { - get => __pbn__name ?? ""; - set => __pbn__name = value; - } - public bool ShouldSerializename() => __pbn__name != null; - public void Resetname() => __pbn__name = null; - private string __pbn__name; - - [global::ProtoBuf.ProtoMember(3)] - [global::System.ComponentModel.DefaultValue(CMsgDOTASeasonPredictions.ePredictionType.Generic)] - public CMsgDOTASeasonPredictions.ePredictionType type - { - get => __pbn__type ?? CMsgDOTASeasonPredictions.ePredictionType.Generic; - set => __pbn__type = value; - } - public bool ShouldSerializetype() => __pbn__type != null; - public void Resettype() => __pbn__type = null; - private CMsgDOTASeasonPredictions.ePredictionType? __pbn__type; - - [global::ProtoBuf.ProtoMember(4)] - [global::System.ComponentModel.DefaultValue(CMsgDOTASeasonPredictions.eRandomSelectionGroup_t.EarlyGame)] - public CMsgDOTASeasonPredictions.eRandomSelectionGroup_t group - { - get => __pbn__group ?? CMsgDOTASeasonPredictions.eRandomSelectionGroup_t.EarlyGame; - set => __pbn__group = value; - } - public bool ShouldSerializegroup() => __pbn__group != null; - public void Resetgroup() => __pbn__group = null; - private CMsgDOTASeasonPredictions.eRandomSelectionGroup_t? __pbn__group; - - [global::ProtoBuf.ProtoMember(5)] - [global::System.ComponentModel.DefaultValue("")] - public string question + [global::ProtoBuf.ProtoMember(19)] + [global::System.ComponentModel.DefaultValue(EEvent.EVENT_ID_NONE)] + public EEvent reward_event { - get => __pbn__question ?? ""; - set => __pbn__question = value; + get => __pbn__reward_event ?? EEvent.EVENT_ID_NONE; + set => __pbn__reward_event = value; } - public bool ShouldSerializequestion() => __pbn__question != null; - public void Resetquestion() => __pbn__question = null; - private string __pbn__question; - - [global::ProtoBuf.ProtoMember(6)] - public global::System.Collections.Generic.List choices { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(7)] - public global::System.Collections.Generic.List required_heroes { get; } = new global::System.Collections.Generic.List(); + public bool ShouldSerializereward_event() => __pbn__reward_event != null; + public void Resetreward_event() => __pbn__reward_event = null; + private EEvent? __pbn__reward_event; - [global::ProtoBuf.ProtoMember(8)] - [global::System.ComponentModel.DefaultValue("")] - public string query_name + [global::ProtoBuf.ProtoContract()] + public partial class Answers : global::ProtoBuf.IExtensible { - get => __pbn__query_name ?? ""; - set => __pbn__query_name = value; - } - public bool ShouldSerializequery_name() => __pbn__query_name != null; - public void Resetquery_name() => __pbn__query_name = null; - private string __pbn__query_name; + 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(9)] - public global::System.Collections.Generic.List query_values { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(1)] + public uint answer_id + { + get => __pbn__answer_id.GetValueOrDefault(); + set => __pbn__answer_id = value; + } + public bool ShouldSerializeanswer_id() => __pbn__answer_id != null; + public void Resetanswer_id() => __pbn__answer_id = null; + private uint? __pbn__answer_id; - [global::ProtoBuf.ProtoMember(10)] - [global::System.ComponentModel.DefaultValue(CMsgDOTASeasonPredictions.eResolutionType_t.InvalidQuery)] - public CMsgDOTASeasonPredictions.eResolutionType_t answer_resolution_type - { - get => __pbn__answer_resolution_type ?? CMsgDOTASeasonPredictions.eResolutionType_t.InvalidQuery; - set => __pbn__answer_resolution_type = value; } - public bool ShouldSerializeanswer_resolution_type() => __pbn__answer_resolution_type != null; - public void Resetanswer_resolution_type() => __pbn__answer_resolution_type = null; - private CMsgDOTASeasonPredictions.eResolutionType_t? __pbn__answer_resolution_type; - [global::ProtoBuf.ProtoMember(11)] - public uint points_to_grant + [global::ProtoBuf.ProtoContract()] + public enum EPredictionType { - get => __pbn__points_to_grant.GetValueOrDefault(); - set => __pbn__points_to_grant = value; + Generic = 0, + Hero = 1, + Team = 2, + Player = 3, + Special = 4, + YesNo = 5, + QualifiersTeam = 6, } - public bool ShouldSerializepoints_to_grant() => __pbn__points_to_grant != null; - public void Resetpoints_to_grant() => __pbn__points_to_grant = null; - private uint? __pbn__points_to_grant; - [global::ProtoBuf.ProtoMember(12)] - public uint reward_action + [global::ProtoBuf.ProtoContract()] + public enum EAnswerType { - get => __pbn__reward_action.GetValueOrDefault(); - set => __pbn__reward_action = value; + SingleInt = 0, + SingleFloat = 1, + MultipleInt = 2, + MultipleFloat = 3, + AnswerTeam = 4, + SingleTime = 5, + MultipleTime = 6, + NoAnswer = 7, } - public bool ShouldSerializereward_action() => __pbn__reward_action != null; - public void Resetreward_action() => __pbn__reward_action = null; - private uint? __pbn__reward_action; - [global::ProtoBuf.ProtoMember(13)] - public uint debug_force_selection - { - get => __pbn__debug_force_selection.GetValueOrDefault(); - set => __pbn__debug_force_selection = value; - } - public bool ShouldSerializedebug_force_selection() => __pbn__debug_force_selection != null; - public void Resetdebug_force_selection() => __pbn__debug_force_selection = null; - private uint? __pbn__debug_force_selection; + } - [global::ProtoBuf.ProtoMember(14)] - [global::System.ComponentModel.DefaultValue(CMsgDOTASeasonPredictions.eRawValueType_t.Number)] - public CMsgDOTASeasonPredictions.eRawValueType_t raw_value_type - { - get => __pbn__raw_value_type ?? CMsgDOTASeasonPredictions.eRawValueType_t.Number; - set => __pbn__raw_value_type = value; - } - public bool ShouldSerializeraw_value_type() => __pbn__raw_value_type != null; - public void Resetraw_value_type() => __pbn__raw_value_type = null; - private CMsgDOTASeasonPredictions.eRawValueType_t? __pbn__raw_value_type; + } - } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgAvailablePredictions : 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 ePredictionType - { - Generic = 0, - Hero = 1, - Team = 2, - Player = 3, - Special = 4, - YesNo = 5, - QualifiersTeam = 6, - } + [global::ProtoBuf.ProtoMember(1)] + public global::System.Collections.Generic.List match_predictions { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoContract()] - public enum eAnswerType + public partial class MatchPrediction : global::ProtoBuf.IExtensible { - SingleInt = 0, - SingleFloat = 1, - MultipleInt = 2, - MultipleFloat = 3, - AnswerTeam = 4, - SingleTime = 5, - MultipleTime = 6, - NoAnswer = 7, - } + 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 eResolutionType_t - { - InvalidQuery = 0, - FirstToPassQuery = 1, - LastToPassQuery = 2, - LastRemainingQuery = 3, - MaxToPassQuery = 4, - MinToPassQuery = 5, - SumQuery = 6, - MaxTeamSumToPassQuery = 7, - MinTeamSumToPassQuery = 8, - } + [global::ProtoBuf.ProtoMember(1)] + public ulong match_id + { + get => __pbn__match_id.GetValueOrDefault(); + set => __pbn__match_id = value; + } + public bool ShouldSerializematch_id() => __pbn__match_id != null; + public void Resetmatch_id() => __pbn__match_id = null; + private ulong? __pbn__match_id; - [global::ProtoBuf.ProtoContract()] - public enum eRandomSelectionGroup_t - { - EarlyGame = 0, - MidGame = 1, - LateGame = 2, - Count = 3, - } + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List predictions { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoContract()] - public enum eRawValueType_t - { - Number = 0, - Time = 1, } } @@ -7246,6 +7161,9 @@ public bool hero_was_dota_plus_suggestion [global::ProtoBuf.ProtoMember(67)] public global::System.Collections.Generic.List hero_damage_received { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(79)] + public global::System.Collections.Generic.List hero_damage_dealt { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(70)] public uint seconds_dead { @@ -7508,6 +7426,16 @@ public ulong coach_party_id public void Resetcoach_party_id() => __pbn__coach_party_id = null; private ulong? __pbn__coach_party_id; + [global::ProtoBuf.ProtoMember(6)] + public bool is_private_coach + { + get => __pbn__is_private_coach.GetValueOrDefault(); + set => __pbn__is_private_coach = value; + } + public bool ShouldSerializeis_private_coach() => __pbn__is_private_coach != null; + public void Resetis_private_coach() => __pbn__is_private_coach = null; + private bool? __pbn__is_private_coach; + } [global::ProtoBuf.ProtoContract()] @@ -8529,6 +8457,16 @@ public string pro_name public void Resetpro_name() => __pbn__pro_name = null; private string __pbn__pro_name; + [global::ProtoBuf.ProtoMember(9)] + public uint level + { + get => __pbn__level.GetValueOrDefault(); + set => __pbn__level = value; + } + public bool ShouldSerializelevel() => __pbn__level != null; + public void Resetlevel() => __pbn__level = null; + private uint? __pbn__level; + } [global::ProtoBuf.ProtoContract()] @@ -9729,36 +9667,925 @@ public bool summary_available } [global::ProtoBuf.ProtoContract()] - public enum ESpecialPingValue + public partial class CMsgGameDataSpecialValues : global::ProtoBuf.IExtensible { - k_ESpecialPingValue_NoData = 16382, - k_ESpecialPingValue_Failed = 16383, - } + 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 name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List values_float { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List values_int { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public bool is_percentage + { + get => __pbn__is_percentage.GetValueOrDefault(); + set => __pbn__is_percentage = value; + } + public bool ShouldSerializeis_percentage() => __pbn__is_percentage != null; + public void Resetis_percentage() => __pbn__is_percentage = null; + private bool? __pbn__is_percentage; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string heading_loc + { + get => __pbn__heading_loc ?? ""; + set => __pbn__heading_loc = value; + } + public bool ShouldSerializeheading_loc() => __pbn__heading_loc != null; + public void Resetheading_loc() => __pbn__heading_loc = null; + private string __pbn__heading_loc; - [global::ProtoBuf.ProtoContract()] - public enum EDOTAGCSessionNeed - { - k_EDOTAGCSessionNeed_Unknown = 0, - k_EDOTAGCSessionNeed_UserNoSessionNeeded = 100, - k_EDOTAGCSessionNeed_UserInOnlineGame = 101, - k_EDOTAGCSessionNeed_UserInLocalGame = 102, - k_EDOTAGCSessionNeed_UserInUIWasConnected = 103, - k_EDOTAGCSessionNeed_UserInUINeverConnected = 104, - k_EDOTAGCSessionNeed_UserTutorials = 105, - k_EDOTAGCSessionNeed_UserInUIWasConnectedIdle = 106, - k_EDOTAGCSessionNeed_UserInUINeverConnectedIdle = 107, - k_EDOTAGCSessionNeed_GameServerOnline = 200, - k_EDOTAGCSessionNeed_GameServerLocal = 201, - k_EDOTAGCSessionNeed_GameServerIdle = 202, - k_EDOTAGCSessionNeed_GameServerRelay = 203, - k_EDOTAGCSessionNeed_GameServerLocalUpload = 204, } [global::ProtoBuf.ProtoContract()] - public enum DOTA_TournamentEvents + public partial class CMsgGameDataAbilityOrItem : global::ProtoBuf.IExtensible { - TE_FIRST_BLOOD = 0, - TE_GAME_END = 1, + 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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string name_loc + { + get => __pbn__name_loc ?? ""; + set => __pbn__name_loc = value; + } + public bool ShouldSerializename_loc() => __pbn__name_loc != null; + public void Resetname_loc() => __pbn__name_loc = null; + private string __pbn__name_loc; + + [global::ProtoBuf.ProtoMember(6)] + [global::System.ComponentModel.DefaultValue("")] + public string desc_loc + { + get => __pbn__desc_loc ?? ""; + set => __pbn__desc_loc = value; + } + public bool ShouldSerializedesc_loc() => __pbn__desc_loc != null; + public void Resetdesc_loc() => __pbn__desc_loc = null; + private string __pbn__desc_loc; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string lore_loc + { + get => __pbn__lore_loc ?? ""; + set => __pbn__lore_loc = value; + } + public bool ShouldSerializelore_loc() => __pbn__lore_loc != null; + public void Resetlore_loc() => __pbn__lore_loc = null; + private string __pbn__lore_loc; + + [global::ProtoBuf.ProtoMember(8)] + public global::System.Collections.Generic.List notes_loc { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(9)] + [global::System.ComponentModel.DefaultValue("")] + public string shard_loc + { + get => __pbn__shard_loc ?? ""; + set => __pbn__shard_loc = value; + } + public bool ShouldSerializeshard_loc() => __pbn__shard_loc != null; + public void Resetshard_loc() => __pbn__shard_loc = null; + private string __pbn__shard_loc; + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] + public string scepter_loc + { + get => __pbn__scepter_loc ?? ""; + set => __pbn__scepter_loc = value; + } + public bool ShouldSerializescepter_loc() => __pbn__scepter_loc != null; + public void Resetscepter_loc() => __pbn__scepter_loc = null; + private string __pbn__scepter_loc; + + [global::ProtoBuf.ProtoMember(20)] + public uint type + { + get => __pbn__type.GetValueOrDefault(); + set => __pbn__type = value; + } + public bool ShouldSerializetype() => __pbn__type != null; + public void Resettype() => __pbn__type = null; + private uint? __pbn__type; + + [global::ProtoBuf.ProtoMember(21)] + public ulong behavior + { + get => __pbn__behavior.GetValueOrDefault(); + set => __pbn__behavior = value; + } + public bool ShouldSerializebehavior() => __pbn__behavior != null; + public void Resetbehavior() => __pbn__behavior = null; + private ulong? __pbn__behavior; + + [global::ProtoBuf.ProtoMember(22)] + public uint target_team + { + get => __pbn__target_team.GetValueOrDefault(); + set => __pbn__target_team = value; + } + public bool ShouldSerializetarget_team() => __pbn__target_team != null; + public void Resettarget_team() => __pbn__target_team = null; + private uint? __pbn__target_team; + + [global::ProtoBuf.ProtoMember(23)] + public uint target_type + { + get => __pbn__target_type.GetValueOrDefault(); + set => __pbn__target_type = value; + } + public bool ShouldSerializetarget_type() => __pbn__target_type != null; + public void Resettarget_type() => __pbn__target_type = null; + private uint? __pbn__target_type; + + [global::ProtoBuf.ProtoMember(24)] + public uint flags + { + get => __pbn__flags.GetValueOrDefault(); + set => __pbn__flags = value; + } + public bool ShouldSerializeflags() => __pbn__flags != null; + public void Resetflags() => __pbn__flags = null; + private uint? __pbn__flags; + + [global::ProtoBuf.ProtoMember(25)] + public uint damage + { + get => __pbn__damage.GetValueOrDefault(); + set => __pbn__damage = value; + } + public bool ShouldSerializedamage() => __pbn__damage != null; + public void Resetdamage() => __pbn__damage = null; + private uint? __pbn__damage; + + [global::ProtoBuf.ProtoMember(26)] + public uint immunity + { + get => __pbn__immunity.GetValueOrDefault(); + set => __pbn__immunity = value; + } + public bool ShouldSerializeimmunity() => __pbn__immunity != null; + public void Resetimmunity() => __pbn__immunity = null; + private uint? __pbn__immunity; + + [global::ProtoBuf.ProtoMember(27)] + public uint dispellable + { + get => __pbn__dispellable.GetValueOrDefault(); + set => __pbn__dispellable = value; + } + public bool ShouldSerializedispellable() => __pbn__dispellable != null; + public void Resetdispellable() => __pbn__dispellable = null; + private uint? __pbn__dispellable; + + [global::ProtoBuf.ProtoMember(28)] + public uint max_level + { + get => __pbn__max_level.GetValueOrDefault(); + set => __pbn__max_level = value; + } + public bool ShouldSerializemax_level() => __pbn__max_level != null; + public void Resetmax_level() => __pbn__max_level = null; + private uint? __pbn__max_level; + + [global::ProtoBuf.ProtoMember(30)] + public global::System.Collections.Generic.List cast_ranges { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(31)] + public global::System.Collections.Generic.List cast_points { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(32)] + public global::System.Collections.Generic.List channel_times { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(33)] + public global::System.Collections.Generic.List cooldowns { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(34)] + public global::System.Collections.Generic.List durations { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(35)] + public global::System.Collections.Generic.List damages { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(36)] + public global::System.Collections.Generic.List mana_costs { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(37)] + public global::System.Collections.Generic.List gold_costs { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(40)] + public global::System.Collections.Generic.List special_values { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(50)] + public bool is_item + { + get => __pbn__is_item.GetValueOrDefault(); + set => __pbn__is_item = value; + } + public bool ShouldSerializeis_item() => __pbn__is_item != null; + public void Resetis_item() => __pbn__is_item = null; + private bool? __pbn__is_item; + + [global::ProtoBuf.ProtoMember(60)] + public bool ability_has_scepter + { + get => __pbn__ability_has_scepter.GetValueOrDefault(); + set => __pbn__ability_has_scepter = value; + } + public bool ShouldSerializeability_has_scepter() => __pbn__ability_has_scepter != null; + public void Resetability_has_scepter() => __pbn__ability_has_scepter = null; + private bool? __pbn__ability_has_scepter; + + [global::ProtoBuf.ProtoMember(61)] + public bool ability_has_shard + { + get => __pbn__ability_has_shard.GetValueOrDefault(); + set => __pbn__ability_has_shard = value; + } + public bool ShouldSerializeability_has_shard() => __pbn__ability_has_shard != null; + public void Resetability_has_shard() => __pbn__ability_has_shard = null; + private bool? __pbn__ability_has_shard; + + [global::ProtoBuf.ProtoMember(62)] + public bool ability_is_granted_by_scepter + { + get => __pbn__ability_is_granted_by_scepter.GetValueOrDefault(); + set => __pbn__ability_is_granted_by_scepter = value; + } + public bool ShouldSerializeability_is_granted_by_scepter() => __pbn__ability_is_granted_by_scepter != null; + public void Resetability_is_granted_by_scepter() => __pbn__ability_is_granted_by_scepter = null; + private bool? __pbn__ability_is_granted_by_scepter; + + [global::ProtoBuf.ProtoMember(63)] + public bool ability_is_granted_by_shard + { + get => __pbn__ability_is_granted_by_shard.GetValueOrDefault(); + set => __pbn__ability_is_granted_by_shard = value; + } + public bool ShouldSerializeability_is_granted_by_shard() => __pbn__ability_is_granted_by_shard != null; + public void Resetability_is_granted_by_shard() => __pbn__ability_is_granted_by_shard = null; + private bool? __pbn__ability_is_granted_by_shard; + + [global::ProtoBuf.ProtoMember(70)] + public uint item_cost + { + get => __pbn__item_cost.GetValueOrDefault(); + set => __pbn__item_cost = value; + } + public bool ShouldSerializeitem_cost() => __pbn__item_cost != null; + public void Resetitem_cost() => __pbn__item_cost = null; + private uint? __pbn__item_cost; + + [global::ProtoBuf.ProtoMember(71)] + public uint item_initial_charges + { + get => __pbn__item_initial_charges.GetValueOrDefault(); + set => __pbn__item_initial_charges = value; + } + public bool ShouldSerializeitem_initial_charges() => __pbn__item_initial_charges != null; + public void Resetitem_initial_charges() => __pbn__item_initial_charges = null; + private uint? __pbn__item_initial_charges; + + [global::ProtoBuf.ProtoMember(72)] + public uint item_neutral_tier + { + get => __pbn__item_neutral_tier.GetValueOrDefault(); + set => __pbn__item_neutral_tier = value; + } + public bool ShouldSerializeitem_neutral_tier() => __pbn__item_neutral_tier != null; + public void Resetitem_neutral_tier() => __pbn__item_neutral_tier = null; + private uint? __pbn__item_neutral_tier; + + [global::ProtoBuf.ProtoMember(73)] + public uint item_stock_max + { + get => __pbn__item_stock_max.GetValueOrDefault(); + set => __pbn__item_stock_max = value; + } + public bool ShouldSerializeitem_stock_max() => __pbn__item_stock_max != null; + public void Resetitem_stock_max() => __pbn__item_stock_max = null; + private uint? __pbn__item_stock_max; + + [global::ProtoBuf.ProtoMember(74)] + public float item_stock_time + { + get => __pbn__item_stock_time.GetValueOrDefault(); + set => __pbn__item_stock_time = value; + } + public bool ShouldSerializeitem_stock_time() => __pbn__item_stock_time != null; + public void Resetitem_stock_time() => __pbn__item_stock_time = null; + private float? __pbn__item_stock_time; + + [global::ProtoBuf.ProtoMember(85)] + public uint item_quality + { + get => __pbn__item_quality.GetValueOrDefault(); + set => __pbn__item_quality = value; + } + public bool ShouldSerializeitem_quality() => __pbn__item_quality != null; + public void Resetitem_quality() => __pbn__item_quality = null; + private uint? __pbn__item_quality; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameDataHero : 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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(3)] + public uint order_id + { + get => __pbn__order_id.GetValueOrDefault(); + set => __pbn__order_id = value; + } + public bool ShouldSerializeorder_id() => __pbn__order_id != null; + public void Resetorder_id() => __pbn__order_id = null; + private uint? __pbn__order_id; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string name_loc + { + get => __pbn__name_loc ?? ""; + set => __pbn__name_loc = value; + } + public bool ShouldSerializename_loc() => __pbn__name_loc != null; + public void Resetname_loc() => __pbn__name_loc = null; + private string __pbn__name_loc; + + [global::ProtoBuf.ProtoMember(6)] + [global::System.ComponentModel.DefaultValue("")] + public string bio_loc + { + get => __pbn__bio_loc ?? ""; + set => __pbn__bio_loc = value; + } + public bool ShouldSerializebio_loc() => __pbn__bio_loc != null; + public void Resetbio_loc() => __pbn__bio_loc = null; + private string __pbn__bio_loc; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string hype_loc + { + get => __pbn__hype_loc ?? ""; + set => __pbn__hype_loc = value; + } + public bool ShouldSerializehype_loc() => __pbn__hype_loc != null; + public void Resethype_loc() => __pbn__hype_loc = null; + private string __pbn__hype_loc; + + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue("")] + public string npe_desc_loc + { + get => __pbn__npe_desc_loc ?? ""; + set => __pbn__npe_desc_loc = value; + } + public bool ShouldSerializenpe_desc_loc() => __pbn__npe_desc_loc != null; + public void Resetnpe_desc_loc() => __pbn__npe_desc_loc = null; + private string __pbn__npe_desc_loc; + + [global::ProtoBuf.ProtoMember(10)] + public uint str_base + { + get => __pbn__str_base.GetValueOrDefault(); + set => __pbn__str_base = value; + } + public bool ShouldSerializestr_base() => __pbn__str_base != null; + public void Resetstr_base() => __pbn__str_base = null; + private uint? __pbn__str_base; + + [global::ProtoBuf.ProtoMember(11)] + public float str_gain + { + get => __pbn__str_gain.GetValueOrDefault(); + set => __pbn__str_gain = value; + } + public bool ShouldSerializestr_gain() => __pbn__str_gain != null; + public void Resetstr_gain() => __pbn__str_gain = null; + private float? __pbn__str_gain; + + [global::ProtoBuf.ProtoMember(12)] + public uint agi_base + { + get => __pbn__agi_base.GetValueOrDefault(); + set => __pbn__agi_base = value; + } + public bool ShouldSerializeagi_base() => __pbn__agi_base != null; + public void Resetagi_base() => __pbn__agi_base = null; + private uint? __pbn__agi_base; + + [global::ProtoBuf.ProtoMember(13)] + public float agi_gain + { + get => __pbn__agi_gain.GetValueOrDefault(); + set => __pbn__agi_gain = value; + } + public bool ShouldSerializeagi_gain() => __pbn__agi_gain != null; + public void Resetagi_gain() => __pbn__agi_gain = null; + private float? __pbn__agi_gain; + + [global::ProtoBuf.ProtoMember(14)] + public uint int_base + { + get => __pbn__int_base.GetValueOrDefault(); + set => __pbn__int_base = value; + } + public bool ShouldSerializeint_base() => __pbn__int_base != null; + public void Resetint_base() => __pbn__int_base = null; + private uint? __pbn__int_base; + + [global::ProtoBuf.ProtoMember(15)] + public float int_gain + { + get => __pbn__int_gain.GetValueOrDefault(); + set => __pbn__int_gain = value; + } + public bool ShouldSerializeint_gain() => __pbn__int_gain != null; + public void Resetint_gain() => __pbn__int_gain = null; + private float? __pbn__int_gain; + + [global::ProtoBuf.ProtoMember(20)] + public uint primary_attr + { + get => __pbn__primary_attr.GetValueOrDefault(); + set => __pbn__primary_attr = value; + } + public bool ShouldSerializeprimary_attr() => __pbn__primary_attr != null; + public void Resetprimary_attr() => __pbn__primary_attr = null; + private uint? __pbn__primary_attr; + + [global::ProtoBuf.ProtoMember(21)] + public uint complexity + { + get => __pbn__complexity.GetValueOrDefault(); + set => __pbn__complexity = value; + } + public bool ShouldSerializecomplexity() => __pbn__complexity != null; + public void Resetcomplexity() => __pbn__complexity = null; + private uint? __pbn__complexity; + + [global::ProtoBuf.ProtoMember(22)] + public uint attack_capability + { + get => __pbn__attack_capability.GetValueOrDefault(); + set => __pbn__attack_capability = value; + } + public bool ShouldSerializeattack_capability() => __pbn__attack_capability != null; + public void Resetattack_capability() => __pbn__attack_capability = null; + private uint? __pbn__attack_capability; + + [global::ProtoBuf.ProtoMember(23)] + public global::System.Collections.Generic.List role_levels { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(24)] + public uint damage_min + { + get => __pbn__damage_min.GetValueOrDefault(); + set => __pbn__damage_min = value; + } + public bool ShouldSerializedamage_min() => __pbn__damage_min != null; + public void Resetdamage_min() => __pbn__damage_min = null; + private uint? __pbn__damage_min; + + [global::ProtoBuf.ProtoMember(25)] + public uint damage_max + { + get => __pbn__damage_max.GetValueOrDefault(); + set => __pbn__damage_max = value; + } + public bool ShouldSerializedamage_max() => __pbn__damage_max != null; + public void Resetdamage_max() => __pbn__damage_max = null; + private uint? __pbn__damage_max; + + [global::ProtoBuf.ProtoMember(26)] + public float attack_rate + { + get => __pbn__attack_rate.GetValueOrDefault(); + set => __pbn__attack_rate = value; + } + public bool ShouldSerializeattack_rate() => __pbn__attack_rate != null; + public void Resetattack_rate() => __pbn__attack_rate = null; + private float? __pbn__attack_rate; + + [global::ProtoBuf.ProtoMember(27)] + public uint attack_range + { + get => __pbn__attack_range.GetValueOrDefault(); + set => __pbn__attack_range = value; + } + public bool ShouldSerializeattack_range() => __pbn__attack_range != null; + public void Resetattack_range() => __pbn__attack_range = null; + private uint? __pbn__attack_range; + + [global::ProtoBuf.ProtoMember(28)] + public uint projectile_speed + { + get => __pbn__projectile_speed.GetValueOrDefault(); + set => __pbn__projectile_speed = value; + } + public bool ShouldSerializeprojectile_speed() => __pbn__projectile_speed != null; + public void Resetprojectile_speed() => __pbn__projectile_speed = null; + private uint? __pbn__projectile_speed; + + [global::ProtoBuf.ProtoMember(29)] + public float armor + { + get => __pbn__armor.GetValueOrDefault(); + set => __pbn__armor = value; + } + public bool ShouldSerializearmor() => __pbn__armor != null; + public void Resetarmor() => __pbn__armor = null; + private float? __pbn__armor; + + [global::ProtoBuf.ProtoMember(30)] + public uint magic_resistance + { + get => __pbn__magic_resistance.GetValueOrDefault(); + set => __pbn__magic_resistance = value; + } + public bool ShouldSerializemagic_resistance() => __pbn__magic_resistance != null; + public void Resetmagic_resistance() => __pbn__magic_resistance = null; + private uint? __pbn__magic_resistance; + + [global::ProtoBuf.ProtoMember(31)] + public uint movement_speed + { + get => __pbn__movement_speed.GetValueOrDefault(); + set => __pbn__movement_speed = value; + } + public bool ShouldSerializemovement_speed() => __pbn__movement_speed != null; + public void Resetmovement_speed() => __pbn__movement_speed = null; + private uint? __pbn__movement_speed; + + [global::ProtoBuf.ProtoMember(32)] + public float turn_rate + { + get => __pbn__turn_rate.GetValueOrDefault(); + set => __pbn__turn_rate = value; + } + public bool ShouldSerializeturn_rate() => __pbn__turn_rate != null; + public void Resetturn_rate() => __pbn__turn_rate = null; + private float? __pbn__turn_rate; + + [global::ProtoBuf.ProtoMember(33)] + public uint sight_range_day + { + get => __pbn__sight_range_day.GetValueOrDefault(); + set => __pbn__sight_range_day = value; + } + public bool ShouldSerializesight_range_day() => __pbn__sight_range_day != null; + public void Resetsight_range_day() => __pbn__sight_range_day = null; + private uint? __pbn__sight_range_day; + + [global::ProtoBuf.ProtoMember(34)] + public uint sight_range_night + { + get => __pbn__sight_range_night.GetValueOrDefault(); + set => __pbn__sight_range_night = value; + } + public bool ShouldSerializesight_range_night() => __pbn__sight_range_night != null; + public void Resetsight_range_night() => __pbn__sight_range_night = null; + private uint? __pbn__sight_range_night; + + [global::ProtoBuf.ProtoMember(35)] + public uint max_health + { + get => __pbn__max_health.GetValueOrDefault(); + set => __pbn__max_health = value; + } + public bool ShouldSerializemax_health() => __pbn__max_health != null; + public void Resetmax_health() => __pbn__max_health = null; + private uint? __pbn__max_health; + + [global::ProtoBuf.ProtoMember(36)] + public float health_regen + { + get => __pbn__health_regen.GetValueOrDefault(); + set => __pbn__health_regen = value; + } + public bool ShouldSerializehealth_regen() => __pbn__health_regen != null; + public void Resethealth_regen() => __pbn__health_regen = null; + private float? __pbn__health_regen; + + [global::ProtoBuf.ProtoMember(37)] + public uint max_mana + { + get => __pbn__max_mana.GetValueOrDefault(); + set => __pbn__max_mana = value; + } + public bool ShouldSerializemax_mana() => __pbn__max_mana != null; + public void Resetmax_mana() => __pbn__max_mana = null; + private uint? __pbn__max_mana; + + [global::ProtoBuf.ProtoMember(38)] + public float mana_regen + { + get => __pbn__mana_regen.GetValueOrDefault(); + set => __pbn__mana_regen = value; + } + public bool ShouldSerializemana_regen() => __pbn__mana_regen != null; + public void Resetmana_regen() => __pbn__mana_regen = null; + private float? __pbn__mana_regen; + + [global::ProtoBuf.ProtoMember(40)] + public global::System.Collections.Generic.List abilities { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(41)] + public global::System.Collections.Generic.List talents { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameDataAbilities : 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 abilities { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameDataItems : 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 items { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameDataHeroes : 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 heroes { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameDataHeroList : 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 heroes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class HeroInfo : 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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string name_loc + { + get => __pbn__name_loc ?? ""; + set => __pbn__name_loc = value; + } + public bool ShouldSerializename_loc() => __pbn__name_loc != null; + public void Resetname_loc() => __pbn__name_loc = null; + private string __pbn__name_loc; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string name_english_loc + { + get => __pbn__name_english_loc ?? ""; + set => __pbn__name_english_loc = value; + } + public bool ShouldSerializename_english_loc() => __pbn__name_english_loc != null; + public void Resetname_english_loc() => __pbn__name_english_loc = null; + private string __pbn__name_english_loc; + + [global::ProtoBuf.ProtoMember(5)] + public uint primary_attr + { + get => __pbn__primary_attr.GetValueOrDefault(); + set => __pbn__primary_attr = value; + } + public bool ShouldSerializeprimary_attr() => __pbn__primary_attr != null; + public void Resetprimary_attr() => __pbn__primary_attr = null; + private uint? __pbn__primary_attr; + + [global::ProtoBuf.ProtoMember(6)] + public uint complexity + { + get => __pbn__complexity.GetValueOrDefault(); + set => __pbn__complexity = value; + } + public bool ShouldSerializecomplexity() => __pbn__complexity != null; + public void Resetcomplexity() => __pbn__complexity = null; + private uint? __pbn__complexity; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameDataItemAbilityList : 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 itemabilities { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class ItemAbilityInfo : 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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string name_loc + { + get => __pbn__name_loc ?? ""; + set => __pbn__name_loc = value; + } + public bool ShouldSerializename_loc() => __pbn__name_loc != null; + public void Resetname_loc() => __pbn__name_loc = null; + private string __pbn__name_loc; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string name_english_loc + { + get => __pbn__name_english_loc ?? ""; + set => __pbn__name_english_loc = value; + } + public bool ShouldSerializename_english_loc() => __pbn__name_english_loc != null; + public void Resetname_english_loc() => __pbn__name_english_loc = null; + private string __pbn__name_english_loc; + + [global::ProtoBuf.ProtoMember(5)] + public int neutral_item_tier + { + get => __pbn__neutral_item_tier.GetValueOrDefault(); + set => __pbn__neutral_item_tier = value; + } + public bool ShouldSerializeneutral_item_tier() => __pbn__neutral_item_tier != null; + public void Resetneutral_item_tier() => __pbn__neutral_item_tier = null; + private int? __pbn__neutral_item_tier; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public enum ESpecialPingValue + { + k_ESpecialPingValue_NoData = 16382, + k_ESpecialPingValue_Failed = 16383, + } + + [global::ProtoBuf.ProtoContract()] + public enum EDOTAGCSessionNeed + { + k_EDOTAGCSessionNeed_Unknown = 0, + k_EDOTAGCSessionNeed_UserNoSessionNeeded = 100, + k_EDOTAGCSessionNeed_UserInOnlineGame = 101, + k_EDOTAGCSessionNeed_UserInLocalGame = 102, + k_EDOTAGCSessionNeed_UserInUIWasConnected = 103, + k_EDOTAGCSessionNeed_UserInUINeverConnected = 104, + k_EDOTAGCSessionNeed_UserTutorials = 105, + k_EDOTAGCSessionNeed_UserInUIWasConnectedIdle = 106, + k_EDOTAGCSessionNeed_UserInUINeverConnectedIdle = 107, + k_EDOTAGCSessionNeed_GameServerOnline = 200, + k_EDOTAGCSessionNeed_GameServerLocal = 201, + k_EDOTAGCSessionNeed_GameServerIdle = 202, + k_EDOTAGCSessionNeed_GameServerRelay = 203, + k_EDOTAGCSessionNeed_GameServerLocalUpload = 204, + } + + [global::ProtoBuf.ProtoContract()] + public enum DOTA_TournamentEvents + { + TE_FIRST_BLOOD = 0, + TE_GAME_END = 1, TE_MULTI_KILL = 2, TE_HERO_DENY = 3, TE_AEGIS_DENY = 4, @@ -9811,6 +10638,9 @@ public enum EDOTATriviaQuestionCategory k_EDOTATriviaQuestionCategory_ItemComponents = 12, k_EDOTATriviaQuestionCategory_ItemLore = 13, k_EDOTATriviaQuestionCategory_ItemPassives = 14, + k_EDOTATriviaQuestionCategory_STATIC_QUESTIONS_END = 15, + k_EDOTATriviaQuestionCategory_DYNAMIC_QUESTIONS_START = 99, + k_EDOTATriviaQuestionCategory_Dynamic_ItemBuild = 100, } [global::ProtoBuf.ProtoContract()] @@ -9822,6 +10652,14 @@ public enum EOverwatchConviction k_EOverwatchConviction_Guilty = 3, } + [global::ProtoBuf.ProtoContract()] + public enum EHeroRelicRarity + { + HERO_RELIC_RARITY_INVALID = -1, + HERO_RELIC_RARITY_COMMON = 0, + HERO_RELIC_RARITY_RARE = 1, + } + } #pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs index 4d762a863..482fef5aa 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs @@ -939,6 +939,46 @@ public bool mass_disconnect } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgLobbyCoachFriendRequest : 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 coach_account_id + { + get => __pbn__coach_account_id.GetValueOrDefault(); + set => __pbn__coach_account_id = value; + } + public bool ShouldSerializecoach_account_id() => __pbn__coach_account_id != null; + public void Resetcoach_account_id() => __pbn__coach_account_id = null; + private uint? __pbn__coach_account_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint player_account_id + { + get => __pbn__player_account_id.GetValueOrDefault(); + set => __pbn__player_account_id = value; + } + public bool ShouldSerializeplayer_account_id() => __pbn__player_account_id != null; + public void Resetplayer_account_id() => __pbn__player_account_id = null; + private uint? __pbn__player_account_id; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(ELobbyMemberCoachRequestState.k_eLobbyMemberCoachRequestState_None)] + public ELobbyMemberCoachRequestState request_state + { + get => __pbn__request_state ?? ELobbyMemberCoachRequestState.k_eLobbyMemberCoachRequestState_None; + set => __pbn__request_state = value; + } + public bool ShouldSerializerequest_state() => __pbn__request_state != null; + public void Resetrequest_state() => __pbn__request_state = null; + private ELobbyMemberCoachRequestState? __pbn__request_state; + + } + [global::ProtoBuf.ProtoContract()] public partial class CSODOTALobbyMember : global::ProtoBuf.IExtensible { @@ -1098,6 +1138,9 @@ public DOTA_GC_TEAM coach_team public void Resetcoach_team() => __pbn__coach_team = null; private DOTA_GC_TEAM? __pbn__coach_team; + [global::ProtoBuf.ProtoMember(53)] + public global::System.Collections.Generic.List coached_account_ids { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(42)] public uint coach_rating { @@ -1446,6 +1489,17 @@ public string team_logo_url public void Resetteam_logo_url() => __pbn__team_logo_url = null; private string __pbn__team_logo_url; + [global::ProtoBuf.ProtoMember(21)] + [global::System.ComponentModel.DefaultValue("")] + public string team_abbreviation + { + get => __pbn__team_abbreviation ?? ""; + set => __pbn__team_abbreviation = value; + } + public bool ShouldSerializeteam_abbreviation() => __pbn__team_abbreviation != null; + public void Resetteam_abbreviation() => __pbn__team_abbreviation = null; + private string __pbn__team_abbreviation; + } [global::ProtoBuf.ProtoContract()] @@ -2655,6 +2709,9 @@ public bool experimental_gameplay_enabled [global::ProtoBuf.ProtoMember(124)] public global::System.Collections.Generic.List requested_hero_ids { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(125)] + public global::System.Collections.Generic.List coach_friend_requests { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoContract()] public partial class CExtraMsg : global::ProtoBuf.IExtensible { @@ -2712,6 +2769,7 @@ public enum LobbyType SPECTATOR = 11, EVENT_MATCH = 12, GAUNTLET = 13, + NEW_PLAYER_POOL = 14, } } @@ -3211,7 +3269,7 @@ public enum MvpAccoladeType kKillEaterEventType_Windrunner_ShackleFocusFireKills = 228, kKillEaterEventType_VengefulSpirit_VengeanceAuraIllusionKills = 229, kKillEaterEventType_Tusk_WalrusPunchKills = 230, - kKillEaterEventType_Tinker_TripleHeroLasers = 231, + kKillEaterEventType_Tinker_MultiHeroLasers = 231, kKillEaterEventType_TemplarAssassin_MultiHeroPsiBlades = 232, kKillEaterEventType_Sven_KillsDuringGodsStrength = 233, kKillEaterEventType_Sniper_ThreeHeroShrapnels = 234, @@ -3308,6 +3366,14 @@ public enum EHighPriorityMMState k_EHighPriorityMM_HighDemand = 68, } + [global::ProtoBuf.ProtoContract()] + public enum ELobbyMemberCoachRequestState + { + k_eLobbyMemberCoachRequestState_None = 0, + k_eLobbyMemberCoachRequestState_Accepted = 1, + k_eLobbyMemberCoachRequestState_Rejected = 2, + } + [global::ProtoBuf.ProtoContract()] public enum LobbyDotaTVDelay { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs index 910b94427..c9b2b2cb5 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs @@ -44,8 +44,6 @@ public enum EDOTAGCMsg k_EMsgGCRequestChatChannelListResponse = 7061, k_EMsgGCRequestMatches = 7064, k_EMsgGCRequestMatchesResponse = 7065, - k_EMsgGCRequestPlayerResources = 7068, - k_EMsgGCRequestPlayerResourcesResponse = 7069, k_EMsgGCReadyUp = 7070, k_EMsgGCKickedFromMatchmakingQueue = 7071, k_EMsgGCLeaverDetected = 7072, @@ -235,6 +233,7 @@ public enum EDOTAGCMsg k_EMsgGCFantasyTeamRosterSwapResponse = 7356, k_EMsgGCFantasyTeamRosterRequest = 7357, k_EMsgGCFantasyTeamRosterResponse = 7358, + k_EMsgGCChatModeratorBan = 7359, k_EMsgGCFantasyTeamRosterAddDropRequest = 7361, k_EMsgGCFantasyTeamRosterAddDropResponse = 7362, k_EMsgPresentedClientTerminateDlg = 7363, @@ -303,8 +302,8 @@ public enum EDOTAGCMsg k_EMsgGCPerfectWorldUserLookupResponse = 7445, k_EMsgGCFantasyRemoveOwner = 7448, k_EMsgGCFantasyRemoveOwnerResponse = 7449, - k_EMsgGCRequestBatchPlayerResources = 7450, - k_EMsgGCRequestBatchPlayerResourcesResponse = 7451, + k_EMsgServerToGCRequestBatchPlayerResources = 7450, + k_EMsgServerToGCRequestBatchPlayerResourcesResponse = 7451, k_EMsgGCToGCSendUpdateLeagues = 7452, k_EMsgGCCompendiumSetSelectionResponse = 7453, k_EMsgGCPlayerInfoRequest = 7454, @@ -650,7 +649,7 @@ public enum EDOTAGCMsg k_EMsgClientToGCTransferSeasonalMMRRequest = 8193, k_EMsgClientToGCTransferSeasonalMMRResponse = 8194, k_EMsgGCToGCPublicChatCommunicationBan = 8195, - k_EMsgGCToGCUpdateAccountPublicChatBan = 8196, + k_EMsgGCToGCUpdateAccountInfo = 8196, k_EMsgGCChatReportPublicSpam = 8197, k_EMsgClientToGCSetPartyBuilderOptions = 8198, k_EMsgClientToGCSetPartyBuilderOptionsResponse = 8199, @@ -947,7 +946,44 @@ public enum EDOTAGCMsg k_EMsgGCToGCGrantPlusHeroChallengeMatchResults = 8771, k_EMsgGCToClientOverwatchCasesAvailable = 8772, k_EMsgServerToGCAccountCheck = 8773, + k_EMsgClientToGCStartWatchingOverwatch = 8774, + k_EMsgClientToGCStopWatchingOverwatch = 8775, k_EMsgSignOutPerfData = 8776, + k_EMsgClientToGCGetDPCFavorites = 8777, + k_EMsgClientToGCGetDPCFavoritesResponse = 8778, + k_EMsgClientToGCSetDPCFavoriteState = 8779, + k_EMsgClientToGCSetDPCFavoriteStateResponse = 8780, + k_EMsgClientToGCOverwatchReplayError = 8781, + k_EMsgServerToGCPlayerChallengeHistory = 8782, + k_EMsgSignOutBanData = 8783, + k_EMsgWebapiDPCSeasonResults = 8784, + k_EMsgClientToGCCoachFriend = 8785, + k_EMsgClientToGCCoachFriendResponse = 8786, + k_EMsgClientToGCRequestPrivateCoachingSession = 8787, + k_EMsgClientToGCRequestPrivateCoachingSessionResponse = 8788, + k_EMsgClientToGCAcceptPrivateCoachingSession = 8789, + k_EMsgClientToGCAcceptPrivateCoachingSessionResponse = 8790, + k_EMsgClientToGCLeavePrivateCoachingSession = 8791, + k_EMsgClientToGCLeavePrivateCoachingSessionResponse = 8792, + k_EMsgClientToGCGetCurrentPrivateCoachingSession = 8793, + k_EMsgClientToGCGetCurrentPrivateCoachingSessionResponse = 8794, + k_EMsgGCToClientPrivateCoachingSessionUpdated = 8795, + k_EMsgClientToGCSubmitPrivateCoachingSessionRating = 8796, + k_EMsgClientToGCSubmitPrivateCoachingSessionRatingResponse = 8797, + k_EMsgClientToGCGetAvailablePrivateCoachingSessions = 8798, + k_EMsgClientToGCGetAvailablePrivateCoachingSessionsResponse = 8799, + k_EMsgClientToGCGetAvailablePrivateCoachingSessionsSummary = 8800, + k_EMsgClientToGCGetAvailablePrivateCoachingSessionsSummaryResponse = 8801, + k_EMsgClientToGCJoinPrivateCoachingSessionLobby = 8802, + k_EMsgClientToGCJoinPrivateCoachingSessionLobbyResponse = 8803, + k_EMsgClientToGCRespondToCoachFriendRequest = 8804, + k_EMsgClientToGCRespondToCoachFriendRequestResponse = 8805, + k_EMsgClientToGCSetEventActiveSeasonID = 8806, + k_EMsgClientToGCSetEventActiveSeasonIDResponse = 8807, + k_EMsgServerToGCMatchPlayerNeutralItemEquipHistory = 8808, + k_EMsgServerToGCCompendiumChosenInGamePredictions = 8809, + k_EMsgClientToGCCreateTeamPlayerCardPack = 8810, + k_EMsgClientToGCCreateTeamPlayerCardPackResponse = 8811, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs index 8da4ee53d..cc4b5bd48 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs @@ -1585,6 +1585,9 @@ public bool is_using_plus_guide [global::ProtoBuf.ProtoMember(48)] public global::System.Collections.Generic.List hero_damage_received { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(64)] + public global::System.Collections.Generic.List hero_damage_dealt { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(51)] public uint seconds_dead { @@ -3132,6 +3135,75 @@ public float server_max_frame_time public void Resetserver_max_frame_time() => __pbn__server_max_frame_time = null; private float? __pbn__server_max_frame_time; + [global::ProtoBuf.ProtoMember(5)] + public global::System.Collections.Generic.List average_compute_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(6)] + public global::System.Collections.Generic.List max_compute_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(7)] + public global::System.Collections.Generic.List average_client_tick_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(8)] + public global::System.Collections.Generic.List max_client_tick_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(9)] + public global::System.Collections.Generic.List average_client_simulate_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(10)] + public global::System.Collections.Generic.List max_client_simulate_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(11)] + public global::System.Collections.Generic.List average_output_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(12)] + public global::System.Collections.Generic.List max_output_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(13)] + public global::System.Collections.Generic.List average_wait_for_rendering_to_complete_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(14)] + public global::System.Collections.Generic.List max_wait_for_rendering_to_complete_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(15)] + public global::System.Collections.Generic.List average_swap_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(16)] + public global::System.Collections.Generic.List max_swap_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(17)] + public global::System.Collections.Generic.List average_frame_update_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(18)] + public global::System.Collections.Generic.List max_frame_update_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(19)] + public global::System.Collections.Generic.List average_idle_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(20)] + public global::System.Collections.Generic.List max_idle_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(21)] + public global::System.Collections.Generic.List average_input_processing_time { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(22)] + public global::System.Collections.Generic.List max_input_processing_time { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameMatchSignOutBanData : 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 hero_bans { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List hero_ban_votes { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -3581,125 +3653,7 @@ public enum DOTAUltimateState } [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTARequestPlayerResources : 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 steam_id - { - get => __pbn__steam_id.GetValueOrDefault(); - set => __pbn__steam_id = value; - } - public bool ShouldSerializesteam_id() => __pbn__steam_id != null; - public void Resetsteam_id() => __pbn__steam_id = null; - private ulong? __pbn__steam_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint player_id - { - get => __pbn__player_id.GetValueOrDefault(); - set => __pbn__player_id = value; - } - public bool ShouldSerializeplayer_id() => __pbn__player_id != null; - public void Resetplayer_id() => __pbn__player_id = null; - private uint? __pbn__player_id; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTARequestPlayerResourcesResponse : 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 steam_id - { - get => __pbn__steam_id.GetValueOrDefault(); - set => __pbn__steam_id = value; - } - public bool ShouldSerializesteam_id() => __pbn__steam_id != null; - public void Resetsteam_id() => __pbn__steam_id = null; - private ulong? __pbn__steam_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint rank - { - get => __pbn__rank.GetValueOrDefault(); - set => __pbn__rank = value; - } - public bool ShouldSerializerank() => __pbn__rank != null; - public void Resetrank() => __pbn__rank = null; - private uint? __pbn__rank; - - [global::ProtoBuf.ProtoMember(3)] - public uint player_id - { - get => __pbn__player_id.GetValueOrDefault(); - set => __pbn__player_id = value; - } - public bool ShouldSerializeplayer_id() => __pbn__player_id != null; - public void Resetplayer_id() => __pbn__player_id = null; - private uint? __pbn__player_id; - - [global::ProtoBuf.ProtoMember(4)] - public bool prevent_text_chat - { - get => __pbn__prevent_text_chat.GetValueOrDefault(); - set => __pbn__prevent_text_chat = value; - } - public bool ShouldSerializeprevent_text_chat() => __pbn__prevent_text_chat != null; - public void Resetprevent_text_chat() => __pbn__prevent_text_chat = null; - private bool? __pbn__prevent_text_chat; - - [global::ProtoBuf.ProtoMember(5)] - public bool prevent_voice_chat - { - get => __pbn__prevent_voice_chat.GetValueOrDefault(); - set => __pbn__prevent_voice_chat = value; - } - public bool ShouldSerializeprevent_voice_chat() => __pbn__prevent_voice_chat != null; - public void Resetprevent_voice_chat() => __pbn__prevent_voice_chat = null; - private bool? __pbn__prevent_voice_chat; - - [global::ProtoBuf.ProtoMember(6)] - public bool low_priority - { - get => __pbn__low_priority.GetValueOrDefault(); - set => __pbn__low_priority = value; - } - public bool ShouldSerializelow_priority() => __pbn__low_priority != null; - public void Resetlow_priority() => __pbn__low_priority = null; - private bool? __pbn__low_priority; - - [global::ProtoBuf.ProtoMember(8)] - public bool is_new_player - { - get => __pbn__is_new_player.GetValueOrDefault(); - set => __pbn__is_new_player = value; - } - public bool ShouldSerializeis_new_player() => __pbn__is_new_player != null; - public void Resetis_new_player() => __pbn__is_new_player = null; - private bool? __pbn__is_new_player; - - [global::ProtoBuf.ProtoMember(9)] - public bool is_guide_player - { - get => __pbn__is_guide_player.GetValueOrDefault(); - set => __pbn__is_guide_player = value; - } - public bool ShouldSerializeis_guide_player() => __pbn__is_guide_player != null; - public void Resetis_guide_player() => __pbn__is_guide_player = null; - private bool? __pbn__is_guide_player; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTARequestBatchPlayerResources : global::ProtoBuf.IExtensible + public partial class CMsgServerToGCRequestBatchPlayerResources : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -3714,7 +3668,7 @@ public partial class CMsgDOTARequestBatchPlayerResources : global::ProtoBuf.IExt } [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTARequestBatchPlayerResourcesResponse : global::ProtoBuf.IExtensible + public partial class CMsgServerToGCRequestBatchPlayerResourcesResponse : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -6349,6 +6303,47 @@ public bool prediction_value_is_mask } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgServerToGCCompendiumChosenInGamePredictions : 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 match_id + { + get => __pbn__match_id.GetValueOrDefault(); + set => __pbn__match_id = value; + } + public bool ShouldSerializematch_id() => __pbn__match_id != null; + public void Resetmatch_id() => __pbn__match_id = null; + private ulong? __pbn__match_id; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List predictions_chosen { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Prediction : 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 prediction_id + { + get => __pbn__prediction_id.GetValueOrDefault(); + set => __pbn__prediction_id = value; + } + public bool ShouldSerializeprediction_id() => __pbn__prediction_id != null; + public void Resetprediction_id() => __pbn__prediction_id = null; + private uint? __pbn__prediction_id; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgServerToGCCompendiumInGamePredictionResultsResponse : global::ProtoBuf.IExtensible { @@ -6535,6 +6530,104 @@ public bool is_winner } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgServerToGCMatchPlayerNeutralItemEquipHistory : 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 match_id + { + get => __pbn__match_id.GetValueOrDefault(); + set => __pbn__match_id = value; + } + public bool ShouldSerializematch_id() => __pbn__match_id != null; + public void Resetmatch_id() => __pbn__match_id = null; + private ulong? __pbn__match_id; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class ItemEquip : 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 item + { + get => __pbn__item.GetValueOrDefault(); + set => __pbn__item = value; + } + public bool ShouldSerializeitem() => __pbn__item != null; + public void Resetitem() => __pbn__item = null; + private uint? __pbn__item; + + [global::ProtoBuf.ProtoMember(2)] + public uint game_time + { + get => __pbn__game_time.GetValueOrDefault(); + set => __pbn__game_time = value; + } + public bool ShouldSerializegame_time() => __pbn__game_time != null; + public void Resetgame_time() => __pbn__game_time = null; + private uint? __pbn__game_time; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List inventory_items { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List talents_skilled { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public global::System.Collections.Generic.List available_neutral_items { get; } = new global::System.Collections.Generic.List(); + + } + + [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 => __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 global::System.Collections.Generic.List allied_hero_ids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List enemy_hero_ids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List item_equips { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public bool is_winner + { + get => __pbn__is_winner.GetValueOrDefault(); + set => __pbn__is_winner = value; + } + public bool ShouldSerializeis_winner() => __pbn__is_winner != null; + public void Resetis_winner() => __pbn__is_winner = null; + private bool? __pbn__is_winner; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgServerToGCMatchStateHistory : global::ProtoBuf.IExtensible { @@ -7117,6 +7210,138 @@ public bool turbo_mode } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgServerToGCPlayerChallengeHistory : 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 match_id + { + get => __pbn__match_id.GetValueOrDefault(); + set => __pbn__match_id = value; + } + public bool ShouldSerializematch_id() => __pbn__match_id != null; + public void Resetmatch_id() => __pbn__match_id = null; + private ulong? __pbn__match_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint average_rank + { + get => __pbn__average_rank.GetValueOrDefault(); + set => __pbn__average_rank = value; + } + public bool ShouldSerializeaverage_rank() => __pbn__average_rank != null; + public void Resetaverage_rank() => __pbn__average_rank = null; + private uint? __pbn__average_rank; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List challenge_records { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class PlayerChallenge : 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 => __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)] + [global::System.ComponentModel.DefaultValue(EPlayerChallengeHistoryType.k_EPlayerChallengeHistoryType_Invalid)] + public EPlayerChallengeHistoryType challenge_type + { + get => __pbn__challenge_type ?? EPlayerChallengeHistoryType.k_EPlayerChallengeHistoryType_Invalid; + set => __pbn__challenge_type = value; + } + public bool ShouldSerializechallenge_type() => __pbn__challenge_type != null; + public void Resetchallenge_type() => __pbn__challenge_type = null; + private EPlayerChallengeHistoryType? __pbn__challenge_type; + + [global::ProtoBuf.ProtoMember(3)] + public uint challenge_id1 + { + get => __pbn__challenge_id1.GetValueOrDefault(); + set => __pbn__challenge_id1 = value; + } + public bool ShouldSerializechallenge_id1() => __pbn__challenge_id1 != null; + public void Resetchallenge_id1() => __pbn__challenge_id1 = null; + private uint? __pbn__challenge_id1; + + [global::ProtoBuf.ProtoMember(4)] + public uint challenge_id2 + { + get => __pbn__challenge_id2.GetValueOrDefault(); + set => __pbn__challenge_id2 = value; + } + public bool ShouldSerializechallenge_id2() => __pbn__challenge_id2 != null; + public void Resetchallenge_id2() => __pbn__challenge_id2 = null; + private uint? __pbn__challenge_id2; + + [global::ProtoBuf.ProtoMember(5)] + public uint progress_value_start + { + get => __pbn__progress_value_start.GetValueOrDefault(); + set => __pbn__progress_value_start = value; + } + public bool ShouldSerializeprogress_value_start() => __pbn__progress_value_start != null; + public void Resetprogress_value_start() => __pbn__progress_value_start = null; + private uint? __pbn__progress_value_start; + + [global::ProtoBuf.ProtoMember(6)] + public uint progress_value_end + { + get => __pbn__progress_value_end.GetValueOrDefault(); + set => __pbn__progress_value_end = value; + } + public bool ShouldSerializeprogress_value_end() => __pbn__progress_value_end != null; + public void Resetprogress_value_end() => __pbn__progress_value_end = null; + private uint? __pbn__progress_value_end; + + [global::ProtoBuf.ProtoMember(7)] + public bool team_won + { + get => __pbn__team_won.GetValueOrDefault(); + set => __pbn__team_won = value; + } + public bool ShouldSerializeteam_won() => __pbn__team_won != null; + public void Resetteam_won() => __pbn__team_won = null; + private bool? __pbn__team_won; + + [global::ProtoBuf.ProtoMember(8)] + public ulong audit_data + { + get => __pbn__audit_data.GetValueOrDefault(); + set => __pbn__audit_data = value; + } + public bool ShouldSerializeaudit_data() => __pbn__audit_data != null; + public void Resetaudit_data() => __pbn__audit_data = null; + private ulong? __pbn__audit_data; + + [global::ProtoBuf.ProtoMember(9)] + public uint hero_id + { + get => __pbn__hero_id.GetValueOrDefault(); + set => __pbn__hero_id = value; + } + public bool ShouldSerializehero_id() => __pbn__hero_id != null; + public void Resethero_id() => __pbn__hero_id = null; + private uint? __pbn__hero_id; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgServerToGCCavernCrawlIsHeroActiveResponse : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs index 64d353d0e..da5676199 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs @@ -559,6 +559,26 @@ public uint audit public void Resetaudit() => __pbn__audit = null; private uint? __pbn__audit; + [global::ProtoBuf.ProtoMember(4)] + public bool requires_win + { + get => __pbn__requires_win.GetValueOrDefault(); + set => __pbn__requires_win = value; + } + public bool ShouldSerializerequires_win() => __pbn__requires_win != null; + public void Resetrequires_win() => __pbn__requires_win = null; + private bool? __pbn__requires_win; + + [global::ProtoBuf.ProtoMember(5)] + public ulong audit_data + { + get => __pbn__audit_data.GetValueOrDefault(); + set => __pbn__audit_data = value; + } + public bool ShouldSerializeaudit_data() => __pbn__audit_data != null; + public void Resetaudit_data() => __pbn__audit_data = null; + private ulong? __pbn__audit_data; + } [global::ProtoBuf.ProtoContract()] @@ -789,6 +809,26 @@ public uint wager_streak_pct [global::ProtoBuf.ProtoMember(23)] public global::System.Collections.Generic.List candy_points_granted { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(24)] + public uint active_season_id + { + get => __pbn__active_season_id.GetValueOrDefault(); + set => __pbn__active_season_id = value; + } + public bool ShouldSerializeactive_season_id() => __pbn__active_season_id != null; + public void Resetactive_season_id() => __pbn__active_season_id = null; + private uint? __pbn__active_season_id; + + [global::ProtoBuf.ProtoMember(25)] + public bool cavern_crawl_half_credit + { + get => __pbn__cavern_crawl_half_credit.GetValueOrDefault(); + set => __pbn__cavern_crawl_half_credit = value; + } + public bool ShouldSerializecavern_crawl_half_credit() => __pbn__cavern_crawl_half_credit != null; + public void Resetcavern_crawl_half_credit() => __pbn__cavern_crawl_half_credit = null; + private bool? __pbn__cavern_crawl_half_credit; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs index a660b9e9b..14b7be679 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs @@ -1058,6 +1058,16 @@ public uint audit_action public void Resetaudit_action() => __pbn__audit_action = null; private uint? __pbn__audit_action; + [global::ProtoBuf.ProtoMember(6)] + public uint audit_data + { + get => __pbn__audit_data.GetValueOrDefault(); + set => __pbn__audit_data = value; + } + public bool ShouldSerializeaudit_data() => __pbn__audit_data != null; + public void Resetaudit_data() => __pbn__audit_data = null; + private uint? __pbn__audit_data; + } [global::ProtoBuf.ProtoContract()] @@ -1154,7 +1164,8 @@ public enum EEvent EVENT_ID_INTERNATIONAL_2020 = 29, EVENT_ID_TEAM_FANDOM = 30, EVENT_ID_DIRETIDE_2020 = 31, - EVENT_ID_COUNT = 32, + EVENT_ID_SPRING_2021 = 32, + EVENT_ID_COUNT = 33, } [global::ProtoBuf.ProtoContract()] @@ -1235,6 +1246,7 @@ public enum DOTAChatChannelType_t DOTAChannelType_GameAll = 11, DOTAChannelType_GameAllies = 12, DOTAChannelType_GameSpectator = 13, + DOTAChannelType_GameCoaching = 14, DOTAChannelType_Cafe = 15, DOTAChannelType_CustomGame = 16, DOTAChannelType_Private = 17, @@ -1243,6 +1255,16 @@ public enum DOTAChatChannelType_t DOTAChannelType_HLTVSpectator = 20, DOTAChannelType_GameEvents = 21, DOTAChannelType_Trivia = 22, + DOTAChannelType_NewPlayer = 23, + DOTAChannelType_PrivateCoaching = 24, + } + + [global::ProtoBuf.ProtoContract()] + public enum EChatSpecialPrivileges + { + k_EChatSpecialPrivileges_None = 0, + k_EChatSpecialPrivileges_Moderator = 1, + k_EChatSpecialPrivileges_SuperModerator = 2, } [global::ProtoBuf.ProtoContract()] @@ -1358,11 +1380,6 @@ public enum EDOTAPlayerMMRType k_EDOTAPlayerMMRType_GeneralCompetitive = 3, k_EDOTAPlayerMMRType_SoloCompetitive2019 = 4, k_EDOTAPlayerMMRType_1v1Competitive_UNUSED = 5, - k_EDOTAPlayerMMRType_GeneralSeasonalRanked = 6, - k_EDOTAPlayerMMRType_SoloSeasonalRanked = 7, - k_EDOTAPlayerMMRType_Competitive_Core = 8, - k_EDOTAPlayerMMRType_Competitive_Support = 9, - k_EDOTAPlayerMMRType_Competitive_Classic = 10, } [global::ProtoBuf.ProtoContract()] @@ -1390,6 +1407,7 @@ public enum MatchType MATCH_TYPE_MUTATION = 11, MATCH_TYPE_COACHES_CHALLENGE = 12, MATCH_TYPE_GAUNTLET = 13, + MATCH_TYPE_NEW_PLAYER_POOL = 14, } [global::ProtoBuf.ProtoContract()] @@ -1404,6 +1422,7 @@ public enum DOTABotDifficulty BOT_DIFFICULTY_EXTRA1 = 6, BOT_DIFFICULTY_EXTRA2 = 7, BOT_DIFFICULTY_EXTRA3 = 8, + BOT_DIFFICULTY_NPX = 9, } [global::ProtoBuf.ProtoContract()] @@ -1435,6 +1454,7 @@ public enum DOTA_BOT_MODE DOTA_BOT_MODE_COMPANION = 23, DOTA_BOT_MODE_TUTORIAL_BOSS = 24, DOTA_BOT_MODE_MINION = 25, + DOTA_BOT_MODE_OUTPOST = 26, } [global::ProtoBuf.ProtoContract()] @@ -1597,6 +1617,7 @@ public enum ELeagueAuditAction LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_INVITED_TEAM = 18, LEAGUE_AUDIT_ACTION_LEAGUE_STATUS_CHANGED = 19, LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_EDIT = 20, + LEAGUE_AUDIT_ACTION_LEAGUE_TEAM_SWAP = 21, LEAGUE_AUDIT_ACTION_NODEGROUP_CREATE = 100, LEAGUE_AUDIT_ACTION_NODEGROUP_DESTROY = 101, LEAGUE_AUDIT_ACTION_NODEGROUP_ADD_TEAM = 102, @@ -1683,6 +1704,8 @@ public enum EDPCPushNotification DPC_PUSH_NOTIFICATION_MATCH_STARTING = 1, DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM = 10, DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM = 11, + DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM_AS_COACH = 12, + DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM_AS_COACH = 13, DPC_PUSH_NOTIFICATION_LEAGUE_RESULT = 20, DPC_PUSH_NOTIFICATION_PREDICTION_MATCHES_AVAILABLE = 30, DPC_PUSH_NOTIFICATION_PREDICTION_RESULT = 31, @@ -1698,6 +1721,17 @@ public enum EEventActionScoreMode k_eEventActionScoreMode_Min = 1, } + [global::ProtoBuf.ProtoContract()] + public enum EPlayerChallengeHistoryType + { + k_EPlayerChallengeHistoryType_Invalid = 0, + k_EPlayerChallengeHistoryType_KillEater = 1, + k_EPlayerChallengeHistoryType_DotaPlusRelic = 2, + k_EPlayerChallengeHistoryType_DotaPlusHeroPlayerChallenge = 3, + k_EPlayerChallengeHistoryType_InGameEventChallenge = 4, + k_EPlayerChallengeHistoryType_GuildContract = 5, + } + [global::ProtoBuf.ProtoContract()] public enum EOverwatchReportReason { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs index 7cbb6e0d3..f0f655f10 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs @@ -2356,6 +2356,16 @@ public bool has_accepted_china_ssa 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()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGC.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGC.cs index 8fc22be13..c393bb75e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGC.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGC.cs @@ -2825,6 +2825,116 @@ public partial class CMsgGCToGCReloadServerRegionSettings : global::ProtoBuf.IEx } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCAdditionalWelcomeMsgList : 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 welcome_messages { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgApplyRemoteConVars : 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 con_vars { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class ConVar : 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 name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string value + { + get => __pbn__value ?? ""; + set => __pbn__value = value; + } + public bool ShouldSerializevalue() => __pbn__value != null; + public void Resetvalue() => __pbn__value = null; + private string __pbn__value; + + [global::ProtoBuf.ProtoMember(3)] + public uint version_min + { + get => __pbn__version_min.GetValueOrDefault(); + set => __pbn__version_min = value; + } + public bool ShouldSerializeversion_min() => __pbn__version_min != null; + public void Resetversion_min() => __pbn__version_min = null; + private uint? __pbn__version_min; + + [global::ProtoBuf.ProtoMember(4)] + public uint version_max + { + get => __pbn__version_max.GetValueOrDefault(); + set => __pbn__version_max = value; + } + public bool ShouldSerializeversion_max() => __pbn__version_max != null; + public void Resetversion_max() => __pbn__version_max = null; + private uint? __pbn__version_max; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue(EDACPlatform.k_eDACPlatform_None)] + public EDACPlatform platform + { + get => __pbn__platform ?? EDACPlatform.k_eDACPlatform_None; + set => __pbn__platform = value; + } + public bool ShouldSerializeplatform() => __pbn__platform != null; + public void Resetplatform() => __pbn__platform = null; + private EDACPlatform? __pbn__platform; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToClientApplyRemoteConVars : 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 CMsgApplyRemoteConVars msg { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToServerApplyRemoteConVars : 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 CMsgApplyRemoteConVars msg { get; set; } + + } + [global::ProtoBuf.ProtoContract()] public enum EGCBaseMsg { @@ -2848,6 +2958,9 @@ public enum EGCBaseMsg k_EMsgGCToGCPerformManualOp = 4516, k_EMsgGCToGCPerformManualOpCompleted = 4517, k_EMsgGCToGCReloadServerRegionSettings = 4518, + k_EMsgGCAdditionalWelcomeMsgList = 4519, + k_EMsgGCToClientApplyRemoteConVars = 4520, + k_EMsgGCToServerApplyRemoteConVars = 4521, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCEcon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCEcon.cs index e53a1753b..1f49ddfc8 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCEcon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCEcon.cs @@ -4214,64 +4214,6 @@ public uint version } - [global::ProtoBuf.ProtoContract()] - public partial class CEcon_FlushInventoryCache_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 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)] - public ulong contextid - { - get => __pbn__contextid.GetValueOrDefault(); - set => __pbn__contextid = value; - } - public bool ShouldSerializecontextid() => __pbn__contextid != null; - public void Resetcontextid() => __pbn__contextid = null; - private ulong? __pbn__contextid; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CEcon_FlushInventoryCache_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)] - public bool success - { - get => __pbn__success.GetValueOrDefault(); - set => __pbn__success = value; - } - public bool ShouldSerializesuccess() => __pbn__success != null; - public void Resetsuccess() => __pbn__success = null; - private bool? __pbn__success; - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgGCToGCFlushSteamInventoryCache : global::ProtoBuf.IExtensible { @@ -4410,55 +4352,6 @@ public partial class CMsgGCToGCPurchaseSucceeded : global::ProtoBuf.IExtensible } - [global::ProtoBuf.ProtoContract()] - public partial class CExtraMsgBlock : 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 msg_type - { - get => __pbn__msg_type.GetValueOrDefault(); - set => __pbn__msg_type = value; - } - public bool ShouldSerializemsg_type() => __pbn__msg_type != null; - public void Resetmsg_type() => __pbn__msg_type = null; - private uint? __pbn__msg_type; - - [global::ProtoBuf.ProtoMember(2)] - public byte[] contents - { - get => __pbn__contents; - set => __pbn__contents = value; - } - public bool ShouldSerializecontents() => __pbn__contents != null; - public void Resetcontents() => __pbn__contents = null; - private byte[] __pbn__contents; - - [global::ProtoBuf.ProtoMember(3)] - public ulong msg_key - { - get => __pbn__msg_key.GetValueOrDefault(); - set => __pbn__msg_key = value; - } - public bool ShouldSerializemsg_key() => __pbn__msg_key != null; - public void Resetmsg_key() => __pbn__msg_key = null; - private ulong? __pbn__msg_key; - - [global::ProtoBuf.ProtoMember(4)] - public bool is_compressed - { - get => __pbn__is_compressed.GetValueOrDefault(); - set => __pbn__is_compressed = value; - } - public bool ShouldSerializeis_compressed() => __pbn__is_compressed != null; - public void Resetis_compressed() => __pbn__is_compressed = null; - private bool? __pbn__is_compressed; - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientToGCGetLimitedItemPurchaseQuantity : global::ProtoBuf.IExtensible { @@ -4520,6 +4413,38 @@ public enum EResponse } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToGCUpdateWelcomeMsg : 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 bool server + { + get => __pbn__server.GetValueOrDefault(); + set => __pbn__server = value; + } + public bool ShouldSerializeserver() => __pbn__server != null; + public void Resetserver() => __pbn__server = null; + private bool? __pbn__server; + + [global::ProtoBuf.ProtoMember(2)] + public CExtraMsgBlock new_msg { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + public bool broadcast + { + get => __pbn__broadcast.GetValueOrDefault(); + set => __pbn__broadcast = value; + } + public bool ShouldSerializebroadcast() => __pbn__broadcast != null; + public void Resetbroadcast() => __pbn__broadcast = null; + private bool? __pbn__broadcast; + + } + [global::ProtoBuf.ProtoContract()] public enum EGCItemMsg { @@ -4633,6 +4558,7 @@ public enum EGCItemMsg k_EMsgGCApplyAutograph = 2523, k_EMsgGCToGCWebAPIAccountChanged = 2524, k_EMsgGCClientVersionUpdated = 2528, + k_EMsgGCToGCUpdateWelcomeMsg = 2529, k_EMsgGCItemPurgatory_FinalizePurchase = 2531, k_EMsgGCItemPurgatory_FinalizePurchaseResponse = 2532, k_EMsgGCItemPurgatory_RefundPurchase = 2533, diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs index d23878f02..885354427 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs @@ -9,6 +9,55 @@ namespace SteamKit2.GC.Dota.Internal { + [global::ProtoBuf.ProtoContract()] + public partial class CExtraMsgBlock : 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 msg_type + { + get => __pbn__msg_type.GetValueOrDefault(); + set => __pbn__msg_type = value; + } + public bool ShouldSerializemsg_type() => __pbn__msg_type != null; + public void Resetmsg_type() => __pbn__msg_type = null; + private uint? __pbn__msg_type; + + [global::ProtoBuf.ProtoMember(2)] + public byte[] contents + { + get => __pbn__contents; + set => __pbn__contents = value; + } + public bool ShouldSerializecontents() => __pbn__contents != null; + public void Resetcontents() => __pbn__contents = null; + private byte[] __pbn__contents; + + [global::ProtoBuf.ProtoMember(3)] + public ulong msg_key + { + get => __pbn__msg_key.GetValueOrDefault(); + set => __pbn__msg_key = value; + } + public bool ShouldSerializemsg_key() => __pbn__msg_key != null; + public void Resetmsg_key() => __pbn__msg_key = null; + private ulong? __pbn__msg_key; + + [global::ProtoBuf.ProtoMember(4)] + public bool is_compressed + { + get => __pbn__is_compressed.GetValueOrDefault(); + set => __pbn__is_compressed = value; + } + public bool ShouldSerializeis_compressed() => __pbn__is_compressed != null; + public void Resetis_compressed() => __pbn__is_compressed = null; + private bool? __pbn__is_compressed; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgGCAssertJobData : global::ProtoBuf.IExtensible { @@ -1135,6 +1184,16 @@ public bool is_steam_china public void Resetis_steam_china() => __pbn__is_steam_china = null; private bool? __pbn__is_steam_china; + [global::ProtoBuf.ProtoMember(24)] + public bool is_steam_china_client + { + get => __pbn__is_steam_china_client.GetValueOrDefault(); + set => __pbn__is_steam_china_client = value; + } + public bool ShouldSerializeis_steam_china_client() => __pbn__is_steam_china_client != null; + public void Resetis_steam_china_client() => __pbn__is_steam_china_client = null; + private bool? __pbn__is_steam_china_client; + [global::ProtoBuf.ProtoMember(23)] [global::System.ComponentModel.DefaultValue("")] public string platform_name @@ -1297,6 +1356,19 @@ public bool has_accepted_china_ssa public void Resethas_accepted_china_ssa() => __pbn__has_accepted_china_ssa = null; private bool? __pbn__has_accepted_china_ssa; + [global::ProtoBuf.ProtoMember(17)] + 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.ProtoMember(18)] + public CExtraMsgBlock additional_welcome_msgs { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class Location : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs b/SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs index 2497711e5..ab9da75b0 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs @@ -1868,6 +1868,7 @@ public enum EResult NoLauncherSpecified = 117, MustAgreeToSSA = 118, LauncherMigrated = 119, + CurrentSteamRealmDoesNotMatch = 120, } public enum EUniverse { @@ -2502,6 +2503,7 @@ public enum EOSType Macos1015 = -82, MacOS1016 = -81, MacOS11 = -80, + MacOS111 = -79, MacOSMax = -1, LinuxUnknown = -203, Linux22 = -202, diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs index a87592277..467f1e216 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs @@ -1526,6 +1526,27 @@ public uint featured_app_tagid [global::ProtoBuf.ProtoMember(28)] public global::System.Collections.Generic.List referenced_appids { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(29)] + public uint build_id + { + get => __pbn__build_id.GetValueOrDefault(); + set => __pbn__build_id = value; + } + public bool ShouldSerializebuild_id() => __pbn__build_id != null; + public void Resetbuild_id() => __pbn__build_id = null; + private uint? __pbn__build_id; + + [global::ProtoBuf.ProtoMember(30)] + [global::System.ComponentModel.DefaultValue("")] + public string build_branch + { + get => __pbn__build_branch ?? ""; + set => __pbn__build_branch = value; + } + public bool ShouldSerializebuild_branch() => __pbn__build_branch != null; + public void Resetbuild_branch() => __pbn__build_branch = null; + private string __pbn__build_branch; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgChat.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgChat.cs index f79f2cb4a..de865711b 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgChat.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgChat.cs @@ -448,6 +448,16 @@ public string avatar_ugc_url public void Resetavatar_ugc_url() => __pbn__avatar_ugc_url = null; private string __pbn__avatar_ugc_url; + [global::ProtoBuf.ProtoMember(26)] + public bool disabled + { + get => __pbn__disabled.GetValueOrDefault(); + set => __pbn__disabled = value; + } + public bool ShouldSerializedisabled() => __pbn__disabled != null; + public void Resetdisabled() => __pbn__disabled = null; + private bool? __pbn__disabled; + } [global::ProtoBuf.ProtoContract()] @@ -2719,6 +2729,16 @@ public string avatar_ugc_url public void Resetavatar_ugc_url() => __pbn__avatar_ugc_url = null; private string __pbn__avatar_ugc_url; + [global::ProtoBuf.ProtoMember(22)] + public bool disabled + { + get => __pbn__disabled.GetValueOrDefault(); + set => __pbn__disabled = value; + } + public bool ShouldSerializedisabled() => __pbn__disabled != null; + public void Resetdisabled() => __pbn__disabled = null; + private bool? __pbn__disabled; + } [global::ProtoBuf.ProtoContract()] @@ -5579,6 +5599,7 @@ public enum EChatRoomMessageReactionType { k_EChatRoomMessageReactionType_Invalid = 0, k_EChatRoomMessageReactionType_Emoticon = 1, + k_EChatRoomMessageReactionType_Sticker = 2, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs index 23bb0ddb9..abe712841 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs @@ -660,221 +660,6 @@ public uint max_tokens_to_keep } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSServerType : 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 app_id_served - { - get => __pbn__app_id_served.GetValueOrDefault(); - set => __pbn__app_id_served = value; - } - public bool ShouldSerializeapp_id_served() => __pbn__app_id_served != null; - public void Resetapp_id_served() => __pbn__app_id_served = null; - private uint? __pbn__app_id_served; - - [global::ProtoBuf.ProtoMember(2)] - public uint flags - { - get => __pbn__flags.GetValueOrDefault(); - set => __pbn__flags = value; - } - public bool ShouldSerializeflags() => __pbn__flags != null; - public void Resetflags() => __pbn__flags = null; - private uint? __pbn__flags; - - [global::ProtoBuf.ProtoMember(3)] - public uint deprecated_game_ip_address - { - get => __pbn__deprecated_game_ip_address.GetValueOrDefault(); - set => __pbn__deprecated_game_ip_address = value; - } - public bool ShouldSerializedeprecated_game_ip_address() => __pbn__deprecated_game_ip_address != null; - public void Resetdeprecated_game_ip_address() => __pbn__deprecated_game_ip_address = null; - private uint? __pbn__deprecated_game_ip_address; - - [global::ProtoBuf.ProtoMember(4)] - public uint game_port - { - get => __pbn__game_port.GetValueOrDefault(); - set => __pbn__game_port = value; - } - public bool ShouldSerializegame_port() => __pbn__game_port != null; - public void Resetgame_port() => __pbn__game_port = null; - private uint? __pbn__game_port; - - [global::ProtoBuf.ProtoMember(5)] - [global::System.ComponentModel.DefaultValue("")] - public string game_dir - { - get => __pbn__game_dir ?? ""; - set => __pbn__game_dir = value; - } - public bool ShouldSerializegame_dir() => __pbn__game_dir != null; - public void Resetgame_dir() => __pbn__game_dir = null; - private string __pbn__game_dir; - - [global::ProtoBuf.ProtoMember(6)] - [global::System.ComponentModel.DefaultValue("")] - public string game_version - { - get => __pbn__game_version ?? ""; - set => __pbn__game_version = value; - } - public bool ShouldSerializegame_version() => __pbn__game_version != null; - public void Resetgame_version() => __pbn__game_version = null; - private string __pbn__game_version; - - [global::ProtoBuf.ProtoMember(7)] - public uint game_query_port - { - get => __pbn__game_query_port.GetValueOrDefault(); - set => __pbn__game_query_port = value; - } - public bool ShouldSerializegame_query_port() => __pbn__game_query_port != null; - public void Resetgame_query_port() => __pbn__game_query_port = null; - private uint? __pbn__game_query_port; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSStatusReply : 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 bool is_secure - { - get => __pbn__is_secure.GetValueOrDefault(); - set => __pbn__is_secure = value; - } - public bool ShouldSerializeis_secure() => __pbn__is_secure != null; - public void Resetis_secure() => __pbn__is_secure = null; - private bool? __pbn__is_secure; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSPlayerList : 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 players { get; } = new global::System.Collections.Generic.List(); - - [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 ulong steam_id - { - get => __pbn__steam_id.GetValueOrDefault(); - set => __pbn__steam_id = value; - } - public bool ShouldSerializesteam_id() => __pbn__steam_id != null; - public void Resetsteam_id() => __pbn__steam_id = null; - private ulong? __pbn__steam_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint deprecated_public_ip - { - get => __pbn__deprecated_public_ip.GetValueOrDefault(); - set => __pbn__deprecated_public_ip = value; - } - public bool ShouldSerializedeprecated_public_ip() => __pbn__deprecated_public_ip != null; - public void Resetdeprecated_public_ip() => __pbn__deprecated_public_ip = null; - private uint? __pbn__deprecated_public_ip; - - [global::ProtoBuf.ProtoMember(3)] - public byte[] token - { - get => __pbn__token; - set => __pbn__token = value; - } - public bool ShouldSerializetoken() => __pbn__token != null; - public void Resettoken() => __pbn__token = null; - private byte[] __pbn__token; - - [global::ProtoBuf.ProtoMember(4)] - public CMsgIPAddress public_ip { get; set; } - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSUserPlaying : 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 steam_id - { - get => __pbn__steam_id.GetValueOrDefault(); - set => __pbn__steam_id = value; - } - public bool ShouldSerializesteam_id() => __pbn__steam_id != null; - public void Resetsteam_id() => __pbn__steam_id = null; - private ulong? __pbn__steam_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint deprecated_public_ip - { - get => __pbn__deprecated_public_ip.GetValueOrDefault(); - set => __pbn__deprecated_public_ip = value; - } - public bool ShouldSerializedeprecated_public_ip() => __pbn__deprecated_public_ip != null; - public void Resetdeprecated_public_ip() => __pbn__deprecated_public_ip = null; - private uint? __pbn__deprecated_public_ip; - - [global::ProtoBuf.ProtoMember(3)] - public byte[] token - { - get => __pbn__token; - set => __pbn__token = value; - } - public bool ShouldSerializetoken() => __pbn__token != null; - public void Resettoken() => __pbn__token = null; - private byte[] __pbn__token; - - [global::ProtoBuf.ProtoMember(4)] - public CMsgIPAddress public_ip { get; set; } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSDisconnectNotice : 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 steam_id - { - get => __pbn__steam_id.GetValueOrDefault(); - set => __pbn__steam_id = value; - } - public bool ShouldSerializesteam_id() => __pbn__steam_id != null; - public void Resetsteam_id() => __pbn__steam_id = null; - private ulong? __pbn__steam_id; - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientGamesPlayed : global::ProtoBuf.IExtensible { @@ -6216,6 +6001,16 @@ public long balance64_delayed public void Resetbalance64_delayed() => __pbn__balance64_delayed = null; private long? __pbn__balance64_delayed; + [global::ProtoBuf.ProtoMember(7)] + public int realm + { + get => __pbn__realm.GetValueOrDefault(); + set => __pbn__realm = value; + } + public bool ShouldSerializerealm() => __pbn__realm != null; + public void Resetrealm() => __pbn__realm = null; + private int? __pbn__realm; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs index 5c1a39051..5ceee9eee 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs @@ -881,222 +881,6 @@ public int eresult } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMEnumerateUserPublishedFiles : 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 app_id - { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; - } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint start_index - { - get => __pbn__start_index.GetValueOrDefault(); - set => __pbn__start_index = value; - } - public bool ShouldSerializestart_index() => __pbn__start_index != null; - public void Resetstart_index() => __pbn__start_index = null; - private uint? __pbn__start_index; - - [global::ProtoBuf.ProtoMember(3)] - public uint sort_order - { - get => __pbn__sort_order.GetValueOrDefault(); - set => __pbn__sort_order = value; - } - public bool ShouldSerializesort_order() => __pbn__sort_order != null; - public void Resetsort_order() => __pbn__sort_order = null; - private uint? __pbn__sort_order; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMEnumerateUserPublishedFilesResponse : 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(2)] - public int eresult - { - get => __pbn__eresult ?? 2; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private int? __pbn__eresult; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List published_files { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public uint total_results - { - get => __pbn__total_results.GetValueOrDefault(); - set => __pbn__total_results = value; - } - public bool ShouldSerializetotal_results() => __pbn__total_results != null; - public void Resettotal_results() => __pbn__total_results = null; - private uint? __pbn__total_results; - - [global::ProtoBuf.ProtoContract()] - public partial class PublishedFileId : 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 published_file_id - { - get => __pbn__published_file_id.GetValueOrDefault(); - set => __pbn__published_file_id = value; - } - public bool ShouldSerializepublished_file_id() => __pbn__published_file_id != null; - public void Resetpublished_file_id() => __pbn__published_file_id = null; - private ulong? __pbn__published_file_id; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMEnumerateUserSubscribedFiles : 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 app_id - { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; - } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint start_index - { - get => __pbn__start_index.GetValueOrDefault(); - set => __pbn__start_index = value; - } - public bool ShouldSerializestart_index() => __pbn__start_index != null; - public void Resetstart_index() => __pbn__start_index = null; - private uint? __pbn__start_index; - - [global::ProtoBuf.ProtoMember(3)] - [global::System.ComponentModel.DefaultValue(1)] - public uint list_type - { - get => __pbn__list_type ?? 1; - set => __pbn__list_type = value; - } - public bool ShouldSerializelist_type() => __pbn__list_type != null; - public void Resetlist_type() => __pbn__list_type = null; - private uint? __pbn__list_type; - - [global::ProtoBuf.ProtoMember(4)] - [global::System.ComponentModel.DefaultValue(0)] - public uint matching_file_type - { - get => __pbn__matching_file_type ?? 0; - set => __pbn__matching_file_type = value; - } - public bool ShouldSerializematching_file_type() => __pbn__matching_file_type != null; - public void Resetmatching_file_type() => __pbn__matching_file_type = null; - private uint? __pbn__matching_file_type; - - [global::ProtoBuf.ProtoMember(5)] - [global::System.ComponentModel.DefaultValue(50)] - public uint count - { - get => __pbn__count ?? 50; - set => __pbn__count = value; - } - public bool ShouldSerializecount() => __pbn__count != null; - public void Resetcount() => __pbn__count = null; - private uint? __pbn__count; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMEnumerateUserSubscribedFilesResponse : 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(2)] - public int eresult - { - get => __pbn__eresult ?? 2; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private int? __pbn__eresult; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List subscribed_files { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public uint total_results - { - get => __pbn__total_results.GetValueOrDefault(); - set => __pbn__total_results = value; - } - public bool ShouldSerializetotal_results() => __pbn__total_results != null; - public void Resettotal_results() => __pbn__total_results = null; - private uint? __pbn__total_results; - - [global::ProtoBuf.ProtoContract()] - public partial class PublishedFileId : 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 published_file_id - { - get => __pbn__published_file_id.GetValueOrDefault(); - set => __pbn__published_file_id = value; - } - public bool ShouldSerializepublished_file_id() => __pbn__published_file_id != null; - public void Resetpublished_file_id() => __pbn__published_file_id = null; - private ulong? __pbn__published_file_id; - - [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - [global::System.ComponentModel.DefaultValue(0)] - public uint rtime32_subscribed - { - get => __pbn__rtime32_subscribed ?? 0; - set => __pbn__rtime32_subscribed = value; - } - public bool ShouldSerializertime32_subscribed() => __pbn__rtime32_subscribed != null; - public void Resetrtime32_subscribed() => __pbn__rtime32_subscribed = null; - private uint? __pbn__rtime32_subscribed; - - } - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates : global::ProtoBuf.IExtensible { @@ -1451,13 +1235,23 @@ public ulong manifest_id } [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientWorkshopItemInfoRequest : global::ProtoBuf.IExtensible + public partial class CMsgClientUCMSetUserPublishedFileAction : 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::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong published_file_id + { + get => __pbn__published_file_id.GetValueOrDefault(); + set => __pbn__published_file_id = value; + } + public bool ShouldSerializepublished_file_id() => __pbn__published_file_id != null; + public void Resetpublished_file_id() => __pbn__published_file_id = null; + private ulong? __pbn__published_file_id; + + [global::ProtoBuf.ProtoMember(2)] public uint app_id { get => __pbn__app_id.GetValueOrDefault(); @@ -1467,52 +1261,20 @@ public uint app_id public void Resetapp_id() => __pbn__app_id = null; private uint? __pbn__app_id; - [global::ProtoBuf.ProtoMember(2)] - public uint last_time_updated - { - get => __pbn__last_time_updated.GetValueOrDefault(); - set => __pbn__last_time_updated = value; - } - public bool ShouldSerializelast_time_updated() => __pbn__last_time_updated != null; - public void Resetlast_time_updated() => __pbn__last_time_updated = null; - private uint? __pbn__last_time_updated; - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List workshop_items { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class WorkshopItem : global::ProtoBuf.IExtensible + public int action { - 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 published_file_id - { - get => __pbn__published_file_id.GetValueOrDefault(); - set => __pbn__published_file_id = value; - } - public bool ShouldSerializepublished_file_id() => __pbn__published_file_id != null; - public void Resetpublished_file_id() => __pbn__published_file_id = null; - private ulong? __pbn__published_file_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint time_updated - { - get => __pbn__time_updated.GetValueOrDefault(); - set => __pbn__time_updated = value; - } - public bool ShouldSerializetime_updated() => __pbn__time_updated != null; - public void Resettime_updated() => __pbn__time_updated = null; - private uint? __pbn__time_updated; - + get => __pbn__action.GetValueOrDefault(); + set => __pbn__action = value; } + public bool ShouldSerializeaction() => __pbn__action != null; + public void Resetaction() => __pbn__action = null; + private int? __pbn__action; } [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientWorkshopItemInfoResponse : global::ProtoBuf.IExtensible + public partial class CMsgClientUCMSetUserPublishedFileActionResponse : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -1529,228 +1291,7 @@ public int eresult public void Reseteresult() => __pbn__eresult = null; private int? __pbn__eresult; - [global::ProtoBuf.ProtoMember(2)] - public uint update_time - { - get => __pbn__update_time.GetValueOrDefault(); - set => __pbn__update_time = value; - } - public bool ShouldSerializeupdate_time() => __pbn__update_time != null; - public void Resetupdate_time() => __pbn__update_time = null; - private uint? __pbn__update_time; - - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List workshop_items { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public global::System.Collections.Generic.List private_items { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class WorkshopItemInfo : 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 published_file_id - { - get => __pbn__published_file_id.GetValueOrDefault(); - set => __pbn__published_file_id = value; - } - public bool ShouldSerializepublished_file_id() => __pbn__published_file_id != null; - public void Resetpublished_file_id() => __pbn__published_file_id = null; - private ulong? __pbn__published_file_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint time_updated - { - get => __pbn__time_updated.GetValueOrDefault(); - set => __pbn__time_updated = value; - } - public bool ShouldSerializetime_updated() => __pbn__time_updated != null; - public void Resettime_updated() => __pbn__time_updated = null; - private uint? __pbn__time_updated; - - [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong manifest_id - { - get => __pbn__manifest_id.GetValueOrDefault(); - set => __pbn__manifest_id = value; - } - public bool ShouldSerializemanifest_id() => __pbn__manifest_id != null; - public void Resetmanifest_id() => __pbn__manifest_id = null; - private ulong? __pbn__manifest_id; - - [global::ProtoBuf.ProtoMember(4)] - public bool is_legacy - { - get => __pbn__is_legacy.GetValueOrDefault(); - set => __pbn__is_legacy = value; - } - public bool ShouldSerializeis_legacy() => __pbn__is_legacy != null; - public void Resetis_legacy() => __pbn__is_legacy = null; - private bool? __pbn__is_legacy; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMGetPublishedFilesForUser : 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 app_id - { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; - } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; - - [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong creator_steam_id - { - get => __pbn__creator_steam_id.GetValueOrDefault(); - set => __pbn__creator_steam_id = value; - } - public bool ShouldSerializecreator_steam_id() => __pbn__creator_steam_id != null; - public void Resetcreator_steam_id() => __pbn__creator_steam_id = null; - private ulong? __pbn__creator_steam_id; - - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List required_tags { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(4)] - public global::System.Collections.Generic.List excluded_tags { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(5)] - public uint start_index - { - get => __pbn__start_index.GetValueOrDefault(); - set => __pbn__start_index = value; - } - public bool ShouldSerializestart_index() => __pbn__start_index != null; - public void Resetstart_index() => __pbn__start_index = null; - private uint? __pbn__start_index; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMGetPublishedFilesForUserResponse : 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(2)] - public int eresult - { - get => __pbn__eresult ?? 2; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private int? __pbn__eresult; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List published_files { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public uint total_results - { - get => __pbn__total_results.GetValueOrDefault(); - set => __pbn__total_results = value; - } - public bool ShouldSerializetotal_results() => __pbn__total_results != null; - public void Resettotal_results() => __pbn__total_results = null; - private uint? __pbn__total_results; - - [global::ProtoBuf.ProtoContract()] - public partial class PublishedFileId : 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 published_file_id - { - get => __pbn__published_file_id.GetValueOrDefault(); - set => __pbn__published_file_id = value; - } - public bool ShouldSerializepublished_file_id() => __pbn__published_file_id != null; - public void Resetpublished_file_id() => __pbn__published_file_id = null; - private ulong? __pbn__published_file_id; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMSetUserPublishedFileAction : 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 published_file_id - { - get => __pbn__published_file_id.GetValueOrDefault(); - set => __pbn__published_file_id = value; - } - public bool ShouldSerializepublished_file_id() => __pbn__published_file_id != null; - public void Resetpublished_file_id() => __pbn__published_file_id = null; - private ulong? __pbn__published_file_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint app_id - { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; - } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; - - [global::ProtoBuf.ProtoMember(3)] - public int action - { - get => __pbn__action.GetValueOrDefault(); - set => __pbn__action = value; - } - public bool ShouldSerializeaction() => __pbn__action != null; - public void Resetaction() => __pbn__action = null; - private int? __pbn__action; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMSetUserPublishedFileActionResponse : 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(2)] - public int eresult - { - get => __pbn__eresult ?? 2; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private int? __pbn__eresult; - - } + } [global::ProtoBuf.ProtoContract()] public partial class CMsgClientUCMEnumeratePublishedFilesByUserAction : global::ProtoBuf.IExtensible @@ -3785,640 +3326,164 @@ public string account_name_suggestion2 public string account_name_suggestion3 { get => __pbn__account_name_suggestion3 ?? ""; - set => __pbn__account_name_suggestion3 = value; - } - public bool ShouldSerializeaccount_name_suggestion3() => __pbn__account_name_suggestion3 != null; - public void Resetaccount_name_suggestion3() => __pbn__account_name_suggestion3 = null; - private string __pbn__account_name_suggestion3; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUGSGetGlobalStats : 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 gameid - { - get => __pbn__gameid.GetValueOrDefault(); - set => __pbn__gameid = value; - } - public bool ShouldSerializegameid() => __pbn__gameid != null; - public void Resetgameid() => __pbn__gameid = null; - private ulong? __pbn__gameid; - - [global::ProtoBuf.ProtoMember(2)] - public uint history_days_requested - { - get => __pbn__history_days_requested.GetValueOrDefault(); - set => __pbn__history_days_requested = value; - } - public bool ShouldSerializehistory_days_requested() => __pbn__history_days_requested != null; - public void Resethistory_days_requested() => __pbn__history_days_requested = null; - private uint? __pbn__history_days_requested; - - [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public uint time_last_requested - { - get => __pbn__time_last_requested.GetValueOrDefault(); - set => __pbn__time_last_requested = value; - } - public bool ShouldSerializetime_last_requested() => __pbn__time_last_requested != null; - public void Resettime_last_requested() => __pbn__time_last_requested = null; - private uint? __pbn__time_last_requested; - - [global::ProtoBuf.ProtoMember(4)] - public uint first_day_cached - { - get => __pbn__first_day_cached.GetValueOrDefault(); - set => __pbn__first_day_cached = value; - } - public bool ShouldSerializefirst_day_cached() => __pbn__first_day_cached != null; - public void Resetfirst_day_cached() => __pbn__first_day_cached = null; - private uint? __pbn__first_day_cached; - - [global::ProtoBuf.ProtoMember(5)] - public uint days_cached - { - get => __pbn__days_cached.GetValueOrDefault(); - set => __pbn__days_cached = value; - } - public bool ShouldSerializedays_cached() => __pbn__days_cached != null; - public void Resetdays_cached() => __pbn__days_cached = null; - private uint? __pbn__days_cached; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUGSGetGlobalStatsResponse : 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(2)] - public int eresult - { - get => __pbn__eresult ?? 2; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private int? __pbn__eresult; - - [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public uint timestamp - { - get => __pbn__timestamp.GetValueOrDefault(); - set => __pbn__timestamp = value; - } - public bool ShouldSerializetimestamp() => __pbn__timestamp != null; - public void Resettimestamp() => __pbn__timestamp = null; - private uint? __pbn__timestamp; - - [global::ProtoBuf.ProtoMember(3)] - public int day_current - { - get => __pbn__day_current.GetValueOrDefault(); - set => __pbn__day_current = value; - } - public bool ShouldSerializeday_current() => __pbn__day_current != null; - public void Resetday_current() => __pbn__day_current = null; - private int? __pbn__day_current; - - [global::ProtoBuf.ProtoMember(4)] - public global::System.Collections.Generic.List days { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class Day : 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 day_id - { - get => __pbn__day_id.GetValueOrDefault(); - set => __pbn__day_id = value; - } - public bool ShouldSerializeday_id() => __pbn__day_id != null; - public void Resetday_id() => __pbn__day_id = null; - private uint? __pbn__day_id; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List stats { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class Stat : 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 int stat_id - { - get => __pbn__stat_id.GetValueOrDefault(); - set => __pbn__stat_id = value; - } - public bool ShouldSerializestat_id() => __pbn__stat_id != null; - public void Resetstat_id() => __pbn__stat_id = null; - private int? __pbn__stat_id; - - [global::ProtoBuf.ProtoMember(2)] - public long data - { - get => __pbn__data.GetValueOrDefault(); - set => __pbn__data = value; - } - public bool ShouldSerializedata() => __pbn__data != null; - public void Resetdata() => __pbn__data = null; - private long? __pbn__data; - - } - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGameServerData : 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(24)] - public uint revision - { - get => __pbn__revision.GetValueOrDefault(); - set => __pbn__revision = value; - } - public bool ShouldSerializerevision() => __pbn__revision != null; - public void Resetrevision() => __pbn__revision = null; - private uint? __pbn__revision; - - [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong steam_id_gs - { - get => __pbn__steam_id_gs.GetValueOrDefault(); - set => __pbn__steam_id_gs = value; - } - public bool ShouldSerializesteam_id_gs() => __pbn__steam_id_gs != null; - public void Resetsteam_id_gs() => __pbn__steam_id_gs = null; - private ulong? __pbn__steam_id_gs; - - [global::ProtoBuf.ProtoMember(3)] - public uint query_port - { - get => __pbn__query_port.GetValueOrDefault(); - set => __pbn__query_port = value; - } - public bool ShouldSerializequery_port() => __pbn__query_port != null; - public void Resetquery_port() => __pbn__query_port = null; - private uint? __pbn__query_port; - - [global::ProtoBuf.ProtoMember(4)] - public uint game_port - { - get => __pbn__game_port.GetValueOrDefault(); - set => __pbn__game_port = value; - } - public bool ShouldSerializegame_port() => __pbn__game_port != null; - public void Resetgame_port() => __pbn__game_port = null; - private uint? __pbn__game_port; - - [global::ProtoBuf.ProtoMember(5)] - public uint spectator_port - { - get => __pbn__spectator_port.GetValueOrDefault(); - set => __pbn__spectator_port = value; - } - public bool ShouldSerializespectator_port() => __pbn__spectator_port != null; - public void Resetspectator_port() => __pbn__spectator_port = null; - private uint? __pbn__spectator_port; - - [global::ProtoBuf.ProtoMember(22)] - [global::System.ComponentModel.DefaultValue("")] - public string server_name - { - get => __pbn__server_name ?? ""; - set => __pbn__server_name = value; - } - public bool ShouldSerializeserver_name() => __pbn__server_name != null; - public void Resetserver_name() => __pbn__server_name = null; - private string __pbn__server_name; - - [global::ProtoBuf.ProtoMember(29)] - [global::System.ComponentModel.DefaultValue("")] - public string game_description - { - get => __pbn__game_description ?? ""; - set => __pbn__game_description = value; - } - public bool ShouldSerializegame_description() => __pbn__game_description != null; - public void Resetgame_description() => __pbn__game_description = null; - private string __pbn__game_description; - - [global::ProtoBuf.ProtoMember(27)] - [global::System.ComponentModel.DefaultValue("")] - public string spectator_server_name - { - get => __pbn__spectator_server_name ?? ""; - set => __pbn__spectator_server_name = value; - } - public bool ShouldSerializespectator_server_name() => __pbn__spectator_server_name != null; - public void Resetspectator_server_name() => __pbn__spectator_server_name = null; - private string __pbn__spectator_server_name; - - [global::ProtoBuf.ProtoMember(28, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public uint fake_ip - { - get => __pbn__fake_ip.GetValueOrDefault(); - set => __pbn__fake_ip = value; - } - public bool ShouldSerializefake_ip() => __pbn__fake_ip != null; - public void Resetfake_ip() => __pbn__fake_ip = null; - private uint? __pbn__fake_ip; - - [global::ProtoBuf.ProtoMember(26)] - public byte[] sdr_login - { - get => __pbn__sdr_login; - set => __pbn__sdr_login = value; - } - public bool ShouldSerializesdr_login() => __pbn__sdr_login != null; - public void Resetsdr_login() => __pbn__sdr_login = null; - private byte[] __pbn__sdr_login; - - [global::ProtoBuf.ProtoMember(6)] - public uint app_id - { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; - } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; - - [global::ProtoBuf.ProtoMember(7)] - [global::System.ComponentModel.DefaultValue("")] - public string gamedir - { - get => __pbn__gamedir ?? ""; - set => __pbn__gamedir = value; - } - public bool ShouldSerializegamedir() => __pbn__gamedir != null; - public void Resetgamedir() => __pbn__gamedir = null; - private string __pbn__gamedir; - - [global::ProtoBuf.ProtoMember(8)] - [global::System.ComponentModel.DefaultValue("")] - public string version - { - get => __pbn__version ?? ""; - set => __pbn__version = value; - } - public bool ShouldSerializeversion() => __pbn__version != null; - public void Resetversion() => __pbn__version = null; - private string __pbn__version; - - [global::ProtoBuf.ProtoMember(9)] - [global::System.ComponentModel.DefaultValue("")] - public string product - { - get => __pbn__product ?? ""; - set => __pbn__product = value; - } - public bool ShouldSerializeproduct() => __pbn__product != null; - public void Resetproduct() => __pbn__product = null; - private string __pbn__product; - - [global::ProtoBuf.ProtoMember(10)] - [global::System.ComponentModel.DefaultValue("")] - public string region - { - get => __pbn__region ?? ""; - set => __pbn__region = value; - } - public bool ShouldSerializeregion() => __pbn__region != null; - public void Resetregion() => __pbn__region = null; - private string __pbn__region; - - [global::ProtoBuf.ProtoMember(11)] - public global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(12)] - public uint max_players - { - get => __pbn__max_players.GetValueOrDefault(); - set => __pbn__max_players = value; - } - public bool ShouldSerializemax_players() => __pbn__max_players != null; - public void Resetmax_players() => __pbn__max_players = null; - private uint? __pbn__max_players; - - [global::ProtoBuf.ProtoMember(13)] - public uint bot_count - { - get => __pbn__bot_count.GetValueOrDefault(); - set => __pbn__bot_count = value; - } - public bool ShouldSerializebot_count() => __pbn__bot_count != null; - public void Resetbot_count() => __pbn__bot_count = null; - private uint? __pbn__bot_count; - - [global::ProtoBuf.ProtoMember(14)] - public bool password - { - get => __pbn__password.GetValueOrDefault(); - set => __pbn__password = value; - } - public bool ShouldSerializepassword() => __pbn__password != null; - public void Resetpassword() => __pbn__password = null; - private bool? __pbn__password; - - [global::ProtoBuf.ProtoMember(15)] - public bool secure - { - get => __pbn__secure.GetValueOrDefault(); - set => __pbn__secure = value; - } - public bool ShouldSerializesecure() => __pbn__secure != null; - public void Resetsecure() => __pbn__secure = null; - private bool? __pbn__secure; - - [global::ProtoBuf.ProtoMember(16)] - public bool dedicated - { - get => __pbn__dedicated.GetValueOrDefault(); - set => __pbn__dedicated = value; - } - public bool ShouldSerializededicated() => __pbn__dedicated != null; - public void Resetdedicated() => __pbn__dedicated = null; - private bool? __pbn__dedicated; - - [global::ProtoBuf.ProtoMember(17)] - [global::System.ComponentModel.DefaultValue("")] - public string os - { - get => __pbn__os ?? ""; - set => __pbn__os = value; - } - public bool ShouldSerializeos() => __pbn__os != null; - public void Resetos() => __pbn__os = null; - private string __pbn__os; - - [global::ProtoBuf.ProtoMember(18)] - [global::System.ComponentModel.DefaultValue("")] - public string game_data - { - get => __pbn__game_data ?? ""; - set => __pbn__game_data = value; - } - public bool ShouldSerializegame_data() => __pbn__game_data != null; - public void Resetgame_data() => __pbn__game_data = null; - private string __pbn__game_data; - - [global::ProtoBuf.ProtoMember(20)] - [global::System.ComponentModel.DefaultValue("")] - public string game_type - { - get => __pbn__game_type ?? ""; - set => __pbn__game_type = value; - } - public bool ShouldSerializegame_type() => __pbn__game_type != null; - public void Resetgame_type() => __pbn__game_type = null; - private string __pbn__game_type; - - [global::ProtoBuf.ProtoMember(21)] - [global::System.ComponentModel.DefaultValue("")] - public string map - { - get => __pbn__map ?? ""; - set => __pbn__map = value; - } - public bool ShouldSerializemap() => __pbn__map != null; - public void Resetmap() => __pbn__map = null; - private string __pbn__map; - - [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, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong steam_id - { - get => __pbn__steam_id.GetValueOrDefault(); - set => __pbn__steam_id = value; - } - public bool ShouldSerializesteam_id() => __pbn__steam_id != null; - public void Resetsteam_id() => __pbn__steam_id = null; - private ulong? __pbn__steam_id; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGameServerRemove : 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 legacy_steam_id_gs - { - get => __pbn__legacy_steam_id_gs.GetValueOrDefault(); - set => __pbn__legacy_steam_id_gs = value; - } - public bool ShouldSerializelegacy_steam_id_gs() => __pbn__legacy_steam_id_gs != null; - public void Resetlegacy_steam_id_gs() => __pbn__legacy_steam_id_gs = null; - private ulong? __pbn__legacy_steam_id_gs; - - [global::ProtoBuf.ProtoMember(3)] - public uint legacy_query_port - { - get => __pbn__legacy_query_port.GetValueOrDefault(); - set => __pbn__legacy_query_port = value; + set => __pbn__account_name_suggestion3 = value; } - public bool ShouldSerializelegacy_query_port() => __pbn__legacy_query_port != null; - public void Resetlegacy_query_port() => __pbn__legacy_query_port = null; - private uint? __pbn__legacy_query_port; + public bool ShouldSerializeaccount_name_suggestion3() => __pbn__account_name_suggestion3 != null; + public void Resetaccount_name_suggestion3() => __pbn__account_name_suggestion3 = null; + private string __pbn__account_name_suggestion3; } [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientGMSServerQuery : global::ProtoBuf.IExtensible + public partial class CMsgClientUGSGetGlobalStats : 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 app_id + public ulong gameid { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; + get => __pbn__gameid.GetValueOrDefault(); + set => __pbn__gameid = value; } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; + public bool ShouldSerializegameid() => __pbn__gameid != null; + public void Resetgameid() => __pbn__gameid = null; + private ulong? __pbn__gameid; [global::ProtoBuf.ProtoMember(2)] - public uint geo_location_ip + public uint history_days_requested { - get => __pbn__geo_location_ip.GetValueOrDefault(); - set => __pbn__geo_location_ip = value; + get => __pbn__history_days_requested.GetValueOrDefault(); + set => __pbn__history_days_requested = value; } - public bool ShouldSerializegeo_location_ip() => __pbn__geo_location_ip != null; - public void Resetgeo_location_ip() => __pbn__geo_location_ip = null; - private uint? __pbn__geo_location_ip; + public bool ShouldSerializehistory_days_requested() => __pbn__history_days_requested != null; + public void Resethistory_days_requested() => __pbn__history_days_requested = null; + private uint? __pbn__history_days_requested; - [global::ProtoBuf.ProtoMember(3)] - public uint region_code + [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public uint time_last_requested { - get => __pbn__region_code.GetValueOrDefault(); - set => __pbn__region_code = value; + get => __pbn__time_last_requested.GetValueOrDefault(); + set => __pbn__time_last_requested = value; } - public bool ShouldSerializeregion_code() => __pbn__region_code != null; - public void Resetregion_code() => __pbn__region_code = null; - private uint? __pbn__region_code; + public bool ShouldSerializetime_last_requested() => __pbn__time_last_requested != null; + public void Resettime_last_requested() => __pbn__time_last_requested = null; + private uint? __pbn__time_last_requested; [global::ProtoBuf.ProtoMember(4)] - [global::System.ComponentModel.DefaultValue("")] - public string filter_text + public uint first_day_cached { - get => __pbn__filter_text ?? ""; - set => __pbn__filter_text = value; + get => __pbn__first_day_cached.GetValueOrDefault(); + set => __pbn__first_day_cached = value; } - public bool ShouldSerializefilter_text() => __pbn__filter_text != null; - public void Resetfilter_text() => __pbn__filter_text = null; - private string __pbn__filter_text; + public bool ShouldSerializefirst_day_cached() => __pbn__first_day_cached != null; + public void Resetfirst_day_cached() => __pbn__first_day_cached = null; + private uint? __pbn__first_day_cached; [global::ProtoBuf.ProtoMember(5)] - public uint max_servers + public uint days_cached { - get => __pbn__max_servers.GetValueOrDefault(); - set => __pbn__max_servers = value; + get => __pbn__days_cached.GetValueOrDefault(); + set => __pbn__days_cached = value; } - public bool ShouldSerializemax_servers() => __pbn__max_servers != null; - public void Resetmax_servers() => __pbn__max_servers = null; - private uint? __pbn__max_servers; + public bool ShouldSerializedays_cached() => __pbn__days_cached != null; + public void Resetdays_cached() => __pbn__days_cached = null; + private uint? __pbn__days_cached; } [global::ProtoBuf.ProtoContract()] - public partial class CMsgGMSClientServerQueryResponse : global::ProtoBuf.IExtensible + public partial class CMsgClientUGSGetGlobalStatsResponse : 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 servers { get; } = new global::System.Collections.Generic.List(); + [global::System.ComponentModel.DefaultValue(2)] + public int eresult + { + get => __pbn__eresult ?? 2; + set => __pbn__eresult = value; + } + public bool ShouldSerializeeresult() => __pbn__eresult != null; + public void Reseteresult() => __pbn__eresult = null; + private int? __pbn__eresult; - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string error + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public uint timestamp + { + get => __pbn__timestamp.GetValueOrDefault(); + set => __pbn__timestamp = value; + } + public bool ShouldSerializetimestamp() => __pbn__timestamp != null; + public void Resettimestamp() => __pbn__timestamp = null; + private uint? __pbn__timestamp; + + [global::ProtoBuf.ProtoMember(3)] + public int day_current { - get => __pbn__error ?? ""; - set => __pbn__error = value; + get => __pbn__day_current.GetValueOrDefault(); + set => __pbn__day_current = value; } - public bool ShouldSerializeerror() => __pbn__error != null; - public void Reseterror() => __pbn__error = null; - private string __pbn__error; + public bool ShouldSerializeday_current() => __pbn__day_current != null; + public void Resetday_current() => __pbn__day_current = null; + private int? __pbn__day_current; + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List days { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoContract()] - public partial class Server : global::ProtoBuf.IExtensible + public partial class Day : 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 deprecated_server_ip + public uint day_id { - get => __pbn__deprecated_server_ip.GetValueOrDefault(); - set => __pbn__deprecated_server_ip = value; + get => __pbn__day_id.GetValueOrDefault(); + set => __pbn__day_id = value; } - public bool ShouldSerializedeprecated_server_ip() => __pbn__deprecated_server_ip != null; - public void Resetdeprecated_server_ip() => __pbn__deprecated_server_ip = null; - private uint? __pbn__deprecated_server_ip; + public bool ShouldSerializeday_id() => __pbn__day_id != null; + public void Resetday_id() => __pbn__day_id = null; + private uint? __pbn__day_id; [global::ProtoBuf.ProtoMember(2)] - public uint query_port - { - get => __pbn__query_port.GetValueOrDefault(); - set => __pbn__query_port = value; - } - public bool ShouldSerializequery_port() => __pbn__query_port != null; - public void Resetquery_port() => __pbn__query_port = null; - private uint? __pbn__query_port; + public global::System.Collections.Generic.List stats { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(3)] - public uint auth_players + [global::ProtoBuf.ProtoContract()] + public partial class Stat : global::ProtoBuf.IExtensible { - get => __pbn__auth_players.GetValueOrDefault(); - set => __pbn__auth_players = value; - } - public bool ShouldSerializeauth_players() => __pbn__auth_players != null; - public void Resetauth_players() => __pbn__auth_players = null; - private uint? __pbn__auth_players; - - [global::ProtoBuf.ProtoMember(4)] - public CMsgIPAddress server_ip { get; set; } - - } - - } + 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 partial class CMsgGameServerOutOfDate : 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 int stat_id + { + get => __pbn__stat_id.GetValueOrDefault(); + set => __pbn__stat_id = value; + } + public bool ShouldSerializestat_id() => __pbn__stat_id != null; + public void Resetstat_id() => __pbn__stat_id = null; + private int? __pbn__stat_id; - [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong steam_id_gs - { - get => __pbn__steam_id_gs.GetValueOrDefault(); - set => __pbn__steam_id_gs = value; - } - public bool ShouldSerializesteam_id_gs() => __pbn__steam_id_gs != null; - public void Resetsteam_id_gs() => __pbn__steam_id_gs = null; - private ulong? __pbn__steam_id_gs; + [global::ProtoBuf.ProtoMember(2)] + public long data + { + get => __pbn__data.GetValueOrDefault(); + set => __pbn__data = value; + } + public bool ShouldSerializedata() => __pbn__data != null; + public void Resetdata() => __pbn__data = null; + private long? __pbn__data; - [global::ProtoBuf.ProtoMember(2)] - public bool reject - { - get => __pbn__reject.GetValueOrDefault(); - set => __pbn__reject = value; - } - public bool ShouldSerializereject() => __pbn__reject != null; - public void Resetreject() => __pbn__reject = null; - private bool? __pbn__reject; + } - [global::ProtoBuf.ProtoMember(3)] - [global::System.ComponentModel.DefaultValue("")] - public string message - { - get => __pbn__message ?? ""; - set => __pbn__message = value; } - public bool ShouldSerializemessage() => __pbn__message != null; - public void Resetmessage() => __pbn__message = null; - private string __pbn__message; } @@ -4613,144 +3678,6 @@ public byte[] screenshot } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSAssociateWithClan : 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 steam_id_clan - { - get => __pbn__steam_id_clan.GetValueOrDefault(); - set => __pbn__steam_id_clan = value; - } - public bool ShouldSerializesteam_id_clan() => __pbn__steam_id_clan != null; - public void Resetsteam_id_clan() => __pbn__steam_id_clan = null; - private ulong? __pbn__steam_id_clan; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSAssociateWithClanResponse : 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 steam_id_clan - { - get => __pbn__steam_id_clan.GetValueOrDefault(); - set => __pbn__steam_id_clan = value; - } - public bool ShouldSerializesteam_id_clan() => __pbn__steam_id_clan != null; - public void Resetsteam_id_clan() => __pbn__steam_id_clan = null; - private ulong? __pbn__steam_id_clan; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue(2)] - public uint eresult - { - get => __pbn__eresult ?? 2; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private uint? __pbn__eresult; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSComputeNewPlayerCompatibility : 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 steam_id_candidate - { - get => __pbn__steam_id_candidate.GetValueOrDefault(); - set => __pbn__steam_id_candidate = value; - } - public bool ShouldSerializesteam_id_candidate() => __pbn__steam_id_candidate != null; - public void Resetsteam_id_candidate() => __pbn__steam_id_candidate = null; - private ulong? __pbn__steam_id_candidate; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGSComputeNewPlayerCompatibilityResponse : 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 steam_id_candidate - { - get => __pbn__steam_id_candidate.GetValueOrDefault(); - set => __pbn__steam_id_candidate = value; - } - public bool ShouldSerializesteam_id_candidate() => __pbn__steam_id_candidate != null; - public void Resetsteam_id_candidate() => __pbn__steam_id_candidate = null; - private ulong? __pbn__steam_id_candidate; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue(2)] - public uint eresult - { - get => __pbn__eresult ?? 2; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private uint? __pbn__eresult; - - [global::ProtoBuf.ProtoMember(3)] - public bool is_clan_member - { - get => __pbn__is_clan_member.GetValueOrDefault(); - set => __pbn__is_clan_member = value; - } - public bool ShouldSerializeis_clan_member() => __pbn__is_clan_member != null; - public void Resetis_clan_member() => __pbn__is_clan_member = null; - private bool? __pbn__is_clan_member; - - [global::ProtoBuf.ProtoMember(4)] - public int ct_dont_like_you - { - get => __pbn__ct_dont_like_you.GetValueOrDefault(); - set => __pbn__ct_dont_like_you = value; - } - public bool ShouldSerializect_dont_like_you() => __pbn__ct_dont_like_you != null; - public void Resetct_dont_like_you() => __pbn__ct_dont_like_you = null; - private int? __pbn__ct_dont_like_you; - - [global::ProtoBuf.ProtoMember(5)] - public int ct_you_dont_like - { - get => __pbn__ct_you_dont_like.GetValueOrDefault(); - set => __pbn__ct_you_dont_like = value; - } - public bool ShouldSerializect_you_dont_like() => __pbn__ct_you_dont_like != null; - public void Resetct_you_dont_like() => __pbn__ct_you_dont_like = null; - private int? __pbn__ct_you_dont_like; - - [global::ProtoBuf.ProtoMember(6)] - public int ct_clanmembers_dont_like_you - { - get => __pbn__ct_clanmembers_dont_like_you.GetValueOrDefault(); - set => __pbn__ct_clanmembers_dont_like_you = value; - } - public bool ShouldSerializect_clanmembers_dont_like_you() => __pbn__ct_clanmembers_dont_like_you != null; - public void Resetct_clanmembers_dont_like_you() => __pbn__ct_clanmembers_dont_like_you = null; - private int? __pbn__ct_clanmembers_dont_like_you; - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientSentLogs : global::ProtoBuf.IExtensible { @@ -6051,77 +4978,6 @@ public int vote } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGameServerPingSample : 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 uint my_ip - { - get => __pbn__my_ip.GetValueOrDefault(); - set => __pbn__my_ip = value; - } - public bool ShouldSerializemy_ip() => __pbn__my_ip != null; - public void Resetmy_ip() => __pbn__my_ip = null; - private uint? __pbn__my_ip; - - [global::ProtoBuf.ProtoMember(2)] - public int gs_app_id - { - get => __pbn__gs_app_id.GetValueOrDefault(); - set => __pbn__gs_app_id = value; - } - public bool ShouldSerializegs_app_id() => __pbn__gs_app_id != null; - public void Resetgs_app_id() => __pbn__gs_app_id = null; - private int? __pbn__gs_app_id; - - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List gs_samples { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class Sample : 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 uint ip - { - get => __pbn__ip.GetValueOrDefault(); - set => __pbn__ip = value; - } - public bool ShouldSerializeip() => __pbn__ip != null; - public void Resetip() => __pbn__ip = null; - private uint? __pbn__ip; - - [global::ProtoBuf.ProtoMember(2)] - public uint avg_ping_ms - { - get => __pbn__avg_ping_ms.GetValueOrDefault(); - set => __pbn__avg_ping_ms = value; - } - public bool ShouldSerializeavg_ping_ms() => __pbn__avg_ping_ms != null; - public void Resetavg_ping_ms() => __pbn__avg_ping_ms = null; - private uint? __pbn__avg_ping_ms; - - [global::ProtoBuf.ProtoMember(3)] - public uint stddev_ping_ms_x10 - { - get => __pbn__stddev_ping_ms_x10.GetValueOrDefault(); - set => __pbn__stddev_ping_ms_x10 = value; - } - public bool ShouldSerializestddev_ping_ms_x10() => __pbn__stddev_ping_ms_x10 != null; - public void Resetstddev_ping_ms_x10() => __pbn__stddev_ping_ms_x10 = null; - private uint? __pbn__stddev_ping_ms_x10; - - } - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgFSGetFollowerCount : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerFriends.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerFriends.cs index 8eb00d36a..357e95728 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerFriends.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerFriends.cs @@ -972,6 +972,36 @@ public string watching_broadcast_title public void Resetwatching_broadcast_title() => __pbn__watching_broadcast_title = null; private string __pbn__watching_broadcast_title; + [global::ProtoBuf.ProtoMember(78)] + public bool is_community_banned + { + get => __pbn__is_community_banned.GetValueOrDefault(); + set => __pbn__is_community_banned = value; + } + public bool ShouldSerializeis_community_banned() => __pbn__is_community_banned != null; + public void Resetis_community_banned() => __pbn__is_community_banned = null; + private bool? __pbn__is_community_banned; + + [global::ProtoBuf.ProtoMember(79)] + public bool player_name_pending_review + { + get => __pbn__player_name_pending_review.GetValueOrDefault(); + set => __pbn__player_name_pending_review = value; + } + public bool ShouldSerializeplayer_name_pending_review() => __pbn__player_name_pending_review != null; + public void Resetplayer_name_pending_review() => __pbn__player_name_pending_review = null; + private bool? __pbn__player_name_pending_review; + + [global::ProtoBuf.ProtoMember(80)] + public bool avatar_pending_review + { + get => __pbn__avatar_pending_review.GetValueOrDefault(); + set => __pbn__avatar_pending_review = value; + } + public bool ShouldSerializeavatar_pending_review() => __pbn__avatar_pending_review != null; + public void Resetavatar_pending_review() => __pbn__avatar_pending_review = null; + private bool? __pbn__avatar_pending_review; + [global::ProtoBuf.ProtoContract()] public partial class ClanData : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerGameServers.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerGameServers.cs new file mode 100644 index 000000000..c21a98c2f --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerGameServers.cs @@ -0,0 +1,1114 @@ +// +// This file was generated by a tool; you should avoid making direct changes. +// Consider using 'partial classes' to extend these types +// Input: steammessages_clientserver_gameservers.proto +// + +#region Designer generated code +#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +namespace SteamKit2.Internal +{ + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSServerType : 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 app_id_served + { + get => __pbn__app_id_served.GetValueOrDefault(); + set => __pbn__app_id_served = value; + } + public bool ShouldSerializeapp_id_served() => __pbn__app_id_served != null; + public void Resetapp_id_served() => __pbn__app_id_served = null; + private uint? __pbn__app_id_served; + + [global::ProtoBuf.ProtoMember(2)] + public uint flags + { + get => __pbn__flags.GetValueOrDefault(); + set => __pbn__flags = value; + } + public bool ShouldSerializeflags() => __pbn__flags != null; + public void Resetflags() => __pbn__flags = null; + private uint? __pbn__flags; + + [global::ProtoBuf.ProtoMember(3)] + public uint deprecated_game_ip_address + { + get => __pbn__deprecated_game_ip_address.GetValueOrDefault(); + set => __pbn__deprecated_game_ip_address = value; + } + public bool ShouldSerializedeprecated_game_ip_address() => __pbn__deprecated_game_ip_address != null; + public void Resetdeprecated_game_ip_address() => __pbn__deprecated_game_ip_address = null; + private uint? __pbn__deprecated_game_ip_address; + + [global::ProtoBuf.ProtoMember(4)] + public uint game_port + { + get => __pbn__game_port.GetValueOrDefault(); + set => __pbn__game_port = value; + } + public bool ShouldSerializegame_port() => __pbn__game_port != null; + public void Resetgame_port() => __pbn__game_port = null; + private uint? __pbn__game_port; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string game_dir + { + get => __pbn__game_dir ?? ""; + set => __pbn__game_dir = value; + } + public bool ShouldSerializegame_dir() => __pbn__game_dir != null; + public void Resetgame_dir() => __pbn__game_dir = null; + private string __pbn__game_dir; + + [global::ProtoBuf.ProtoMember(6)] + [global::System.ComponentModel.DefaultValue("")] + public string game_version + { + get => __pbn__game_version ?? ""; + set => __pbn__game_version = value; + } + public bool ShouldSerializegame_version() => __pbn__game_version != null; + public void Resetgame_version() => __pbn__game_version = null; + private string __pbn__game_version; + + [global::ProtoBuf.ProtoMember(7)] + public uint game_query_port + { + get => __pbn__game_query_port.GetValueOrDefault(); + set => __pbn__game_query_port = value; + } + public bool ShouldSerializegame_query_port() => __pbn__game_query_port != null; + public void Resetgame_query_port() => __pbn__game_query_port = null; + private uint? __pbn__game_query_port; + + [global::ProtoBuf.ProtoMember(8)] + public byte[] sdr_logon + { + get => __pbn__sdr_logon; + set => __pbn__sdr_logon = value; + } + public bool ShouldSerializesdr_logon() => __pbn__sdr_logon != null; + public void Resetsdr_logon() => __pbn__sdr_logon = null; + private byte[] __pbn__sdr_logon; + + [global::ProtoBuf.ProtoMember(9, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public uint fake_ip + { + get => __pbn__fake_ip.GetValueOrDefault(); + set => __pbn__fake_ip = value; + } + public bool ShouldSerializefake_ip() => __pbn__fake_ip != null; + public void Resetfake_ip() => __pbn__fake_ip = null; + private uint? __pbn__fake_ip; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSStatusReply : 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 bool is_secure + { + get => __pbn__is_secure.GetValueOrDefault(); + set => __pbn__is_secure = value; + } + public bool ShouldSerializeis_secure() => __pbn__is_secure != null; + public void Resetis_secure() => __pbn__is_secure = null; + private bool? __pbn__is_secure; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSPlayerList : 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 players { get; } = new global::System.Collections.Generic.List(); + + [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 ulong steam_id + { + get => __pbn__steam_id.GetValueOrDefault(); + set => __pbn__steam_id = value; + } + public bool ShouldSerializesteam_id() => __pbn__steam_id != null; + public void Resetsteam_id() => __pbn__steam_id = null; + private ulong? __pbn__steam_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint deprecated_public_ip + { + get => __pbn__deprecated_public_ip.GetValueOrDefault(); + set => __pbn__deprecated_public_ip = value; + } + public bool ShouldSerializedeprecated_public_ip() => __pbn__deprecated_public_ip != null; + public void Resetdeprecated_public_ip() => __pbn__deprecated_public_ip = null; + private uint? __pbn__deprecated_public_ip; + + [global::ProtoBuf.ProtoMember(3)] + public byte[] token + { + get => __pbn__token; + set => __pbn__token = value; + } + public bool ShouldSerializetoken() => __pbn__token != null; + public void Resettoken() => __pbn__token = null; + private byte[] __pbn__token; + + [global::ProtoBuf.ProtoMember(4)] + public CMsgIPAddress public_ip { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSUserPlaying : 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 steam_id + { + get => __pbn__steam_id.GetValueOrDefault(); + set => __pbn__steam_id = value; + } + public bool ShouldSerializesteam_id() => __pbn__steam_id != null; + public void Resetsteam_id() => __pbn__steam_id = null; + private ulong? __pbn__steam_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint deprecated_public_ip + { + get => __pbn__deprecated_public_ip.GetValueOrDefault(); + set => __pbn__deprecated_public_ip = value; + } + public bool ShouldSerializedeprecated_public_ip() => __pbn__deprecated_public_ip != null; + public void Resetdeprecated_public_ip() => __pbn__deprecated_public_ip = null; + private uint? __pbn__deprecated_public_ip; + + [global::ProtoBuf.ProtoMember(3)] + public byte[] token + { + get => __pbn__token; + set => __pbn__token = value; + } + public bool ShouldSerializetoken() => __pbn__token != null; + public void Resettoken() => __pbn__token = null; + private byte[] __pbn__token; + + [global::ProtoBuf.ProtoMember(4)] + public CMsgIPAddress public_ip { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSDisconnectNotice : 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 steam_id + { + get => __pbn__steam_id.GetValueOrDefault(); + set => __pbn__steam_id = value; + } + public bool ShouldSerializesteam_id() => __pbn__steam_id != null; + public void Resetsteam_id() => __pbn__steam_id = null; + private ulong? __pbn__steam_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameServerData : 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(24)] + public uint revision + { + get => __pbn__revision.GetValueOrDefault(); + set => __pbn__revision = value; + } + public bool ShouldSerializerevision() => __pbn__revision != null; + public void Resetrevision() => __pbn__revision = null; + private uint? __pbn__revision; + + [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steam_id_gs + { + get => __pbn__steam_id_gs.GetValueOrDefault(); + set => __pbn__steam_id_gs = value; + } + public bool ShouldSerializesteam_id_gs() => __pbn__steam_id_gs != null; + public void Resetsteam_id_gs() => __pbn__steam_id_gs = null; + private ulong? __pbn__steam_id_gs; + + [global::ProtoBuf.ProtoMember(3)] + public uint query_port + { + get => __pbn__query_port.GetValueOrDefault(); + set => __pbn__query_port = value; + } + public bool ShouldSerializequery_port() => __pbn__query_port != null; + public void Resetquery_port() => __pbn__query_port = null; + private uint? __pbn__query_port; + + [global::ProtoBuf.ProtoMember(4)] + public uint game_port + { + get => __pbn__game_port.GetValueOrDefault(); + set => __pbn__game_port = value; + } + public bool ShouldSerializegame_port() => __pbn__game_port != null; + public void Resetgame_port() => __pbn__game_port = null; + private uint? __pbn__game_port; + + [global::ProtoBuf.ProtoMember(5)] + public uint spectator_port + { + get => __pbn__spectator_port.GetValueOrDefault(); + set => __pbn__spectator_port = value; + } + public bool ShouldSerializespectator_port() => __pbn__spectator_port != null; + public void Resetspectator_port() => __pbn__spectator_port = null; + private uint? __pbn__spectator_port; + + [global::ProtoBuf.ProtoMember(22)] + [global::System.ComponentModel.DefaultValue("")] + public string server_name + { + get => __pbn__server_name ?? ""; + set => __pbn__server_name = value; + } + public bool ShouldSerializeserver_name() => __pbn__server_name != null; + public void Resetserver_name() => __pbn__server_name = null; + private string __pbn__server_name; + + [global::ProtoBuf.ProtoMember(29)] + [global::System.ComponentModel.DefaultValue("")] + public string game_description + { + get => __pbn__game_description ?? ""; + set => __pbn__game_description = value; + } + public bool ShouldSerializegame_description() => __pbn__game_description != null; + public void Resetgame_description() => __pbn__game_description = null; + private string __pbn__game_description; + + [global::ProtoBuf.ProtoMember(27)] + [global::System.ComponentModel.DefaultValue("")] + public string spectator_server_name + { + get => __pbn__spectator_server_name ?? ""; + set => __pbn__spectator_server_name = value; + } + public bool ShouldSerializespectator_server_name() => __pbn__spectator_server_name != null; + public void Resetspectator_server_name() => __pbn__spectator_server_name = null; + private string __pbn__spectator_server_name; + + [global::ProtoBuf.ProtoMember(28, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public uint fake_ip + { + get => __pbn__fake_ip.GetValueOrDefault(); + set => __pbn__fake_ip = value; + } + public bool ShouldSerializefake_ip() => __pbn__fake_ip != null; + public void Resetfake_ip() => __pbn__fake_ip = null; + private uint? __pbn__fake_ip; + + [global::ProtoBuf.ProtoMember(6)] + public uint app_id + { + get => __pbn__app_id.GetValueOrDefault(); + set => __pbn__app_id = value; + } + public bool ShouldSerializeapp_id() => __pbn__app_id != null; + public void Resetapp_id() => __pbn__app_id = null; + private uint? __pbn__app_id; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string gamedir + { + get => __pbn__gamedir ?? ""; + set => __pbn__gamedir = value; + } + public bool ShouldSerializegamedir() => __pbn__gamedir != null; + public void Resetgamedir() => __pbn__gamedir = null; + private string __pbn__gamedir; + + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue("")] + public string version + { + get => __pbn__version ?? ""; + set => __pbn__version = value; + } + public bool ShouldSerializeversion() => __pbn__version != null; + public void Resetversion() => __pbn__version = null; + private string __pbn__version; + + [global::ProtoBuf.ProtoMember(9)] + [global::System.ComponentModel.DefaultValue("")] + public string product + { + get => __pbn__product ?? ""; + set => __pbn__product = value; + } + public bool ShouldSerializeproduct() => __pbn__product != null; + public void Resetproduct() => __pbn__product = null; + private string __pbn__product; + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] + public string region + { + get => __pbn__region ?? ""; + set => __pbn__region = value; + } + public bool ShouldSerializeregion() => __pbn__region != null; + public void Resetregion() => __pbn__region = null; + private string __pbn__region; + + [global::ProtoBuf.ProtoMember(11)] + public global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(12)] + public uint max_players + { + get => __pbn__max_players.GetValueOrDefault(); + set => __pbn__max_players = value; + } + public bool ShouldSerializemax_players() => __pbn__max_players != null; + public void Resetmax_players() => __pbn__max_players = null; + private uint? __pbn__max_players; + + [global::ProtoBuf.ProtoMember(13)] + public uint bot_count + { + get => __pbn__bot_count.GetValueOrDefault(); + set => __pbn__bot_count = value; + } + public bool ShouldSerializebot_count() => __pbn__bot_count != null; + public void Resetbot_count() => __pbn__bot_count = null; + private uint? __pbn__bot_count; + + [global::ProtoBuf.ProtoMember(14)] + public bool password + { + get => __pbn__password.GetValueOrDefault(); + set => __pbn__password = value; + } + public bool ShouldSerializepassword() => __pbn__password != null; + public void Resetpassword() => __pbn__password = null; + private bool? __pbn__password; + + [global::ProtoBuf.ProtoMember(15)] + public bool secure + { + get => __pbn__secure.GetValueOrDefault(); + set => __pbn__secure = value; + } + public bool ShouldSerializesecure() => __pbn__secure != null; + public void Resetsecure() => __pbn__secure = null; + private bool? __pbn__secure; + + [global::ProtoBuf.ProtoMember(16)] + public bool dedicated + { + get => __pbn__dedicated.GetValueOrDefault(); + set => __pbn__dedicated = value; + } + public bool ShouldSerializededicated() => __pbn__dedicated != null; + public void Resetdedicated() => __pbn__dedicated = null; + private bool? __pbn__dedicated; + + [global::ProtoBuf.ProtoMember(17)] + [global::System.ComponentModel.DefaultValue("")] + public string os + { + get => __pbn__os ?? ""; + set => __pbn__os = value; + } + public bool ShouldSerializeos() => __pbn__os != null; + public void Resetos() => __pbn__os = null; + private string __pbn__os; + + [global::ProtoBuf.ProtoMember(18)] + [global::System.ComponentModel.DefaultValue("")] + public string game_data + { + get => __pbn__game_data ?? ""; + set => __pbn__game_data = value; + } + public bool ShouldSerializegame_data() => __pbn__game_data != null; + public void Resetgame_data() => __pbn__game_data = null; + private string __pbn__game_data; + + [global::ProtoBuf.ProtoMember(20)] + [global::System.ComponentModel.DefaultValue("")] + public string game_type + { + get => __pbn__game_type ?? ""; + set => __pbn__game_type = value; + } + public bool ShouldSerializegame_type() => __pbn__game_type != null; + public void Resetgame_type() => __pbn__game_type = null; + private string __pbn__game_type; + + [global::ProtoBuf.ProtoMember(21)] + [global::System.ComponentModel.DefaultValue("")] + public string map + { + get => __pbn__map ?? ""; + set => __pbn__map = value; + } + public bool ShouldSerializemap() => __pbn__map != null; + public void Resetmap() => __pbn__map = null; + private string __pbn__map; + + [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, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steam_id + { + get => __pbn__steam_id.GetValueOrDefault(); + set => __pbn__steam_id = value; + } + public bool ShouldSerializesteam_id() => __pbn__steam_id != null; + public void Resetsteam_id() => __pbn__steam_id = null; + private ulong? __pbn__steam_id; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameServerRemove : 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 legacy_steam_id_gs + { + get => __pbn__legacy_steam_id_gs.GetValueOrDefault(); + set => __pbn__legacy_steam_id_gs = value; + } + public bool ShouldSerializelegacy_steam_id_gs() => __pbn__legacy_steam_id_gs != null; + public void Resetlegacy_steam_id_gs() => __pbn__legacy_steam_id_gs = null; + private ulong? __pbn__legacy_steam_id_gs; + + [global::ProtoBuf.ProtoMember(3)] + public uint legacy_query_port + { + get => __pbn__legacy_query_port.GetValueOrDefault(); + set => __pbn__legacy_query_port = value; + } + public bool ShouldSerializelegacy_query_port() => __pbn__legacy_query_port != null; + public void Resetlegacy_query_port() => __pbn__legacy_query_port = null; + private uint? __pbn__legacy_query_port; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientGMSServerQuery : 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 app_id + { + get => __pbn__app_id.GetValueOrDefault(); + set => __pbn__app_id = value; + } + public bool ShouldSerializeapp_id() => __pbn__app_id != null; + public void Resetapp_id() => __pbn__app_id = null; + private uint? __pbn__app_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint geo_location_ip + { + get => __pbn__geo_location_ip.GetValueOrDefault(); + set => __pbn__geo_location_ip = value; + } + public bool ShouldSerializegeo_location_ip() => __pbn__geo_location_ip != null; + public void Resetgeo_location_ip() => __pbn__geo_location_ip = null; + private uint? __pbn__geo_location_ip; + + [global::ProtoBuf.ProtoMember(3)] + public uint region_code + { + get => __pbn__region_code.GetValueOrDefault(); + set => __pbn__region_code = value; + } + public bool ShouldSerializeregion_code() => __pbn__region_code != null; + public void Resetregion_code() => __pbn__region_code = null; + private uint? __pbn__region_code; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string filter_text + { + get => __pbn__filter_text ?? ""; + set => __pbn__filter_text = value; + } + public bool ShouldSerializefilter_text() => __pbn__filter_text != null; + public void Resetfilter_text() => __pbn__filter_text = null; + private string __pbn__filter_text; + + [global::ProtoBuf.ProtoMember(5)] + public uint max_servers + { + get => __pbn__max_servers.GetValueOrDefault(); + set => __pbn__max_servers = value; + } + public bool ShouldSerializemax_servers() => __pbn__max_servers != null; + public void Resetmax_servers() => __pbn__max_servers = null; + private uint? __pbn__max_servers; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGMSClientServerQueryResponse : 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 servers { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string error + { + get => __pbn__error ?? ""; + set => __pbn__error = value; + } + public bool ShouldSerializeerror() => __pbn__error != null; + public void Reseterror() => __pbn__error = null; + private string __pbn__error; + + [global::ProtoBuf.ProtoMember(3)] + public Server default_server_data { get; set; } + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List server_strings { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Server : 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 deprecated_server_ip + { + get => __pbn__deprecated_server_ip.GetValueOrDefault(); + set => __pbn__deprecated_server_ip = value; + } + public bool ShouldSerializedeprecated_server_ip() => __pbn__deprecated_server_ip != null; + public void Resetdeprecated_server_ip() => __pbn__deprecated_server_ip = null; + private uint? __pbn__deprecated_server_ip; + + [global::ProtoBuf.ProtoMember(2)] + public uint query_port + { + get => __pbn__query_port.GetValueOrDefault(); + set => __pbn__query_port = value; + } + public bool ShouldSerializequery_port() => __pbn__query_port != null; + public void Resetquery_port() => __pbn__query_port = null; + private uint? __pbn__query_port; + + [global::ProtoBuf.ProtoMember(3)] + public uint auth_players + { + get => __pbn__auth_players.GetValueOrDefault(); + set => __pbn__auth_players = value; + } + public bool ShouldSerializeauth_players() => __pbn__auth_players != null; + public void Resetauth_players() => __pbn__auth_players = null; + private uint? __pbn__auth_players; + + [global::ProtoBuf.ProtoMember(4)] + public CMsgIPAddress server_ip { get; set; } + + [global::ProtoBuf.ProtoMember(6, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steam_id + { + get => __pbn__steam_id.GetValueOrDefault(); + set => __pbn__steam_id = value; + } + public bool ShouldSerializesteam_id() => __pbn__steam_id != null; + public void Resetsteam_id() => __pbn__steam_id = null; + private ulong? __pbn__steam_id; + + [global::ProtoBuf.ProtoMember(7)] + public uint revision + { + get => __pbn__revision.GetValueOrDefault(); + set => __pbn__revision = value; + } + public bool ShouldSerializerevision() => __pbn__revision != null; + public void Resetrevision() => __pbn__revision = null; + private uint? __pbn__revision; + + [global::ProtoBuf.ProtoMember(8)] + public uint players + { + get => __pbn__players.GetValueOrDefault(); + set => __pbn__players = value; + } + public bool ShouldSerializeplayers() => __pbn__players != null; + public void Resetplayers() => __pbn__players = null; + private uint? __pbn__players; + + [global::ProtoBuf.ProtoMember(9)] + public uint game_port + { + get => __pbn__game_port.GetValueOrDefault(); + set => __pbn__game_port = value; + } + public bool ShouldSerializegame_port() => __pbn__game_port != null; + public void Resetgame_port() => __pbn__game_port = null; + private uint? __pbn__game_port; + + [global::ProtoBuf.ProtoMember(10, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public uint sdr_popid + { + get => __pbn__sdr_popid.GetValueOrDefault(); + set => __pbn__sdr_popid = value; + } + public bool ShouldSerializesdr_popid() => __pbn__sdr_popid != null; + public void Resetsdr_popid() => __pbn__sdr_popid = null; + private uint? __pbn__sdr_popid; + + [global::ProtoBuf.ProtoMember(11)] + public uint flags + { + get => __pbn__flags.GetValueOrDefault(); + set => __pbn__flags = value; + } + public bool ShouldSerializeflags() => __pbn__flags != null; + public void Resetflags() => __pbn__flags = null; + private uint? __pbn__flags; + + [global::ProtoBuf.ProtoMember(12)] + public uint app_id + { + get => __pbn__app_id.GetValueOrDefault(); + set => __pbn__app_id = value; + } + public bool ShouldSerializeapp_id() => __pbn__app_id != null; + public void Resetapp_id() => __pbn__app_id = null; + private uint? __pbn__app_id; + + [global::ProtoBuf.ProtoMember(13)] + public uint max_players + { + get => __pbn__max_players.GetValueOrDefault(); + set => __pbn__max_players = value; + } + public bool ShouldSerializemax_players() => __pbn__max_players != null; + public void Resetmax_players() => __pbn__max_players = null; + private uint? __pbn__max_players; + + [global::ProtoBuf.ProtoMember(14)] + public uint bots + { + get => __pbn__bots.GetValueOrDefault(); + set => __pbn__bots = value; + } + public bool ShouldSerializebots() => __pbn__bots != null; + public void Resetbots() => __pbn__bots = null; + private uint? __pbn__bots; + + [global::ProtoBuf.ProtoMember(15)] + public uint spectator_port + { + get => __pbn__spectator_port.GetValueOrDefault(); + set => __pbn__spectator_port = value; + } + public bool ShouldSerializespectator_port() => __pbn__spectator_port != null; + public void Resetspectator_port() => __pbn__spectator_port = null; + private uint? __pbn__spectator_port; + + [global::ProtoBuf.ProtoMember(16)] + [global::System.ComponentModel.DefaultValue("")] + public string gamedir_str + { + get => __pbn__gamedir_str ?? ""; + set => __pbn__gamedir_str = value; + } + public bool ShouldSerializegamedir_str() => __pbn__gamedir_str != null; + public void Resetgamedir_str() => __pbn__gamedir_str = null; + private string __pbn__gamedir_str; + + [global::ProtoBuf.ProtoMember(17)] + public uint gamedir_strindex + { + get => __pbn__gamedir_strindex.GetValueOrDefault(); + set => __pbn__gamedir_strindex = value; + } + public bool ShouldSerializegamedir_strindex() => __pbn__gamedir_strindex != null; + public void Resetgamedir_strindex() => __pbn__gamedir_strindex = null; + private uint? __pbn__gamedir_strindex; + + [global::ProtoBuf.ProtoMember(18)] + [global::System.ComponentModel.DefaultValue("")] + public string map_str + { + get => __pbn__map_str ?? ""; + set => __pbn__map_str = value; + } + public bool ShouldSerializemap_str() => __pbn__map_str != null; + public void Resetmap_str() => __pbn__map_str = null; + private string __pbn__map_str; + + [global::ProtoBuf.ProtoMember(19)] + public uint map_strindex + { + get => __pbn__map_strindex.GetValueOrDefault(); + set => __pbn__map_strindex = value; + } + public bool ShouldSerializemap_strindex() => __pbn__map_strindex != null; + public void Resetmap_strindex() => __pbn__map_strindex = null; + private uint? __pbn__map_strindex; + + [global::ProtoBuf.ProtoMember(20)] + [global::System.ComponentModel.DefaultValue("")] + public string name_str + { + get => __pbn__name_str ?? ""; + set => __pbn__name_str = value; + } + public bool ShouldSerializename_str() => __pbn__name_str != null; + public void Resetname_str() => __pbn__name_str = null; + private string __pbn__name_str; + + [global::ProtoBuf.ProtoMember(21)] + public uint name_strindex + { + get => __pbn__name_strindex.GetValueOrDefault(); + set => __pbn__name_strindex = value; + } + public bool ShouldSerializename_strindex() => __pbn__name_strindex != null; + public void Resetname_strindex() => __pbn__name_strindex = null; + private uint? __pbn__name_strindex; + + [global::ProtoBuf.ProtoMember(22)] + [global::System.ComponentModel.DefaultValue("")] + public string game_description_str + { + get => __pbn__game_description_str ?? ""; + set => __pbn__game_description_str = value; + } + public bool ShouldSerializegame_description_str() => __pbn__game_description_str != null; + public void Resetgame_description_str() => __pbn__game_description_str = null; + private string __pbn__game_description_str; + + [global::ProtoBuf.ProtoMember(23)] + public uint game_description_strindex + { + get => __pbn__game_description_strindex.GetValueOrDefault(); + set => __pbn__game_description_strindex = value; + } + public bool ShouldSerializegame_description_strindex() => __pbn__game_description_strindex != null; + public void Resetgame_description_strindex() => __pbn__game_description_strindex = null; + private uint? __pbn__game_description_strindex; + + [global::ProtoBuf.ProtoMember(24)] + [global::System.ComponentModel.DefaultValue("")] + public string version_str + { + get => __pbn__version_str ?? ""; + set => __pbn__version_str = value; + } + public bool ShouldSerializeversion_str() => __pbn__version_str != null; + public void Resetversion_str() => __pbn__version_str = null; + private string __pbn__version_str; + + [global::ProtoBuf.ProtoMember(25)] + public uint version_strindex + { + get => __pbn__version_strindex.GetValueOrDefault(); + set => __pbn__version_strindex = value; + } + public bool ShouldSerializeversion_strindex() => __pbn__version_strindex != null; + public void Resetversion_strindex() => __pbn__version_strindex = null; + private uint? __pbn__version_strindex; + + [global::ProtoBuf.ProtoMember(26)] + [global::System.ComponentModel.DefaultValue("")] + public string gametype_str + { + get => __pbn__gametype_str ?? ""; + set => __pbn__gametype_str = value; + } + public bool ShouldSerializegametype_str() => __pbn__gametype_str != null; + public void Resetgametype_str() => __pbn__gametype_str = null; + private string __pbn__gametype_str; + + [global::ProtoBuf.ProtoMember(27)] + public uint gametype_strindex + { + get => __pbn__gametype_strindex.GetValueOrDefault(); + set => __pbn__gametype_strindex = value; + } + public bool ShouldSerializegametype_strindex() => __pbn__gametype_strindex != null; + public void Resetgametype_strindex() => __pbn__gametype_strindex = null; + private uint? __pbn__gametype_strindex; + + [global::ProtoBuf.ProtoMember(30)] + [global::System.ComponentModel.DefaultValue("")] + public string spectator_name_str + { + get => __pbn__spectator_name_str ?? ""; + set => __pbn__spectator_name_str = value; + } + public bool ShouldSerializespectator_name_str() => __pbn__spectator_name_str != null; + public void Resetspectator_name_str() => __pbn__spectator_name_str = null; + private string __pbn__spectator_name_str; + + [global::ProtoBuf.ProtoMember(31)] + public uint spectator_name_strindex + { + get => __pbn__spectator_name_strindex.GetValueOrDefault(); + set => __pbn__spectator_name_strindex = value; + } + public bool ShouldSerializespectator_name_strindex() => __pbn__spectator_name_strindex != null; + public void Resetspectator_name_strindex() => __pbn__spectator_name_strindex = null; + private uint? __pbn__spectator_name_strindex; + + } + + [global::ProtoBuf.ProtoContract()] + public enum EFlags + { + k_EFlag_HasPassword = 1, + k_EFlag_Secure = 2, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGameServerOutOfDate : 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 steam_id_gs + { + get => __pbn__steam_id_gs.GetValueOrDefault(); + set => __pbn__steam_id_gs = value; + } + public bool ShouldSerializesteam_id_gs() => __pbn__steam_id_gs != null; + public void Resetsteam_id_gs() => __pbn__steam_id_gs = null; + private ulong? __pbn__steam_id_gs; + + [global::ProtoBuf.ProtoMember(2)] + public bool reject + { + get => __pbn__reject.GetValueOrDefault(); + set => __pbn__reject = value; + } + public bool ShouldSerializereject() => __pbn__reject != null; + public void Resetreject() => __pbn__reject = null; + private bool? __pbn__reject; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string message + { + get => __pbn__message ?? ""; + set => __pbn__message = value; + } + public bool ShouldSerializemessage() => __pbn__message != null; + public void Resetmessage() => __pbn__message = null; + private string __pbn__message; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSAssociateWithClan : 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 steam_id_clan + { + get => __pbn__steam_id_clan.GetValueOrDefault(); + set => __pbn__steam_id_clan = value; + } + public bool ShouldSerializesteam_id_clan() => __pbn__steam_id_clan != null; + public void Resetsteam_id_clan() => __pbn__steam_id_clan = null; + private ulong? __pbn__steam_id_clan; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSAssociateWithClanResponse : 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 steam_id_clan + { + get => __pbn__steam_id_clan.GetValueOrDefault(); + set => __pbn__steam_id_clan = value; + } + public bool ShouldSerializesteam_id_clan() => __pbn__steam_id_clan != null; + public void Resetsteam_id_clan() => __pbn__steam_id_clan = null; + private ulong? __pbn__steam_id_clan; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(2)] + public uint eresult + { + get => __pbn__eresult ?? 2; + set => __pbn__eresult = value; + } + public bool ShouldSerializeeresult() => __pbn__eresult != null; + public void Reseteresult() => __pbn__eresult = null; + private uint? __pbn__eresult; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSComputeNewPlayerCompatibility : 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 steam_id_candidate + { + get => __pbn__steam_id_candidate.GetValueOrDefault(); + set => __pbn__steam_id_candidate = value; + } + public bool ShouldSerializesteam_id_candidate() => __pbn__steam_id_candidate != null; + public void Resetsteam_id_candidate() => __pbn__steam_id_candidate = null; + private ulong? __pbn__steam_id_candidate; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGSComputeNewPlayerCompatibilityResponse : 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 steam_id_candidate + { + get => __pbn__steam_id_candidate.GetValueOrDefault(); + set => __pbn__steam_id_candidate = value; + } + public bool ShouldSerializesteam_id_candidate() => __pbn__steam_id_candidate != null; + public void Resetsteam_id_candidate() => __pbn__steam_id_candidate = null; + private ulong? __pbn__steam_id_candidate; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(2)] + public uint eresult + { + get => __pbn__eresult ?? 2; + set => __pbn__eresult = value; + } + public bool ShouldSerializeeresult() => __pbn__eresult != null; + public void Reseteresult() => __pbn__eresult = null; + private uint? __pbn__eresult; + + [global::ProtoBuf.ProtoMember(3)] + public bool is_clan_member + { + get => __pbn__is_clan_member.GetValueOrDefault(); + set => __pbn__is_clan_member = value; + } + public bool ShouldSerializeis_clan_member() => __pbn__is_clan_member != null; + public void Resetis_clan_member() => __pbn__is_clan_member = null; + private bool? __pbn__is_clan_member; + + [global::ProtoBuf.ProtoMember(4)] + public int ct_dont_like_you + { + get => __pbn__ct_dont_like_you.GetValueOrDefault(); + set => __pbn__ct_dont_like_you = value; + } + public bool ShouldSerializect_dont_like_you() => __pbn__ct_dont_like_you != null; + public void Resetct_dont_like_you() => __pbn__ct_dont_like_you = null; + private int? __pbn__ct_dont_like_you; + + [global::ProtoBuf.ProtoMember(5)] + public int ct_you_dont_like + { + get => __pbn__ct_you_dont_like.GetValueOrDefault(); + set => __pbn__ct_you_dont_like = value; + } + public bool ShouldSerializect_you_dont_like() => __pbn__ct_you_dont_like != null; + public void Resetct_you_dont_like() => __pbn__ct_you_dont_like = null; + private int? __pbn__ct_you_dont_like; + + [global::ProtoBuf.ProtoMember(6)] + public int ct_clanmembers_dont_like_you + { + get => __pbn__ct_clanmembers_dont_like_you.GetValueOrDefault(); + set => __pbn__ct_clanmembers_dont_like_you = value; + } + public bool ShouldSerializect_clanmembers_dont_like_you() => __pbn__ct_clanmembers_dont_like_you != null; + public void Resetct_clanmembers_dont_like_you() => __pbn__ct_clanmembers_dont_like_you = null; + private int? __pbn__ct_clanmembers_dont_like_you; + + } + +} + +#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +#endregion diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs index 4b441c29a..a68bdadeb 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs @@ -16,6 +16,16 @@ public partial class CMsgClientHeartBeat : global::ProtoBuf.IExtensible global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + [global::ProtoBuf.ProtoMember(1)] + public bool send_reply + { + get => __pbn__send_reply.GetValueOrDefault(); + set => __pbn__send_reply = value; + } + public bool ShouldSerializesend_reply() => __pbn__send_reply != null; + public void Resetsend_reply() => __pbn__send_reply = null; + private bool? __pbn__send_reply; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgCloud.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCloud.cs index e67b7ab88..3b09dc403 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgCloud.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCloud.cs @@ -283,6 +283,232 @@ public bool file_committed } + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_BeginUGCUpload_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)] + public uint file_size + { + get => __pbn__file_size.GetValueOrDefault(); + set => __pbn__file_size = value; + } + public bool ShouldSerializefile_size() => __pbn__file_size != null; + public void Resetfile_size() => __pbn__file_size = null; + private uint? __pbn__file_size; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string filename + { + get => __pbn__filename ?? ""; + set => __pbn__filename = value; + } + public bool ShouldSerializefilename() => __pbn__filename != null; + public void Resetfilename() => __pbn__filename = null; + private string __pbn__filename; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string file_sha + { + get => __pbn__file_sha ?? ""; + set => __pbn__file_sha = value; + } + public bool ShouldSerializefile_sha() => __pbn__file_sha != null; + public void Resetfile_sha() => __pbn__file_sha = null; + private string __pbn__file_sha; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string content_type + { + get => __pbn__content_type ?? ""; + set => __pbn__content_type = value; + } + public bool ShouldSerializecontent_type() => __pbn__content_type != null; + public void Resetcontent_type() => __pbn__content_type = null; + private string __pbn__content_type; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_BeginUGCUpload_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(EPublishedFileStorageSystem.k_EPublishedFileStorageSystemInvalid)] + public EPublishedFileStorageSystem storage_system + { + get => __pbn__storage_system ?? EPublishedFileStorageSystem.k_EPublishedFileStorageSystemInvalid; + set => __pbn__storage_system = value; + } + public bool ShouldSerializestorage_system() => __pbn__storage_system != null; + public void Resetstorage_system() => __pbn__storage_system = null; + private EPublishedFileStorageSystem? __pbn__storage_system; + + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong ugcid + { + get => __pbn__ugcid.GetValueOrDefault(); + set => __pbn__ugcid = value; + } + public bool ShouldSerializeugcid() => __pbn__ugcid != null; + public void Resetugcid() => __pbn__ugcid = null; + private ulong? __pbn__ugcid; + + [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public uint timestamp + { + get => __pbn__timestamp.GetValueOrDefault(); + set => __pbn__timestamp = value; + } + public bool ShouldSerializetimestamp() => __pbn__timestamp != null; + public void Resettimestamp() => __pbn__timestamp = null; + private uint? __pbn__timestamp; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string url_host + { + get => __pbn__url_host ?? ""; + set => __pbn__url_host = value; + } + public bool ShouldSerializeurl_host() => __pbn__url_host != null; + public void Reseturl_host() => __pbn__url_host = null; + private string __pbn__url_host; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string url_path + { + get => __pbn__url_path ?? ""; + set => __pbn__url_path = value; + } + public bool ShouldSerializeurl_path() => __pbn__url_path != null; + public void Reseturl_path() => __pbn__url_path = null; + private string __pbn__url_path; + + [global::ProtoBuf.ProtoMember(6)] + public bool use_https + { + get => __pbn__use_https.GetValueOrDefault(); + set => __pbn__use_https = value; + } + public bool ShouldSerializeuse_https() => __pbn__use_https != null; + public void Resetuse_https() => __pbn__use_https = null; + private bool? __pbn__use_https; + + [global::ProtoBuf.ProtoMember(7)] + public global::System.Collections.Generic.List request_headers { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class HTTPHeaders : 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 name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string value + { + get => __pbn__value ?? ""; + set => __pbn__value = value; + } + public bool ShouldSerializevalue() => __pbn__value != null; + public void Resetvalue() => __pbn__value = null; + private string __pbn__value; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_CommitUGCUpload_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 bool transfer_succeeded + { + get => __pbn__transfer_succeeded.GetValueOrDefault(); + set => __pbn__transfer_succeeded = value; + } + public bool ShouldSerializetransfer_succeeded() => __pbn__transfer_succeeded != null; + public void Resettransfer_succeeded() => __pbn__transfer_succeeded = null; + private bool? __pbn__transfer_succeeded; + + [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 ugcid + { + get => __pbn__ugcid.GetValueOrDefault(); + set => __pbn__ugcid = value; + } + public bool ShouldSerializeugcid() => __pbn__ugcid != null; + public void Resetugcid() => __pbn__ugcid = null; + private ulong? __pbn__ugcid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_CommitUGCUpload_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)] + public bool file_committed + { + get => __pbn__file_committed.GetValueOrDefault(); + set => __pbn__file_committed = value; + } + public bool ShouldSerializefile_committed() => __pbn__file_committed != null; + public void Resetfile_committed() => __pbn__file_committed = null; + private bool? __pbn__file_committed; + + } + [global::ProtoBuf.ProtoContract()] public partial class CCloud_GetFileDetails_Request : global::ProtoBuf.IExtensible { @@ -788,6 +1014,120 @@ public bool ipv6_remote } + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_BeginAppUploadBatch_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)] + [global::System.ComponentModel.DefaultValue("")] + public string machine_name + { + get => __pbn__machine_name ?? ""; + set => __pbn__machine_name = value; + } + public bool ShouldSerializemachine_name() => __pbn__machine_name != null; + public void Resetmachine_name() => __pbn__machine_name = null; + private string __pbn__machine_name; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List files_to_upload { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List files_to_delete { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public ulong client_id + { + get => __pbn__client_id.GetValueOrDefault(); + set => __pbn__client_id = value; + } + public bool ShouldSerializeclient_id() => __pbn__client_id != null; + public void Resetclient_id() => __pbn__client_id = null; + private ulong? __pbn__client_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_BeginAppUploadBatch_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)] + public ulong batch_id + { + get => __pbn__batch_id.GetValueOrDefault(); + set => __pbn__batch_id = value; + } + public bool ShouldSerializebatch_id() => __pbn__batch_id != null; + public void Resetbatch_id() => __pbn__batch_id = null; + private ulong? __pbn__batch_id; + + [global::ProtoBuf.ProtoMember(4)] + public ulong app_change_number + { + get => __pbn__app_change_number.GetValueOrDefault(); + set => __pbn__app_change_number = value; + } + public bool ShouldSerializeapp_change_number() => __pbn__app_change_number != null; + public void Resetapp_change_number() => __pbn__app_change_number = null; + private ulong? __pbn__app_change_number; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_CompleteAppUploadBatch_Notification : 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)] + public ulong batch_id + { + get => __pbn__batch_id.GetValueOrDefault(); + set => __pbn__batch_id = value; + } + public bool ShouldSerializebatch_id() => __pbn__batch_id != null; + public void Resetbatch_id() => __pbn__batch_id = null; + private ulong? __pbn__batch_id; + + [global::ProtoBuf.ProtoMember(3)] + public uint batch_eresult + { + get => __pbn__batch_eresult.GetValueOrDefault(); + set => __pbn__batch_eresult = value; + } + public bool ShouldSerializebatch_eresult() => __pbn__batch_eresult != null; + public void Resetbatch_eresult() => __pbn__batch_eresult = null; + private uint? __pbn__batch_eresult; + + } + [global::ProtoBuf.ProtoContract()] public partial class CCloud_ClientBeginFileUpload_Request : global::ProtoBuf.IExtensible { @@ -898,14 +1238,24 @@ public bool is_shared_file private bool? __pbn__is_shared_file; [global::ProtoBuf.ProtoMember(12)] - public uint realm + public uint deprecated_realm { - get => __pbn__realm.GetValueOrDefault(); - set => __pbn__realm = value; + get => __pbn__deprecated_realm.GetValueOrDefault(); + set => __pbn__deprecated_realm = value; } - public bool ShouldSerializerealm() => __pbn__realm != null; - public void Resetrealm() => __pbn__realm = null; - private uint? __pbn__realm; + public bool ShouldSerializedeprecated_realm() => __pbn__deprecated_realm != null; + public void Resetdeprecated_realm() => __pbn__deprecated_realm = null; + private uint? __pbn__deprecated_realm; + + [global::ProtoBuf.ProtoMember(13)] + public ulong upload_batch_id + { + get => __pbn__upload_batch_id.GetValueOrDefault(); + set => __pbn__upload_batch_id = value; + } + public bool ShouldSerializeupload_batch_id() => __pbn__upload_batch_id != null; + public void Resetupload_batch_id() => __pbn__upload_batch_id = null; + private ulong? __pbn__upload_batch_id; } @@ -1348,6 +1698,16 @@ public bool is_explicit_delete public void Resetis_explicit_delete() => __pbn__is_explicit_delete = null; private bool? __pbn__is_explicit_delete; + [global::ProtoBuf.ProtoMember(4)] + public ulong upload_batch_id + { + get => __pbn__upload_batch_id.GetValueOrDefault(); + set => __pbn__upload_batch_id = value; + } + public bool ShouldSerializeupload_batch_id() => __pbn__upload_batch_id != null; + public void Resetupload_batch_id() => __pbn__upload_batch_id = null; + private ulong? __pbn__upload_batch_id; + } [global::ProtoBuf.ProtoContract()] @@ -1448,23 +1808,220 @@ public long totalsize } + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_GetAppFileChangelist_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)] + public ulong synced_change_number + { + get => __pbn__synced_change_number.GetValueOrDefault(); + set => __pbn__synced_change_number = value; + } + public bool ShouldSerializesynced_change_number() => __pbn__synced_change_number != null; + public void Resetsynced_change_number() => __pbn__synced_change_number = null; + private ulong? __pbn__synced_change_number; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_AppFileInfo : 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 file_name + { + get => __pbn__file_name ?? ""; + set => __pbn__file_name = value; + } + public bool ShouldSerializefile_name() => __pbn__file_name != null; + public void Resetfile_name() => __pbn__file_name = null; + private string __pbn__file_name; + + [global::ProtoBuf.ProtoMember(2)] + public byte[] sha_file + { + get => __pbn__sha_file; + set => __pbn__sha_file = value; + } + public bool ShouldSerializesha_file() => __pbn__sha_file != null; + public void Resetsha_file() => __pbn__sha_file = null; + private byte[] __pbn__sha_file; + + [global::ProtoBuf.ProtoMember(3)] + public ulong time_stamp + { + get => __pbn__time_stamp.GetValueOrDefault(); + set => __pbn__time_stamp = value; + } + public bool ShouldSerializetime_stamp() => __pbn__time_stamp != null; + public void Resettime_stamp() => __pbn__time_stamp = null; + private ulong? __pbn__time_stamp; + + [global::ProtoBuf.ProtoMember(4)] + public uint raw_file_size + { + get => __pbn__raw_file_size.GetValueOrDefault(); + set => __pbn__raw_file_size = value; + } + public bool ShouldSerializeraw_file_size() => __pbn__raw_file_size != null; + public void Resetraw_file_size() => __pbn__raw_file_size = null; + private uint? __pbn__raw_file_size; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue(ECloudStoragePersistState.k_ECloudStoragePersistStatePersisted)] + public ECloudStoragePersistState persist_state + { + get => __pbn__persist_state ?? ECloudStoragePersistState.k_ECloudStoragePersistStatePersisted; + set => __pbn__persist_state = value; + } + public bool ShouldSerializepersist_state() => __pbn__persist_state != null; + public void Resetpersist_state() => __pbn__persist_state = null; + private ECloudStoragePersistState? __pbn__persist_state; + + [global::ProtoBuf.ProtoMember(6)] + public uint platforms_to_sync + { + get => __pbn__platforms_to_sync.GetValueOrDefault(); + set => __pbn__platforms_to_sync = value; + } + public bool ShouldSerializeplatforms_to_sync() => __pbn__platforms_to_sync != null; + public void Resetplatforms_to_sync() => __pbn__platforms_to_sync = null; + private uint? __pbn__platforms_to_sync; + + [global::ProtoBuf.ProtoMember(7)] + public uint path_prefix_index + { + get => __pbn__path_prefix_index.GetValueOrDefault(); + set => __pbn__path_prefix_index = value; + } + public bool ShouldSerializepath_prefix_index() => __pbn__path_prefix_index != null; + public void Resetpath_prefix_index() => __pbn__path_prefix_index = null; + private uint? __pbn__path_prefix_index; + + [global::ProtoBuf.ProtoMember(8)] + public uint machine_name_index + { + get => __pbn__machine_name_index.GetValueOrDefault(); + set => __pbn__machine_name_index = value; + } + public bool ShouldSerializemachine_name_index() => __pbn__machine_name_index != null; + public void Resetmachine_name_index() => __pbn__machine_name_index = null; + private uint? __pbn__machine_name_index; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_GetAppFileChangelist_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)] + public ulong current_change_number + { + get => __pbn__current_change_number.GetValueOrDefault(); + set => __pbn__current_change_number = value; + } + public bool ShouldSerializecurrent_change_number() => __pbn__current_change_number != null; + public void Resetcurrent_change_number() => __pbn__current_change_number = null; + private ulong? __pbn__current_change_number; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List files { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public bool is_only_delta + { + get => __pbn__is_only_delta.GetValueOrDefault(); + set => __pbn__is_only_delta = value; + } + public bool ShouldSerializeis_only_delta() => __pbn__is_only_delta != null; + public void Resetis_only_delta() => __pbn__is_only_delta = null; + private bool? __pbn__is_only_delta; + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List path_prefixes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public global::System.Collections.Generic.List machine_names { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCloud_AppCloudStateChange_Notification : 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)] + public ulong app_change_number + { + get => __pbn__app_change_number.GetValueOrDefault(); + set => __pbn__app_change_number = value; + } + public bool ShouldSerializeapp_change_number() => __pbn__app_change_number != null; + public void Resetapp_change_number() => __pbn__app_change_number = null; + private ulong? __pbn__app_change_number; + + } + public interface ICloud { CCloud_GetUploadServerInfo_Response GetUploadServerInfo(CCloud_GetUploadServerInfo_Request request); CCloud_BeginHTTPUpload_Response BeginHTTPUpload(CCloud_BeginHTTPUpload_Request request); CCloud_CommitHTTPUpload_Response CommitHTTPUpload(CCloud_CommitHTTPUpload_Request request); + CCloud_BeginUGCUpload_Response BeginUGCUpload(CCloud_BeginUGCUpload_Request request); + CCloud_CommitUGCUpload_Response CommitUGCUpload(CCloud_CommitUGCUpload_Request request); CCloud_GetFileDetails_Response GetFileDetails(CCloud_GetFileDetails_Request request); CCloud_EnumerateUserFiles_Response EnumerateUserFiles(CCloud_EnumerateUserFiles_Request request); CCloud_Delete_Response Delete(CCloud_Delete_Request request); CCloud_GetClientEncryptionKey_Response GetClientEncryptionKey(CCloud_GetClientEncryptionKey_Request request); NoResponse CDNReport(CCloud_CDNReport_Notification request); NoResponse ExternalStorageTransferReport(CCloud_ExternalStorageTransferReport_Notification request); + CCloud_BeginAppUploadBatch_Response BeginAppUploadBatch(CCloud_BeginAppUploadBatch_Request request); + NoResponse CompleteAppUploadBatch(CCloud_CompleteAppUploadBatch_Notification request); CCloud_ClientBeginFileUpload_Response ClientBeginFileUpload(CCloud_ClientBeginFileUpload_Request request); CCloud_ClientCommitFileUpload_Response ClientCommitFileUpload(CCloud_ClientCommitFileUpload_Request request); CCloud_ClientFileDownload_Response ClientFileDownload(CCloud_ClientFileDownload_Request request); CCloud_ClientDeleteFile_Response ClientDeleteFile(CCloud_ClientDeleteFile_Request request); NoResponse ClientConflictResolution(CCloud_ClientConflictResolution_Notification request); CCloud_EnumerateUserApps_Response EnumerateUserApps(CCloud_EnumerateUserApps_Request request); + CCloud_GetAppFileChangelist_Response GetAppFileChangelist(CCloud_GetAppFileChangelist_Request request); + } + + public interface ICloudClient + { + NoResponse NotifyAppStateChange(CCloud_AppCloudStateChange_Notification request); } } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs index 86be99e65..fc4d6370b 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs @@ -109,14 +109,17 @@ public uint timestamp_minimum_wanted private uint? __pbn__timestamp_minimum_wanted; [global::ProtoBuf.ProtoMember(4)] - public int ipaddress + public int deprecated_ipaddress { - get => __pbn__ipaddress.GetValueOrDefault(); - set => __pbn__ipaddress = value; + get => __pbn__deprecated_ipaddress.GetValueOrDefault(); + set => __pbn__deprecated_ipaddress = value; } - public bool ShouldSerializeipaddress() => __pbn__ipaddress != null; - public void Resetipaddress() => __pbn__ipaddress = null; - private int? __pbn__ipaddress; + public bool ShouldSerializedeprecated_ipaddress() => __pbn__deprecated_ipaddress != null; + public void Resetdeprecated_ipaddress() => __pbn__deprecated_ipaddress = null; + private int? __pbn__deprecated_ipaddress; + + [global::ProtoBuf.ProtoMember(5)] + public CMsgIPAddress ip_address { get; set; } } @@ -252,14 +255,14 @@ public bool is_web_cookie private bool? __pbn__is_web_cookie; [global::ProtoBuf.ProtoMember(3)] - public int ipaddress + public int deprecated_ipaddress { - get => __pbn__ipaddress.GetValueOrDefault(); - set => __pbn__ipaddress = value; + get => __pbn__deprecated_ipaddress.GetValueOrDefault(); + set => __pbn__deprecated_ipaddress = value; } - public bool ShouldSerializeipaddress() => __pbn__ipaddress != null; - public void Resetipaddress() => __pbn__ipaddress = null; - private int? __pbn__ipaddress; + public bool ShouldSerializedeprecated_ipaddress() => __pbn__deprecated_ipaddress != null; + public void Resetdeprecated_ipaddress() => __pbn__deprecated_ipaddress = null; + private int? __pbn__deprecated_ipaddress; [global::ProtoBuf.ProtoMember(4)] [global::System.ComponentModel.DefaultValue("")] @@ -303,6 +306,9 @@ public int status public void Resetstatus() => __pbn__status = null; private int? __pbn__status; + [global::ProtoBuf.ProtoMember(8)] + public CMsgIPAddress ip_address { get; set; } + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs index 6277f5cdc..e03d5c997 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs @@ -120,6 +120,230 @@ public bool oc_proxy_detected } + [global::ProtoBuf.ProtoContract()] + public partial class CDataPublisher_ClientUpdateAppJob_Notification : 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 app_id + { + get => __pbn__app_id.GetValueOrDefault(); + set => __pbn__app_id = value; + } + public bool ShouldSerializeapp_id() => __pbn__app_id != null; + public void Resetapp_id() => __pbn__app_id = null; + private uint? __pbn__app_id; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List depot_ids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public uint app_state + { + get => __pbn__app_state.GetValueOrDefault(); + set => __pbn__app_state = value; + } + public bool ShouldSerializeapp_state() => __pbn__app_state != null; + public void Resetapp_state() => __pbn__app_state = null; + private uint? __pbn__app_state; + + [global::ProtoBuf.ProtoMember(4)] + public uint job_app_error + { + get => __pbn__job_app_error.GetValueOrDefault(); + set => __pbn__job_app_error = value; + } + public bool ShouldSerializejob_app_error() => __pbn__job_app_error != null; + public void Resetjob_app_error() => __pbn__job_app_error = null; + private uint? __pbn__job_app_error; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string error_details + { + get => __pbn__error_details ?? ""; + set => __pbn__error_details = value; + } + public bool ShouldSerializeerror_details() => __pbn__error_details != null; + public void Reseterror_details() => __pbn__error_details = null; + private string __pbn__error_details; + + [global::ProtoBuf.ProtoMember(6)] + public uint job_duration + { + get => __pbn__job_duration.GetValueOrDefault(); + set => __pbn__job_duration = value; + } + public bool ShouldSerializejob_duration() => __pbn__job_duration != null; + public void Resetjob_duration() => __pbn__job_duration = null; + private uint? __pbn__job_duration; + + [global::ProtoBuf.ProtoMember(7)] + public uint files_validation_failed + { + get => __pbn__files_validation_failed.GetValueOrDefault(); + set => __pbn__files_validation_failed = value; + } + public bool ShouldSerializefiles_validation_failed() => __pbn__files_validation_failed != null; + public void Resetfiles_validation_failed() => __pbn__files_validation_failed = null; + private uint? __pbn__files_validation_failed; + + [global::ProtoBuf.ProtoMember(8)] + public ulong job_bytes_downloaded + { + get => __pbn__job_bytes_downloaded.GetValueOrDefault(); + set => __pbn__job_bytes_downloaded = value; + } + public bool ShouldSerializejob_bytes_downloaded() => __pbn__job_bytes_downloaded != null; + public void Resetjob_bytes_downloaded() => __pbn__job_bytes_downloaded = null; + private ulong? __pbn__job_bytes_downloaded; + + [global::ProtoBuf.ProtoMember(9)] + public ulong job_bytes_staged + { + get => __pbn__job_bytes_staged.GetValueOrDefault(); + set => __pbn__job_bytes_staged = value; + } + public bool ShouldSerializejob_bytes_staged() => __pbn__job_bytes_staged != null; + public void Resetjob_bytes_staged() => __pbn__job_bytes_staged = null; + private ulong? __pbn__job_bytes_staged; + + [global::ProtoBuf.ProtoMember(10)] + public ulong bytes_comitted + { + get => __pbn__bytes_comitted.GetValueOrDefault(); + set => __pbn__bytes_comitted = value; + } + public bool ShouldSerializebytes_comitted() => __pbn__bytes_comitted != null; + public void Resetbytes_comitted() => __pbn__bytes_comitted = null; + private ulong? __pbn__bytes_comitted; + + [global::ProtoBuf.ProtoMember(11)] + public uint start_app_state + { + get => __pbn__start_app_state.GetValueOrDefault(); + set => __pbn__start_app_state = value; + } + public bool ShouldSerializestart_app_state() => __pbn__start_app_state != null; + public void Resetstart_app_state() => __pbn__start_app_state = null; + private uint? __pbn__start_app_state; + + [global::ProtoBuf.ProtoMember(12, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong stats_machine_id + { + get => __pbn__stats_machine_id.GetValueOrDefault(); + set => __pbn__stats_machine_id = value; + } + public bool ShouldSerializestats_machine_id() => __pbn__stats_machine_id != null; + public void Resetstats_machine_id() => __pbn__stats_machine_id = null; + private ulong? __pbn__stats_machine_id; + + [global::ProtoBuf.ProtoMember(13)] + [global::System.ComponentModel.DefaultValue("")] + public string branch_name + { + get => __pbn__branch_name ?? ""; + set => __pbn__branch_name = value; + } + public bool ShouldSerializebranch_name() => __pbn__branch_name != null; + public void Resetbranch_name() => __pbn__branch_name = null; + private string __pbn__branch_name; + + [global::ProtoBuf.ProtoMember(14)] + public ulong total_bytes_downloaded + { + get => __pbn__total_bytes_downloaded.GetValueOrDefault(); + set => __pbn__total_bytes_downloaded = value; + } + public bool ShouldSerializetotal_bytes_downloaded() => __pbn__total_bytes_downloaded != null; + public void Resettotal_bytes_downloaded() => __pbn__total_bytes_downloaded = null; + private ulong? __pbn__total_bytes_downloaded; + + [global::ProtoBuf.ProtoMember(15)] + public ulong total_bytes_staged + { + get => __pbn__total_bytes_staged.GetValueOrDefault(); + set => __pbn__total_bytes_staged = value; + } + public bool ShouldSerializetotal_bytes_staged() => __pbn__total_bytes_staged != null; + public void Resettotal_bytes_staged() => __pbn__total_bytes_staged = null; + private ulong? __pbn__total_bytes_staged; + + [global::ProtoBuf.ProtoMember(16)] + public ulong total_bytes_restored + { + get => __pbn__total_bytes_restored.GetValueOrDefault(); + set => __pbn__total_bytes_restored = value; + } + public bool ShouldSerializetotal_bytes_restored() => __pbn__total_bytes_restored != null; + public void Resettotal_bytes_restored() => __pbn__total_bytes_restored = null; + private ulong? __pbn__total_bytes_restored; + + [global::ProtoBuf.ProtoMember(17)] + public bool is_borrowed + { + get => __pbn__is_borrowed.GetValueOrDefault(); + set => __pbn__is_borrowed = value; + } + public bool ShouldSerializeis_borrowed() => __pbn__is_borrowed != null; + public void Resetis_borrowed() => __pbn__is_borrowed = null; + private bool? __pbn__is_borrowed; + + [global::ProtoBuf.ProtoMember(18)] + public bool is_free_weekend + { + get => __pbn__is_free_weekend.GetValueOrDefault(); + set => __pbn__is_free_weekend = value; + } + public bool ShouldSerializeis_free_weekend() => __pbn__is_free_weekend != null; + public void Resetis_free_weekend() => __pbn__is_free_weekend = null; + private bool? __pbn__is_free_weekend; + + [global::ProtoBuf.ProtoMember(19)] + public ulong total_bytes_legacy + { + get => __pbn__total_bytes_legacy.GetValueOrDefault(); + set => __pbn__total_bytes_legacy = value; + } + public bool ShouldSerializetotal_bytes_legacy() => __pbn__total_bytes_legacy != null; + public void Resettotal_bytes_legacy() => __pbn__total_bytes_legacy = null; + private ulong? __pbn__total_bytes_legacy; + + [global::ProtoBuf.ProtoMember(20)] + public ulong total_bytes_patched + { + get => __pbn__total_bytes_patched.GetValueOrDefault(); + set => __pbn__total_bytes_patched = value; + } + public bool ShouldSerializetotal_bytes_patched() => __pbn__total_bytes_patched != null; + public void Resettotal_bytes_patched() => __pbn__total_bytes_patched = null; + private ulong? __pbn__total_bytes_patched; + + [global::ProtoBuf.ProtoMember(21)] + public ulong total_bytes_saved + { + get => __pbn__total_bytes_saved.GetValueOrDefault(); + set => __pbn__total_bytes_saved = value; + } + public bool ShouldSerializetotal_bytes_saved() => __pbn__total_bytes_saved != null; + public void Resettotal_bytes_saved() => __pbn__total_bytes_saved = null; + private ulong? __pbn__total_bytes_saved; + + [global::ProtoBuf.ProtoMember(22)] + public uint cell_id + { + get => __pbn__cell_id.GetValueOrDefault(); + set => __pbn__cell_id = value; + } + public bool ShouldSerializecell_id() => __pbn__cell_id != null; + public void Resetcell_id() => __pbn__cell_id = null; + private uint? __pbn__cell_id; + + } + [global::ProtoBuf.ProtoContract()] public partial class CValveHWSurvey_GetSurveySchedule_Request : global::ProtoBuf.IExtensible { @@ -182,6 +406,7 @@ public ulong surveydatetokenversion public interface IDataPublisher { NoResponse ClientContentCorruptionReport(CDataPublisher_ClientContentCorruptionReport_Notification request); + NoResponse ClientUpdateAppJobReport(CDataPublisher_ClientUpdateAppJob_Notification request); } public interface IValveHWSurvey diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgFriendMessages.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgFriendMessages.cs index c92d81eae..ee2595013 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgFriendMessages.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgFriendMessages.cs @@ -796,6 +796,7 @@ public enum EMessageReactionType { k_EMessageReactionType_Invalid = 0, k_EMessageReactionType_Emoticon = 1, + k_EMessageReactionType_Sticker = 2, } public interface IFriendMessages diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs index 075c43a05..3e8f4cf52 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs @@ -1883,6 +1883,25 @@ public string title } + [global::ProtoBuf.ProtoContract()] + public partial class ProfilePreferences : 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 bool hide_profile_awards + { + get => __pbn__hide_profile_awards.GetValueOrDefault(); + set => __pbn__hide_profile_awards = value; + } + public bool ShouldSerializehide_profile_awards() => __pbn__hide_profile_awards != null; + public void Resethide_profile_awards() => __pbn__hide_profile_awards = null; + private bool? __pbn__hide_profile_awards; + + } + [global::ProtoBuf.ProtoContract()] public partial class CPlayer_GetProfileCustomization_Response : global::ProtoBuf.IExtensible { @@ -1909,6 +1928,9 @@ public uint slots_available [global::ProtoBuf.ProtoMember(4)] public global::System.Collections.Generic.List purchased_customizations { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(5)] + public ProfilePreferences profile_preferences { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class PurchasedCustomization : global::ProtoBuf.IExtensible { @@ -2156,6 +2178,27 @@ public partial class CPlayer_SetProfileTheme_Response : global::ProtoBuf.IExtens } + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_SetProfilePreferences_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 ProfilePreferences profile_preferences { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_SetProfilePreferences_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.ProtoContract()] public partial class CPlayer_PostStatusToFriends_Request : global::ProtoBuf.IExtensible { @@ -2510,6 +2553,16 @@ public EAgreementType agreement_type public void Resetagreement_type() => __pbn__agreement_type = null; private EAgreementType? __pbn__agreement_type; + [global::ProtoBuf.ProtoMember(2)] + public uint time_signed_utc + { + get => __pbn__time_signed_utc.GetValueOrDefault(); + set => __pbn__time_signed_utc = value; + } + public bool ShouldSerializetime_signed_utc() => __pbn__time_signed_utc != null; + public void Resettime_signed_utc() => __pbn__time_signed_utc = null; + private uint? __pbn__time_signed_utc; + } [global::ProtoBuf.ProtoContract()] @@ -3587,6 +3640,7 @@ public interface IPlayer CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Response GetPurchasedAndUpgradedProfileCustomizations(CPlayer_GetPurchasedAndUpgradedProfileCustomizations_Request request); CPlayer_GetProfileThemesAvailable_Response GetProfileThemesAvailable(CPlayer_GetProfileThemesAvailable_Request request); CPlayer_SetProfileTheme_Response SetProfileTheme(CPlayer_SetProfileTheme_Request request); + CPlayer_SetProfilePreferences_Response SetProfilePreferences(CPlayer_SetProfilePreferences_Request request); CPlayer_PostStatusToFriends_Response PostStatusToFriends(CPlayer_PostStatusToFriends_Request request); CPlayer_GetPostedStatus_Response GetPostedStatus(CPlayer_GetPostedStatus_Request request); CPlayer_DeletePostedStatus_Response DeletePostedStatus(CPlayer_DeletePostedStatus_Request request); diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs index fe47ee7c4..ad5b9b8e2 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs @@ -1564,14 +1564,14 @@ public partial class CPublishedFile_GetItemInfo_Request : global::ProtoBuf.IExte => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); [global::ProtoBuf.ProtoMember(1)] - public uint app_id + public uint appid { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; [global::ProtoBuf.ProtoMember(2)] public uint last_time_updated @@ -3466,6 +3466,106 @@ public bool reported } + [global::ProtoBuf.ProtoContract()] + public partial class CPublishedFile_GetItemChanges_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)] + public uint last_time_updated + { + get => __pbn__last_time_updated.GetValueOrDefault(); + set => __pbn__last_time_updated = value; + } + public bool ShouldSerializelast_time_updated() => __pbn__last_time_updated != null; + public void Resetlast_time_updated() => __pbn__last_time_updated = null; + private uint? __pbn__last_time_updated; + + [global::ProtoBuf.ProtoMember(3)] + public uint num_items_max + { + get => __pbn__num_items_max.GetValueOrDefault(); + set => __pbn__num_items_max = value; + } + public bool ShouldSerializenum_items_max() => __pbn__num_items_max != null; + public void Resetnum_items_max() => __pbn__num_items_max = null; + private uint? __pbn__num_items_max; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPublishedFile_GetItemChanges_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)] + public uint update_time + { + get => __pbn__update_time.GetValueOrDefault(); + set => __pbn__update_time = value; + } + public bool ShouldSerializeupdate_time() => __pbn__update_time != null; + public void Resetupdate_time() => __pbn__update_time = null; + private uint? __pbn__update_time; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List workshop_items { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class WorkshopItemInfo : 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 published_file_id + { + get => __pbn__published_file_id.GetValueOrDefault(); + set => __pbn__published_file_id = value; + } + public bool ShouldSerializepublished_file_id() => __pbn__published_file_id != null; + public void Resetpublished_file_id() => __pbn__published_file_id = null; + private ulong? __pbn__published_file_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint time_updated + { + get => __pbn__time_updated.GetValueOrDefault(); + set => __pbn__time_updated = value; + } + public bool ShouldSerializetime_updated() => __pbn__time_updated != null; + public void Resettime_updated() => __pbn__time_updated = null; + private uint? __pbn__time_updated; + + [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong manifest_id + { + get => __pbn__manifest_id.GetValueOrDefault(); + set => __pbn__manifest_id = value; + } + public bool ShouldSerializemanifest_id() => __pbn__manifest_id != null; + public void Resetmanifest_id() => __pbn__manifest_id = null; + private ulong? __pbn__manifest_id; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CPublishedFile_FileSubscribed_Notification : global::ProtoBuf.IExtensible { @@ -3693,6 +3793,7 @@ public interface IPublishedFile CPublishedFile_AddChild_Response AddChild(CPublishedFile_AddChild_Request request); CPublishedFile_RemoveChild_Response RemoveChild(CPublishedFile_RemoveChild_Request request); CPublishedFile_GetUserVoteSummary_Response GetUserVoteSummary(CPublishedFile_GetUserVoteSummary_Request request); + CPublishedFile_GetItemChanges_Response GetItemChanges(CPublishedFile_GetItemChanges_Request request); } public interface IPublishedFileClient diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs index c277bc2d2..dff58c4f2 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs @@ -4,7 +4,6 @@ */ using System; -using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using SteamKit2.Internal; @@ -13,123 +12,6 @@ namespace SteamKit2 { public sealed partial class SteamWorkshop { - /// - /// This callback is received in response to calling . - /// - public sealed class UserPublishedFilesCallback : CallbackMsg - { - /// - /// Represents the details of a single published file. - /// - public sealed class File - { - /// - /// Gets the file ID. - /// - public PublishedFileID FileID { get; private set; } - - - internal File( CMsgClientUCMEnumerateUserPublishedFilesResponse.PublishedFileId file ) - { - this.FileID = file.published_file_id; - } - } - - - /// - /// Gets the result. - /// - public EResult Result { get; private set; } - - /// - /// Gets the list of enumerated files. - /// - public ReadOnlyCollection Files { get; private set; } - - /// - /// Gets the count of total results. - /// - public int TotalResults { get; private set; } - - - internal UserPublishedFilesCallback( JobID jobID, CMsgClientUCMEnumerateUserPublishedFilesResponse msg) - { - this.JobID = jobID; - - this.Result = ( EResult )msg.eresult; - - var fileList = msg.published_files - .Select( f => new File( f ) ) - .ToList(); - - this.Files = new ReadOnlyCollection( fileList ); - - this.TotalResults = ( int )msg.total_results; - } - } - - /// - /// This callback is received in response to calling . - /// - public sealed class UserSubscribedFilesCallback : CallbackMsg - { - /// - /// Represents the details of a single published file. - /// - public sealed class File - { - /// - /// Gets the file ID. - /// - public PublishedFileID FileID { get; private set; } - - /// - /// Gets the time this file was subscribed to. - /// - public DateTime TimeSubscribed { get; private set; } - - - internal File( CMsgClientUCMEnumerateUserSubscribedFilesResponse.PublishedFileId file ) - { - this.FileID = file.published_file_id; - - this.TimeSubscribed = DateUtils.DateTimeFromUnixTime( file.rtime32_subscribed ); - } - } - - - /// - /// Gets the result. - /// - public EResult Result { get; private set; } - - /// - /// Gets the list of enumerated files. - /// - public ReadOnlyCollection Files { get; private set; } - - /// - /// Gets the count of total results. - /// - public int TotalResults { get; private set; } - - - internal UserSubscribedFilesCallback( JobID jobID, CMsgClientUCMEnumerateUserSubscribedFilesResponse msg ) - { - this.JobID = jobID; - - this.Result = ( EResult )msg.eresult; - - var fileList = msg.subscribed_files - .Select( f => new File( f ) ) - .ToList(); - - this.Files = new ReadOnlyCollection( fileList ); - - this.TotalResults = ( int )msg.total_results; - } - } - /// /// This callback is received in response to calling . /// diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs index 66eed1d95..bd7959cf7 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs @@ -20,8 +20,6 @@ internal SteamWorkshop() { dispatchMap = new Dictionary> { - { EMsg.ClientUCMEnumerateUserPublishedFilesResponse, HandleEnumUserPublishedFiles }, - { EMsg.ClientUCMEnumerateUserSubscribedFilesResponse, HandleEnumUserSubscribedFiles }, { EMsg.ClientUCMEnumeratePublishedFilesByUserActionResponse, HandleEnumPublishedFilesByAction }, }; } @@ -40,15 +38,6 @@ public sealed class EnumerationUserDetails /// public uint AppID { get; set; } - /// - /// Gets or sets the sort order. - /// This value is only used by . - /// - /// - /// The sort order. - /// - public uint SortOrder { get; set; } - /// /// Gets or sets the start index. /// @@ -66,57 +55,7 @@ public sealed class EnumerationUserDetails /// public EWorkshopFileAction UserAction { get; set; } } - - /// - /// Enumerates the list of published files for the current logged in user. - /// Results are returned in a . - /// The returned can also be awaited to retrieve the callback result. - /// - /// The specific details of the request. - /// The Job ID of the request. This can be used to find the appropriate . - public AsyncJob EnumerateUserPublishedFiles( EnumerationUserDetails details ) - { - if ( details == null ) - { - throw new ArgumentNullException( nameof(details) ); - } - - var enumRequest = new ClientMsgProtobuf( EMsg.ClientUCMEnumerateUserPublishedFiles ); - enumRequest.SourceJobID = Client.GetNextJobID(); - - enumRequest.Body.app_id = details.AppID; - enumRequest.Body.sort_order = details.SortOrder; - enumRequest.Body.start_index = details.StartIndex; - - Client.Send( enumRequest ); - - return new AsyncJob( this.Client, enumRequest.SourceJobID ); - } - /// - /// Enumerates the list of subscribed files for the current logged in user. - /// Results are returned in a . - /// The returned can also be awaited to retrieve the callback result. - /// - /// The specific details of the request. - /// The Job ID of the request. This can be used to find the appropriate . - public AsyncJob EnumerateUserSubscribedFiles( EnumerationUserDetails details ) - { - if ( details == null ) - { - throw new ArgumentNullException( nameof(details) ); - } - - var enumRequest = new ClientMsgProtobuf( EMsg.ClientUCMEnumerateUserSubscribedFiles ); - enumRequest.SourceJobID = Client.GetNextJobID(); - - enumRequest.Body.app_id = details.AppID; - enumRequest.Body.start_index = details.StartIndex; - - Client.Send( enumRequest ); - - return new AsyncJob( this.Client, enumRequest.SourceJobID ); - } - + /// /// Enumerates the list of published files for the current logged in user based on user action. /// Results are returned in a . @@ -167,20 +106,6 @@ public override void HandleMsg( IPacketMsg packetMsg ) #region ClientMsg Handlers - void HandleEnumUserPublishedFiles( IPacketMsg packetMsg ) - { - var response = new ClientMsgProtobuf( packetMsg ); - - var callback = new UserPublishedFilesCallback(response.TargetJobID, response.Body); - Client.PostCallback( callback ); - } - void HandleEnumUserSubscribedFiles( IPacketMsg packetMsg ) - { - var response = new ClientMsgProtobuf( packetMsg ); - - var callback = new UserSubscribedFilesCallback( response.TargetJobID, response.Body ); - Client.PostCallback( callback ); - } void HandleEnumPublishedFilesByAction( IPacketMsg packetMsg ) { var response = new ClientMsgProtobuf( packetMsg );