diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/MainForm.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/MainForm.cs index 4c3be52b9..1b9541282 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/MainForm.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/MainForm.cs @@ -306,13 +306,16 @@ void HandleFileCreated(string fullPath) return; } - var listViewItem = item.AsListViewItem(); - itemsListView.Items.Add(listViewItem); - - if (automaticallySelectNewItemsToolStripMenuItem.Checked) + itemsListView.Invoke( ( MethodInvoker ) delegate () { - SelectLastItem(); - } + var listViewItem = item.AsListViewItem(); + itemsListView.Items.Add( listViewItem ); + + if ( automaticallySelectNewItemsToolStripMenuItem.Checked ) + { + SelectLastItem(); + } + } ); } void OnFolderWatcherCreated(object sender, FileSystemEventArgs e) diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/NetHookItem.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/NetHookItem.cs index d809ed248..576ed9dbb 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/NetHookItem.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/NetHookItem.cs @@ -125,13 +125,13 @@ string ReadInnerMessageNameCore() case SteamKit2.EMsg.ClientServiceMethodLegacy: { - var proto = ReadAsProtobufMsg(); + var proto = ReadAsProtobufMsg(); return proto.Body.method_name; } case SteamKit2.EMsg.ClientServiceMethodLegacyResponse: { - var proto = ReadAsProtobufMsg(); + var proto = ReadAsProtobufMsg(); return proto.Body.method_name; } diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/CSGO/CSGOSOMultipleObjectsGCSpecialization.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/CSGO/CSGOSOMultipleObjectsGCSpecialization.cs index 56221340f..c8f14dfa3 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/CSGO/CSGOSOMultipleObjectsGCSpecialization.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/CSGO/CSGOSOMultipleObjectsGCSpecialization.cs @@ -22,15 +22,6 @@ public IEnumerable> GetExtraObjects(object body, ui yield break; } - foreach(var singleObject in updateMultiple.objects_added) - { - var extraNode = ReadExtraObject(singleObject); - if (extraNode != null) - { - yield return new KeyValuePair(string.Format("New SO ({0})", extraNode.GetType().Name), extraNode); - } - } - foreach (var singleObject in updateMultiple.objects_modified) { var extraNode = ReadExtraObject(singleObject); @@ -39,15 +30,6 @@ public IEnumerable> GetExtraObjects(object body, ui yield return new KeyValuePair(string.Format("Modified SO ({0})", extraNode.GetType().Name), extraNode); } } - - foreach (var singleObject in updateMultiple.objects_removed) - { - var extraNode = ReadExtraObject(singleObject); - if (extraNode != null) - { - yield return new KeyValuePair(string.Format("Removed SO ({0})", extraNode.GetType().Name), extraNode); - } - } } object ReadExtraObject(CMsgSOMultipleObjects.SingleObject sharedObject) diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/ClientServiceMethodResponseSpecialization.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/ClientServiceMethodResponseSpecialization.cs index 1599f651b..72ce724ba 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/ClientServiceMethodResponseSpecialization.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/ClientServiceMethodResponseSpecialization.cs @@ -8,7 +8,7 @@ class ClientServiceMethodResponseSpecialization : ISpecialization { public IEnumerable> ReadExtraObjects(object messageObject) { - var serviceMethodBody = messageObject as CMsgClientServiceMethodResponse; + var serviceMethodBody = messageObject as CMsgClientServiceMethodLegacyResponse; if (serviceMethodBody == null) { yield break; diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/ClientServiceMethodSpecialization.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/ClientServiceMethodSpecialization.cs index 3f4952620..ae9671dbc 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/ClientServiceMethodSpecialization.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Specializations/ClientServiceMethodSpecialization.cs @@ -9,7 +9,7 @@ class ClientServiceMethodSpecialization : ISpecialization { public IEnumerable> ReadExtraObjects(object messageObject) { - var serviceMethodBody = messageObject as CMsgClientServiceMethod; + var serviceMethodBody = messageObject as CMsgClientServiceMethodLegacy; if (serviceMethodBody == null) { yield break; diff --git a/Resources/ProtobufGen/protos.csv b/Resources/ProtobufGen/protos.csv index b46a5825a..95d79fac1 100644 --- a/Resources/ProtobufGen/protos.csv +++ b/Resources/ProtobufGen/protos.csv @@ -67,6 +67,7 @@ dota2,dota_gcmessages_common.proto,GC\Dota\MsgGCCommon.cs,SteamKit2.GC.Dota.Inte dota2,dota_gcmessages_common_match_management.proto,GC\Dota\MsgGCCommonMatchMgmt.cs,SteamKit2.GC.Dota.Internal dota2,dota_gcmessages_msgid.proto,GC\Dota\MsgGCMsgId.cs,SteamKit2.GC.Dota.Internal dota2,dota_gcmessages_server.proto,GC\Dota\MsgGCServer.cs,SteamKit2.GC.Dota.Internal +dota2,extramsgblockutil.proto,GC\Dota\MsgGCExtraMsgBlock.cs,SteamKit2.GC.Dota.Internal dota2,dota_match_metadata.proto,GC\Dota\MsgMatchMetadata.cs,SteamKit2.GC.Dota.Internal dota2,dota_shared_enums.proto,GC\Dota\MsgSharedEnums.cs,SteamKit2.GC.Dota.Internal dota2,econ_gcmessages.proto,GC\Dota\SteamMsgGCEcon.cs,SteamKit2.GC.Dota.Internal diff --git a/Resources/Protobufs b/Resources/Protobufs index d8aa67fee..d188f9111 160000 --- a/Resources/Protobufs +++ b/Resources/Protobufs @@ -1 +1 @@ -Subproject commit d8aa67feea3ce8147072d893418ef69292213730 +Subproject commit d188f9111237f1d693760441960cd62246a1b012 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs index 44cf8a7f2..959d579d3 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs @@ -307,6 +307,8 @@ public enum EGCItemCustomizationNotification { k_EGCItemCustomizationNotification_NameItem = 1006, k_EGCItemCustomizationNotification_UnlockCrate = 1007, + k_EGCItemCustomizationNotification_XRayItemReveal = 1008, + k_EGCItemCustomizationNotification_XRayItemClaim = 1009, k_EGCItemCustomizationNotification_NameBaseItem = 1019, k_EGCItemCustomizationNotification_RemoveItemName = 1030, k_EGCItemCustomizationNotification_RemoveSticker = 1053, diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEngine.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEngine.cs index 04d7a2aa0..fc427e106 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEngine.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEngine.cs @@ -105,6 +105,16 @@ public float keyframe_interval public void Resetkeyframe_interval() => __pbn__keyframe_interval = null; private float? __pbn__keyframe_interval; + [global::ProtoBuf.ProtoMember(11)] + public uint cdndelay + { + get { return __pbn__cdndelay.GetValueOrDefault(); } + set { __pbn__cdndelay = value; } + } + public bool ShouldSerializecdndelay() => __pbn__cdndelay != null; + public void Resetcdndelay() => __pbn__cdndelay = null; + private uint? __pbn__cdndelay; + } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSDK.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSDK.cs index 3030861c3..b64607e2f 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSDK.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCSDK.cs @@ -99,12 +99,6 @@ public ulong version public void Resetversion() => __pbn__version = null; private ulong? __pbn__version; - [global::ProtoBuf.ProtoMember(4)] - public global::System.Collections.Generic.List objects_added { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(5)] - public global::System.Collections.Generic.List objects_removed { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(6)] public CMsgSOIDOwner owner_soid { get; set; } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs index 8b85f85b1..f9402615d 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs @@ -532,7 +532,7 @@ public enum PopupID CLIENT_OUT_OF_DATE = 32, SAVE_GAME_CORRUPT = 38, INSUFFICIENT_INGOTS = 39, - COMPETITIVE_MM_NOT_ENOUGH_SKILL_DATA_PLAY_MORE_CASUAL = 42, + COMPETITIVE_MM_NOT_ENOUGH_PLAY_TIME_PLAY_MORE_CASUAL = 42, PARTY_LEADER_JOINED_LOBBY = 44, WEEKEND_TOURNEY_UNMATCHED = 48, POST_MATCH_SURVEY = 49, @@ -1284,16 +1284,6 @@ public bool should_request_player_origin public void Resetshould_request_player_origin() => __pbn__should_request_player_origin = null; private bool? __pbn__should_request_player_origin; - [global::ProtoBuf.ProtoMember(21)] - public ulong compendium_unlocks - { - get { return __pbn__compendium_unlocks.GetValueOrDefault(); } - set { __pbn__compendium_unlocks = value; } - } - public bool ShouldSerializecompendium_unlocks() => __pbn__compendium_unlocks != null; - public void Resetcompendium_unlocks() => __pbn__compendium_unlocks = null; - private ulong? __pbn__compendium_unlocks; - [global::ProtoBuf.ProtoMember(22)] public uint gc_socache_file_version { @@ -3941,9 +3931,6 @@ public uint eresult public void Reseteresult() => __pbn__eresult = null; private uint? __pbn__eresult; - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List extra_selections { get; } = new global::System.Collections.Generic.List(); - } [global::ProtoBuf.ProtoContract()] @@ -7664,46 +7651,7 @@ public partial class CMsgClientToGCVoteForArcana : global::ProtoBuf.IExtensible => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); [global::ProtoBuf.ProtoMember(1)] - public global::System.Collections.Generic.List matches { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class MatchVote : 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 { return __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 hero_id - { - get { return __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(3)] - public uint vote_count - { - get { return __pbn__vote_count.GetValueOrDefault(); } - set { __pbn__vote_count = value; } - } - public bool ShouldSerializevote_count() => __pbn__vote_count != null; - public void Resetvote_count() => __pbn__vote_count = null; - private uint? __pbn__vote_count; - - } + public global::System.Collections.Generic.List matches { get; } = new global::System.Collections.Generic.List(); } @@ -7991,46 +7939,7 @@ public uint votes_total private uint? __pbn__votes_total; [global::ProtoBuf.ProtoMember(4)] - public global::System.Collections.Generic.List matches_previously_voted_for { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class MatchVote : 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 { return __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 hero_id - { - get { return __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(3)] - public uint vote_count - { - get { return __pbn__vote_count.GetValueOrDefault(); } - set { __pbn__vote_count = value; } - } - public bool ShouldSerializevote_count() => __pbn__vote_count != null; - public void Resetvote_count() => __pbn__vote_count = null; - private uint? __pbn__vote_count; - - } + public global::System.Collections.Generic.List matches_previously_voted_for { get; } = new global::System.Collections.Generic.List(); } @@ -8183,104 +8092,6 @@ public uint trees } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRequestLinaPlaysRemaining : 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(EEvent.EVENT_ID_NONE)] - public EEvent event_id - { - get { return __pbn__event_id ?? EEvent.EVENT_ID_NONE; } - set { __pbn__event_id = value; } - } - public bool ShouldSerializeevent_id() => __pbn__event_id != null; - public void Resetevent_id() => __pbn__event_id = null; - private EEvent? __pbn__event_id; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRequestLinaPlaysRemainingResponse : 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 plays_remaining - { - get { return __pbn__plays_remaining.GetValueOrDefault(); } - set { __pbn__plays_remaining = value; } - } - public bool ShouldSerializeplays_remaining() => __pbn__plays_remaining != null; - public void Resetplays_remaining() => __pbn__plays_remaining = null; - private uint? __pbn__plays_remaining; - - [global::ProtoBuf.ProtoMember(2)] - public uint plays_total - { - get { return __pbn__plays_total.GetValueOrDefault(); } - set { __pbn__plays_total = value; } - } - public bool ShouldSerializeplays_total() => __pbn__plays_total != null; - public void Resetplays_total() => __pbn__plays_total = null; - private uint? __pbn__plays_total; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRequestLinaGameResult : 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(EEvent.EVENT_ID_NONE)] - public EEvent event_id - { - get { return __pbn__event_id ?? EEvent.EVENT_ID_NONE; } - set { __pbn__event_id = value; } - } - public bool ShouldSerializeevent_id() => __pbn__event_id != null; - public void Resetevent_id() => __pbn__event_id = null; - private EEvent? __pbn__event_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint slot_chosen - { - get { return __pbn__slot_chosen.GetValueOrDefault(); } - set { __pbn__slot_chosen = value; } - } - public bool ShouldSerializeslot_chosen() => __pbn__slot_chosen != null; - public void Resetslot_chosen() => __pbn__slot_chosen = null; - private uint? __pbn__slot_chosen; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCRequestLinaGameResultResponse : 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 result - { - get { return __pbn__result.GetValueOrDefault(); } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private uint? __pbn__result; - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientToGCRequestSlarkGameResult : global::ProtoBuf.IExtensible { @@ -10759,6 +10570,25 @@ public float percentile } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToClientBattlePassRollup_TI9 : 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 battle_pass_level + { + get { return __pbn__battle_pass_level.GetValueOrDefault(); } + set { __pbn__battle_pass_level = value; } + } + public bool ShouldSerializebattle_pass_level() => __pbn__battle_pass_level != null; + public void Resetbattle_pass_level() => __pbn__battle_pass_level = null; + private uint? __pbn__battle_pass_level; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgGCToClientBattlePassRollupRequest : global::ProtoBuf.IExtensible { @@ -10810,6 +10640,9 @@ public partial class CMsgGCToClientBattlePassRollupResponse : global::ProtoBuf.I [global::ProtoBuf.ProtoMember(5)] public CMsgGCToClientBattlePassRollup_TI8 event_ti8 { get; set; } + [global::ProtoBuf.ProtoMember(6)] + public CMsgGCToClientBattlePassRollup_TI9 event_ti9 { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -11300,6 +11133,7 @@ public enum Result ERROR_NO_STEAM_PHONE = 2, ERROR_ALREADY_IN_USE = 3, ERROR_COOLDOWN_ACTIVE = 4, + ERROR_GAC_ISSUE = 5, } } @@ -15571,6 +15405,86 @@ public partial class CMsgGCToClientCoachTeammateRatingsChanged : global::ProtoBu } + [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 { return __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 { return __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 { return __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 { return __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 { return __pbn__account_id.GetValueOrDefault(); } + set { __pbn__account_id = value; } + } + public bool ShouldSerializeaccount_id() => __pbn__account_id != null; + public void Resetaccount_id() => __pbn__account_id = null; + private uint? __pbn__account_id; + + [global::ProtoBuf.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 { @@ -15675,6 +15589,184 @@ public enum EResponse } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetFavoriteAllStarPlayer : 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 player_id + { + get { return __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(2)] + public uint event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetFavoriteAllStarPlayerResponse : 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 { return __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 uint player_id + { + get { return __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 enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTooBusy = 2, + k_eDisabled = 3, + k_eAlreadySubmitted = 4, + k_ePlayerNotValid = 5, + k_eDoesntOwnEvent = 6, + k_eEventNotValid = 7, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCGetFavoriteAllStarPlayerRequest : 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 CMsgClientToGCGetFavoriteAllStarPlayerResponse : 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_eSuccess)] + public EResponse result + { + get { return __pbn__result ?? EResponse.k_eSuccess; } + 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 uint player_id + { + get { return __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(3)] + public uint picking_allowed_until + { + get { return __pbn__picking_allowed_until.GetValueOrDefault(); } + set { __pbn__picking_allowed_until = value; } + } + public bool ShouldSerializepicking_allowed_until() => __pbn__picking_allowed_until != null; + public void Resetpicking_allowed_until() => __pbn__picking_allowed_until = null; + private uint? __pbn__picking_allowed_until; + + [global::ProtoBuf.ProtoMember(4)] + public uint earned_battle_points + { + get { return __pbn__earned_battle_points.GetValueOrDefault(); } + set { __pbn__earned_battle_points = value; } + } + public bool ShouldSerializeearned_battle_points() => __pbn__earned_battle_points != null; + public void Resetearned_battle_points() => __pbn__earned_battle_points = null; + private uint? __pbn__earned_battle_points; + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eSuccess = 0, + k_eNoPick = 1, + k_eInternalError = 2, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCVerifyIntegrity : 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 currency + { + get { return __pbn__currency.GetValueOrDefault(); } + set { __pbn__currency = value; } + } + public bool ShouldSerializecurrency() => __pbn__currency != null; + public void Resetcurrency() => __pbn__currency = null; + private uint? __pbn__currency; + + [global::ProtoBuf.ProtoMember(2)] + public uint additional_user_message + { + get { return __pbn__additional_user_message.GetValueOrDefault(); } + set { __pbn__additional_user_message = value; } + } + public bool ShouldSerializeadditional_user_message() => __pbn__additional_user_message != null; + public void Resetadditional_user_message() => __pbn__additional_user_message = null; + private uint? __pbn__additional_user_message; + + [global::ProtoBuf.ProtoMember(3)] + public byte[] acked + { + get { return __pbn__acked; } + set { __pbn__acked = value; } + } + public bool ShouldSerializeacked() => __pbn__acked != null; + public void Resetacked() => __pbn__acked = null; + private byte[] __pbn__acked; + + } + [global::ProtoBuf.ProtoContract()] public enum DOTA_WatchReplayType { @@ -15748,6 +15840,7 @@ public enum EDOTATriviaQuestionCategory k_EDOTATriviaQuestionCategory_AbilityName = 11, k_EDOTATriviaQuestionCategory_ItemComponents = 12, k_EDOTATriviaQuestionCategory_ItemLore = 13, + k_EDOTATriviaQuestionCategory_ItemPassives = 14, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs index 2458b4d53..8f87f5773 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs @@ -2748,7 +2748,7 @@ public enum EStartFindingMatchResult k_EStartFindingMatchResult_CompetitiveNoLowPriority = 106, k_EStartFindingMatchResult_CompetitiveNotUnlocked = 107, k_EStartFindingMatchResult_GameModeNotUnlocked = 108, - k_EStartFindingMatchResult_CompetitiveNotEnoughSkillData = 109, + k_EStartFindingMatchResult_CompetitiveNotEnoughPlayTime = 109, k_EStartFindingMatchResult_MissingInitialSkill = 110, k_EStartFindingMatchResult_CompetitiveRankSpreadTooLarge = 111, k_EStartFindingMatchResult_MemberAlreadyInLobby = 112, @@ -2764,6 +2764,8 @@ public enum EStartFindingMatchResult k_EStartFindingMatchResult_NotMemberOfClan = 122, k_EStartFindingMatchResult_CoachesChallengeBadPartySize = 123, k_EStartFindingMatchResult_CoachesChallengeRequirementsNotMet = 124, + k_EStartFindingMatchResult_InvalidRoleSelections = 125, + k_EStartFindingMatchResult_PhoneNumberDiscrepancy = 126, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientTeam.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientTeam.cs index c82716c87..a62964eac 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientTeam.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientTeam.cs @@ -500,26 +500,6 @@ public uint losses public void Resetlosses() => __pbn__losses = null; private uint? __pbn__losses; - [global::ProtoBuf.ProtoMember(17)] - public uint rank - { - get { return __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(18)] - public uint calibration_games_remaining - { - get { return __pbn__calibration_games_remaining.GetValueOrDefault(); } - set { __pbn__calibration_games_remaining = value; } - } - public bool ShouldSerializecalibration_games_remaining() => __pbn__calibration_games_remaining != null; - public void Resetcalibration_games_remaining() => __pbn__calibration_games_remaining = null; - private uint? __pbn__calibration_games_remaining; - [global::ProtoBuf.ProtoMember(19)] public uint games_played_total { @@ -1163,14 +1143,14 @@ public string invitee_name private string __pbn__invitee_name; [global::ProtoBuf.ProtoMember(3)] - public uint required_badge_level + public uint required_play_time { - get { return __pbn__required_badge_level.GetValueOrDefault(); } - set { __pbn__required_badge_level = value; } + get { return __pbn__required_play_time.GetValueOrDefault(); } + set { __pbn__required_play_time = value; } } - public bool ShouldSerializerequired_badge_level() => __pbn__required_badge_level != null; - public void Resetrequired_badge_level() => __pbn__required_badge_level = null; - private uint? __pbn__required_badge_level; + public bool ShouldSerializerequired_play_time() => __pbn__required_play_time != null; + public void Resetrequired_play_time() => __pbn__required_play_time = null; + private uint? __pbn__required_play_time; } @@ -1506,7 +1486,7 @@ public enum ETeamInviteResult TEAM_INVITE_ERROR_INVITEE_BUSY = 6, TEAM_INVITE_ERROR_INVITEE_ALREADY_MEMBER = 7, TEAM_INVITE_ERROR_INVITEE_AT_TEAM_LIMIT = 8, - TEAM_INVITE_ERROR_INVITEE_INSUFFICIENT_LEVEL = 9, + TEAM_INVITE_ERROR_INVITEE_INSUFFICIENT_PLAY_TIME = 9, TEAM_INVITE_ERROR_INVITER_INVALID_ACCOUNT_TYPE = 10, TEAM_INVITE_ERROR_INVITER_NOT_ADMIN = 11, TEAM_INVITE_ERROR_INCORRECT_USER_RESPONDED = 12, diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs index 0237938b3..b94379ba1 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs @@ -297,44 +297,44 @@ public uint low_priority_games_remaining private uint? __pbn__low_priority_games_remaining; [global::ProtoBuf.ProtoMember(49)] - public uint competitive_rank + public uint competitive_2019_rank { - get { return __pbn__competitive_rank.GetValueOrDefault(); } - set { __pbn__competitive_rank = value; } + get { return __pbn__competitive_2019_rank.GetValueOrDefault(); } + set { __pbn__competitive_2019_rank = value; } } - public bool ShouldSerializecompetitive_rank() => __pbn__competitive_rank != null; - public void Resetcompetitive_rank() => __pbn__competitive_rank = null; - private uint? __pbn__competitive_rank; + public bool ShouldSerializecompetitive_2019_rank() => __pbn__competitive_2019_rank != null; + public void Resetcompetitive_2019_rank() => __pbn__competitive_2019_rank = null; + private uint? __pbn__competitive_2019_rank; [global::ProtoBuf.ProtoMember(51)] - public uint calibration_games_remaining + public uint competitive_2019_calibration_games_remaining { - get { return __pbn__calibration_games_remaining.GetValueOrDefault(); } - set { __pbn__calibration_games_remaining = value; } + get { return __pbn__competitive_2019_calibration_games_remaining.GetValueOrDefault(); } + set { __pbn__competitive_2019_calibration_games_remaining = value; } } - public bool ShouldSerializecalibration_games_remaining() => __pbn__calibration_games_remaining != null; - public void Resetcalibration_games_remaining() => __pbn__calibration_games_remaining = null; - private uint? __pbn__calibration_games_remaining; + public bool ShouldSerializecompetitive_2019_calibration_games_remaining() => __pbn__competitive_2019_calibration_games_remaining != null; + public void Resetcompetitive_2019_calibration_games_remaining() => __pbn__competitive_2019_calibration_games_remaining = null; + private uint? __pbn__competitive_2019_calibration_games_remaining; [global::ProtoBuf.ProtoMember(52)] - public uint solo_competitive_rank + public uint solo_competitive_2019_rank { - get { return __pbn__solo_competitive_rank.GetValueOrDefault(); } - set { __pbn__solo_competitive_rank = value; } + get { return __pbn__solo_competitive_2019_rank.GetValueOrDefault(); } + set { __pbn__solo_competitive_2019_rank = value; } } - public bool ShouldSerializesolo_competitive_rank() => __pbn__solo_competitive_rank != null; - public void Resetsolo_competitive_rank() => __pbn__solo_competitive_rank = null; - private uint? __pbn__solo_competitive_rank; + public bool ShouldSerializesolo_competitive_2019_rank() => __pbn__solo_competitive_2019_rank != null; + public void Resetsolo_competitive_2019_rank() => __pbn__solo_competitive_2019_rank = null; + private uint? __pbn__solo_competitive_2019_rank; [global::ProtoBuf.ProtoMember(54)] - public uint solo_calibration_games_remaining + public uint solo_competitive_2019_calibration_games_remaining { - get { return __pbn__solo_calibration_games_remaining.GetValueOrDefault(); } - set { __pbn__solo_calibration_games_remaining = value; } + get { return __pbn__solo_competitive_2019_calibration_games_remaining.GetValueOrDefault(); } + set { __pbn__solo_competitive_2019_calibration_games_remaining = value; } } - public bool ShouldSerializesolo_calibration_games_remaining() => __pbn__solo_calibration_games_remaining != null; - public void Resetsolo_calibration_games_remaining() => __pbn__solo_calibration_games_remaining = null; - private uint? __pbn__solo_calibration_games_remaining; + public bool ShouldSerializesolo_competitive_2019_calibration_games_remaining() => __pbn__solo_competitive_2019_calibration_games_remaining != null; + public void Resetsolo_competitive_2019_calibration_games_remaining() => __pbn__solo_competitive_2019_calibration_games_remaining = null; + private uint? __pbn__solo_competitive_2019_calibration_games_remaining; [global::ProtoBuf.ProtoMember(55)] public uint recruitment_level @@ -406,16 +406,6 @@ public uint casual_1v1_games_played public void Resetcasual_1v1_games_played() => __pbn__casual_1v1_games_played = null; private uint? __pbn__casual_1v1_games_played; - [global::ProtoBuf.ProtoMember(66)] - public uint competitive_team_games_played - { - get { return __pbn__competitive_team_games_played.GetValueOrDefault(); } - set { __pbn__competitive_team_games_played = value; } - } - public bool ShouldSerializecompetitive_team_games_played() => __pbn__competitive_team_games_played != null; - public void Resetcompetitive_team_games_played() => __pbn__competitive_team_games_played = null; - private uint? __pbn__competitive_team_games_played; - [global::ProtoBuf.ProtoMember(67)] public uint curr_all_hero_challenge_id { @@ -736,6 +726,46 @@ 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 { return __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 { return __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 { return __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 { return __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.ProtoContract()] @@ -1013,26 +1043,6 @@ public uint favorite_team_level public void Resetfavorite_team_level() => __pbn__favorite_team_level = null; private uint? __pbn__favorite_team_level; - [global::ProtoBuf.ProtoMember(7)] - public uint points_held - { - get { return __pbn__points_held.GetValueOrDefault(); } - set { __pbn__points_held = value; } - } - public bool ShouldSerializepoints_held() => __pbn__points_held != null; - public void Resetpoints_held() => __pbn__points_held = null; - private uint? __pbn__points_held; - - [global::ProtoBuf.ProtoMember(8)] - public uint premium_points_held - { - get { return __pbn__premium_points_held.GetValueOrDefault(); } - set { __pbn__premium_points_held = value; } - } - public bool ShouldSerializepremium_points_held() => __pbn__premium_points_held != null; - public void Resetpremium_points_held() => __pbn__premium_points_held = null; - private uint? __pbn__premium_points_held; - [global::ProtoBuf.ProtoMember(9)] public uint favorite_team_foil_level { @@ -1509,6 +1519,16 @@ public uint net_worth private uint? __pbn__net_worth; [global::ProtoBuf.ProtoMember(6)] + public uint xp + { + get { return __pbn__xp.GetValueOrDefault(); } + set { __pbn__xp = value; } + } + public bool ShouldSerializexp() => __pbn__xp != null; + public void Resetxp() => __pbn__xp = null; + private uint? __pbn__xp; + + [global::ProtoBuf.ProtoMember(7)] public uint last_hits { get { return __pbn__last_hits.GetValueOrDefault(); } @@ -1518,7 +1538,7 @@ public uint last_hits public void Resetlast_hits() => __pbn__last_hits = null; private uint? __pbn__last_hits; - [global::ProtoBuf.ProtoMember(7)] + [global::ProtoBuf.ProtoMember(8)] public uint denies { get { return __pbn__denies.GetValueOrDefault(); } @@ -1528,6 +1548,95 @@ public uint denies public void Resetdenies() => __pbn__denies = null; private uint? __pbn__denies; + [global::ProtoBuf.ProtoMember(9)] + public uint bounty_rune_gold + { + get { return __pbn__bounty_rune_gold.GetValueOrDefault(); } + set { __pbn__bounty_rune_gold = value; } + } + public bool ShouldSerializebounty_rune_gold() => __pbn__bounty_rune_gold != null; + public void Resetbounty_rune_gold() => __pbn__bounty_rune_gold = null; + private uint? __pbn__bounty_rune_gold; + + [global::ProtoBuf.ProtoMember(10)] + public uint range_creep_upgrade_gold + { + get { return __pbn__range_creep_upgrade_gold.GetValueOrDefault(); } + set { __pbn__range_creep_upgrade_gold = value; } + } + public bool ShouldSerializerange_creep_upgrade_gold() => __pbn__range_creep_upgrade_gold != null; + public void Resetrange_creep_upgrade_gold() => __pbn__range_creep_upgrade_gold = null; + private uint? __pbn__range_creep_upgrade_gold; + + [global::ProtoBuf.ProtoMember(11)] + public uint observer_wards_dewarded + { + get { return __pbn__observer_wards_dewarded.GetValueOrDefault(); } + set { __pbn__observer_wards_dewarded = value; } + } + public bool ShouldSerializeobserver_wards_dewarded() => __pbn__observer_wards_dewarded != null; + public void Resetobserver_wards_dewarded() => __pbn__observer_wards_dewarded = null; + private uint? __pbn__observer_wards_dewarded; + + [global::ProtoBuf.ProtoMember(12)] + public uint reliable_gold_earned + { + get { return __pbn__reliable_gold_earned.GetValueOrDefault(); } + set { __pbn__reliable_gold_earned = value; } + } + public bool ShouldSerializereliable_gold_earned() => __pbn__reliable_gold_earned != null; + public void Resetreliable_gold_earned() => __pbn__reliable_gold_earned = null; + private uint? __pbn__reliable_gold_earned; + + [global::ProtoBuf.ProtoMember(13)] + public uint gold_loss_prevented + { + get { return __pbn__gold_loss_prevented.GetValueOrDefault(); } + set { __pbn__gold_loss_prevented = value; } + } + public bool ShouldSerializegold_loss_prevented() => __pbn__gold_loss_prevented != null; + public void Resetgold_loss_prevented() => __pbn__gold_loss_prevented = null; + private uint? __pbn__gold_loss_prevented; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMatchTeamTimedStats : 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 + { + get { return __pbn__time.GetValueOrDefault(); } + set { __pbn__time = value; } + } + public bool ShouldSerializetime() => __pbn__time != null; + public void Resettime() => __pbn__time = null; + private uint? __pbn__time; + + [global::ProtoBuf.ProtoMember(2)] + public uint enemy_towers_killed + { + get { return __pbn__enemy_towers_killed.GetValueOrDefault(); } + set { __pbn__enemy_towers_killed = value; } + } + public bool ShouldSerializeenemy_towers_killed() => __pbn__enemy_towers_killed != null; + public void Resetenemy_towers_killed() => __pbn__enemy_towers_killed = null; + private uint? __pbn__enemy_towers_killed; + + [global::ProtoBuf.ProtoMember(3)] + public uint enemy_barracks_killed + { + get { return __pbn__enemy_barracks_killed.GetValueOrDefault(); } + set { __pbn__enemy_barracks_killed = value; } + } + public bool ShouldSerializeenemy_barracks_killed() => __pbn__enemy_barracks_killed != null; + public void Resetenemy_barracks_killed() => __pbn__enemy_barracks_killed = null; + private uint? __pbn__enemy_barracks_killed; + } [global::ProtoBuf.ProtoContract()] @@ -2253,6 +2362,96 @@ public uint previous_rank_tier public void Resetprevious_rank_tier() => __pbn__previous_rank_tier = null; private uint? __pbn__previous_rank_tier; + [global::ProtoBuf.ProtoMember(14)] + public uint rank_tier_mmr_type + { + get { return __pbn__rank_tier_mmr_type.GetValueOrDefault(); } + set { __pbn__rank_tier_mmr_type = value; } + } + public bool ShouldSerializerank_tier_mmr_type() => __pbn__rank_tier_mmr_type != null; + public void Resetrank_tier_mmr_type() => __pbn__rank_tier_mmr_type = null; + private uint? __pbn__rank_tier_mmr_type; + + [global::ProtoBuf.ProtoMember(15)] + public uint rank_tier_core + { + get { return __pbn__rank_tier_core.GetValueOrDefault(); } + set { __pbn__rank_tier_core = value; } + } + public bool ShouldSerializerank_tier_core() => __pbn__rank_tier_core != null; + public void Resetrank_tier_core() => __pbn__rank_tier_core = null; + private uint? __pbn__rank_tier_core; + + [global::ProtoBuf.ProtoMember(16)] + public uint rank_tier_core_score + { + get { return __pbn__rank_tier_core_score.GetValueOrDefault(); } + set { __pbn__rank_tier_core_score = value; } + } + public bool ShouldSerializerank_tier_core_score() => __pbn__rank_tier_core_score != null; + public void Resetrank_tier_core_score() => __pbn__rank_tier_core_score = null; + private uint? __pbn__rank_tier_core_score; + + [global::ProtoBuf.ProtoMember(17)] + public uint leaderboard_rank_core + { + get { return __pbn__leaderboard_rank_core.GetValueOrDefault(); } + set { __pbn__leaderboard_rank_core = value; } + } + public bool ShouldSerializeleaderboard_rank_core() => __pbn__leaderboard_rank_core != null; + public void Resetleaderboard_rank_core() => __pbn__leaderboard_rank_core = null; + private uint? __pbn__leaderboard_rank_core; + + [global::ProtoBuf.ProtoMember(18)] + public uint rank_tier_support + { + get { return __pbn__rank_tier_support.GetValueOrDefault(); } + set { __pbn__rank_tier_support = value; } + } + public bool ShouldSerializerank_tier_support() => __pbn__rank_tier_support != null; + public void Resetrank_tier_support() => __pbn__rank_tier_support = null; + private uint? __pbn__rank_tier_support; + + [global::ProtoBuf.ProtoMember(19)] + public uint rank_tier_support_score + { + get { return __pbn__rank_tier_support_score.GetValueOrDefault(); } + set { __pbn__rank_tier_support_score = value; } + } + public bool ShouldSerializerank_tier_support_score() => __pbn__rank_tier_support_score != null; + public void Resetrank_tier_support_score() => __pbn__rank_tier_support_score = null; + private uint? __pbn__rank_tier_support_score; + + [global::ProtoBuf.ProtoMember(20)] + public uint leaderboard_rank_support + { + get { return __pbn__leaderboard_rank_support.GetValueOrDefault(); } + set { __pbn__leaderboard_rank_support = value; } + } + public bool ShouldSerializeleaderboard_rank_support() => __pbn__leaderboard_rank_support != null; + public void Resetleaderboard_rank_support() => __pbn__leaderboard_rank_support = null; + private uint? __pbn__leaderboard_rank_support; + + [global::ProtoBuf.ProtoMember(21)] + public uint rank_tier_core_peak + { + get { return __pbn__rank_tier_core_peak.GetValueOrDefault(); } + set { __pbn__rank_tier_core_peak = value; } + } + public bool ShouldSerializerank_tier_core_peak() => __pbn__rank_tier_core_peak != null; + public void Resetrank_tier_core_peak() => __pbn__rank_tier_core_peak = null; + private uint? __pbn__rank_tier_core_peak; + + [global::ProtoBuf.ProtoMember(22)] + public uint rank_tier_support_peak + { + get { return __pbn__rank_tier_support_peak.GetValueOrDefault(); } + set { __pbn__rank_tier_support_peak = value; } + } + public bool ShouldSerializerank_tier_support_peak() => __pbn__rank_tier_support_peak != null; + public void Resetrank_tier_support_peak() => __pbn__rank_tier_support_peak = null; + private uint? __pbn__rank_tier_support_peak; + [global::ProtoBuf.ProtoContract()] public partial class Slot : global::ProtoBuf.IExtensible { @@ -2325,10 +2524,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_SoloRank)] + [global::System.ComponentModel.DefaultValue(CMsgDOTAProfileCard.EStatID.k_eStat_CoreRank)] public CMsgDOTAProfileCard.EStatID stat_id { - get { return __pbn__stat_id ?? CMsgDOTAProfileCard.EStatID.k_eStat_SoloRank; } + get { return __pbn__stat_id ?? CMsgDOTAProfileCard.EStatID.k_eStat_CoreRank; } set { __pbn__stat_id = value; } } public bool ShouldSerializestat_id() => __pbn__stat_id != null; @@ -2458,13 +2657,14 @@ public uint team_id [global::ProtoBuf.ProtoContract()] public enum EStatID { - k_eStat_SoloRank = 1, - k_eStat_PartyRank = 2, + k_eStat_CoreRank = 1, + k_eStat_SupportRank = 2, k_eStat_Wins = 3, k_eStat_Commends = 4, k_eStat_GamesPlayed = 5, k_eStat_FirstMatchDate = 6, k_eStat_PreviousSeasonRank = 7, + k_eStat_GamesMVP = 8, } } @@ -6005,25 +6205,15 @@ public int rank_change public void Resetrank_change() => __pbn__rank_change = null; private int? __pbn__rank_change; - [global::ProtoBuf.ProtoMember(49)] - public bool solo_rank + [global::ProtoBuf.ProtoMember(74)] + public uint mmr_type { - get { return __pbn__solo_rank.GetValueOrDefault(); } - set { __pbn__solo_rank = value; } + get { return __pbn__mmr_type.GetValueOrDefault(); } + set { __pbn__mmr_type = value; } } - public bool ShouldSerializesolo_rank() => __pbn__solo_rank != null; - public void Resetsolo_rank() => __pbn__solo_rank = null; - private bool? __pbn__solo_rank; - - [global::ProtoBuf.ProtoMember(53)] - public bool seasonal_rank - { - get { return __pbn__seasonal_rank.GetValueOrDefault(); } - set { __pbn__seasonal_rank = value; } - } - public bool ShouldSerializeseasonal_rank() => __pbn__seasonal_rank != null; - public void Resetseasonal_rank() => __pbn__seasonal_rank = null; - private bool? __pbn__seasonal_rank; + public bool ShouldSerializemmr_type() => __pbn__mmr_type != null; + public void Resetmmr_type() => __pbn__mmr_type = null; + private uint? __pbn__mmr_type; [global::ProtoBuf.ProtoMember(66)] public bool rank_tier_updated @@ -6493,6 +6683,16 @@ public uint gold_lost_to_death public void Resetgold_lost_to_death() => __pbn__gold_lost_to_death = null; private uint? __pbn__gold_lost_to_death; + [global::ProtoBuf.ProtoMember(75)] + public uint lane_selection_flags + { + get { return __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 CustomGameData : global::ProtoBuf.IExtensible { @@ -8033,7 +8233,10 @@ public uint account_id private uint? __pbn__account_id; [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List actions_granted { get; } = new global::System.Collections.Generic.List(); + public global::System.Collections.Generic.List actions_granted_old { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List actions_granted { get; } = new global::System.Collections.Generic.List(); } @@ -8437,6 +8640,45 @@ public enum EResponse } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgArcanaVoteMatchVotes : 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 match_id + { + get { return __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 uint? __pbn__match_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint hero_id + { + get { return __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(3)] + public uint vote_count + { + get { return __pbn__vote_count.GetValueOrDefault(); } + set { __pbn__vote_count = value; } + } + public bool ShouldSerializevote_count() => __pbn__vote_count != null; + public void Resetvote_count() => __pbn__vote_count = null; + private uint? __pbn__vote_count; + + } + [global::ProtoBuf.ProtoContract()] public enum ESpecialPingValue { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs index b1df8f6e8..206af6668 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs @@ -564,6 +564,16 @@ public bool party_search_beacon_active public void Resetparty_search_beacon_active() => __pbn__party_search_beacon_active = null; private bool? __pbn__party_search_beacon_active; + [global::ProtoBuf.ProtoMember(67)] + public uint matchmaking_flags + { + get { return __pbn__matchmaking_flags.GetValueOrDefault(); } + set { __pbn__matchmaking_flags = value; } + } + public bool ShouldSerializematchmaking_flags() => __pbn__matchmaking_flags != null; + public void Resetmatchmaking_flags() => __pbn__matchmaking_flags = null; + private uint? __pbn__matchmaking_flags; + [global::ProtoBuf.ProtoContract()] public enum State { @@ -1204,6 +1214,23 @@ public bool was_mvp_last_game public void Resetwas_mvp_last_game() => __pbn__was_mvp_last_game = null; private bool? __pbn__was_mvp_last_game; + [global::ProtoBuf.ProtoMember(44)] + public global::System.Collections.Generic.List pending_awards { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(45)] + public global::System.Collections.Generic.List pending_awards_on_victory { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(46)] + [global::System.ComponentModel.DefaultValue(EDOTAMMRBoostType.k_EDOTAMMRBoostType_None)] + public EDOTAMMRBoostType rank_mmr_boost_type + { + get { return __pbn__rank_mmr_boost_type ?? EDOTAMMRBoostType.k_EDOTAMMRBoostType_None; } + set { __pbn__rank_mmr_boost_type = value; } + } + public bool ShouldSerializerank_mmr_boost_type() => __pbn__rank_mmr_boost_type != null; + public void Resetrank_mmr_boost_type() => __pbn__rank_mmr_boost_type = null; + private EDOTAMMRBoostType? __pbn__rank_mmr_boost_type; + [global::ProtoBuf.ProtoContract()] public partial class CDOTALobbyMemberXPBonus : global::ProtoBuf.IExtensible { @@ -2421,6 +2448,26 @@ public uint league_phase public void Resetleague_phase() => __pbn__league_phase = null; private uint? __pbn__league_phase; + [global::ProtoBuf.ProtoMember(114)] + public bool record_detailed_stats + { + get { return __pbn__record_detailed_stats.GetValueOrDefault(); } + set { __pbn__record_detailed_stats = value; } + } + public bool ShouldSerializerecord_detailed_stats() => __pbn__record_detailed_stats != null; + public void Resetrecord_detailed_stats() => __pbn__record_detailed_stats = null; + private bool? __pbn__record_detailed_stats; + + [global::ProtoBuf.ProtoMember(115)] + public bool is_allstar_game + { + get { return __pbn__is_allstar_game.GetValueOrDefault(); } + set { __pbn__is_allstar_game = value; } + } + public bool ShouldSerializeis_allstar_game() => __pbn__is_allstar_game != null; + public void Resetis_allstar_game() => __pbn__is_allstar_game = null; + private bool? __pbn__is_allstar_game; + [global::ProtoBuf.ProtoContract()] public partial class CExtraMsg : global::ProtoBuf.IExtensible { @@ -2476,6 +2523,7 @@ public enum LobbyType WEEKEND_TOURNEY = 9, LOCAL_BOT_MATCH = 10, SPECTATOR = 11, + EVENT_MATCH = 12, } } @@ -2640,13 +2688,74 @@ public byte[] kv_data } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgMatchMatchmakingStats : 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 average_queue_time + { + get { return __pbn__average_queue_time.GetValueOrDefault(); } + set { __pbn__average_queue_time = value; } + } + public bool ShouldSerializeaverage_queue_time() => __pbn__average_queue_time != null; + public void Resetaverage_queue_time() => __pbn__average_queue_time = null; + private uint? __pbn__average_queue_time; + + [global::ProtoBuf.ProtoMember(2)] + public uint maximum_queue_time + { + get { return __pbn__maximum_queue_time.GetValueOrDefault(); } + set { __pbn__maximum_queue_time = value; } + } + public bool ShouldSerializemaximum_queue_time() => __pbn__maximum_queue_time != null; + public void Resetmaximum_queue_time() => __pbn__maximum_queue_time = null; + private uint? __pbn__maximum_queue_time; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(EMatchBehaviorScoreVariance.k_EMatchBehaviorScoreVariance_Invalid)] + public EMatchBehaviorScoreVariance behavior_score_variance + { + get { return __pbn__behavior_score_variance ?? EMatchBehaviorScoreVariance.k_EMatchBehaviorScoreVariance_Invalid; } + set { __pbn__behavior_score_variance = value; } + } + public bool ShouldSerializebehavior_score_variance() => __pbn__behavior_score_variance != null; + public void Resetbehavior_score_variance() => __pbn__behavior_score_variance = null; + private EMatchBehaviorScoreVariance? __pbn__behavior_score_variance; + + } + + [global::ProtoBuf.ProtoContract()] + public enum ELaneSelection + { + k_ELaneSelection_SAFELANE = 0, + k_ELaneSelection_OFFLANE = 1, + k_ELaneSelection_MIDLANE = 2, + k_ELaneSelection_SUPPORT_SOFT = 3, + k_ELaneSelection_SUPPORT_HARD = 4, + } + [global::ProtoBuf.ProtoContract()] public enum ELaneSelectionFlags { - k_ELaneSelectionFlags_LANE_SELECTION_SAFELANE = 1, - k_ELaneSelectionFlags_LANE_SELECTION_OFFLANE = 2, - k_ELaneSelectionFlags_LANE_SELECTION_MIDLANE = 4, - k_ELaneSelectionFlags_LANE_SELECTION_OTHER = 8, + k_ELaneSelectionFlags_None = 0, + k_ELaneSelectionFlags_SAFELANE = 1, + k_ELaneSelectionFlags_OFFLANE = 2, + k_ELaneSelectionFlags_MIDLANE = 4, + k_ELaneSelectionFlags_CORE = 7, + k_ELaneSelectionFlags_SUPPORT_SOFT = 8, + k_ELaneSelectionFlags_SUPPORT_HARD = 16, + k_ELaneSelectionFlags_SUPPORT = 24, + } + + [global::ProtoBuf.ProtoContract()] + public enum EPartyMatchmakingFlags + { + k_EPartyMatchmakingFlags_None = 0, + k_EPartyMatchmakingFlags_LargeRankSpread = 1, } [global::ProtoBuf.ProtoContract()] @@ -2683,6 +2792,15 @@ public enum EReadyCheckRequestResult k_EReadyCheckRequestResult_UnknownError = 4, } + [global::ProtoBuf.ProtoContract()] + public enum EMatchBehaviorScoreVariance + { + k_EMatchBehaviorScoreVariance_Invalid = 0, + k_EMatchBehaviorScoreVariance_Low = 1, + k_EMatchBehaviorScoreVariance_Medium = 2, + k_EMatchBehaviorScoreVariance_High = 3, + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCExtraMsgBlock.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCExtraMsgBlock.cs new file mode 100644 index 000000000..601f7ad3d --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCExtraMsgBlock.cs @@ -0,0 +1,62 @@ +// +// This file was generated by a tool; you should avoid making direct changes. +// Consider using 'partial classes' to extend these types +// Input: extramsgblockutil.proto +// + +#pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +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 { return __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 { return __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 { return __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 { return __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; + + } + +} + +#pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs index c2dd640b3..5344cdb86 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs @@ -165,8 +165,8 @@ public enum EDOTAGCMsg k_EMsgGCToGCGetUserRank = 7236, k_EMsgGCToGCGetUserRankResponse = 7237, k_EMsgGCToGCUpdateTeamStats = 7240, - k_EMsgGCToGCGetTeamRank = 7241, - k_EMsgGCToGCGetTeamRankResponse = 7242, + k_EMsgGCToGCValidateTeam = 7241, + k_EMsgGCToGCValidateTeamResponse = 7242, k_EMsgGCPassportDataRequest = 7248, k_EMsgGCPassportDataResponse = 7249, k_EMsgGCNotInGuildData = 7251, @@ -287,7 +287,6 @@ public enum EDOTAGCMsg k_EMsgDOTAAwardEventPoints = 7384, k_EMsgDOTAGetEventPoints = 7387, k_EMsgDOTAGetEventPointsResponse = 7388, - k_EMsgGCToGCSignoutAwardEventPoints = 7390, k_EMsgDOTASendFriendRecruits = 7393, k_EMsgDOTAFriendRecruitsRequest = 7394, k_EMsgDOTAFriendRecruitsResponse = 7395, @@ -352,8 +351,6 @@ public enum EDOTAGCMsg k_EMsgGCQuickJoinCustomLobby = 7470, k_EMsgGCQuickJoinCustomLobbyResponse = 7471, k_EMsgGCToGCGrantEventPointAction = 7472, - k_EMsgServerGetEventPoints = 7473, - k_EMsgServerGetEventPointsResponse = 7474, k_EMsgServerGrantSurveyPermission = 7475, k_EMsgServerGrantSurveyPermissionResponse = 7476, k_EMsgClientProvideSurveyResult = 7477, @@ -458,8 +455,6 @@ public enum EDOTAGCMsg k_EMsgClientToGCSetAdditionalEquipsResponse = 7593, k_EMsgGCToGCEmoticonUnlockNoRollback = 7594, k_EMsgGCToGCGetCompendiumFanfare = 7595, - k_EMsgServerToGCHoldEventPoints = 7596, - k_EMsgSignOutReleaseEventPointHolds = 7597, k_EMsgGCToGCChatNewUserSession = 7598, k_EMsgClientToGCApplyGemCombiner = 7603, k_EMsgClientToGCDOTACreateStaticRecipe = 7604, @@ -643,10 +638,6 @@ public enum EDOTAGCMsg k_EMsgGCToGCSignoutSpendWager = 8141, k_EMsgGCSubmitLobbyMVPVote = 8144, k_EMsgGCSubmitLobbyMVPVoteResponse = 8145, - k_EMsgClientToGCRequestLinaPlaysRemaining = 8146, - k_EMsgClientToGCRequestLinaPlaysRemainingResponse = 8147, - k_EMsgClientToGCRequestLinaGameResult = 8148, - k_EMsgClientToGCRequestLinaGameResultResponse = 8149, k_EMsgSignOutCommunityGoalProgress = 8150, k_EMsgGCToClientLobbyMVPNotifyRecipient = 8151, k_EMsgGCToClientLobbyMVPAwarded = 8152, @@ -798,7 +789,6 @@ public enum EDOTAGCMsg k_EMsgClientToGCRequestSocialFeedResponse = 8304, k_EMsgClientToGCRequestSocialFeedComments = 8305, k_EMsgClientToGCRequestSocialFeedCommentsResponse = 8306, - k_EMsgGCToGCSignoutAwardCappedUnderhollowEventGamePoints = 8307, k_EMsgClientToGCCavernCrawlGetClaimedRoomCount = 8308, k_EMsgClientToGCCavernCrawlGetClaimedRoomCountResponse = 8309, k_EMsgGCToGCReconcilePlusAutoGrantItemsUnreliable = 8310, @@ -844,6 +834,20 @@ public enum EDOTAGCMsg k_EMsgClientToGCMVPVoteTimeoutResponse = 8350, k_EMsgClientToGCGetUnderlordsCDKeyRequest = 8351, k_EMsgClientToGCGetUnderlordsCDKeyResponse = 8352, + k_EMsgDetailedGameStats = 8353, + k_EMsgClientToGCSetFavoriteAllStarPlayer = 8354, + k_EMsgClientToGCSetFavoriteAllStarPlayerResponse = 8355, + k_EMsgAllStarStats = 8356, + k_EMsgClientToGCGetFavoriteAllStarPlayerRequest = 8357, + k_EMsgClientToGCGetFavoriteAllStarPlayerResponse = 8358, + k_EMsgClientToGCVerifyIntegrity = 8359, + k_EMsgMatchMatchmakingStats = 8360, + k_EMsgClientToGCSubmitPlayerMatchSurvey = 8361, + k_EMsgClientToGCSubmitPlayerMatchSurveyResponse = 8362, + k_EMsgSQLGCToGCGrantAllHeroProgressAccount = 8363, + k_EMsgSQLGCToGCGrantAllHeroProgressVictory = 8364, + k_eMsgGCToGCGetAllHeroCurrent = 8635, + k_eMsgGCToGCGetAllHeroCurrentResponse = 8636, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs index 3489b0713..c669f156c 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs @@ -641,6 +641,16 @@ public uint srcds_instance public void Resetsrcds_instance() => __pbn__srcds_instance = null; private uint? __pbn__srcds_instance; + [global::ProtoBuf.ProtoMember(28)] + public bool dev_force_server_type + { + get { return __pbn__dev_force_server_type.GetValueOrDefault(); } + set { __pbn__dev_force_server_type = value; } + } + public bool ShouldSerializedev_force_server_type() => __pbn__dev_force_server_type != null; + public void Resetdev_force_server_type() => __pbn__dev_force_server_type = null; + private bool? __pbn__dev_force_server_type; + [global::ProtoBuf.ProtoContract()] public enum ServerType { @@ -906,6 +916,95 @@ public bool active } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSignOutGameplayStats : 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 CPlayer : 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 { return __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_slot + { + get { return __pbn__player_slot.GetValueOrDefault(); } + set { __pbn__player_slot = value; } + } + public bool ShouldSerializeplayer_slot() => __pbn__player_slot != null; + public void Resetplayer_slot() => __pbn__player_slot = null; + private uint? __pbn__player_slot; + + [global::ProtoBuf.ProtoMember(3)] + public uint hero_id + { + get { return __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(4)] + public global::System.Collections.Generic.List timed_player_stats { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CTeam : 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_winning_team + { + get { return __pbn__is_winning_team.GetValueOrDefault(); } + set { __pbn__is_winning_team = value; } + } + public bool ShouldSerializeis_winning_team() => __pbn__is_winning_team != null; + public void Resetis_winning_team() => __pbn__is_winning_team = null; + private bool? __pbn__is_winning_team; + + [global::ProtoBuf.ProtoMember(2)] + public bool is_radiant_team + { + get { return __pbn__is_radiant_team.GetValueOrDefault(); } + set { __pbn__is_radiant_team = value; } + } + public bool ShouldSerializeis_radiant_team() => __pbn__is_radiant_team != null; + public void Resetis_radiant_team() => __pbn__is_radiant_team = null; + private bool? __pbn__is_radiant_team; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List timed_team_stats { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgGameMatchSignOut : global::ProtoBuf.IExtensible { @@ -996,16 +1095,6 @@ public uint first_blood_time public void Resetfirst_blood_time() => __pbn__first_blood_time = null; private uint? __pbn__first_blood_time; - [global::ProtoBuf.ProtoMember(13)] - public float game_balance - { - get { return __pbn__game_balance.GetValueOrDefault(); } - set { __pbn__game_balance = value; } - } - public bool ShouldSerializegame_balance() => __pbn__game_balance != null; - public void Resetgame_balance() => __pbn__game_balance = null; - private float? __pbn__game_balance; - [global::ProtoBuf.ProtoMember(14)] public uint event_score { @@ -1074,126 +1163,6 @@ public int average_networth_delta public void Resetaverage_networth_delta() => __pbn__average_networth_delta = null; private int? __pbn__average_networth_delta; - [global::ProtoBuf.ProtoMember(23, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int networth_delta_min10 - { - get { return __pbn__networth_delta_min10.GetValueOrDefault(); } - set { __pbn__networth_delta_min10 = value; } - } - public bool ShouldSerializenetworth_delta_min10() => __pbn__networth_delta_min10 != null; - public void Resetnetworth_delta_min10() => __pbn__networth_delta_min10 = null; - private int? __pbn__networth_delta_min10; - - [global::ProtoBuf.ProtoMember(24, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int networth_delta_min20 - { - get { return __pbn__networth_delta_min20.GetValueOrDefault(); } - set { __pbn__networth_delta_min20 = value; } - } - public bool ShouldSerializenetworth_delta_min20() => __pbn__networth_delta_min20 != null; - public void Resetnetworth_delta_min20() => __pbn__networth_delta_min20 = null; - private int? __pbn__networth_delta_min20; - - [global::ProtoBuf.ProtoMember(25, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int maximum_losing_networth_lead - { - get { return __pbn__maximum_losing_networth_lead.GetValueOrDefault(); } - set { __pbn__maximum_losing_networth_lead = value; } - } - public bool ShouldSerializemaximum_losing_networth_lead() => __pbn__maximum_losing_networth_lead != null; - public void Resetmaximum_losing_networth_lead() => __pbn__maximum_losing_networth_lead = null; - private int? __pbn__maximum_losing_networth_lead; - - [global::ProtoBuf.ProtoMember(26, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int average_experience_delta - { - get { return __pbn__average_experience_delta.GetValueOrDefault(); } - set { __pbn__average_experience_delta = value; } - } - public bool ShouldSerializeaverage_experience_delta() => __pbn__average_experience_delta != null; - public void Resetaverage_experience_delta() => __pbn__average_experience_delta = null; - private int? __pbn__average_experience_delta; - - [global::ProtoBuf.ProtoMember(27, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int experience_delta_min10 - { - get { return __pbn__experience_delta_min10.GetValueOrDefault(); } - set { __pbn__experience_delta_min10 = value; } - } - public bool ShouldSerializeexperience_delta_min10() => __pbn__experience_delta_min10 != null; - public void Resetexperience_delta_min10() => __pbn__experience_delta_min10 = null; - private int? __pbn__experience_delta_min10; - - [global::ProtoBuf.ProtoMember(28, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int experience_delta_min20 - { - get { return __pbn__experience_delta_min20.GetValueOrDefault(); } - set { __pbn__experience_delta_min20 = value; } - } - public bool ShouldSerializeexperience_delta_min20() => __pbn__experience_delta_min20 != null; - public void Resetexperience_delta_min20() => __pbn__experience_delta_min20 = null; - private int? __pbn__experience_delta_min20; - - [global::ProtoBuf.ProtoMember(29, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int bonus_gold_winner_min10 - { - get { return __pbn__bonus_gold_winner_min10.GetValueOrDefault(); } - set { __pbn__bonus_gold_winner_min10 = value; } - } - public bool ShouldSerializebonus_gold_winner_min10() => __pbn__bonus_gold_winner_min10 != null; - public void Resetbonus_gold_winner_min10() => __pbn__bonus_gold_winner_min10 = null; - private int? __pbn__bonus_gold_winner_min10; - - [global::ProtoBuf.ProtoMember(30, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int bonus_gold_winner_min20 - { - get { return __pbn__bonus_gold_winner_min20.GetValueOrDefault(); } - set { __pbn__bonus_gold_winner_min20 = value; } - } - public bool ShouldSerializebonus_gold_winner_min20() => __pbn__bonus_gold_winner_min20 != null; - public void Resetbonus_gold_winner_min20() => __pbn__bonus_gold_winner_min20 = null; - private int? __pbn__bonus_gold_winner_min20; - - [global::ProtoBuf.ProtoMember(31)] - public uint bonus_gold_winner_total - { - get { return __pbn__bonus_gold_winner_total.GetValueOrDefault(); } - set { __pbn__bonus_gold_winner_total = value; } - } - public bool ShouldSerializebonus_gold_winner_total() => __pbn__bonus_gold_winner_total != null; - public void Resetbonus_gold_winner_total() => __pbn__bonus_gold_winner_total = null; - private uint? __pbn__bonus_gold_winner_total; - - [global::ProtoBuf.ProtoMember(32, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int bonus_gold_loser_min10 - { - get { return __pbn__bonus_gold_loser_min10.GetValueOrDefault(); } - set { __pbn__bonus_gold_loser_min10 = value; } - } - public bool ShouldSerializebonus_gold_loser_min10() => __pbn__bonus_gold_loser_min10 != null; - public void Resetbonus_gold_loser_min10() => __pbn__bonus_gold_loser_min10 = null; - private int? __pbn__bonus_gold_loser_min10; - - [global::ProtoBuf.ProtoMember(33, DataFormat = global::ProtoBuf.DataFormat.ZigZag)] - public int bonus_gold_loser_min20 - { - get { return __pbn__bonus_gold_loser_min20.GetValueOrDefault(); } - set { __pbn__bonus_gold_loser_min20 = value; } - } - public bool ShouldSerializebonus_gold_loser_min20() => __pbn__bonus_gold_loser_min20 != null; - public void Resetbonus_gold_loser_min20() => __pbn__bonus_gold_loser_min20 = null; - private int? __pbn__bonus_gold_loser_min20; - - [global::ProtoBuf.ProtoMember(34)] - public uint bonus_gold_loser_total - { - get { return __pbn__bonus_gold_loser_total.GetValueOrDefault(); } - set { __pbn__bonus_gold_loser_total = value; } - } - public bool ShouldSerializebonus_gold_loser_total() => __pbn__bonus_gold_loser_total != null; - public void Resetbonus_gold_loser_total() => __pbn__bonus_gold_loser_total = null; - private uint? __pbn__bonus_gold_loser_total; - [global::ProtoBuf.ProtoMember(37)] public CCustomGameData custom_game_data { get; set; } @@ -1227,64 +1196,10 @@ public uint pre_game_duration public global::System.Collections.Generic.List ward_placements { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(44)] - public uint bounty_rune_gold_winners - { - get { return __pbn__bounty_rune_gold_winners.GetValueOrDefault(); } - set { __pbn__bounty_rune_gold_winners = value; } - } - public bool ShouldSerializebounty_rune_gold_winners() => __pbn__bounty_rune_gold_winners != null; - public void Resetbounty_rune_gold_winners() => __pbn__bounty_rune_gold_winners = null; - private uint? __pbn__bounty_rune_gold_winners; - - [global::ProtoBuf.ProtoMember(45)] - public uint bounty_rune_gold_losers - { - get { return __pbn__bounty_rune_gold_losers.GetValueOrDefault(); } - set { __pbn__bounty_rune_gold_losers = value; } - } - public bool ShouldSerializebounty_rune_gold_losers() => __pbn__bounty_rune_gold_losers != null; - public void Resetbounty_rune_gold_losers() => __pbn__bounty_rune_gold_losers = null; - private uint? __pbn__bounty_rune_gold_losers; - - [global::ProtoBuf.ProtoMember(46)] - public uint range_creep_upgrade_gold_winners - { - get { return __pbn__range_creep_upgrade_gold_winners.GetValueOrDefault(); } - set { __pbn__range_creep_upgrade_gold_winners = value; } - } - public bool ShouldSerializerange_creep_upgrade_gold_winners() => __pbn__range_creep_upgrade_gold_winners != null; - public void Resetrange_creep_upgrade_gold_winners() => __pbn__range_creep_upgrade_gold_winners = null; - private uint? __pbn__range_creep_upgrade_gold_winners; - - [global::ProtoBuf.ProtoMember(47)] - public uint range_creep_upgrade_gold_losers - { - get { return __pbn__range_creep_upgrade_gold_losers.GetValueOrDefault(); } - set { __pbn__range_creep_upgrade_gold_losers = value; } - } - public bool ShouldSerializerange_creep_upgrade_gold_losers() => __pbn__range_creep_upgrade_gold_losers != null; - public void Resetrange_creep_upgrade_gold_losers() => __pbn__range_creep_upgrade_gold_losers = null; - private uint? __pbn__range_creep_upgrade_gold_losers; - - [global::ProtoBuf.ProtoMember(48)] - public uint observer_wards_dewarded_winners - { - get { return __pbn__observer_wards_dewarded_winners.GetValueOrDefault(); } - set { __pbn__observer_wards_dewarded_winners = value; } - } - public bool ShouldSerializeobserver_wards_dewarded_winners() => __pbn__observer_wards_dewarded_winners != null; - public void Resetobserver_wards_dewarded_winners() => __pbn__observer_wards_dewarded_winners = null; - private uint? __pbn__observer_wards_dewarded_winners; + public CMsgSignOutGameplayStats gameplay_stats { get; set; } - [global::ProtoBuf.ProtoMember(49)] - public uint observer_wards_dewarded_losers - { - get { return __pbn__observer_wards_dewarded_losers.GetValueOrDefault(); } - set { __pbn__observer_wards_dewarded_losers = value; } - } - public bool ShouldSerializeobserver_wards_dewarded_losers() => __pbn__observer_wards_dewarded_losers != null; - public void Resetobserver_wards_dewarded_losers() => __pbn__observer_wards_dewarded_losers = null; - private uint? __pbn__observer_wards_dewarded_losers; + [global::ProtoBuf.ProtoMember(54)] + public global::System.Collections.Generic.List extra_messages { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoContract()] public partial class CTeam : global::ProtoBuf.IExtensible @@ -1496,36 +1411,6 @@ public ulong party_id public void Resetparty_id() => __pbn__party_id = null; private ulong? __pbn__party_id; - [global::ProtoBuf.ProtoMember(24)] - public float scaled_kills - { - get { return __pbn__scaled_kills.GetValueOrDefault(); } - set { __pbn__scaled_kills = value; } - } - public bool ShouldSerializescaled_kills() => __pbn__scaled_kills != null; - public void Resetscaled_kills() => __pbn__scaled_kills = null; - private float? __pbn__scaled_kills; - - [global::ProtoBuf.ProtoMember(25)] - public float scaled_deaths - { - get { return __pbn__scaled_deaths.GetValueOrDefault(); } - set { __pbn__scaled_deaths = value; } - } - public bool ShouldSerializescaled_deaths() => __pbn__scaled_deaths != null; - public void Resetscaled_deaths() => __pbn__scaled_deaths = null; - private float? __pbn__scaled_deaths; - - [global::ProtoBuf.ProtoMember(26)] - public float scaled_assists - { - get { return __pbn__scaled_assists.GetValueOrDefault(); } - set { __pbn__scaled_assists = value; } - } - public bool ShouldSerializescaled_assists() => __pbn__scaled_assists != null; - public void Resetscaled_assists() => __pbn__scaled_assists = null; - private float? __pbn__scaled_assists; - [global::ProtoBuf.ProtoMember(27)] public uint claimed_farm_gold { @@ -1681,9 +1566,6 @@ public uint lane public void Resetlane() => __pbn__lane = null; private uint? __pbn__lane; - [global::ProtoBuf.ProtoMember(46)] - public global::System.Collections.Generic.List timed_stats { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(47)] public bool is_using_plus_guide { @@ -2985,117 +2867,278 @@ public uint start_time } [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTALiveScoreboardUpdate : global::ProtoBuf.IExtensible + public partial class CMatchSignoutExtraMsgCommunicationSummary : 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 tournament_id - { - get { return __pbn__tournament_id.GetValueOrDefault(); } - set { __pbn__tournament_id = value; } - } - public bool ShouldSerializetournament_id() => __pbn__tournament_id != null; - public void Resettournament_id() => __pbn__tournament_id = null; - private uint? __pbn__tournament_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint tournament_game_id - { - get { return __pbn__tournament_game_id.GetValueOrDefault(); } - set { __pbn__tournament_game_id = value; } - } - public bool ShouldSerializetournament_game_id() => __pbn__tournament_game_id != null; - public void Resettournament_game_id() => __pbn__tournament_game_id = null; - private uint? __pbn__tournament_game_id; - - [global::ProtoBuf.ProtoMember(3)] - public float duration - { - get { return __pbn__duration.GetValueOrDefault(); } - set { __pbn__duration = value; } - } - public bool ShouldSerializeduration() => __pbn__duration != null; - public void Resetduration() => __pbn__duration = null; - private float? __pbn__duration; - - [global::ProtoBuf.ProtoMember(4)] - public int hltv_delay - { - get { return __pbn__hltv_delay.GetValueOrDefault(); } - set { __pbn__hltv_delay = value; } - } - public bool ShouldSerializehltv_delay() => __pbn__hltv_delay != null; - public void Resethltv_delay() => __pbn__hltv_delay = null; - private int? __pbn__hltv_delay; - - [global::ProtoBuf.ProtoMember(5)] - public Team team_good { get; set; } - - [global::ProtoBuf.ProtoMember(6)] - public Team team_bad { get; set; } - - [global::ProtoBuf.ProtoMember(7)] - public uint roshan_respawn_timer - { - get { return __pbn__roshan_respawn_timer.GetValueOrDefault(); } - set { __pbn__roshan_respawn_timer = value; } - } - public bool ShouldSerializeroshan_respawn_timer() => __pbn__roshan_respawn_timer != null; - public void Resetroshan_respawn_timer() => __pbn__roshan_respawn_timer = null; - private uint? __pbn__roshan_respawn_timer; - - [global::ProtoBuf.ProtoMember(8)] - public uint league_id - { - get { return __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(9)] - public ulong match_id - { - get { return __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 players { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoContract()] - public partial class Team : global::ProtoBuf.IExtensible + public partial class PlayerCommunication : 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(); + public uint account_id + { + get { return __pbn__account_id.GetValueOrDefault(); } + set { __pbn__account_id = value; } + } + public bool ShouldSerializeaccount_id() => __pbn__account_id != null; + public void Resetaccount_id() => __pbn__account_id = null; + private uint? __pbn__account_id; [global::ProtoBuf.ProtoMember(2)] - public uint score + public uint pings { - get { return __pbn__score.GetValueOrDefault(); } - set { __pbn__score = value; } + get { return __pbn__pings.GetValueOrDefault(); } + set { __pbn__pings = value; } } - public bool ShouldSerializescore() => __pbn__score != null; - public void Resetscore() => __pbn__score = null; - private uint? __pbn__score; + public bool ShouldSerializepings() => __pbn__pings != null; + public void Resetpings() => __pbn__pings = null; + private uint? __pbn__pings; [global::ProtoBuf.ProtoMember(3)] - public uint tower_state + public uint max_pings_per_interval { - get { return __pbn__tower_state.GetValueOrDefault(); } - set { __pbn__tower_state = value; } + get { return __pbn__max_pings_per_interval.GetValueOrDefault(); } + set { __pbn__max_pings_per_interval = value; } } - public bool ShouldSerializetower_state() => __pbn__tower_state != null; - public void Resettower_state() => __pbn__tower_state = null; - private uint? __pbn__tower_state; + public bool ShouldSerializemax_pings_per_interval() => __pbn__max_pings_per_interval != null; + public void Resetmax_pings_per_interval() => __pbn__max_pings_per_interval = null; + private uint? __pbn__max_pings_per_interval; + + [global::ProtoBuf.ProtoMember(4)] + public uint teammate_pings + { + get { return __pbn__teammate_pings.GetValueOrDefault(); } + set { __pbn__teammate_pings = value; } + } + public bool ShouldSerializeteammate_pings() => __pbn__teammate_pings != null; + public void Resetteammate_pings() => __pbn__teammate_pings = null; + private uint? __pbn__teammate_pings; + + [global::ProtoBuf.ProtoMember(5)] + public uint max_teammate_pings_per_interval + { + get { return __pbn__max_teammate_pings_per_interval.GetValueOrDefault(); } + set { __pbn__max_teammate_pings_per_interval = value; } + } + public bool ShouldSerializemax_teammate_pings_per_interval() => __pbn__max_teammate_pings_per_interval != null; + public void Resetmax_teammate_pings_per_interval() => __pbn__max_teammate_pings_per_interval = null; + private uint? __pbn__max_teammate_pings_per_interval; + + [global::ProtoBuf.ProtoMember(6)] + public uint team_chat_messages + { + get { return __pbn__team_chat_messages.GetValueOrDefault(); } + set { __pbn__team_chat_messages = value; } + } + public bool ShouldSerializeteam_chat_messages() => __pbn__team_chat_messages != null; + public void Resetteam_chat_messages() => __pbn__team_chat_messages = null; + private uint? __pbn__team_chat_messages; + + [global::ProtoBuf.ProtoMember(7)] + public uint all_chat_messages + { + get { return __pbn__all_chat_messages.GetValueOrDefault(); } + set { __pbn__all_chat_messages = value; } + } + public bool ShouldSerializeall_chat_messages() => __pbn__all_chat_messages != null; + public void Resetall_chat_messages() => __pbn__all_chat_messages = null; + private uint? __pbn__all_chat_messages; + + [global::ProtoBuf.ProtoMember(8)] + public uint chat_wheel_messages + { + get { return __pbn__chat_wheel_messages.GetValueOrDefault(); } + set { __pbn__chat_wheel_messages = value; } + } + public bool ShouldSerializechat_wheel_messages() => __pbn__chat_wheel_messages != null; + public void Resetchat_wheel_messages() => __pbn__chat_wheel_messages = null; + private uint? __pbn__chat_wheel_messages; + + [global::ProtoBuf.ProtoMember(9)] + public uint pauses + { + get { return __pbn__pauses.GetValueOrDefault(); } + set { __pbn__pauses = value; } + } + public bool ShouldSerializepauses() => __pbn__pauses != null; + public void Resetpauses() => __pbn__pauses = null; + private uint? __pbn__pauses; + + [global::ProtoBuf.ProtoMember(10)] + public uint unpauses + { + get { return __pbn__unpauses.GetValueOrDefault(); } + set { __pbn__unpauses = value; } + } + public bool ShouldSerializeunpauses() => __pbn__unpauses != null; + public void Resetunpauses() => __pbn__unpauses = null; + private uint? __pbn__unpauses; + + [global::ProtoBuf.ProtoMember(11)] + public uint lines_drawn + { + get { return __pbn__lines_drawn.GetValueOrDefault(); } + set { __pbn__lines_drawn = value; } + } + public bool ShouldSerializelines_drawn() => __pbn__lines_drawn != null; + public void Resetlines_drawn() => __pbn__lines_drawn = null; + private uint? __pbn__lines_drawn; + + [global::ProtoBuf.ProtoMember(12)] + public uint voice_chat_seconds + { + get { return __pbn__voice_chat_seconds.GetValueOrDefault(); } + set { __pbn__voice_chat_seconds = value; } + } + public bool ShouldSerializevoice_chat_seconds() => __pbn__voice_chat_seconds != null; + public void Resetvoice_chat_seconds() => __pbn__voice_chat_seconds = null; + private uint? __pbn__voice_chat_seconds; + + [global::ProtoBuf.ProtoMember(13)] + public uint chat_mutes + { + get { return __pbn__chat_mutes.GetValueOrDefault(); } + set { __pbn__chat_mutes = value; } + } + public bool ShouldSerializechat_mutes() => __pbn__chat_mutes != null; + public void Resetchat_mutes() => __pbn__chat_mutes = null; + private uint? __pbn__chat_mutes; + + [global::ProtoBuf.ProtoMember(14)] + public uint voice_mutes + { + get { return __pbn__voice_mutes.GetValueOrDefault(); } + set { __pbn__voice_mutes = value; } + } + public bool ShouldSerializevoice_mutes() => __pbn__voice_mutes != null; + public void Resetvoice_mutes() => __pbn__voice_mutes = null; + private uint? __pbn__voice_mutes; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgDOTALiveScoreboardUpdate : 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 tournament_id + { + get { return __pbn__tournament_id.GetValueOrDefault(); } + set { __pbn__tournament_id = value; } + } + public bool ShouldSerializetournament_id() => __pbn__tournament_id != null; + public void Resettournament_id() => __pbn__tournament_id = null; + private uint? __pbn__tournament_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint tournament_game_id + { + get { return __pbn__tournament_game_id.GetValueOrDefault(); } + set { __pbn__tournament_game_id = value; } + } + public bool ShouldSerializetournament_game_id() => __pbn__tournament_game_id != null; + public void Resettournament_game_id() => __pbn__tournament_game_id = null; + private uint? __pbn__tournament_game_id; + + [global::ProtoBuf.ProtoMember(3)] + public float duration + { + get { return __pbn__duration.GetValueOrDefault(); } + set { __pbn__duration = value; } + } + public bool ShouldSerializeduration() => __pbn__duration != null; + public void Resetduration() => __pbn__duration = null; + private float? __pbn__duration; + + [global::ProtoBuf.ProtoMember(4)] + public int hltv_delay + { + get { return __pbn__hltv_delay.GetValueOrDefault(); } + set { __pbn__hltv_delay = value; } + } + public bool ShouldSerializehltv_delay() => __pbn__hltv_delay != null; + public void Resethltv_delay() => __pbn__hltv_delay = null; + private int? __pbn__hltv_delay; + + [global::ProtoBuf.ProtoMember(5)] + public Team team_good { get; set; } + + [global::ProtoBuf.ProtoMember(6)] + public Team team_bad { get; set; } + + [global::ProtoBuf.ProtoMember(7)] + public uint roshan_respawn_timer + { + get { return __pbn__roshan_respawn_timer.GetValueOrDefault(); } + set { __pbn__roshan_respawn_timer = value; } + } + public bool ShouldSerializeroshan_respawn_timer() => __pbn__roshan_respawn_timer != null; + public void Resetroshan_respawn_timer() => __pbn__roshan_respawn_timer = null; + private uint? __pbn__roshan_respawn_timer; + + [global::ProtoBuf.ProtoMember(8)] + public uint league_id + { + get { return __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(9)] + public ulong match_id + { + get { return __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 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 global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public uint score + { + get { return __pbn__score.GetValueOrDefault(); } + set { __pbn__score = value; } + } + public bool ShouldSerializescore() => __pbn__score != null; + public void Resetscore() => __pbn__score = null; + private uint? __pbn__score; + + [global::ProtoBuf.ProtoMember(3)] + public uint tower_state + { + get { return __pbn__tower_state.GetValueOrDefault(); } + set { __pbn__tower_state = value; } + } + public bool ShouldSerializetower_state() => __pbn__tower_state != null; + public void Resettower_state() => __pbn__tower_state = null; + private uint? __pbn__tower_state; [global::ProtoBuf.ProtoMember(4)] public uint barracks_state @@ -4336,6 +4379,17 @@ public bool eligible_for_periodic_adjustment public void Reseteligible_for_periodic_adjustment() => __pbn__eligible_for_periodic_adjustment = null; private bool? __pbn__eligible_for_periodic_adjustment; + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue(0)] + public uint point_cap_periodic_resource_id + { + get { return __pbn__point_cap_periodic_resource_id ?? 0; } + set { __pbn__point_cap_periodic_resource_id = value; } + } + public bool ShouldSerializepoint_cap_periodic_resource_id() => __pbn__point_cap_periodic_resource_id != null; + public void Resetpoint_cap_periodic_resource_id() => __pbn__point_cap_periodic_resource_id = null; + private uint? __pbn__point_cap_periodic_resource_id; + } } @@ -5553,14 +5607,14 @@ public uint account_id } [global::ProtoBuf.ProtoContract()] - public partial class CMsgServerToGCHoldEventPoints : global::ProtoBuf.IExtensible + public partial class CMsgSignOutWagerStats : 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 holds { get; } = new global::System.Collections.Generic.List(); + public global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(2)] [global::System.ComponentModel.DefaultValue(EEvent.EVENT_ID_NONE)] @@ -5573,28 +5627,8 @@ public EEvent event_id public void Resetevent_id() => __pbn__event_id = null; private EEvent? __pbn__event_id; - [global::ProtoBuf.ProtoMember(3)] - public ulong hold_key - { - get { return __pbn__hold_key.GetValueOrDefault(); } - set { __pbn__hold_key = value; } - } - public bool ShouldSerializehold_key() => __pbn__hold_key != null; - public void Resethold_key() => __pbn__hold_key = null; - private ulong? __pbn__hold_key; - - [global::ProtoBuf.ProtoMember(4)] - public uint hold_until - { - get { return __pbn__hold_until.GetValueOrDefault(); } - set { __pbn__hold_until = value; } - } - public bool ShouldSerializehold_until() => __pbn__hold_until != null; - public void Resethold_until() => __pbn__hold_until = null; - private uint? __pbn__hold_until; - [global::ProtoBuf.ProtoContract()] - public partial class HoldRequest : global::ProtoBuf.IExtensible + public partial class Player : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -5611,119 +5645,24 @@ public uint account_id private uint? __pbn__account_id; [global::ProtoBuf.ProtoMember(2)] - public uint points_held + public uint winnings { - get { return __pbn__points_held.GetValueOrDefault(); } - set { __pbn__points_held = value; } + get { return __pbn__winnings.GetValueOrDefault(); } + set { __pbn__winnings = value; } } - public bool ShouldSerializepoints_held() => __pbn__points_held != null; - public void Resetpoints_held() => __pbn__points_held = null; - private uint? __pbn__points_held; + public bool ShouldSerializewinnings() => __pbn__winnings != null; + public void Resetwinnings() => __pbn__winnings = null; + private uint? __pbn__winnings; [global::ProtoBuf.ProtoMember(3)] - public uint premium_held + public uint max_wager { - get { return __pbn__premium_held.GetValueOrDefault(); } - set { __pbn__premium_held = value; } + get { return __pbn__max_wager.GetValueOrDefault(); } + set { __pbn__max_wager = value; } } - public bool ShouldSerializepremium_held() => __pbn__premium_held != null; - public void Resetpremium_held() => __pbn__premium_held = null; - private uint? __pbn__premium_held; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgSignOutReleaseEventPointHolds : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - public global::System.Collections.Generic.List account_ids { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue(EEvent.EVENT_ID_NONE)] - public EEvent event_id - { - get { return __pbn__event_id ?? EEvent.EVENT_ID_NONE; } - set { __pbn__event_id = value; } - } - public bool ShouldSerializeevent_id() => __pbn__event_id != null; - public void Resetevent_id() => __pbn__event_id = null; - private EEvent? __pbn__event_id; - - [global::ProtoBuf.ProtoMember(3)] - public ulong hold_key - { - get { return __pbn__hold_key.GetValueOrDefault(); } - set { __pbn__hold_key = value; } - } - public bool ShouldSerializehold_key() => __pbn__hold_key != null; - public void Resethold_key() => __pbn__hold_key = null; - private ulong? __pbn__hold_key; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgSignOutWagerStats : 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)] - [global::System.ComponentModel.DefaultValue(EEvent.EVENT_ID_NONE)] - public EEvent event_id - { - get { return __pbn__event_id ?? EEvent.EVENT_ID_NONE; } - set { __pbn__event_id = value; } - } - public bool ShouldSerializeevent_id() => __pbn__event_id != null; - public void Resetevent_id() => __pbn__event_id = null; - private EEvent? __pbn__event_id; - - [global::ProtoBuf.ProtoContract()] - public partial class Player : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - public uint account_id - { - get { return __pbn__account_id.GetValueOrDefault(); } - set { __pbn__account_id = value; } - } - public bool ShouldSerializeaccount_id() => __pbn__account_id != null; - public void Resetaccount_id() => __pbn__account_id = null; - private uint? __pbn__account_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint winnings - { - get { return __pbn__winnings.GetValueOrDefault(); } - set { __pbn__winnings = value; } - } - public bool ShouldSerializewinnings() => __pbn__winnings != null; - public void Resetwinnings() => __pbn__winnings = null; - private uint? __pbn__winnings; - - [global::ProtoBuf.ProtoMember(3)] - public uint max_wager - { - get { return __pbn__max_wager.GetValueOrDefault(); } - set { __pbn__max_wager = value; } - } - public bool ShouldSerializemax_wager() => __pbn__max_wager != null; - public void Resetmax_wager() => __pbn__max_wager = null; - private uint? __pbn__max_wager; + public bool ShouldSerializemax_wager() => __pbn__max_wager != null; + public void Resetmax_wager() => __pbn__max_wager = null; + private uint? __pbn__max_wager; [global::ProtoBuf.ProtoMember(4)] public uint wager @@ -6790,6 +6729,650 @@ public uint server_instance } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgDetailedGameStats : 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 minutes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List player_info { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public GameStats game_stats { get; set; } + + [global::ProtoBuf.ProtoContract()] + public partial class PlayerStatEntry : 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 total_earned_gold + { + get { return __pbn__total_earned_gold.GetValueOrDefault(); } + set { __pbn__total_earned_gold = value; } + } + public bool ShouldSerializetotal_earned_gold() => __pbn__total_earned_gold != null; + public void Resettotal_earned_gold() => __pbn__total_earned_gold = null; + private uint? __pbn__total_earned_gold; + + [global::ProtoBuf.ProtoMember(2)] + public uint total_networth + { + get { return __pbn__total_networth.GetValueOrDefault(); } + set { __pbn__total_networth = value; } + } + public bool ShouldSerializetotal_networth() => __pbn__total_networth != null; + public void Resettotal_networth() => __pbn__total_networth = null; + private uint? __pbn__total_networth; + + [global::ProtoBuf.ProtoMember(3)] + public uint level + { + get { return __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.ProtoMember(4)] + public uint total_dps + { + get { return __pbn__total_dps.GetValueOrDefault(); } + set { __pbn__total_dps = value; } + } + public bool ShouldSerializetotal_dps() => __pbn__total_dps != null; + public void Resettotal_dps() => __pbn__total_dps = null; + private uint? __pbn__total_dps; + + [global::ProtoBuf.ProtoMember(5)] + public uint average_dps + { + get { return __pbn__average_dps.GetValueOrDefault(); } + set { __pbn__average_dps = value; } + } + public bool ShouldSerializeaverage_dps() => __pbn__average_dps != null; + public void Resetaverage_dps() => __pbn__average_dps = null; + private uint? __pbn__average_dps; + + [global::ProtoBuf.ProtoMember(6)] + public uint ability_damage_output + { + get { return __pbn__ability_damage_output.GetValueOrDefault(); } + set { __pbn__ability_damage_output = value; } + } + public bool ShouldSerializeability_damage_output() => __pbn__ability_damage_output != null; + public void Resetability_damage_output() => __pbn__ability_damage_output = null; + private uint? __pbn__ability_damage_output; + + [global::ProtoBuf.ProtoMember(7)] + public uint base_health + { + get { return __pbn__base_health.GetValueOrDefault(); } + set { __pbn__base_health = value; } + } + public bool ShouldSerializebase_health() => __pbn__base_health != null; + public void Resetbase_health() => __pbn__base_health = null; + private uint? __pbn__base_health; + + [global::ProtoBuf.ProtoMember(8)] + public uint total_health + { + get { return __pbn__total_health.GetValueOrDefault(); } + set { __pbn__total_health = value; } + } + public bool ShouldSerializetotal_health() => __pbn__total_health != null; + public void Resettotal_health() => __pbn__total_health = null; + private uint? __pbn__total_health; + + [global::ProtoBuf.ProtoMember(9)] + public uint total_mana + { + get { return __pbn__total_mana.GetValueOrDefault(); } + set { __pbn__total_mana = value; } + } + public bool ShouldSerializetotal_mana() => __pbn__total_mana != null; + public void Resettotal_mana() => __pbn__total_mana = null; + private uint? __pbn__total_mana; + + [global::ProtoBuf.ProtoMember(10)] + public float base_physical_damage_reduction_pct + { + get { return __pbn__base_physical_damage_reduction_pct.GetValueOrDefault(); } + set { __pbn__base_physical_damage_reduction_pct = value; } + } + public bool ShouldSerializebase_physical_damage_reduction_pct() => __pbn__base_physical_damage_reduction_pct != null; + public void Resetbase_physical_damage_reduction_pct() => __pbn__base_physical_damage_reduction_pct = null; + private float? __pbn__base_physical_damage_reduction_pct; + + [global::ProtoBuf.ProtoMember(11)] + public float total_physical_damage_reduction_pct + { + get { return __pbn__total_physical_damage_reduction_pct.GetValueOrDefault(); } + set { __pbn__total_physical_damage_reduction_pct = value; } + } + public bool ShouldSerializetotal_physical_damage_reduction_pct() => __pbn__total_physical_damage_reduction_pct != null; + public void Resettotal_physical_damage_reduction_pct() => __pbn__total_physical_damage_reduction_pct = null; + private float? __pbn__total_physical_damage_reduction_pct; + + [global::ProtoBuf.ProtoMember(12)] + public float base_ability_damage_reduction_pct + { + get { return __pbn__base_ability_damage_reduction_pct.GetValueOrDefault(); } + set { __pbn__base_ability_damage_reduction_pct = value; } + } + public bool ShouldSerializebase_ability_damage_reduction_pct() => __pbn__base_ability_damage_reduction_pct != null; + public void Resetbase_ability_damage_reduction_pct() => __pbn__base_ability_damage_reduction_pct = null; + private float? __pbn__base_ability_damage_reduction_pct; + + [global::ProtoBuf.ProtoMember(13)] + public float total_ability_damage_reduction_pct + { + get { return __pbn__total_ability_damage_reduction_pct.GetValueOrDefault(); } + set { __pbn__total_ability_damage_reduction_pct = value; } + } + public bool ShouldSerializetotal_ability_damage_reduction_pct() => __pbn__total_ability_damage_reduction_pct != null; + public void Resettotal_ability_damage_reduction_pct() => __pbn__total_ability_damage_reduction_pct = null; + private float? __pbn__total_ability_damage_reduction_pct; + + [global::ProtoBuf.ProtoMember(14)] + public float ability_damage_block + { + get { return __pbn__ability_damage_block.GetValueOrDefault(); } + set { __pbn__ability_damage_block = value; } + } + public bool ShouldSerializeability_damage_block() => __pbn__ability_damage_block != null; + public void Resetability_damage_block() => __pbn__ability_damage_block = null; + private float? __pbn__ability_damage_block; + + [global::ProtoBuf.ProtoMember(15)] + public float physical_damage_block + { + get { return __pbn__physical_damage_block.GetValueOrDefault(); } + set { __pbn__physical_damage_block = value; } + } + public bool ShouldSerializephysical_damage_block() => __pbn__physical_damage_block != null; + public void Resetphysical_damage_block() => __pbn__physical_damage_block = null; + private float? __pbn__physical_damage_block; + + [global::ProtoBuf.ProtoMember(16)] + public uint mana_regen + { + get { return __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 uint? __pbn__mana_regen; + + [global::ProtoBuf.ProtoMember(17)] + public uint health_regen + { + get { return __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 uint? __pbn__health_regen; + + [global::ProtoBuf.ProtoMember(18)] + public float physical_magic_dmg_pct + { + get { return __pbn__physical_magic_dmg_pct.GetValueOrDefault(); } + set { __pbn__physical_magic_dmg_pct = value; } + } + public bool ShouldSerializephysical_magic_dmg_pct() => __pbn__physical_magic_dmg_pct != null; + public void Resetphysical_magic_dmg_pct() => __pbn__physical_magic_dmg_pct = null; + private float? __pbn__physical_magic_dmg_pct; + + [global::ProtoBuf.ProtoMember(19)] + public uint kills + { + get { return __pbn__kills.GetValueOrDefault(); } + set { __pbn__kills = value; } + } + public bool ShouldSerializekills() => __pbn__kills != null; + public void Resetkills() => __pbn__kills = null; + private uint? __pbn__kills; + + [global::ProtoBuf.ProtoMember(20)] + public uint deaths + { + get { return __pbn__deaths.GetValueOrDefault(); } + set { __pbn__deaths = value; } + } + public bool ShouldSerializedeaths() => __pbn__deaths != null; + public void Resetdeaths() => __pbn__deaths = null; + private uint? __pbn__deaths; + + [global::ProtoBuf.ProtoMember(21)] + public uint assists + { + get { return __pbn__assists.GetValueOrDefault(); } + set { __pbn__assists = value; } + } + public bool ShouldSerializeassists() => __pbn__assists != null; + public void Resetassists() => __pbn__assists = null; + private uint? __pbn__assists; + + [global::ProtoBuf.ProtoMember(22)] + public uint gold_from_kills + { + get { return __pbn__gold_from_kills.GetValueOrDefault(); } + set { __pbn__gold_from_kills = value; } + } + public bool ShouldSerializegold_from_kills() => __pbn__gold_from_kills != null; + public void Resetgold_from_kills() => __pbn__gold_from_kills = null; + private uint? __pbn__gold_from_kills; + + [global::ProtoBuf.ProtoMember(23)] + public uint gold_from_creeps + { + get { return __pbn__gold_from_creeps.GetValueOrDefault(); } + set { __pbn__gold_from_creeps = value; } + } + public bool ShouldSerializegold_from_creeps() => __pbn__gold_from_creeps != null; + public void Resetgold_from_creeps() => __pbn__gold_from_creeps = null; + private uint? __pbn__gold_from_creeps; + + [global::ProtoBuf.ProtoMember(24)] + public uint gold_shared + { + get { return __pbn__gold_shared.GetValueOrDefault(); } + set { __pbn__gold_shared = value; } + } + public bool ShouldSerializegold_shared() => __pbn__gold_shared != null; + public void Resetgold_shared() => __pbn__gold_shared = null; + private uint? __pbn__gold_shared; + + [global::ProtoBuf.ProtoMember(25)] + public uint xp_from_kills + { + get { return __pbn__xp_from_kills.GetValueOrDefault(); } + set { __pbn__xp_from_kills = value; } + } + public bool ShouldSerializexp_from_kills() => __pbn__xp_from_kills != null; + public void Resetxp_from_kills() => __pbn__xp_from_kills = null; + private uint? __pbn__xp_from_kills; + + [global::ProtoBuf.ProtoMember(26)] + public uint xp_from_creeps + { + get { return __pbn__xp_from_creeps.GetValueOrDefault(); } + set { __pbn__xp_from_creeps = value; } + } + public bool ShouldSerializexp_from_creeps() => __pbn__xp_from_creeps != null; + public void Resetxp_from_creeps() => __pbn__xp_from_creeps = null; + private uint? __pbn__xp_from_creeps; + + [global::ProtoBuf.ProtoMember(27)] + public uint total_xp + { + get { return __pbn__total_xp.GetValueOrDefault(); } + set { __pbn__total_xp = value; } + } + public bool ShouldSerializetotal_xp() => __pbn__total_xp != null; + public void Resettotal_xp() => __pbn__total_xp = null; + private uint? __pbn__total_xp; + + [global::ProtoBuf.ProtoMember(28)] + public uint ability_casts + { + get { return __pbn__ability_casts.GetValueOrDefault(); } + set { __pbn__ability_casts = value; } + } + public bool ShouldSerializeability_casts() => __pbn__ability_casts != null; + public void Resetability_casts() => __pbn__ability_casts = null; + private uint? __pbn__ability_casts; + + [global::ProtoBuf.ProtoMember(29)] + public uint item_casts + { + get { return __pbn__item_casts.GetValueOrDefault(); } + set { __pbn__item_casts = value; } + } + public bool ShouldSerializeitem_casts() => __pbn__item_casts != null; + public void Resetitem_casts() => __pbn__item_casts = null; + private uint? __pbn__item_casts; + + [global::ProtoBuf.ProtoMember(30)] + public float total_time_stunned + { + get { return __pbn__total_time_stunned.GetValueOrDefault(); } + set { __pbn__total_time_stunned = value; } + } + public bool ShouldSerializetotal_time_stunned() => __pbn__total_time_stunned != null; + public void Resettotal_time_stunned() => __pbn__total_time_stunned = null; + private float? __pbn__total_time_stunned; + + [global::ProtoBuf.ProtoMember(31)] + public uint item_count + { + get { return __pbn__item_count.GetValueOrDefault(); } + set { __pbn__item_count = value; } + } + public bool ShouldSerializeitem_count() => __pbn__item_count != null; + public void Resetitem_count() => __pbn__item_count = null; + private uint? __pbn__item_count; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GameStats : 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 tower_death_time_t1 + { + get { return __pbn__tower_death_time_t1.GetValueOrDefault(); } + set { __pbn__tower_death_time_t1 = value; } + } + public bool ShouldSerializetower_death_time_t1() => __pbn__tower_death_time_t1 != null; + public void Resettower_death_time_t1() => __pbn__tower_death_time_t1 = null; + private uint? __pbn__tower_death_time_t1; + + [global::ProtoBuf.ProtoMember(2)] + public uint tower_death_time_t2 + { + get { return __pbn__tower_death_time_t2.GetValueOrDefault(); } + set { __pbn__tower_death_time_t2 = value; } + } + public bool ShouldSerializetower_death_time_t2() => __pbn__tower_death_time_t2 != null; + public void Resettower_death_time_t2() => __pbn__tower_death_time_t2 = null; + private uint? __pbn__tower_death_time_t2; + + [global::ProtoBuf.ProtoMember(3)] + public uint tower_death_time_t3 + { + get { return __pbn__tower_death_time_t3.GetValueOrDefault(); } + set { __pbn__tower_death_time_t3 = value; } + } + public bool ShouldSerializetower_death_time_t3() => __pbn__tower_death_time_t3 != null; + public void Resettower_death_time_t3() => __pbn__tower_death_time_t3 = null; + private uint? __pbn__tower_death_time_t3; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class MinuteEntry : 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 minute + { + get { return __pbn__minute.GetValueOrDefault(); } + set { __pbn__minute = value; } + } + public bool ShouldSerializeminute() => __pbn__minute != null; + public void Resetminute() => __pbn__minute = null; + private uint? __pbn__minute; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List stats { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class PlayerInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint account_id + { + get { return __pbn__account_id.GetValueOrDefault(); } + set { __pbn__account_id = value; } + } + public bool ShouldSerializeaccount_id() => __pbn__account_id != null; + public void Resetaccount_id() => __pbn__account_id = null; + private uint? __pbn__account_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint hero_id + { + get { return __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(3)] + public uint player_slot + { + get { return __pbn__player_slot.GetValueOrDefault(); } + set { __pbn__player_slot = value; } + } + public bool ShouldSerializeplayer_slot() => __pbn__player_slot != null; + public void Resetplayer_slot() => __pbn__player_slot = null; + private uint? __pbn__player_slot; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgAllStarStats : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public global::System.Collections.Generic.List player_stats { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class PlayerStats : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint account_id + { + get { return __pbn__account_id.GetValueOrDefault(); } + set { __pbn__account_id = value; } + } + public bool ShouldSerializeaccount_id() => __pbn__account_id != null; + public void Resetaccount_id() => __pbn__account_id = null; + private uint? __pbn__account_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint player_id + { + get { return __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(3)] + public global::System.Collections.Generic.List killstreak { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List num_multi_kills { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public uint killstreak_ended + { + get { return __pbn__killstreak_ended.GetValueOrDefault(); } + set { __pbn__killstreak_ended = value; } + } + public bool ShouldSerializekillstreak_ended() => __pbn__killstreak_ended != null; + public void Resetkillstreak_ended() => __pbn__killstreak_ended = null; + private uint? __pbn__killstreak_ended; + + [global::ProtoBuf.ProtoMember(6)] + public uint roshan_kills + { + get { return __pbn__roshan_kills.GetValueOrDefault(); } + set { __pbn__roshan_kills = value; } + } + public bool ShouldSerializeroshan_kills() => __pbn__roshan_kills != null; + public void Resetroshan_kills() => __pbn__roshan_kills = null; + private uint? __pbn__roshan_kills; + + [global::ProtoBuf.ProtoMember(7)] + public uint first_bloods + { + get { return __pbn__first_bloods.GetValueOrDefault(); } + set { __pbn__first_bloods = value; } + } + public bool ShouldSerializefirst_bloods() => __pbn__first_bloods != null; + public void Resetfirst_bloods() => __pbn__first_bloods = null; + private uint? __pbn__first_bloods; + + [global::ProtoBuf.ProtoMember(8)] + public uint courier_kills + { + get { return __pbn__courier_kills.GetValueOrDefault(); } + set { __pbn__courier_kills = value; } + } + public bool ShouldSerializecourier_kills() => __pbn__courier_kills != null; + public void Resetcourier_kills() => __pbn__courier_kills = null; + private uint? __pbn__courier_kills; + + [global::ProtoBuf.ProtoMember(9)] + public uint tower_kills + { + get { return __pbn__tower_kills.GetValueOrDefault(); } + set { __pbn__tower_kills = value; } + } + public bool ShouldSerializetower_kills() => __pbn__tower_kills != null; + public void Resettower_kills() => __pbn__tower_kills = null; + private uint? __pbn__tower_kills; + + [global::ProtoBuf.ProtoMember(10)] + public bool first_taunt + { + get { return __pbn__first_taunt.GetValueOrDefault(); } + set { __pbn__first_taunt = value; } + } + public bool ShouldSerializefirst_taunt() => __pbn__first_taunt != null; + public void Resetfirst_taunt() => __pbn__first_taunt = null; + private bool? __pbn__first_taunt; + + [global::ProtoBuf.ProtoMember(11)] + public bool first_high_five + { + get { return __pbn__first_high_five.GetValueOrDefault(); } + set { __pbn__first_high_five = value; } + } + public bool ShouldSerializefirst_high_five() => __pbn__first_high_five != null; + public void Resetfirst_high_five() => __pbn__first_high_five = null; + private bool? __pbn__first_high_five; + + [global::ProtoBuf.ProtoMember(12)] + public bool first_ceb + { + get { return __pbn__first_ceb.GetValueOrDefault(); } + set { __pbn__first_ceb = value; } + } + public bool ShouldSerializefirst_ceb() => __pbn__first_ceb != null; + public void Resetfirst_ceb() => __pbn__first_ceb = null; + private bool? __pbn__first_ceb; + + [global::ProtoBuf.ProtoMember(13)] + public bool first_tip + { + get { return __pbn__first_tip.GetValueOrDefault(); } + set { __pbn__first_tip = value; } + } + public bool ShouldSerializefirst_tip() => __pbn__first_tip != null; + public void Resetfirst_tip() => __pbn__first_tip = null; + private bool? __pbn__first_tip; + + [global::ProtoBuf.ProtoMember(14)] + public bool first_rapier + { + get { return __pbn__first_rapier.GetValueOrDefault(); } + set { __pbn__first_rapier = value; } + } + public bool ShouldSerializefirst_rapier() => __pbn__first_rapier != null; + public void Resetfirst_rapier() => __pbn__first_rapier = null; + private bool? __pbn__first_rapier; + + [global::ProtoBuf.ProtoMember(15)] + public bool first_aegis_deny + { + get { return __pbn__first_aegis_deny.GetValueOrDefault(); } + set { __pbn__first_aegis_deny = value; } + } + public bool ShouldSerializefirst_aegis_deny() => __pbn__first_aegis_deny != null; + public void Resetfirst_aegis_deny() => __pbn__first_aegis_deny = null; + private bool? __pbn__first_aegis_deny; + + [global::ProtoBuf.ProtoMember(16)] + public bool last_to_die + { + get { return __pbn__last_to_die.GetValueOrDefault(); } + set { __pbn__last_to_die = value; } + } + public bool ShouldSerializelast_to_die() => __pbn__last_to_die != null; + public void Resetlast_to_die() => __pbn__last_to_die = null; + private bool? __pbn__last_to_die; + + [global::ProtoBuf.ProtoMember(17)] + public bool first_to_wipe + { + get { return __pbn__first_to_wipe.GetValueOrDefault(); } + set { __pbn__first_to_wipe = value; } + } + public bool ShouldSerializefirst_to_wipe() => __pbn__first_to_wipe != null; + public void Resetfirst_to_wipe() => __pbn__first_to_wipe = null; + private bool? __pbn__first_to_wipe; + + [global::ProtoBuf.ProtoMember(18)] + public uint kills + { + get { return __pbn__kills.GetValueOrDefault(); } + set { __pbn__kills = value; } + } + public bool ShouldSerializekills() => __pbn__kills != null; + public void Resetkills() => __pbn__kills = null; + private uint? __pbn__kills; + + [global::ProtoBuf.ProtoMember(19)] + public uint deaths + { + get { return __pbn__deaths.GetValueOrDefault(); } + set { __pbn__deaths = value; } + } + public bool ShouldSerializedeaths() => __pbn__deaths != null; + public void Resetdeaths() => __pbn__deaths = null; + private uint? __pbn__deaths; + + [global::ProtoBuf.ProtoMember(20)] + public uint assists + { + get { return __pbn__assists.GetValueOrDefault(); } + set { __pbn__assists = value; } + } + public bool ShouldSerializeassists() => __pbn__assists != null; + public void Resetassists() => __pbn__assists = null; + private uint? __pbn__assists; + + } + + } + [global::ProtoBuf.ProtoContract()] public enum EPoorNetworkConditionsType { @@ -6799,6 +7382,12 @@ public enum EPoorNetworkConditionsType k_EPoorNetworkConditions_ExcessBadQosIntervals = 3, } + [global::ProtoBuf.ProtoContract()] + public enum MatchSignoutExtraMsgs + { + k_EMatchSignoutExtraMsgCommunicationSummary = 0, + } + [global::ProtoBuf.ProtoContract()] public enum EAbilityAbuseType { @@ -6836,6 +7425,7 @@ public enum ESuspiciousActivity k_ESuspiciousActivity_VAC_MultipleInstances = 1, k_ESuspiciousActivity_IntentionalFeeding = 100, k_ESuspiciousActivity_SuspectedBotFarming = 101, + k_ESuspiciousActivity_AttemptedToCrashServer = 102, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs index c25158bc2..4edd7d53a 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs @@ -92,6 +92,9 @@ public uint primary_event_id [global::ProtoBuf.ProtoMember(7)] public global::System.Collections.Generic.List match_tips { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(8)] + public CMsgMatchMatchmakingStats matchmaking_stats { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class Team : global::ProtoBuf.IExtensible { @@ -1080,14 +1083,25 @@ public uint wards_dewarded private uint? __pbn__wards_dewarded; [global::ProtoBuf.ProtoMember(45)] - public uint stun_duration + public float stun_duration { get { return __pbn__stun_duration.GetValueOrDefault(); } set { __pbn__stun_duration = value; } } public bool ShouldSerializestun_duration() => __pbn__stun_duration != null; public void Resetstun_duration() => __pbn__stun_duration = null; - private uint? __pbn__stun_duration; + private float? __pbn__stun_duration; + + [global::ProtoBuf.ProtoMember(46)] + [global::System.ComponentModel.DefaultValue(EDOTAMMRBoostType.k_EDOTAMMRBoostType_None)] + public EDOTAMMRBoostType rank_mmr_boost_type + { + get { return __pbn__rank_mmr_boost_type ?? EDOTAMMRBoostType.k_EDOTAMMRBoostType_None; } + set { __pbn__rank_mmr_boost_type = value; } + } + public bool ShouldSerializerank_mmr_boost_type() => __pbn__rank_mmr_boost_type != null; + public void Resetrank_mmr_boost_type() => __pbn__rank_mmr_boost_type = null; + private EDOTAMMRBoostType? __pbn__rank_mmr_boost_type; } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs index d2bfee92b..361c2f7aa 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs @@ -966,6 +966,97 @@ public uint unit_status_label public void Resetunit_status_label() => __pbn__unit_status_label = null; private uint? __pbn__unit_status_label; + [global::ProtoBuf.ProtoMember(73)] + public bool spell_generated_attack + { + get { return __pbn__spell_generated_attack.GetValueOrDefault(); } + set { __pbn__spell_generated_attack = value; } + } + public bool ShouldSerializespell_generated_attack() => __pbn__spell_generated_attack != null; + public void Resetspell_generated_attack() => __pbn__spell_generated_attack = null; + private bool? __pbn__spell_generated_attack; + + [global::ProtoBuf.ProtoMember(74)] + public bool at_night_time + { + get { return __pbn__at_night_time.GetValueOrDefault(); } + set { __pbn__at_night_time = value; } + } + public bool ShouldSerializeat_night_time() => __pbn__at_night_time != null; + public void Resetat_night_time() => __pbn__at_night_time = null; + private bool? __pbn__at_night_time; + + [global::ProtoBuf.ProtoMember(75)] + public bool attacker_has_scepter + { + get { return __pbn__attacker_has_scepter.GetValueOrDefault(); } + set { __pbn__attacker_has_scepter = value; } + } + public bool ShouldSerializeattacker_has_scepter() => __pbn__attacker_has_scepter != null; + public void Resetattacker_has_scepter() => __pbn__attacker_has_scepter = null; + private bool? __pbn__attacker_has_scepter; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgPendingEventAward : 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(EEvent.EVENT_ID_NONE)] + public EEvent event_id + { + get { return __pbn__event_id ?? EEvent.EVENT_ID_NONE; } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private EEvent? __pbn__event_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint action_id + { + get { return __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.ProtoMember(3)] + public uint num_to_grant + { + get { return __pbn__num_to_grant.GetValueOrDefault(); } + set { __pbn__num_to_grant = value; } + } + public bool ShouldSerializenum_to_grant() => __pbn__num_to_grant != null; + public void Resetnum_to_grant() => __pbn__num_to_grant = null; + private uint? __pbn__num_to_grant; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(EEventActionScoreMode.k_eEventActionScoreMode_Add)] + public EEventActionScoreMode score_mode + { + get { return __pbn__score_mode ?? EEventActionScoreMode.k_eEventActionScoreMode_Add; } + set { __pbn__score_mode = value; } + } + public bool ShouldSerializescore_mode() => __pbn__score_mode != null; + public void Resetscore_mode() => __pbn__score_mode = null; + private EEventActionScoreMode? __pbn__score_mode; + + [global::ProtoBuf.ProtoMember(5)] + public uint audit_action + { + get { return __pbn__audit_action.GetValueOrDefault(); } + set { __pbn__audit_action = value; } + } + public bool ShouldSerializeaudit_action() => __pbn__audit_action != null; + public void Resetaudit_action() => __pbn__audit_action = null; + private uint? __pbn__audit_action; + } [global::ProtoBuf.ProtoContract()] @@ -1035,6 +1126,7 @@ public enum EEvent EVENT_ID_SPRING_FESTIVAL = 2, EVENT_ID_FROSTIVUS_2013 = 3, EVENT_ID_COMPENDIUM_2014 = 4, + EVENT_ID_NEXON_PC_BANG = 5, EVENT_ID_PWRD_DAC_2015 = 6, EVENT_ID_NEW_BLOOM_2015 = 7, EVENT_ID_INTERNATIONAL_2015 = 8, @@ -1265,11 +1357,21 @@ public enum EDOTAPlayerMMRType { k_EDOTAPlayerMMRType_Invalid = 0, k_EDOTAPlayerMMRType_GeneralHidden = 1, - k_EDOTAPlayerMMRType_GeneralCompetitive = 3, - k_EDOTAPlayerMMRType_SoloCompetitive = 4, + k_EDOTAPlayerMMRType_GeneralCompetitive2019 = 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, + } + + [global::ProtoBuf.ProtoContract()] + public enum EDOTAMMRBoostType + { + k_EDOTAMMRBoostType_None = 0, + k_EDOTAMMRBoostType_Leader = 1, + k_EDOTAMMRBoostType_Follower = 2, } [global::ProtoBuf.ProtoContract()] @@ -1277,7 +1379,7 @@ public enum MatchType { MATCH_TYPE_CASUAL = 0, MATCH_TYPE_COOP_BOTS = 1, - MATCH_TYPE_TEAM_RANKED = 2, + MATCH_TYPE_LEGACY_TEAM_RANKED = 2, MATCH_TYPE_LEGACY_SOLO_QUEUE = 3, MATCH_TYPE_COMPETITIVE = 4, MATCH_TYPE_WEEKEND_TOURNEY = 5, @@ -1596,6 +1698,13 @@ public enum EDPCPushNotification DPC_PUSH_NOTIFICATION_FANTASY_FINAL_RESULTS = 42, } + [global::ProtoBuf.ProtoContract()] + public enum EEventActionScoreMode + { + k_eEventActionScoreMode_Add = 0, + k_eEventActionScoreMode_Min = 1, + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs index 820e8b97d..0f7f4ad7a 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs @@ -3881,6 +3881,17 @@ public enum GCProtoBufMsgSrc GCProtoBufMsgSrc_SpoofedSteamID = 5, } + [global::ProtoBuf.ProtoContract()] + public enum EDACPlatform + { + k_eDACPlatform_None = 0, + k_eDACPlatform_PC = 1, + k_eDACPlatform_Mac = 2, + k_eDACPlatform_Linux = 3, + k_eDACPlatform_Android = 4, + k_eDACPlatform_iOS = 5, + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCEcon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCEcon.cs index 9f868221c..7a39afc21 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCEcon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCEcon.cs @@ -4045,6 +4045,16 @@ public uint server_deployed_version public void Resetserver_deployed_version() => __pbn__server_deployed_version = null; private uint? __pbn__server_deployed_version; + [global::ProtoBuf.ProtoMember(5)] + public uint what_changed + { + get { return __pbn__what_changed.GetValueOrDefault(); } + set { __pbn__what_changed = value; } + } + public bool ShouldSerializewhat_changed() => __pbn__what_changed != null; + public void Resetwhat_changed() => __pbn__what_changed = null; + private uint? __pbn__what_changed; + } [global::ProtoBuf.ProtoContract()] @@ -4328,6 +4338,15 @@ public uint sample_duration_ms } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToGCPurchaseSucceeded : 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 EGCItemMsg { @@ -4515,6 +4534,7 @@ public enum EGCItemMsg k_EMsgGCToGCSelfPing = 2605, k_EMsgGCToGCGetInfuxIntervalStats = 2606, k_EMsgGCToGCGetInfuxIntervalStatsResponse = 2607, + k_EMsgGCToGCPurchaseSucceeded = 2608, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs index d42035a20..1597b8b8f 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs @@ -909,6 +909,26 @@ public byte[] steamdatagram_login public void Resetsteamdatagram_login() => __pbn__steamdatagram_login = null; private byte[] __pbn__steamdatagram_login; + [global::ProtoBuf.ProtoMember(9)] + public uint platform_id + { + get { return __pbn__platform_id.GetValueOrDefault(); } + set { __pbn__platform_id = value; } + } + public bool ShouldSerializeplatform_id() => __pbn__platform_id != null; + public void Resetplatform_id() => __pbn__platform_id = null; + private uint? __pbn__platform_id; + + [global::ProtoBuf.ProtoMember(10)] + public byte[] game_msg + { + get { return __pbn__game_msg; } + set { __pbn__game_msg = value; } + } + public bool ShouldSerializegame_msg() => __pbn__game_msg != null; + public void Resetgame_msg() => __pbn__game_msg = null; + private byte[] __pbn__game_msg; + } [global::ProtoBuf.ProtoContract()] @@ -1500,6 +1520,26 @@ public uint gameitemid [global::ProtoBuf.ProtoMember(4)] public global::System.Collections.Generic.List partner_accounts { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(5)] + public bool validate_only + { + get { return __pbn__validate_only.GetValueOrDefault(); } + set { __pbn__validate_only = value; } + } + public bool ShouldSerializevalidate_only() => __pbn__validate_only != null; + public void Resetvalidate_only() => __pbn__validate_only = null; + private bool? __pbn__validate_only; + + [global::ProtoBuf.ProtoMember(6)] + public bool make_workshop_files_subscribable + { + get { return __pbn__make_workshop_files_subscribable.GetValueOrDefault(); } + set { __pbn__make_workshop_files_subscribable = value; } + } + public bool ShouldSerializemake_workshop_files_subscribable() => __pbn__make_workshop_files_subscribable != null; + public void Resetmake_workshop_files_subscribable() => __pbn__make_workshop_files_subscribable = null; + private bool? __pbn__make_workshop_files_subscribable; + [global::ProtoBuf.ProtoContract()] public partial class WorkshopItemPaymentRule : global::ProtoBuf.IExtensible { @@ -1538,6 +1578,16 @@ public string rule_description public void Resetrule_description() => __pbn__rule_description = null; private string __pbn__rule_description; + [global::ProtoBuf.ProtoMember(4)] + public uint rule_type + { + get { return __pbn__rule_type.GetValueOrDefault(); } + set { __pbn__rule_type = value; } + } + public bool ShouldSerializerule_type() => __pbn__rule_type != null; + public void Resetrule_type() => __pbn__rule_type = null; + private uint? __pbn__rule_type; + } [global::ProtoBuf.ProtoContract()] @@ -1589,6 +1639,290 @@ public partial class CWorkshop_SetItemPaymentRules_Response : global::ProtoBuf.I 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 validation_errors { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCommunity_ClanAnnouncementInfo : 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 gid + { + get { return __pbn__gid.GetValueOrDefault(); } + set { __pbn__gid = value; } + } + public bool ShouldSerializegid() => __pbn__gid != null; + public void Resetgid() => __pbn__gid = null; + private ulong? __pbn__gid; + + [global::ProtoBuf.ProtoMember(2)] + public ulong clanid + { + get { return __pbn__clanid.GetValueOrDefault(); } + set { __pbn__clanid = value; } + } + public bool ShouldSerializeclanid() => __pbn__clanid != null; + public void Resetclanid() => __pbn__clanid = null; + private ulong? __pbn__clanid; + + [global::ProtoBuf.ProtoMember(3)] + public ulong posterid + { + get { return __pbn__posterid.GetValueOrDefault(); } + set { __pbn__posterid = value; } + } + public bool ShouldSerializeposterid() => __pbn__posterid != null; + public void Resetposterid() => __pbn__posterid = null; + private ulong? __pbn__posterid; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string headline + { + get { return __pbn__headline ?? ""; } + set { __pbn__headline = value; } + } + public bool ShouldSerializeheadline() => __pbn__headline != null; + public void Resetheadline() => __pbn__headline = null; + private string __pbn__headline; + + [global::ProtoBuf.ProtoMember(5)] + public uint posttime + { + get { return __pbn__posttime.GetValueOrDefault(); } + set { __pbn__posttime = value; } + } + public bool ShouldSerializeposttime() => __pbn__posttime != null; + public void Resetposttime() => __pbn__posttime = null; + private uint? __pbn__posttime; + + [global::ProtoBuf.ProtoMember(6)] + public uint updatetime + { + get { return __pbn__updatetime.GetValueOrDefault(); } + set { __pbn__updatetime = value; } + } + public bool ShouldSerializeupdatetime() => __pbn__updatetime != null; + public void Resetupdatetime() => __pbn__updatetime = null; + private uint? __pbn__updatetime; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string body + { + get { return __pbn__body ?? ""; } + set { __pbn__body = value; } + } + public bool ShouldSerializebody() => __pbn__body != null; + public void Resetbody() => __pbn__body = null; + private string __pbn__body; + + [global::ProtoBuf.ProtoMember(8)] + public int commentcount + { + get { return __pbn__commentcount.GetValueOrDefault(); } + set { __pbn__commentcount = value; } + } + public bool ShouldSerializecommentcount() => __pbn__commentcount != null; + public void Resetcommentcount() => __pbn__commentcount = null; + private int? __pbn__commentcount; + + [global::ProtoBuf.ProtoMember(9)] + public global::System.Collections.Generic.List tags { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(10)] + public int language + { + get { return __pbn__language.GetValueOrDefault(); } + set { __pbn__language = value; } + } + public bool ShouldSerializelanguage() => __pbn__language != null; + public void Resetlanguage() => __pbn__language = null; + private int? __pbn__language; + + [global::ProtoBuf.ProtoMember(11)] + public bool hidden + { + get { return __pbn__hidden.GetValueOrDefault(); } + set { __pbn__hidden = value; } + } + public bool ShouldSerializehidden() => __pbn__hidden != null; + public void Resethidden() => __pbn__hidden = null; + private bool? __pbn__hidden; + + [global::ProtoBuf.ProtoMember(12, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong forum_topic_id + { + get { return __pbn__forum_topic_id.GetValueOrDefault(); } + set { __pbn__forum_topic_id = value; } + } + public bool ShouldSerializeforum_topic_id() => __pbn__forum_topic_id != null; + public void Resetforum_topic_id() => __pbn__forum_topic_id = null; + private ulong? __pbn__forum_topic_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCommunity_GetClanAnnouncements_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 { return __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 offset + { + get { return __pbn__offset.GetValueOrDefault(); } + set { __pbn__offset = value; } + } + public bool ShouldSerializeoffset() => __pbn__offset != null; + public void Resetoffset() => __pbn__offset = null; + private uint? __pbn__offset; + + [global::ProtoBuf.ProtoMember(3)] + public uint count + { + get { return __pbn__count.GetValueOrDefault(); } + set { __pbn__count = value; } + } + public bool ShouldSerializecount() => __pbn__count != null; + public void Resetcount() => __pbn__count = null; + private uint? __pbn__count; + + [global::ProtoBuf.ProtoMember(4)] + public uint maxchars + { + get { return __pbn__maxchars.GetValueOrDefault(); } + set { __pbn__maxchars = value; } + } + public bool ShouldSerializemaxchars() => __pbn__maxchars != null; + public void Resetmaxchars() => __pbn__maxchars = null; + private uint? __pbn__maxchars; + + [global::ProtoBuf.ProtoMember(5)] + public bool strip_html + { + get { return __pbn__strip_html.GetValueOrDefault(); } + set { __pbn__strip_html = value; } + } + public bool ShouldSerializestrip_html() => __pbn__strip_html != null; + public void Resetstrip_html() => __pbn__strip_html = null; + private bool? __pbn__strip_html; + + [global::ProtoBuf.ProtoMember(6)] + public global::System.Collections.Generic.List required_tags { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(7)] + public bool require_no_tags + { + get { return __pbn__require_no_tags.GetValueOrDefault(); } + set { __pbn__require_no_tags = value; } + } + public bool ShouldSerializerequire_no_tags() => __pbn__require_no_tags != null; + public void Resetrequire_no_tags() => __pbn__require_no_tags = null; + private bool? __pbn__require_no_tags; + + [global::ProtoBuf.ProtoMember(8)] + public global::System.Collections.Generic.List language_preference { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(9)] + public bool hidden_only + { + get { return __pbn__hidden_only.GetValueOrDefault(); } + set { __pbn__hidden_only = value; } + } + public bool ShouldSerializehidden_only() => __pbn__hidden_only != null; + public void Resethidden_only() => __pbn__hidden_only = null; + private bool? __pbn__hidden_only; + + [global::ProtoBuf.ProtoMember(10)] + public bool only_gid + { + get { return __pbn__only_gid.GetValueOrDefault(); } + set { __pbn__only_gid = value; } + } + public bool ShouldSerializeonly_gid() => __pbn__only_gid != null; + public void Resetonly_gid() => __pbn__only_gid = null; + private bool? __pbn__only_gid; + + [global::ProtoBuf.ProtoMember(11)] + public uint rtime_oldest_date + { + get { return __pbn__rtime_oldest_date.GetValueOrDefault(); } + set { __pbn__rtime_oldest_date = value; } + } + public bool ShouldSerializertime_oldest_date() => __pbn__rtime_oldest_date != null; + public void Resetrtime_oldest_date() => __pbn__rtime_oldest_date = null; + private uint? __pbn__rtime_oldest_date; + + [global::ProtoBuf.ProtoMember(12)] + public bool include_hidden + { + get { return __pbn__include_hidden.GetValueOrDefault(); } + set { __pbn__include_hidden = value; } + } + public bool ShouldSerializeinclude_hidden() => __pbn__include_hidden != null; + public void Resetinclude_hidden() => __pbn__include_hidden = null; + private bool? __pbn__include_hidden; + + [global::ProtoBuf.ProtoMember(13)] + public bool include_partner_events + { + get { return __pbn__include_partner_events.GetValueOrDefault(); } + set { __pbn__include_partner_events = value; } + } + public bool ShouldSerializeinclude_partner_events() => __pbn__include_partner_events != null; + public void Resetinclude_partner_events() => __pbn__include_partner_events = null; + private bool? __pbn__include_partner_events; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCommunity_GetClanAnnouncements_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 maxchars + { + get { return __pbn__maxchars.GetValueOrDefault(); } + set { __pbn__maxchars = value; } + } + public bool ShouldSerializemaxchars() => __pbn__maxchars != null; + public void Resetmaxchars() => __pbn__maxchars = null; + private uint? __pbn__maxchars; + + [global::ProtoBuf.ProtoMember(2)] + public bool strip_html + { + get { return __pbn__strip_html.GetValueOrDefault(); } + set { __pbn__strip_html = value; } + } + public bool ShouldSerializestrip_html() => __pbn__strip_html != null; + public void Resetstrip_html() => __pbn__strip_html = null; + private bool? __pbn__strip_html; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List announcements { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCClient.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCClient.cs index aa0e74a96..605cefa33 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCClient.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCClient.cs @@ -41,6 +41,25 @@ public uint client_version } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgDACClientHello : 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 side_loaded + { + get { return __pbn__side_loaded.GetValueOrDefault(); } + set { __pbn__side_loaded = value; } + } + public bool ShouldSerializeside_loaded() => __pbn__side_loaded != null; + public void Resetside_loaded() => __pbn__side_loaded = null; + private bool? __pbn__side_loaded; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgClientToGCStartMatchmaking : global::ProtoBuf.IExtensible { @@ -97,6 +116,8 @@ public enum EResultCode k_EResult_InternalError = 6, k_EResult_NoRegionPings = 7, k_EResult_InParty = 8, + k_EResult_ModeLocked = 9, + k_EResult_ModeBanned = 10, } } @@ -204,6 +225,43 @@ public uint currency [global::ProtoBuf.ProtoMember(2)] public global::System.Collections.Generic.List extra_messages { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3)] + public uint compatibility_version + { + get { return __pbn__compatibility_version.GetValueOrDefault(); } + set { __pbn__compatibility_version = value; } + } + public bool ShouldSerializecompatibility_version() => __pbn__compatibility_version != null; + public void Resetcompatibility_version() => __pbn__compatibility_version = null; + private uint? __pbn__compatibility_version; + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List active_events { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public ulong steam_announcement_gid + { + get { return __pbn__steam_announcement_gid.GetValueOrDefault(); } + set { __pbn__steam_announcement_gid = value; } + } + public bool ShouldSerializesteam_announcement_gid() => __pbn__steam_announcement_gid != null; + public void Resetsteam_announcement_gid() => __pbn__steam_announcement_gid = null; + private ulong? __pbn__steam_announcement_gid; + + [global::ProtoBuf.ProtoMember(6)] + public global::System.Collections.Generic.List console_commands { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string patch_notes_preview_password + { + get { return __pbn__patch_notes_preview_password ?? ""; } + set { __pbn__patch_notes_preview_password = value; } + } + public bool ShouldSerializepatch_notes_preview_password() => __pbn__patch_notes_preview_password != null; + public void Resetpatch_notes_preview_password() => __pbn__patch_notes_preview_password = null; + private string __pbn__patch_notes_preview_password; + } [global::ProtoBuf.ProtoContract()] @@ -662,6 +720,17 @@ public string server_search_key public void Resetserver_search_key() => __pbn__server_search_key = null; private string __pbn__server_search_key; + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(EDACMatchMode.k_EDACMatchMode_Invalid)] + public EDACMatchMode match_mode + { + get { return __pbn__match_mode ?? EDACMatchMode.k_EDACMatchMode_Invalid; } + set { __pbn__match_mode = value; } + } + public bool ShouldSerializematch_mode() => __pbn__match_mode != null; + public void Resetmatch_mode() => __pbn__match_mode = null; + private EDACMatchMode? __pbn__match_mode; + } [global::ProtoBuf.ProtoContract()] @@ -713,6 +782,10 @@ public enum EResponse k_eTooManySpectatorsForPrivate = 17, k_eTooFewPlayersForMM = 18, k_eTooFewPlayersForPrivate = 19, + k_eMismatchedVersions = 20, + k_eInvalidPartyMatchMode = 21, + k_eNotAllPlayersCanPlayRanked = 22, + k_ePlayerBannedFromMode = 23, } } @@ -881,6 +954,7 @@ public enum EEvent k_eMatchMakingStopped_NoServerRegion = 7, k_eLeftParty = 8, k_eDeclinedInvite = 9, + k_eMatchMakingStopped_FailedOther = 10, } } @@ -1262,16 +1336,6 @@ public uint event_id public void Resetevent_id() => __pbn__event_id = null; private uint? __pbn__event_id; - [global::ProtoBuf.ProtoMember(3)] - public uint event_points - { - get { return __pbn__event_points.GetValueOrDefault(); } - set { __pbn__event_points = value; } - } - public bool ShouldSerializeevent_points() => __pbn__event_points != null; - public void Resetevent_points() => __pbn__event_points = null; - private uint? __pbn__event_points; - [global::ProtoBuf.ProtoMember(4)] public bool event_owned { @@ -1283,7 +1347,7 @@ public bool event_owned private bool? __pbn__event_owned; [global::ProtoBuf.ProtoMember(5)] - public global::System.Collections.Generic.List achievements { get; } = new global::System.Collections.Generic.List(); + public global::System.Collections.Generic.List currencies { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(6)] public global::System.Collections.Generic.List claims { get; } = new global::System.Collections.Generic.List(); @@ -1291,32 +1355,35 @@ public bool event_owned [global::ProtoBuf.ProtoMember(7)] public global::System.Collections.Generic.List challenges { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(8)] + public global::System.Collections.Generic.List virtual_items { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoContract()] - public partial class Achievement : global::ProtoBuf.IExtensible + public partial class Currency : 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 achievement_id + public uint currency_id { - get { return __pbn__achievement_id.GetValueOrDefault(); } - set { __pbn__achievement_id = value; } + get { return __pbn__currency_id.GetValueOrDefault(); } + set { __pbn__currency_id = value; } } - public bool ShouldSerializeachievement_id() => __pbn__achievement_id != null; - public void Resetachievement_id() => __pbn__achievement_id = null; - private uint? __pbn__achievement_id; + public bool ShouldSerializecurrency_id() => __pbn__currency_id != null; + public void Resetcurrency_id() => __pbn__currency_id = null; + private uint? __pbn__currency_id; [global::ProtoBuf.ProtoMember(2)] - public uint progress + public uint balance { - get { return __pbn__progress.GetValueOrDefault(); } - set { __pbn__progress = value; } + get { return __pbn__balance.GetValueOrDefault(); } + set { __pbn__balance = value; } } - public bool ShouldSerializeprogress() => __pbn__progress != null; - public void Resetprogress() => __pbn__progress = null; - private uint? __pbn__progress; + public bool ShouldSerializebalance() => __pbn__balance != null; + public void Resetbalance() => __pbn__balance = null; + private uint? __pbn__balance; } @@ -1426,7 +1493,162 @@ public uint config_id public void Resetconfig_id() => __pbn__config_id = null; private uint? __pbn__config_id; + [global::ProtoBuf.ProtoMember(8)] + public bool active + { + get { return __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 VirtualItem : 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 def_index + { + get { return __pbn__def_index.GetValueOrDefault(); } + set { __pbn__def_index = value; } + } + public bool ShouldSerializedef_index() => __pbn__def_index != null; + public void Resetdef_index() => __pbn__def_index = null; + private uint? __pbn__def_index; + + [global::ProtoBuf.ProtoMember(2)] + public uint equip_slot + { + get { return __pbn__equip_slot.GetValueOrDefault(); } + set { __pbn__equip_slot = value; } + } + public bool ShouldSerializeequip_slot() => __pbn__equip_slot != null; + public void Resetequip_slot() => __pbn__equip_slot = null; + private uint? __pbn__equip_slot; + + [global::ProtoBuf.ProtoMember(3)] + public uint equip_sub_slot + { + get { return __pbn__equip_sub_slot.GetValueOrDefault(); } + set { __pbn__equip_sub_slot = value; } + } + public bool ShouldSerializeequip_sub_slot() => __pbn__equip_sub_slot != null; + public void Resetequip_sub_slot() => __pbn__equip_sub_slot = null; + private uint? __pbn__equip_sub_slot; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCEventRequestInfoSync : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint account_id + { + get { return __pbn__account_id.GetValueOrDefault(); } + set { __pbn__account_id = value; } + } + public bool ShouldSerializeaccount_id() => __pbn__account_id != null; + public void Resetaccount_id() => __pbn__account_id = null; + private uint? __pbn__account_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCEventRequestInfoSyncResponse : 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 { return __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 CMsgGCToClientEventInfo event_info { get; set; } + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eInvalidEventID = 3, + k_eInvalidPermissions = 4, + k_eRateLimited = 5, + k_eDisabled = 6, + k_eTooBusy = 7, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToClientEventInfoSerialize : 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 CMsgGCToClientEventInfo event_info { get; set; } + + [global::ProtoBuf.ProtoMember(2)] + public uint time_stamp + { + get { return __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 uint? __pbn__time_stamp; + + [global::ProtoBuf.ProtoMember(3)] + public uint version + { + get { return __pbn__version.GetValueOrDefault(); } + set { __pbn__version = value; } + } + public bool ShouldSerializeversion() => __pbn__version != null; + public void Resetversion() => __pbn__version = null; + private uint? __pbn__version; + + [global::ProtoBuf.ProtoMember(4)] + public uint account_id + { + get { return __pbn__account_id.GetValueOrDefault(); } + set { __pbn__account_id = value; } } + public bool ShouldSerializeaccount_id() => __pbn__account_id != null; + public void Resetaccount_id() => __pbn__account_id = null; + private uint? __pbn__account_id; } @@ -1483,14 +1705,10 @@ public partial class CMsgEventClaimRewards : global::ProtoBuf.IExtensible public global::System.Collections.Generic.List achievements { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(3)] - public uint event_points - { - get { return __pbn__event_points.GetValueOrDefault(); } - set { __pbn__event_points = value; } - } - public bool ShouldSerializeevent_points() => __pbn__event_points != null; - public void Resetevent_points() => __pbn__event_points = null; - private uint? __pbn__event_points; + public global::System.Collections.Generic.List currencies { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List challenges { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoContract()] public partial class Item : global::ProtoBuf.IExtensible @@ -1550,6 +1768,84 @@ public uint progress } + [global::ProtoBuf.ProtoContract()] + public partial class Currency : 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 currency_id + { + get { return __pbn__currency_id.GetValueOrDefault(); } + set { __pbn__currency_id = value; } + } + public bool ShouldSerializecurrency_id() => __pbn__currency_id != null; + public void Resetcurrency_id() => __pbn__currency_id = null; + private uint? __pbn__currency_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint grant + { + get { return __pbn__grant.GetValueOrDefault(); } + set { __pbn__grant = value; } + } + public bool ShouldSerializegrant() => __pbn__grant != null; + public void Resetgrant() => __pbn__grant = null; + private uint? __pbn__grant; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class Challenge : 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 challenge_slot + { + get { return __pbn__challenge_slot.GetValueOrDefault(); } + set { __pbn__challenge_slot = value; } + } + public bool ShouldSerializechallenge_slot() => __pbn__challenge_slot != null; + public void Resetchallenge_slot() => __pbn__challenge_slot = null; + private uint? __pbn__challenge_slot; + + [global::ProtoBuf.ProtoMember(2)] + public uint progress + { + get { return __pbn__progress.GetValueOrDefault(); } + set { __pbn__progress = value; } + } + public bool ShouldSerializeprogress() => __pbn__progress != null; + public void Resetprogress() => __pbn__progress = null; + private uint? __pbn__progress; + + [global::ProtoBuf.ProtoMember(3)] + public bool activated + { + get { return __pbn__activated.GetValueOrDefault(); } + set { __pbn__activated = value; } + } + public bool ShouldSerializeactivated() => __pbn__activated != null; + public void Resetactivated() => __pbn__activated = null; + private bool? __pbn__activated; + + [global::ProtoBuf.ProtoMember(4)] + public bool rolled + { + get { return __pbn__rolled.GetValueOrDefault(); } + set { __pbn__rolled = value; } + } + public bool ShouldSerializerolled() => __pbn__rolled != null; + public void Resetrolled() => __pbn__rolled = null; + private bool? __pbn__rolled; + + } + } [global::ProtoBuf.ProtoContract()] @@ -1601,6 +1897,9 @@ public partial class CMsgClientToGCEquipLoadout : global::ProtoBuf.IExtensible [global::ProtoBuf.ProtoMember(2)] public global::System.Collections.Generic.List item_id { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List loadout_sub_slot { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -2274,6 +2573,299 @@ public enum EResponse } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCEventEquipVirtualItem : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint def_index + { + get { return __pbn__def_index.GetValueOrDefault(); } + set { __pbn__def_index = value; } + } + public bool ShouldSerializedef_index() => __pbn__def_index != null; + public void Resetdef_index() => __pbn__def_index = null; + private uint? __pbn__def_index; + + [global::ProtoBuf.ProtoMember(3)] + public uint equip_slot + { + get { return __pbn__equip_slot.GetValueOrDefault(); } + set { __pbn__equip_slot = value; } + } + public bool ShouldSerializeequip_slot() => __pbn__equip_slot != null; + public void Resetequip_slot() => __pbn__equip_slot = null; + private uint? __pbn__equip_slot; + + [global::ProtoBuf.ProtoMember(4)] + public uint equip_sub_slot + { + get { return __pbn__equip_sub_slot.GetValueOrDefault(); } + set { __pbn__equip_sub_slot = value; } + } + public bool ShouldSerializeequip_sub_slot() => __pbn__equip_sub_slot != null; + public void Resetequip_sub_slot() => __pbn__equip_sub_slot = null; + private uint? __pbn__equip_sub_slot; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCEventEquipVirtualItemResponse : 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 { return __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_eInvalidItem = 4, + k_eInvalidSlot = 5, + k_eEventInactive = 6, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCDevEventOperation : 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(EOperation.k_eOp_Reset)] + public EOperation operation + { + get { return __pbn__operation ?? EOperation.k_eOp_Reset; } + set { __pbn__operation = value; } + } + public bool ShouldSerializeoperation() => __pbn__operation != null; + public void Resetoperation() => __pbn__operation = null; + private EOperation? __pbn__operation; + + [global::ProtoBuf.ProtoMember(2)] + public uint event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + [global::ProtoBuf.ProtoMember(3)] + public uint id + { + get { return __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(4)] + public uint amount + { + get { return __pbn__amount.GetValueOrDefault(); } + set { __pbn__amount = value; } + } + public bool ShouldSerializeamount() => __pbn__amount != null; + public void Resetamount() => __pbn__amount = null; + private uint? __pbn__amount; + + [global::ProtoBuf.ProtoContract()] + public enum EOperation + { + k_eOp_Reset = 0, + k_eOp_GrantCurrency = 1, + k_eOp_GrantChallenge = 2, + k_eOp_RerollCooldown = 3, + k_eOp_SetCurrencyLevel = 4, + k_eOp_SetCurrencyValue = 5, + k_eOp_SetChallengeValue = 6, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCDevEventOperationResponse : 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 CMsgGCToClientUpdateConsoleCommands : 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 console_commands { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCPerformAutoActions : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + [global::ProtoBuf.ProtoMember(3)] + public bool update_auto_claims + { + get { return __pbn__update_auto_claims.GetValueOrDefault(); } + set { __pbn__update_auto_claims = value; } + } + public bool ShouldSerializeupdate_auto_claims() => __pbn__update_auto_claims != null; + public void Resetupdate_auto_claims() => __pbn__update_auto_claims = null; + private bool? __pbn__update_auto_claims; + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List update_challenge_slots { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public global::System.Collections.Generic.List update_claims { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(6)] + public uint client_version + { + get { return __pbn__client_version.GetValueOrDefault(); } + set { __pbn__client_version = value; } + } + public bool ShouldSerializeclient_version() => __pbn__client_version != null; + public void Resetclient_version() => __pbn__client_version = null; + private uint? __pbn__client_version; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCPerformAutoActionsResponse : 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 { return __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 CMsgEventClaimRewards rewards { get; set; } + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eDisabled = 2, + k_eTooBusy = 3, + k_eInvalidEventID = 4, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetActiveUnderlord : 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 underlord_id + { + get { return __pbn__underlord_id.GetValueOrDefault(); } + set { __pbn__underlord_id = value; } + } + public bool ShouldSerializeunderlord_id() => __pbn__underlord_id != null; + public void Resetunderlord_id() => __pbn__underlord_id = null; + private uint? __pbn__underlord_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetActiveUnderlordResponse : 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 { return __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_eInvalidID = 4, + k_eUnowned = 5, + k_eUnavailable = 6, + } + + } + [global::ProtoBuf.ProtoContract()] public enum EGCDACClientMessages { @@ -2331,6 +2923,17 @@ public enum EGCDACClientMessages k_EMsgClientToGCRedeemFriendCodeResponse = 9162, k_EMsgClientToGCRevokeFriendCode = 9163, k_EMsgClientToGCRevokeFriendCodeResponse = 9164, + k_EMsgClientToGCEventRequestInfoSync = 9165, + k_EMsgClientToGCEventRequestInfoSyncResponse = 9166, + k_EMsgClientToGCEventEquipVirtualItem = 9167, + k_EMsgClientToGCEventEquipVirtualItemResponse = 9168, + k_EMsgClientToGCDevEventOperation = 9169, + k_EMsgClientToGCDevEventOperationResponse = 9170, + k_EMsgGCToClientUpdateConsoleCommands = 9171, + k_EMsgClientToGCPerformAutoActions = 9172, + k_EMsgClientToGCPerformAutoActionsResponse = 9173, + k_EMsgClientToGCSetActiveUnderlord = 9174, + k_EMsgClientToGCSetActiveUnderlordResponse = 9175, } [global::ProtoBuf.ProtoContract()] @@ -2342,6 +2945,17 @@ public enum EItemEditorReservationResult k_EItemEditorReservationResult_TimedOut = 4, } + [global::ProtoBuf.ProtoContract()] + public enum EClientStatsEvent + { + k_EClientStatsEvent_Boot = 1, + k_EClientStatsEvent_StartMatch = 2, + k_EClientStatsEvent_AbandonMatch = 3, + k_EClientStatsEvent_FinishMatch = 4, + k_EClientStatsEvent_StartSteamSignon = 5, + k_EClientStatsEvent_FinishSteamSignon = 6, + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCCommon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCCommon.cs index 221f2fc80..117caee14 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCCommon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCCommon.cs @@ -85,43 +85,30 @@ public uint mmr_level private uint? __pbn__mmr_level; [global::ProtoBuf.ProtoMember(3)] - public uint event_id - { - get { return __pbn__event_id.GetValueOrDefault(); } - set { __pbn__event_id = value; } - } - public bool ShouldSerializeevent_id() => __pbn__event_id != null; - public void Resetevent_id() => __pbn__event_id = null; - private uint? __pbn__event_id; + public global::System.Collections.Generic.List loadout { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(4)] - public uint event_points - { - get { return __pbn__event_points.GetValueOrDefault(); } - set { __pbn__event_points = value; } - } - public bool ShouldSerializeevent_points() => __pbn__event_points != null; - public void Resetevent_points() => __pbn__event_points = null; - private uint? __pbn__event_points; + public global::System.Collections.Generic.List events { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(5)] - public bool event_owned + public uint global_leaderboard_rank { - get { return __pbn__event_owned.GetValueOrDefault(); } - set { __pbn__event_owned = value; } + get { return __pbn__global_leaderboard_rank.GetValueOrDefault(); } + set { __pbn__global_leaderboard_rank = value; } } - public bool ShouldSerializeevent_owned() => __pbn__event_owned != null; - public void Resetevent_owned() => __pbn__event_owned = null; - private bool? __pbn__event_owned; + public bool ShouldSerializeglobal_leaderboard_rank() => __pbn__global_leaderboard_rank != null; + public void Resetglobal_leaderboard_rank() => __pbn__global_leaderboard_rank = null; + private uint? __pbn__global_leaderboard_rank; [global::ProtoBuf.ProtoMember(6)] - public global::System.Collections.Generic.List loadout { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(7)] - public global::System.Collections.Generic.List achievements { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(8)] - public global::System.Collections.Generic.List challenges { get; } = new global::System.Collections.Generic.List(); + public uint underlord + { + get { return __pbn__underlord.GetValueOrDefault(); } + set { __pbn__underlord = value; } + } + public bool ShouldSerializeunderlord() => __pbn__underlord != null; + public void Resetunderlord() => __pbn__underlord = null; + private uint? __pbn__underlord; [global::ProtoBuf.ProtoContract()] public partial class LoadoutSlot : global::ProtoBuf.IExtensible @@ -150,34 +137,44 @@ public uint def_index public void Resetdef_index() => __pbn__def_index = null; private uint? __pbn__def_index; + [global::ProtoBuf.ProtoMember(3)] + public uint loadout_sub_slot + { + get { return __pbn__loadout_sub_slot.GetValueOrDefault(); } + set { __pbn__loadout_sub_slot = value; } + } + public bool ShouldSerializeloadout_sub_slot() => __pbn__loadout_sub_slot != null; + public void Resetloadout_sub_slot() => __pbn__loadout_sub_slot = null; + private uint? __pbn__loadout_sub_slot; + } [global::ProtoBuf.ProtoContract()] - public partial class Achievement : global::ProtoBuf.IExtensible + public partial class Currency : 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 achievement_id + public uint currency_id { - get { return __pbn__achievement_id.GetValueOrDefault(); } - set { __pbn__achievement_id = value; } + get { return __pbn__currency_id.GetValueOrDefault(); } + set { __pbn__currency_id = value; } } - public bool ShouldSerializeachievement_id() => __pbn__achievement_id != null; - public void Resetachievement_id() => __pbn__achievement_id = null; - private uint? __pbn__achievement_id; + public bool ShouldSerializecurrency_id() => __pbn__currency_id != null; + public void Resetcurrency_id() => __pbn__currency_id = null; + private uint? __pbn__currency_id; [global::ProtoBuf.ProtoMember(2)] - public uint progress + public uint amount { - get { return __pbn__progress.GetValueOrDefault(); } - set { __pbn__progress = value; } + get { return __pbn__amount.GetValueOrDefault(); } + set { __pbn__amount = value; } } - public bool ShouldSerializeprogress() => __pbn__progress != null; - public void Resetprogress() => __pbn__progress = null; - private uint? __pbn__progress; + public bool ShouldSerializeamount() => __pbn__amount != null; + public void Resetamount() => __pbn__amount = null; + private uint? __pbn__amount; } @@ -238,6 +235,93 @@ public uint config_id public void Resetconfig_id() => __pbn__config_id = null; private uint? __pbn__config_id; + [global::ProtoBuf.ProtoMember(6)] + public uint claimed + { + get { return __pbn__claimed.GetValueOrDefault(); } + set { __pbn__claimed = value; } + } + public bool ShouldSerializeclaimed() => __pbn__claimed != null; + public void Resetclaimed() => __pbn__claimed = null; + private uint? __pbn__claimed; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class VirtualItem : 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 def_index + { + get { return __pbn__def_index.GetValueOrDefault(); } + set { __pbn__def_index = value; } + } + public bool ShouldSerializedef_index() => __pbn__def_index != null; + public void Resetdef_index() => __pbn__def_index = null; + private uint? __pbn__def_index; + + [global::ProtoBuf.ProtoMember(2)] + public uint equip_slot + { + get { return __pbn__equip_slot.GetValueOrDefault(); } + set { __pbn__equip_slot = value; } + } + public bool ShouldSerializeequip_slot() => __pbn__equip_slot != null; + public void Resetequip_slot() => __pbn__equip_slot = null; + private uint? __pbn__equip_slot; + + [global::ProtoBuf.ProtoMember(3)] + public uint equip_sub_slot + { + get { return __pbn__equip_sub_slot.GetValueOrDefault(); } + set { __pbn__equip_sub_slot = value; } + } + public bool ShouldSerializeequip_sub_slot() => __pbn__equip_sub_slot != null; + public void Resetequip_sub_slot() => __pbn__equip_sub_slot = null; + private uint? __pbn__equip_sub_slot; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class Event : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + [global::ProtoBuf.ProtoMember(2)] + public bool event_owned + { + get { return __pbn__event_owned.GetValueOrDefault(); } + set { __pbn__event_owned = value; } + } + public bool ShouldSerializeevent_owned() => __pbn__event_owned != null; + public void Resetevent_owned() => __pbn__event_owned = null; + private bool? __pbn__event_owned; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List challenges { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List currencies { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public global::System.Collections.Generic.List virtual_items { get; } = new global::System.Collections.Generic.List(); + } } @@ -274,6 +358,16 @@ public uint server_version public void Resetserver_version() => __pbn__server_version = null; private uint? __pbn__server_version; + [global::ProtoBuf.ProtoMember(2)] + public uint compatibility_version + { + get { return __pbn__compatibility_version.GetValueOrDefault(); } + set { __pbn__compatibility_version = value; } + } + public bool ShouldSerializecompatibility_version() => __pbn__compatibility_version != null; + public void Resetcompatibility_version() => __pbn__compatibility_version = null; + private uint? __pbn__compatibility_version; + [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] public ulong server_steam_id { @@ -316,10 +410,10 @@ public ELobbyServerState server_state private ELobbyServerState? __pbn__server_state; [global::ProtoBuf.ProtoMember(10)] - [global::System.ComponentModel.DefaultValue(EDACMatchMode.k_EDACMatchMode_Casual)] + [global::System.ComponentModel.DefaultValue(EDACMatchMode.k_EDACMatchMode_Invalid)] public EDACMatchMode match_mode { - get { return __pbn__match_mode ?? EDACMatchMode.k_EDACMatchMode_Casual; } + get { return __pbn__match_mode ?? EDACMatchMode.k_EDACMatchMode_Invalid; } set { __pbn__match_mode = value; } } public bool ShouldSerializematch_mode() => __pbn__match_mode != null; @@ -346,6 +440,17 @@ public uint udp_connect_port public void Resetudp_connect_port() => __pbn__udp_connect_port = null; private uint? __pbn__udp_connect_port; + [global::ProtoBuf.ProtoMember(13)] + [global::System.ComponentModel.DefaultValue(EDACGameMode.k_EDACGameMode_Invalid)] + public EDACGameMode game_mode + { + get { return __pbn__game_mode ?? EDACGameMode.k_EDACGameMode_Invalid; } + set { __pbn__game_mode = value; } + } + public bool ShouldSerializegame_mode() => __pbn__game_mode != null; + public void Resetgame_mode() => __pbn__game_mode = null; + private EDACGameMode? __pbn__game_mode; + } [global::ProtoBuf.ProtoContract()] @@ -392,26 +497,6 @@ public string party_password public void Resetparty_password() => __pbn__party_password = null; private string __pbn__party_password; - [global::ProtoBuf.ProtoMember(8)] - public uint min_client_version - { - get { return __pbn__min_client_version.GetValueOrDefault(); } - set { __pbn__min_client_version = value; } - } - public bool ShouldSerializemin_client_version() => __pbn__min_client_version != null; - public void Resetmin_client_version() => __pbn__min_client_version = null; - private uint? __pbn__min_client_version; - - [global::ProtoBuf.ProtoMember(9)] - public uint max_client_version - { - get { return __pbn__max_client_version.GetValueOrDefault(); } - set { __pbn__max_client_version = value; } - } - public bool ShouldSerializemax_client_version() => __pbn__max_client_version != null; - public void Resetmax_client_version() => __pbn__max_client_version = null; - private uint? __pbn__max_client_version; - [global::ProtoBuf.ProtoMember(10)] public global::System.Collections.Generic.List left_members { get; } = new global::System.Collections.Generic.List(); @@ -495,6 +580,27 @@ public CSODACParty.EPlayerType player_type public void Resetplayer_type() => __pbn__player_type = null; private CSODACParty.EPlayerType? __pbn__player_type; + [global::ProtoBuf.ProtoMember(6)] + public uint compatibility_version + { + get { return __pbn__compatibility_version.GetValueOrDefault(); } + set { __pbn__compatibility_version = value; } + } + public bool ShouldSerializecompatibility_version() => __pbn__compatibility_version != null; + public void Resetcompatibility_version() => __pbn__compatibility_version = null; + private uint? __pbn__compatibility_version; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue(EDACPlatform.k_eDACPlatform_None)] + public EDACPlatform platform + { + get { return __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()] @@ -582,6 +688,8 @@ public enum EMemberRights { k_eMemberRights_Admin = 1, k_eMemberRights_Creator = 2, + k_eMemberRights_RankedMM = 4, + k_eMemberRights_HighRankedMM = 8, } [global::ProtoBuf.ProtoContract()] @@ -630,6 +738,106 @@ public uint mmr_level public void Resetmmr_level() => __pbn__mmr_level = null; private uint? __pbn__mmr_level; + [global::ProtoBuf.ProtoMember(3)] + public uint mmr_leaderboard + { + get { return __pbn__mmr_leaderboard.GetValueOrDefault(); } + set { __pbn__mmr_leaderboard = value; } + } + public bool ShouldSerializemmr_leaderboard() => __pbn__mmr_leaderboard != null; + public void Resetmmr_leaderboard() => __pbn__mmr_leaderboard = null; + private uint? __pbn__mmr_leaderboard; + + [global::ProtoBuf.ProtoMember(4)] + public ulong flags + { + get { return __pbn__flags.GetValueOrDefault(); } + set { __pbn__flags = value; } + } + public bool ShouldSerializeflags() => __pbn__flags != null; + public void Resetflags() => __pbn__flags = null; + private ulong? __pbn__flags; + + [global::ProtoBuf.ProtoMember(5)] + public uint unlock_ranked_progress + { + get { return __pbn__unlock_ranked_progress.GetValueOrDefault(); } + set { __pbn__unlock_ranked_progress = value; } + } + public bool ShouldSerializeunlock_ranked_progress() => __pbn__unlock_ranked_progress != null; + public void Resetunlock_ranked_progress() => __pbn__unlock_ranked_progress = null; + private uint? __pbn__unlock_ranked_progress; + + [global::ProtoBuf.ProtoMember(7)] + public uint active_underlord + { + get { return __pbn__active_underlord.GetValueOrDefault(); } + set { __pbn__active_underlord = value; } + } + public bool ShouldSerializeactive_underlord() => __pbn__active_underlord != null; + public void Resetactive_underlord() => __pbn__active_underlord = null; + private uint? __pbn__active_underlord; + + [global::ProtoBuf.ProtoMember(6)] + public float mmr_level_partial_progress + { + get { return __pbn__mmr_level_partial_progress.GetValueOrDefault(); } + set { __pbn__mmr_level_partial_progress = value; } + } + public bool ShouldSerializemmr_level_partial_progress() => __pbn__mmr_level_partial_progress != null; + public void Resetmmr_level_partial_progress() => __pbn__mmr_level_partial_progress = null; + private float? __pbn__mmr_level_partial_progress; + + [global::ProtoBuf.ProtoMember(8)] + public uint mmr_level_score + { + get { return __pbn__mmr_level_score.GetValueOrDefault(); } + set { __pbn__mmr_level_score = value; } + } + public bool ShouldSerializemmr_level_score() => __pbn__mmr_level_score != null; + public void Resetmmr_level_score() => __pbn__mmr_level_score = null; + private uint? __pbn__mmr_level_score; + + [global::ProtoBuf.ProtoMember(9)] + public uint mm_ban_time_stamp + { + get { return __pbn__mm_ban_time_stamp.GetValueOrDefault(); } + set { __pbn__mm_ban_time_stamp = value; } + } + public bool ShouldSerializemm_ban_time_stamp() => __pbn__mm_ban_time_stamp != null; + public void Resetmm_ban_time_stamp() => __pbn__mm_ban_time_stamp = null; + private uint? __pbn__mm_ban_time_stamp; + + [global::ProtoBuf.ProtoMember(10)] + public uint mm_ban_reason + { + get { return __pbn__mm_ban_reason.GetValueOrDefault(); } + set { __pbn__mm_ban_reason = value; } + } + public bool ShouldSerializemm_ban_reason() => __pbn__mm_ban_reason != null; + public void Resetmm_ban_reason() => __pbn__mm_ban_reason = null; + private uint? __pbn__mm_ban_reason; + + [global::ProtoBuf.ProtoMember(11)] + public uint mm_ranked_ban_time_stamp + { + get { return __pbn__mm_ranked_ban_time_stamp.GetValueOrDefault(); } + set { __pbn__mm_ranked_ban_time_stamp = value; } + } + public bool ShouldSerializemm_ranked_ban_time_stamp() => __pbn__mm_ranked_ban_time_stamp != null; + public void Resetmm_ranked_ban_time_stamp() => __pbn__mm_ranked_ban_time_stamp = null; + private uint? __pbn__mm_ranked_ban_time_stamp; + + [global::ProtoBuf.ProtoMember(12)] + public uint mm_ranked_ban_reason + { + get { return __pbn__mm_ranked_ban_reason.GetValueOrDefault(); } + set { __pbn__mm_ranked_ban_reason = value; } + } + public bool ShouldSerializemm_ranked_ban_reason() => __pbn__mm_ranked_ban_reason != null; + public void Resetmm_ranked_ban_reason() => __pbn__mm_ranked_ban_reason = null; + private uint? __pbn__mm_ranked_ban_reason; + } [global::ProtoBuf.ProtoContract()] @@ -650,10 +858,10 @@ public uint client_version private uint? __pbn__client_version; [global::ProtoBuf.ProtoMember(3)] - [global::System.ComponentModel.DefaultValue(EDACMatchMode.k_EDACMatchMode_Casual)] + [global::System.ComponentModel.DefaultValue(EDACMatchMode.k_EDACMatchMode_Invalid)] public EDACMatchMode match_mode { - get { return __pbn__match_mode ?? EDACMatchMode.k_EDACMatchMode_Casual; } + get { return __pbn__match_mode ?? EDACMatchMode.k_EDACMatchMode_Invalid; } set { __pbn__match_mode = value; } } public bool ShouldSerializematch_mode() => __pbn__match_mode != null; @@ -671,6 +879,17 @@ public EDACPlatform platform public void Resetplatform() => __pbn__platform = null; private EDACPlatform? __pbn__platform; + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue(CSODACParty.EBotDifficulty.k_eBotDifficulty_None)] + public CSODACParty.EBotDifficulty bot_difficulty + { + get { return __pbn__bot_difficulty ?? CSODACParty.EBotDifficulty.k_eBotDifficulty_None; } + set { __pbn__bot_difficulty = value; } + } + public bool ShouldSerializebot_difficulty() => __pbn__bot_difficulty != null; + public void Resetbot_difficulty() => __pbn__bot_difficulty = null; + private CSODACParty.EBotDifficulty? __pbn__bot_difficulty; + } [global::ProtoBuf.ProtoContract()] @@ -814,20 +1033,20 @@ public enum EGCDACCommonMessages [global::ProtoBuf.ProtoContract()] public enum EDACMatchMode { + k_EDACMatchMode_Invalid = 0, k_EDACMatchMode_Casual = 1, k_EDACMatchMode_PrivateLobby = 2, k_EDACMatchMode_SoloBot = 3, + k_EDACMatchMode_Ranked = 4, } [global::ProtoBuf.ProtoContract()] - public enum EDACPlatform + public enum EDACGameMode { - k_eDACPlatform_None = 0, - k_eDACPlatform_PC = 1, - k_eDACPlatform_Mac = 2, - k_eDACPlatform_Linux = 3, - k_eDACPlatform_Android = 4, - k_eDACPlatform_iOS = 5, + k_EDACGameMode_Invalid = 0, + k_EDACGameMode_Normal = 1, + k_EDACGameMode_Turbo = 2, + k_EDACGameMode_BuddyBattles = 3, } [global::ProtoBuf.ProtoContract()] @@ -876,6 +1095,7 @@ public enum EDACAIType k_EDACAIType_PB17 = 37, k_EDACAIType_PB18 = 38, k_EDACAIType_PB19 = 39, + k_EDACAIType_PB20 = 40, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCServer.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCServer.cs index 2cf9955ec..6cb86182d 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/MsgGCServer.cs @@ -172,6 +172,16 @@ public partial class CServerLobbyData_PlayerMMR : global::ProtoBuf.IExtensible [global::ProtoBuf.ProtoMember(1)] public global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(8)] + public uint lords_elo_k + { + get { return __pbn__lords_elo_k.GetValueOrDefault(); } + set { __pbn__lords_elo_k = value; } + } + public bool ShouldSerializelords_elo_k() => __pbn__lords_elo_k != null; + public void Resetlords_elo_k() => __pbn__lords_elo_k = null; + private uint? __pbn__lords_elo_k; + [global::ProtoBuf.ProtoContract()] public partial class Player : global::ProtoBuf.IExtensible { @@ -209,6 +219,46 @@ public uint uncertainty public void Resetuncertainty() => __pbn__uncertainty = null; private uint? __pbn__uncertainty; + [global::ProtoBuf.ProtoMember(4)] + public uint mmr_level_score + { + get { return __pbn__mmr_level_score.GetValueOrDefault(); } + set { __pbn__mmr_level_score = value; } + } + public bool ShouldSerializemmr_level_score() => __pbn__mmr_level_score != null; + public void Resetmmr_level_score() => __pbn__mmr_level_score = null; + private uint? __pbn__mmr_level_score; + + [global::ProtoBuf.ProtoMember(7)] + public uint party_index + { + get { return __pbn__party_index.GetValueOrDefault(); } + set { __pbn__party_index = value; } + } + public bool ShouldSerializeparty_index() => __pbn__party_index != null; + public void Resetparty_index() => __pbn__party_index = null; + private uint? __pbn__party_index; + + [global::ProtoBuf.ProtoMember(8)] + public uint lords_elo_ante + { + get { return __pbn__lords_elo_ante.GetValueOrDefault(); } + set { __pbn__lords_elo_ante = value; } + } + public bool ShouldSerializelords_elo_ante() => __pbn__lords_elo_ante != null; + public void Resetlords_elo_ante() => __pbn__lords_elo_ante = null; + private uint? __pbn__lords_elo_ante; + + [global::ProtoBuf.ProtoMember(9)] + public bool lords_elo_ignore + { + get { return __pbn__lords_elo_ignore.GetValueOrDefault(); } + set { __pbn__lords_elo_ignore = value; } + } + public bool ShouldSerializelords_elo_ignore() => __pbn__lords_elo_ignore != null; + public void Resetlords_elo_ignore() => __pbn__lords_elo_ignore = null; + private bool? __pbn__lords_elo_ignore; + } } @@ -288,6 +338,17 @@ public bool trusted_server public void Resettrusted_server() => __pbn__trusted_server = null; private bool? __pbn__trusted_server; + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue(CSODACParty.EBotDifficulty.k_eBotDifficulty_None)] + public CSODACParty.EBotDifficulty bot_difficulty + { + get { return __pbn__bot_difficulty ?? CSODACParty.EBotDifficulty.k_eBotDifficulty_None; } + set { __pbn__bot_difficulty = value; } + } + public bool ShouldSerializebot_difficulty() => __pbn__bot_difficulty != null; + public void Resetbot_difficulty() => __pbn__bot_difficulty = null; + private CSODACParty.EBotDifficulty? __pbn__bot_difficulty; + [global::ProtoBuf.ProtoContract()] public partial class Member : global::ProtoBuf.IExtensible { @@ -369,6 +430,16 @@ public EDACPlatform platform public void Resetplatform() => __pbn__platform = null; private EDACPlatform? __pbn__platform; + [global::ProtoBuf.ProtoMember(8)] + public bool chat_muted + { + get { return __pbn__chat_muted.GetValueOrDefault(); } + set { __pbn__chat_muted = value; } + } + public bool ShouldSerializechat_muted() => __pbn__chat_muted != null; + public void Resetchat_muted() => __pbn__chat_muted = null; + private bool? __pbn__chat_muted; + } } @@ -859,6 +930,16 @@ public uint account_id public void Resetaccount_id() => __pbn__account_id = null; private uint? __pbn__account_id; + [global::ProtoBuf.ProtoMember(5)] + public uint mmr_level_score + { + get { return __pbn__mmr_level_score.GetValueOrDefault(); } + set { __pbn__mmr_level_score = value; } + } + public bool ShouldSerializemmr_level_score() => __pbn__mmr_level_score != null; + public void Resetmmr_level_score() => __pbn__mmr_level_score = null; + private uint? __pbn__mmr_level_score; + } } @@ -881,50 +962,11 @@ public uint event_id private uint? __pbn__event_id; [global::ProtoBuf.ProtoMember(2)] - public uint event_points - { - get { return __pbn__event_points.GetValueOrDefault(); } - set { __pbn__event_points = value; } - } - public bool ShouldSerializeevent_points() => __pbn__event_points != null; - public void Resetevent_points() => __pbn__event_points = null; - private uint? __pbn__event_points; - - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List achievements { get; } = new global::System.Collections.Generic.List(); + public global::System.Collections.Generic.List currencies { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(4)] public global::System.Collections.Generic.List challenges { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoContract()] - public partial class Achievement : 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 achievement_id - { - get { return __pbn__achievement_id.GetValueOrDefault(); } - set { __pbn__achievement_id = value; } - } - public bool ShouldSerializeachievement_id() => __pbn__achievement_id != null; - public void Resetachievement_id() => __pbn__achievement_id = null; - private uint? __pbn__achievement_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint grant_progress - { - get { return __pbn__grant_progress.GetValueOrDefault(); } - set { __pbn__grant_progress = value; } - } - public bool ShouldSerializegrant_progress() => __pbn__grant_progress != null; - public void Resetgrant_progress() => __pbn__grant_progress = null; - private uint? __pbn__grant_progress; - - } - [global::ProtoBuf.ProtoContract()] public partial class Challenge : global::ProtoBuf.IExtensible { @@ -964,6 +1006,77 @@ public uint progress } + [global::ProtoBuf.ProtoContract()] + public partial class Currency : 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 currency_id + { + get { return __pbn__currency_id.GetValueOrDefault(); } + set { __pbn__currency_id = value; } + } + public bool ShouldSerializecurrency_id() => __pbn__currency_id != null; + public void Resetcurrency_id() => __pbn__currency_id = null; + private uint? __pbn__currency_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint grant + { + get { return __pbn__grant.GetValueOrDefault(); } + set { __pbn__grant = value; } + } + public bool ShouldSerializegrant() => __pbn__grant != null; + public void Resetgrant() => __pbn__grant = null; + private uint? __pbn__grant; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgPlayerSignoutData_ChatStats : 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 muted_by { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public uint chat_text_count + { + get { return __pbn__chat_text_count.GetValueOrDefault(); } + set { __pbn__chat_text_count = value; } + } + public bool ShouldSerializechat_text_count() => __pbn__chat_text_count != null; + public void Resetchat_text_count() => __pbn__chat_text_count = null; + private uint? __pbn__chat_text_count; + + [global::ProtoBuf.ProtoMember(3)] + public uint yo_count + { + get { return __pbn__yo_count.GetValueOrDefault(); } + set { __pbn__yo_count = value; } + } + public bool ShouldSerializeyo_count() => __pbn__yo_count != null; + public void Resetyo_count() => __pbn__yo_count = null; + private uint? __pbn__yo_count; + + [global::ProtoBuf.ProtoMember(4)] + public uint chat_line_count + { + get { return __pbn__chat_line_count.GetValueOrDefault(); } + set { __pbn__chat_line_count = value; } + } + public bool ShouldSerializechat_line_count() => __pbn__chat_line_count != null; + public void Resetchat_line_count() => __pbn__chat_line_count = null; + private uint? __pbn__chat_line_count; + } [global::ProtoBuf.ProtoContract()] @@ -1164,6 +1277,9 @@ public partial class CMsgServerWelcomeDAC : 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 global::System.Collections.Generic.List console_commands { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -1250,16 +1366,36 @@ public ulong lobby_id private ulong? __pbn__lobby_id; [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue(EDACMatchMode.k_EDACMatchMode_Casual)] + [global::System.ComponentModel.DefaultValue(EDACMatchMode.k_EDACMatchMode_Invalid)] public EDACMatchMode match_mode { - get { return __pbn__match_mode ?? EDACMatchMode.k_EDACMatchMode_Casual; } + get { return __pbn__match_mode ?? EDACMatchMode.k_EDACMatchMode_Invalid; } set { __pbn__match_mode = value; } } public bool ShouldSerializematch_mode() => __pbn__match_mode != null; public void Resetmatch_mode() => __pbn__match_mode = null; private EDACMatchMode? __pbn__match_mode; + [global::ProtoBuf.ProtoMember(3)] + public uint failed_signouts + { + get { return __pbn__failed_signouts.GetValueOrDefault(); } + set { __pbn__failed_signouts = value; } + } + public bool ShouldSerializefailed_signouts() => __pbn__failed_signouts != null; + public void Resetfailed_signouts() => __pbn__failed_signouts = null; + private uint? __pbn__failed_signouts; + + [global::ProtoBuf.ProtoMember(4)] + public uint permission_request + { + get { return __pbn__permission_request.GetValueOrDefault(); } + set { __pbn__permission_request = value; } + } + public bool ShouldSerializepermission_request() => __pbn__permission_request != null; + public void Resetpermission_request() => __pbn__permission_request = null; + private uint? __pbn__permission_request; + } [global::ProtoBuf.ProtoContract()] @@ -1618,6 +1754,16 @@ public partial class CMsgServerToGCTestConnection : 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 byte[] test_payload + { + get { return __pbn__test_payload; } + set { __pbn__test_payload = value; } + } + public bool ShouldSerializetest_payload() => __pbn__test_payload != null; + public void Resettest_payload() => __pbn__test_payload = null; + private byte[] __pbn__test_payload; + } [global::ProtoBuf.ProtoContract()] @@ -1726,6 +1872,18 @@ public enum EResponse } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToServerUpdateConsoleCommands : 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 console_commands { get; } = new global::System.Collections.Generic.List(); + + } + [global::ProtoBuf.ProtoContract()] public enum EGCDACServerMessages { @@ -1746,6 +1904,7 @@ public enum EGCDACServerMessages k_EMsgServerToGCTestConnectionResponse = 10015, k_EMsgGCToServerAddSpectator = 10016, k_EMsgGCToServerAddSpectatorResponse = 10017, + k_EMsgGCToServerUpdateConsoleCommands = 10018, } [global::ProtoBuf.ProtoContract()] @@ -1763,6 +1922,7 @@ public enum EGCServerSignoutData k_EMatchSignoutData_CombatStats = 3, k_EPlayerSignoutData_MMRUpdate = 10, k_EPlayerSignoutData_EventGrantProgress = 11, + k_EPlayerSignoutData_ChatStats = 12, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgBase.cs index c029090b3..bab2c42ee 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgBase.cs @@ -3881,6 +3881,17 @@ public enum GCProtoBufMsgSrc GCProtoBufMsgSrc_SpoofedSteamID = 5, } + [global::ProtoBuf.ProtoContract()] + public enum EDACPlatform + { + k_eDACPlatform_None = 0, + k_eDACPlatform_PC = 1, + k_eDACPlatform_Mac = 2, + k_eDACPlatform_Linux = 3, + k_eDACPlatform_Android = 4, + k_eDACPlatform_iOS = 5, + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgGCEcon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgGCEcon.cs index 35ef7a689..ee33be98e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgGCEcon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgGCEcon.cs @@ -4045,6 +4045,16 @@ public uint server_deployed_version public void Resetserver_deployed_version() => __pbn__server_deployed_version = null; private uint? __pbn__server_deployed_version; + [global::ProtoBuf.ProtoMember(5)] + public uint what_changed + { + get { return __pbn__what_changed.GetValueOrDefault(); } + set { __pbn__what_changed = value; } + } + public bool ShouldSerializewhat_changed() => __pbn__what_changed != null; + public void Resetwhat_changed() => __pbn__what_changed = null; + private uint? __pbn__what_changed; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgGCSDK.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgGCSDK.cs index e92524abc..8ec505c59 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgGCSDK.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Underlords/SteamMsgGCSDK.cs @@ -919,6 +919,16 @@ public uint platform_id public void Resetplatform_id() => __pbn__platform_id = null; private uint? __pbn__platform_id; + [global::ProtoBuf.ProtoMember(10)] + public byte[] game_msg + { + get { return __pbn__game_msg; } + set { __pbn__game_msg = value; } + } + public bool ShouldSerializegame_msg() => __pbn__game_msg != null; + public void Resetgame_msg() => __pbn__game_msg = null; + private byte[] __pbn__game_msg; + } [global::ProtoBuf.ProtoContract()] @@ -1634,6 +1644,287 @@ public partial class CWorkshop_SetItemPaymentRules_Response : global::ProtoBuf.I } + [global::ProtoBuf.ProtoContract()] + public partial class CCommunity_ClanAnnouncementInfo : 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 gid + { + get { return __pbn__gid.GetValueOrDefault(); } + set { __pbn__gid = value; } + } + public bool ShouldSerializegid() => __pbn__gid != null; + public void Resetgid() => __pbn__gid = null; + private ulong? __pbn__gid; + + [global::ProtoBuf.ProtoMember(2)] + public ulong clanid + { + get { return __pbn__clanid.GetValueOrDefault(); } + set { __pbn__clanid = value; } + } + public bool ShouldSerializeclanid() => __pbn__clanid != null; + public void Resetclanid() => __pbn__clanid = null; + private ulong? __pbn__clanid; + + [global::ProtoBuf.ProtoMember(3)] + public ulong posterid + { + get { return __pbn__posterid.GetValueOrDefault(); } + set { __pbn__posterid = value; } + } + public bool ShouldSerializeposterid() => __pbn__posterid != null; + public void Resetposterid() => __pbn__posterid = null; + private ulong? __pbn__posterid; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string headline + { + get { return __pbn__headline ?? ""; } + set { __pbn__headline = value; } + } + public bool ShouldSerializeheadline() => __pbn__headline != null; + public void Resetheadline() => __pbn__headline = null; + private string __pbn__headline; + + [global::ProtoBuf.ProtoMember(5)] + public uint posttime + { + get { return __pbn__posttime.GetValueOrDefault(); } + set { __pbn__posttime = value; } + } + public bool ShouldSerializeposttime() => __pbn__posttime != null; + public void Resetposttime() => __pbn__posttime = null; + private uint? __pbn__posttime; + + [global::ProtoBuf.ProtoMember(6)] + public uint updatetime + { + get { return __pbn__updatetime.GetValueOrDefault(); } + set { __pbn__updatetime = value; } + } + public bool ShouldSerializeupdatetime() => __pbn__updatetime != null; + public void Resetupdatetime() => __pbn__updatetime = null; + private uint? __pbn__updatetime; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string body + { + get { return __pbn__body ?? ""; } + set { __pbn__body = value; } + } + public bool ShouldSerializebody() => __pbn__body != null; + public void Resetbody() => __pbn__body = null; + private string __pbn__body; + + [global::ProtoBuf.ProtoMember(8)] + public int commentcount + { + get { return __pbn__commentcount.GetValueOrDefault(); } + set { __pbn__commentcount = value; } + } + public bool ShouldSerializecommentcount() => __pbn__commentcount != null; + public void Resetcommentcount() => __pbn__commentcount = null; + private int? __pbn__commentcount; + + [global::ProtoBuf.ProtoMember(9)] + public global::System.Collections.Generic.List tags { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(10)] + public int language + { + get { return __pbn__language.GetValueOrDefault(); } + set { __pbn__language = value; } + } + public bool ShouldSerializelanguage() => __pbn__language != null; + public void Resetlanguage() => __pbn__language = null; + private int? __pbn__language; + + [global::ProtoBuf.ProtoMember(11)] + public bool hidden + { + get { return __pbn__hidden.GetValueOrDefault(); } + set { __pbn__hidden = value; } + } + public bool ShouldSerializehidden() => __pbn__hidden != null; + public void Resethidden() => __pbn__hidden = null; + private bool? __pbn__hidden; + + [global::ProtoBuf.ProtoMember(12, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong forum_topic_id + { + get { return __pbn__forum_topic_id.GetValueOrDefault(); } + set { __pbn__forum_topic_id = value; } + } + public bool ShouldSerializeforum_topic_id() => __pbn__forum_topic_id != null; + public void Resetforum_topic_id() => __pbn__forum_topic_id = null; + private ulong? __pbn__forum_topic_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCommunity_GetClanAnnouncements_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 { return __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 offset + { + get { return __pbn__offset.GetValueOrDefault(); } + set { __pbn__offset = value; } + } + public bool ShouldSerializeoffset() => __pbn__offset != null; + public void Resetoffset() => __pbn__offset = null; + private uint? __pbn__offset; + + [global::ProtoBuf.ProtoMember(3)] + public uint count + { + get { return __pbn__count.GetValueOrDefault(); } + set { __pbn__count = value; } + } + public bool ShouldSerializecount() => __pbn__count != null; + public void Resetcount() => __pbn__count = null; + private uint? __pbn__count; + + [global::ProtoBuf.ProtoMember(4)] + public uint maxchars + { + get { return __pbn__maxchars.GetValueOrDefault(); } + set { __pbn__maxchars = value; } + } + public bool ShouldSerializemaxchars() => __pbn__maxchars != null; + public void Resetmaxchars() => __pbn__maxchars = null; + private uint? __pbn__maxchars; + + [global::ProtoBuf.ProtoMember(5)] + public bool strip_html + { + get { return __pbn__strip_html.GetValueOrDefault(); } + set { __pbn__strip_html = value; } + } + public bool ShouldSerializestrip_html() => __pbn__strip_html != null; + public void Resetstrip_html() => __pbn__strip_html = null; + private bool? __pbn__strip_html; + + [global::ProtoBuf.ProtoMember(6)] + public global::System.Collections.Generic.List required_tags { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(7)] + public bool require_no_tags + { + get { return __pbn__require_no_tags.GetValueOrDefault(); } + set { __pbn__require_no_tags = value; } + } + public bool ShouldSerializerequire_no_tags() => __pbn__require_no_tags != null; + public void Resetrequire_no_tags() => __pbn__require_no_tags = null; + private bool? __pbn__require_no_tags; + + [global::ProtoBuf.ProtoMember(8)] + public global::System.Collections.Generic.List language_preference { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(9)] + public bool hidden_only + { + get { return __pbn__hidden_only.GetValueOrDefault(); } + set { __pbn__hidden_only = value; } + } + public bool ShouldSerializehidden_only() => __pbn__hidden_only != null; + public void Resethidden_only() => __pbn__hidden_only = null; + private bool? __pbn__hidden_only; + + [global::ProtoBuf.ProtoMember(10)] + public bool only_gid + { + get { return __pbn__only_gid.GetValueOrDefault(); } + set { __pbn__only_gid = value; } + } + public bool ShouldSerializeonly_gid() => __pbn__only_gid != null; + public void Resetonly_gid() => __pbn__only_gid = null; + private bool? __pbn__only_gid; + + [global::ProtoBuf.ProtoMember(11)] + public uint rtime_oldest_date + { + get { return __pbn__rtime_oldest_date.GetValueOrDefault(); } + set { __pbn__rtime_oldest_date = value; } + } + public bool ShouldSerializertime_oldest_date() => __pbn__rtime_oldest_date != null; + public void Resetrtime_oldest_date() => __pbn__rtime_oldest_date = null; + private uint? __pbn__rtime_oldest_date; + + [global::ProtoBuf.ProtoMember(12)] + public bool include_hidden + { + get { return __pbn__include_hidden.GetValueOrDefault(); } + set { __pbn__include_hidden = value; } + } + public bool ShouldSerializeinclude_hidden() => __pbn__include_hidden != null; + public void Resetinclude_hidden() => __pbn__include_hidden = null; + private bool? __pbn__include_hidden; + + [global::ProtoBuf.ProtoMember(13)] + public bool include_partner_events + { + get { return __pbn__include_partner_events.GetValueOrDefault(); } + set { __pbn__include_partner_events = value; } + } + public bool ShouldSerializeinclude_partner_events() => __pbn__include_partner_events != null; + public void Resetinclude_partner_events() => __pbn__include_partner_events = null; + private bool? __pbn__include_partner_events; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CCommunity_GetClanAnnouncements_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 maxchars + { + get { return __pbn__maxchars.GetValueOrDefault(); } + set { __pbn__maxchars = value; } + } + public bool ShouldSerializemaxchars() => __pbn__maxchars != null; + public void Resetmaxchars() => __pbn__maxchars = null; + private uint? __pbn__maxchars; + + [global::ProtoBuf.ProtoMember(2)] + public bool strip_html + { + get { return __pbn__strip_html.GetValueOrDefault(); } + set { __pbn__strip_html = value; } + } + public bool ShouldSerializestrip_html() => __pbn__strip_html != null; + public void Resetstrip_html() => __pbn__strip_html = null; + private bool? __pbn__strip_html; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List announcements { get; } = new global::System.Collections.Generic.List(); + + } + [global::ProtoBuf.ProtoContract()] public partial class CBroadcast_PostGameDataFrame_Request : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs index 7f7a6c137..9d7773ea0 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs @@ -265,6 +265,17 @@ public string wg_token public void Resetwg_token() => __pbn__wg_token = null; private string __pbn__wg_token; + [global::ProtoBuf.ProtoMember(31)] + [global::System.ComponentModel.DefaultValue(0)] + public uint launcher_type + { + get { return __pbn__launcher_type ?? 0; } + set { __pbn__launcher_type = value; } + } + public bool ShouldSerializelauncher_type() => __pbn__launcher_type != null; + public void Resetlauncher_type() => __pbn__launcher_type = null; + private uint? __pbn__launcher_type; + [global::ProtoBuf.ProtoMember(15)] public uint ip { @@ -974,6 +985,16 @@ public uint appid public void Resetappid() => __pbn__appid = null; private uint? __pbn__appid; + [global::ProtoBuf.ProtoMember(10)] + public uint rtime32_last_modified + { + get { return __pbn__rtime32_last_modified.GetValueOrDefault(); } + set { __pbn__rtime32_last_modified = value; } + } + public bool ShouldSerializertime32_last_modified() => __pbn__rtime32_last_modified != null; + public void Resetrtime32_last_modified() => __pbn__rtime32_last_modified = null; + private uint? __pbn__rtime32_last_modified; + } [global::ProtoBuf.ProtoContract()] @@ -1018,6 +1039,436 @@ public uint qualified } + [global::ProtoBuf.ProtoContract()] + public partial class CCommunity_ClanAnnouncementInfo : 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 gid + { + get { return __pbn__gid.GetValueOrDefault(); } + set { __pbn__gid = value; } + } + public bool ShouldSerializegid() => __pbn__gid != null; + public void Resetgid() => __pbn__gid = null; + private ulong? __pbn__gid; + + [global::ProtoBuf.ProtoMember(2)] + public ulong clanid + { + get { return __pbn__clanid.GetValueOrDefault(); } + set { __pbn__clanid = value; } + } + public bool ShouldSerializeclanid() => __pbn__clanid != null; + public void Resetclanid() => __pbn__clanid = null; + private ulong? __pbn__clanid; + + [global::ProtoBuf.ProtoMember(3)] + public ulong posterid + { + get { return __pbn__posterid.GetValueOrDefault(); } + set { __pbn__posterid = value; } + } + public bool ShouldSerializeposterid() => __pbn__posterid != null; + public void Resetposterid() => __pbn__posterid = null; + private ulong? __pbn__posterid; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string headline + { + get { return __pbn__headline ?? ""; } + set { __pbn__headline = value; } + } + public bool ShouldSerializeheadline() => __pbn__headline != null; + public void Resetheadline() => __pbn__headline = null; + private string __pbn__headline; + + [global::ProtoBuf.ProtoMember(5)] + public uint posttime + { + get { return __pbn__posttime.GetValueOrDefault(); } + set { __pbn__posttime = value; } + } + public bool ShouldSerializeposttime() => __pbn__posttime != null; + public void Resetposttime() => __pbn__posttime = null; + private uint? __pbn__posttime; + + [global::ProtoBuf.ProtoMember(6)] + public uint updatetime + { + get { return __pbn__updatetime.GetValueOrDefault(); } + set { __pbn__updatetime = value; } + } + public bool ShouldSerializeupdatetime() => __pbn__updatetime != null; + public void Resetupdatetime() => __pbn__updatetime = null; + private uint? __pbn__updatetime; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string body + { + get { return __pbn__body ?? ""; } + set { __pbn__body = value; } + } + public bool ShouldSerializebody() => __pbn__body != null; + public void Resetbody() => __pbn__body = null; + private string __pbn__body; + + [global::ProtoBuf.ProtoMember(8)] + public int commentcount + { + get { return __pbn__commentcount.GetValueOrDefault(); } + set { __pbn__commentcount = value; } + } + public bool ShouldSerializecommentcount() => __pbn__commentcount != null; + public void Resetcommentcount() => __pbn__commentcount = null; + private int? __pbn__commentcount; + + [global::ProtoBuf.ProtoMember(9)] + public global::System.Collections.Generic.List tags { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(10)] + public int language + { + get { return __pbn__language.GetValueOrDefault(); } + set { __pbn__language = value; } + } + public bool ShouldSerializelanguage() => __pbn__language != null; + public void Resetlanguage() => __pbn__language = null; + private int? __pbn__language; + + [global::ProtoBuf.ProtoMember(11)] + public bool hidden + { + get { return __pbn__hidden.GetValueOrDefault(); } + set { __pbn__hidden = value; } + } + public bool ShouldSerializehidden() => __pbn__hidden != null; + public void Resethidden() => __pbn__hidden = null; + private bool? __pbn__hidden; + + [global::ProtoBuf.ProtoMember(12, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong forum_topic_id + { + get { return __pbn__forum_topic_id.GetValueOrDefault(); } + set { __pbn__forum_topic_id = value; } + } + public bool ShouldSerializeforum_topic_id() => __pbn__forum_topic_id != null; + public void Resetforum_topic_id() => __pbn__forum_topic_id = null; + private ulong? __pbn__forum_topic_id; + + [global::ProtoBuf.ProtoMember(13, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong event_gid + { + get { return __pbn__event_gid.GetValueOrDefault(); } + set { __pbn__event_gid = value; } + } + public bool ShouldSerializeevent_gid() => __pbn__event_gid != null; + public void Resetevent_gid() => __pbn__event_gid = null; + private ulong? __pbn__event_gid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CClanEventData : 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 gid + { + get { return __pbn__gid.GetValueOrDefault(); } + set { __pbn__gid = value; } + } + public bool ShouldSerializegid() => __pbn__gid != null; + public void Resetgid() => __pbn__gid = null; + private ulong? __pbn__gid; + + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong clan_steamid + { + get { return __pbn__clan_steamid.GetValueOrDefault(); } + set { __pbn__clan_steamid = value; } + } + public bool ShouldSerializeclan_steamid() => __pbn__clan_steamid != null; + public void Resetclan_steamid() => __pbn__clan_steamid = null; + private ulong? __pbn__clan_steamid; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string event_name + { + get { return __pbn__event_name ?? ""; } + set { __pbn__event_name = value; } + } + public bool ShouldSerializeevent_name() => __pbn__event_name != null; + public void Resetevent_name() => __pbn__event_name = null; + private string __pbn__event_name; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(EProtoClanEventType.k_EClanOtherEvent)] + public EProtoClanEventType event_type + { + get { return __pbn__event_type ?? EProtoClanEventType.k_EClanOtherEvent; } + set { __pbn__event_type = value; } + } + public bool ShouldSerializeevent_type() => __pbn__event_type != null; + public void Resetevent_type() => __pbn__event_type = null; + private EProtoClanEventType? __pbn__event_type; + + [global::ProtoBuf.ProtoMember(5)] + public uint appid + { + get { return __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(6)] + [global::System.ComponentModel.DefaultValue("")] + public string server_address + { + get { return __pbn__server_address ?? ""; } + set { __pbn__server_address = value; } + } + public bool ShouldSerializeserver_address() => __pbn__server_address != null; + public void Resetserver_address() => __pbn__server_address = null; + private string __pbn__server_address; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string server_password + { + get { return __pbn__server_password ?? ""; } + set { __pbn__server_password = value; } + } + public bool ShouldSerializeserver_password() => __pbn__server_password != null; + public void Resetserver_password() => __pbn__server_password = null; + private string __pbn__server_password; + + [global::ProtoBuf.ProtoMember(8)] + public uint rtime32_start_time + { + get { return __pbn__rtime32_start_time.GetValueOrDefault(); } + set { __pbn__rtime32_start_time = value; } + } + public bool ShouldSerializertime32_start_time() => __pbn__rtime32_start_time != null; + public void Resetrtime32_start_time() => __pbn__rtime32_start_time = null; + private uint? __pbn__rtime32_start_time; + + [global::ProtoBuf.ProtoMember(9)] + public uint rtime32_end_time + { + get { return __pbn__rtime32_end_time.GetValueOrDefault(); } + set { __pbn__rtime32_end_time = value; } + } + public bool ShouldSerializertime32_end_time() => __pbn__rtime32_end_time != null; + public void Resetrtime32_end_time() => __pbn__rtime32_end_time = null; + private uint? __pbn__rtime32_end_time; + + [global::ProtoBuf.ProtoMember(10)] + public int comment_count + { + get { return __pbn__comment_count.GetValueOrDefault(); } + set { __pbn__comment_count = value; } + } + public bool ShouldSerializecomment_count() => __pbn__comment_count != null; + public void Resetcomment_count() => __pbn__comment_count = null; + private int? __pbn__comment_count; + + [global::ProtoBuf.ProtoMember(11, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong creator_steamid + { + get { return __pbn__creator_steamid.GetValueOrDefault(); } + set { __pbn__creator_steamid = value; } + } + public bool ShouldSerializecreator_steamid() => __pbn__creator_steamid != null; + public void Resetcreator_steamid() => __pbn__creator_steamid = null; + private ulong? __pbn__creator_steamid; + + [global::ProtoBuf.ProtoMember(12, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong last_update_steamid + { + get { return __pbn__last_update_steamid.GetValueOrDefault(); } + set { __pbn__last_update_steamid = value; } + } + public bool ShouldSerializelast_update_steamid() => __pbn__last_update_steamid != null; + public void Resetlast_update_steamid() => __pbn__last_update_steamid = null; + private ulong? __pbn__last_update_steamid; + + [global::ProtoBuf.ProtoMember(13)] + [global::System.ComponentModel.DefaultValue("")] + public string event_notes + { + get { return __pbn__event_notes ?? ""; } + set { __pbn__event_notes = value; } + } + public bool ShouldSerializeevent_notes() => __pbn__event_notes != null; + public void Resetevent_notes() => __pbn__event_notes = null; + private string __pbn__event_notes; + + [global::ProtoBuf.ProtoMember(14)] + [global::System.ComponentModel.DefaultValue("")] + public string jsondata + { + get { return __pbn__jsondata ?? ""; } + set { __pbn__jsondata = value; } + } + public bool ShouldSerializejsondata() => __pbn__jsondata != null; + public void Resetjsondata() => __pbn__jsondata = null; + private string __pbn__jsondata; + + [global::ProtoBuf.ProtoMember(15)] + public CCommunity_ClanAnnouncementInfo announcement_body { get; set; } + + [global::ProtoBuf.ProtoMember(16)] + public bool published + { + get { return __pbn__published.GetValueOrDefault(); } + set { __pbn__published = value; } + } + public bool ShouldSerializepublished() => __pbn__published != null; + public void Resetpublished() => __pbn__published = null; + private bool? __pbn__published; + + [global::ProtoBuf.ProtoMember(17)] + public bool hidden + { + get { return __pbn__hidden.GetValueOrDefault(); } + set { __pbn__hidden = value; } + } + public bool ShouldSerializehidden() => __pbn__hidden != null; + public void Resethidden() => __pbn__hidden = null; + private bool? __pbn__hidden; + + [global::ProtoBuf.ProtoMember(18)] + public uint rtime32_visibility_start + { + get { return __pbn__rtime32_visibility_start.GetValueOrDefault(); } + set { __pbn__rtime32_visibility_start = value; } + } + public bool ShouldSerializertime32_visibility_start() => __pbn__rtime32_visibility_start != null; + public void Resetrtime32_visibility_start() => __pbn__rtime32_visibility_start = null; + private uint? __pbn__rtime32_visibility_start; + + [global::ProtoBuf.ProtoMember(19)] + public uint rtime32_visibility_end + { + get { return __pbn__rtime32_visibility_end.GetValueOrDefault(); } + set { __pbn__rtime32_visibility_end = value; } + } + public bool ShouldSerializertime32_visibility_end() => __pbn__rtime32_visibility_end != null; + public void Resetrtime32_visibility_end() => __pbn__rtime32_visibility_end = null; + private uint? __pbn__rtime32_visibility_end; + + [global::ProtoBuf.ProtoMember(20)] + public uint broadcaster_accountid + { + get { return __pbn__broadcaster_accountid.GetValueOrDefault(); } + set { __pbn__broadcaster_accountid = value; } + } + public bool ShouldSerializebroadcaster_accountid() => __pbn__broadcaster_accountid != null; + public void Resetbroadcaster_accountid() => __pbn__broadcaster_accountid = null; + private uint? __pbn__broadcaster_accountid; + + [global::ProtoBuf.ProtoMember(21)] + public uint follower_count + { + get { return __pbn__follower_count.GetValueOrDefault(); } + set { __pbn__follower_count = value; } + } + public bool ShouldSerializefollower_count() => __pbn__follower_count != null; + public void Resetfollower_count() => __pbn__follower_count = null; + private uint? __pbn__follower_count; + + [global::ProtoBuf.ProtoMember(22)] + public uint ignore_count + { + get { return __pbn__ignore_count.GetValueOrDefault(); } + set { __pbn__ignore_count = value; } + } + public bool ShouldSerializeignore_count() => __pbn__ignore_count != null; + public void Resetignore_count() => __pbn__ignore_count = null; + private uint? __pbn__ignore_count; + + [global::ProtoBuf.ProtoMember(23, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong forum_topic_id + { + get { return __pbn__forum_topic_id.GetValueOrDefault(); } + set { __pbn__forum_topic_id = value; } + } + public bool ShouldSerializeforum_topic_id() => __pbn__forum_topic_id != null; + public void Resetforum_topic_id() => __pbn__forum_topic_id = null; + private ulong? __pbn__forum_topic_id; + + [global::ProtoBuf.ProtoMember(24)] + public uint rtime32_last_modified + { + get { return __pbn__rtime32_last_modified.GetValueOrDefault(); } + set { __pbn__rtime32_last_modified = value; } + } + public bool ShouldSerializertime32_last_modified() => __pbn__rtime32_last_modified != null; + public void Resetrtime32_last_modified() => __pbn__rtime32_last_modified = null; + private uint? __pbn__rtime32_last_modified; + + } + + [global::ProtoBuf.ProtoContract()] + public enum EProtoClanEventType + { + k_EClanOtherEvent = 1, + k_EClanGameEvent = 2, + k_EClanPartyEvent = 3, + k_EClanMeetingEvent = 4, + k_EClanSpecialCauseEvent = 5, + k_EClanMusicAndArtsEvent = 6, + k_EClanSportsEvent = 7, + k_EClanTripEvent = 8, + k_EClanChatEvent = 9, + k_EClanGameReleaseEvent = 10, + k_EClanBroadcastEvent = 11, + k_EClanSmallUpdateEvent = 12, + k_EClanPreAnnounceMajorUpdateEvent = 13, + k_EClanMajorUpdateEvent = 14, + k_EClanDLCReleaseEvent = 15, + k_EClanFutureReleaseEvent = 16, + k_EClanESportTournamentStreamEvent = 17, + k_EClanDevStreamEvent = 18, + k_EClanFamousStreamEvent = 19, + k_EClanGameSalesEvent = 20, + k_EClanGameItemSalesEvent = 21, + k_EClanInGameBonusXPEvent = 22, + k_EClanInGameLootEvent = 23, + k_EClanInGamePerksEvent = 24, + k_EClanInGameChallengeEvent = 25, + k_EClanInGameContestEvent = 26, + k_EClanIRLEvent = 27, + k_EClanNewsEvent = 28, + k_EClanBetaReleaseEvent = 29, + k_EClanInGameContentReleaseEvent = 30, + k_EClanFreeTrial = 31, + k_EClanSeasonRelease = 32, + k_EClanSeasonUpdate = 33, + k_ECrosspostEvent = 34, + } + + [global::ProtoBuf.ProtoContract()] + public enum PartnerEventNotificationType + { + k_EEventStart = 0, + k_EEventBroadcastStart = 1, + k_EEventMatchStart = 2, + k_EEventPartnerMaxType = 3, + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs index ddce23d17..3c7a0b5f4 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs @@ -648,14 +648,14 @@ public uint flags private uint? __pbn__flags; [global::ProtoBuf.ProtoMember(3)] - public uint game_ip_address + public uint deprecated_game_ip_address { - get { return __pbn__game_ip_address.GetValueOrDefault(); } - set { __pbn__game_ip_address = value; } + get { return __pbn__deprecated_game_ip_address.GetValueOrDefault(); } + set { __pbn__deprecated_game_ip_address = value; } } - public bool ShouldSerializegame_ip_address() => __pbn__game_ip_address != null; - public void Resetgame_ip_address() => __pbn__game_ip_address = null; - private uint? __pbn__game_ip_address; + 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 @@ -748,14 +748,14 @@ public ulong steam_id private ulong? __pbn__steam_id; [global::ProtoBuf.ProtoMember(2)] - public uint public_ip + public uint deprecated_public_ip { - get { return __pbn__public_ip.GetValueOrDefault(); } - set { __pbn__public_ip = value; } + get { return __pbn__deprecated_public_ip.GetValueOrDefault(); } + set { __pbn__deprecated_public_ip = value; } } - public bool ShouldSerializepublic_ip() => __pbn__public_ip != null; - public void Resetpublic_ip() => __pbn__public_ip = null; - private uint? __pbn__public_ip; + 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 @@ -767,6 +767,9 @@ public byte[] token public void Resettoken() => __pbn__token = null; private byte[] __pbn__token; + [global::ProtoBuf.ProtoMember(4)] + public CMsgIPAddress public_ip { get; set; } + } } @@ -789,14 +792,14 @@ public ulong steam_id private ulong? __pbn__steam_id; [global::ProtoBuf.ProtoMember(2)] - public uint public_ip + public uint deprecated_public_ip { - get { return __pbn__public_ip.GetValueOrDefault(); } - set { __pbn__public_ip = value; } + get { return __pbn__deprecated_public_ip.GetValueOrDefault(); } + set { __pbn__deprecated_public_ip = value; } } - public bool ShouldSerializepublic_ip() => __pbn__public_ip != null; - public void Resetpublic_ip() => __pbn__public_ip = null; - private uint? __pbn__public_ip; + 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 @@ -808,6 +811,9 @@ public byte[] token public void Resettoken() => __pbn__token = null; private byte[] __pbn__token; + [global::ProtoBuf.ProtoMember(4)] + public CMsgIPAddress public_ip { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -877,14 +883,14 @@ public ulong game_id private ulong? __pbn__game_id; [global::ProtoBuf.ProtoMember(3)] - public uint game_ip_address + public uint deprecated_game_ip_address { - get { return __pbn__game_ip_address.GetValueOrDefault(); } - set { __pbn__game_ip_address = value; } + get { return __pbn__deprecated_game_ip_address.GetValueOrDefault(); } + set { __pbn__deprecated_game_ip_address = value; } } - public bool ShouldSerializegame_ip_address() => __pbn__game_ip_address != null; - public void Resetgame_ip_address() => __pbn__game_ip_address = null; - private uint? __pbn__game_ip_address; + 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 @@ -1076,6 +1082,19 @@ public uint launch_source public void Resetlaunch_source() => __pbn__launch_source = null; private uint? __pbn__launch_source; + [global::ProtoBuf.ProtoMember(22)] + public uint vr_hmd_runtime + { + get { return __pbn__vr_hmd_runtime.GetValueOrDefault(); } + set { __pbn__vr_hmd_runtime = value; } + } + public bool ShouldSerializevr_hmd_runtime() => __pbn__vr_hmd_runtime != null; + public void Resetvr_hmd_runtime() => __pbn__vr_hmd_runtime = null; + private uint? __pbn__vr_hmd_runtime; + + [global::ProtoBuf.ProtoMember(23)] + public CMsgIPAddress game_ip_address { get; set; } + } } @@ -2016,57 +2035,6 @@ public bool bis_limited_account_allowed_to_invite_friends } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientServerList : 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.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 server_type - { - get { return __pbn__server_type.GetValueOrDefault(); } - set { __pbn__server_type = value; } - } - public bool ShouldSerializeserver_type() => __pbn__server_type != null; - public void Resetserver_type() => __pbn__server_type = null; - private uint? __pbn__server_type; - - [global::ProtoBuf.ProtoMember(2)] - public uint server_ip - { - get { return __pbn__server_ip.GetValueOrDefault(); } - set { __pbn__server_ip = value; } - } - public bool ShouldSerializeserver_ip() => __pbn__server_ip != null; - public void Resetserver_ip() => __pbn__server_ip = null; - private uint? __pbn__server_ip; - - [global::ProtoBuf.ProtoMember(3)] - public uint server_port - { - get { return __pbn__server_port.GetValueOrDefault(); } - set { __pbn__server_port = value; } - } - public bool ShouldSerializeserver_port() => __pbn__server_port != null; - public void Resetserver_port() => __pbn__server_port = null; - private uint? __pbn__server_port; - - } - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientRequestedClientStats : global::ProtoBuf.IExtensible { @@ -2296,14 +2264,14 @@ public uint cell_id private uint? __pbn__cell_id; [global::ProtoBuf.ProtoMember(6)] - public uint public_ip + public uint deprecated_public_ip { - get { return __pbn__public_ip.GetValueOrDefault(); } - set { __pbn__public_ip = value; } + get { return __pbn__deprecated_public_ip.GetValueOrDefault(); } + set { __pbn__deprecated_public_ip = value; } } - public bool ShouldSerializepublic_ip() => __pbn__public_ip != null; - public void Resetpublic_ip() => __pbn__public_ip = null; - private uint? __pbn__public_ip; + 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(7)] public byte[] metadata @@ -2326,6 +2294,9 @@ public string persona_name_owner public void Resetpersona_name_owner() => __pbn__persona_name_owner = null; private string __pbn__persona_name_owner; + [global::ProtoBuf.ProtoMember(9)] + public CMsgIPAddress public_ip { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -2647,18 +2618,21 @@ public uint cell_id private uint? __pbn__cell_id; [global::ProtoBuf.ProtoMember(5)] - public uint public_ip + public uint deprecated_public_ip { - get { return __pbn__public_ip.GetValueOrDefault(); } - set { __pbn__public_ip = value; } + get { return __pbn__deprecated_public_ip.GetValueOrDefault(); } + set { __pbn__deprecated_public_ip = value; } } - public bool ShouldSerializepublic_ip() => __pbn__public_ip != null; - public void Resetpublic_ip() => __pbn__public_ip = null; - private uint? __pbn__public_ip; + 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(6)] public global::System.Collections.Generic.List filters { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(7)] + public CMsgIPAddress public_ip { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class Filter : global::ProtoBuf.IExtensible { @@ -3378,14 +3352,14 @@ public ulong steam_id_lobby private ulong? __pbn__steam_id_lobby; [global::ProtoBuf.ProtoMember(3)] - public uint game_server_ip + public uint deprecated_game_server_ip { - get { return __pbn__game_server_ip.GetValueOrDefault(); } - set { __pbn__game_server_ip = value; } + get { return __pbn__deprecated_game_server_ip.GetValueOrDefault(); } + set { __pbn__deprecated_game_server_ip = value; } } - public bool ShouldSerializegame_server_ip() => __pbn__game_server_ip != null; - public void Resetgame_server_ip() => __pbn__game_server_ip = null; - private uint? __pbn__game_server_ip; + public bool ShouldSerializedeprecated_game_server_ip() => __pbn__deprecated_game_server_ip != null; + public void Resetdeprecated_game_server_ip() => __pbn__deprecated_game_server_ip = null; + private uint? __pbn__deprecated_game_server_ip; [global::ProtoBuf.ProtoMember(4)] public uint game_server_port @@ -3407,6 +3381,9 @@ public ulong game_server_steam_id public void Resetgame_server_steam_id() => __pbn__game_server_steam_id = null; private ulong? __pbn__game_server_steam_id; + [global::ProtoBuf.ProtoMember(6)] + public CMsgIPAddress game_server_ip { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -3437,14 +3414,14 @@ public ulong steam_id_lobby private ulong? __pbn__steam_id_lobby; [global::ProtoBuf.ProtoMember(3)] - public uint game_server_ip + public uint deprecated_game_server_ip { - get { return __pbn__game_server_ip.GetValueOrDefault(); } - set { __pbn__game_server_ip = value; } + get { return __pbn__deprecated_game_server_ip.GetValueOrDefault(); } + set { __pbn__deprecated_game_server_ip = value; } } - public bool ShouldSerializegame_server_ip() => __pbn__game_server_ip != null; - public void Resetgame_server_ip() => __pbn__game_server_ip = null; - private uint? __pbn__game_server_ip; + public bool ShouldSerializedeprecated_game_server_ip() => __pbn__deprecated_game_server_ip != null; + public void Resetdeprecated_game_server_ip() => __pbn__deprecated_game_server_ip = null; + private uint? __pbn__deprecated_game_server_ip; [global::ProtoBuf.ProtoMember(4)] public uint game_server_port @@ -3466,6 +3443,9 @@ public ulong game_server_steam_id public void Resetgame_server_steam_id() => __pbn__game_server_steam_id = null; private ulong? __pbn__game_server_steam_id; + [global::ProtoBuf.ProtoMember(6)] + public CMsgIPAddress game_server_ip { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -3734,6 +3714,17 @@ public string connect_string public void Resetconnect_string() => __pbn__connect_string = null; private string __pbn__connect_string; + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string remote_play + { + get { return __pbn__remote_play ?? ""; } + set { __pbn__remote_play = value; } + } + public bool ShouldSerializeremote_play() => __pbn__remote_play != null; + public void Resetremote_play() => __pbn__remote_play = null; + private string __pbn__remote_play; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs index 4402ddee5..8e868b7f0 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs @@ -1133,6 +1133,17 @@ public uint start_time public void Resetstart_time() => __pbn__start_time = null; private uint? __pbn__start_time; + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(0)] + public uint desired_revision + { + get { return __pbn__desired_revision ?? 0; } + set { __pbn__desired_revision = value; } + } + public bool ShouldSerializedesired_revision() => __pbn__desired_revision != null; + public void Resetdesired_revision() => __pbn__desired_revision = null; + private uint? __pbn__desired_revision; + } [global::ProtoBuf.ProtoContract()] @@ -1248,114 +1259,6 @@ public bool is_depot_content } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMPublishedFileSubscribed : 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 { return __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 { return __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, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong file_hcontent - { - get { return __pbn__file_hcontent.GetValueOrDefault(); } - set { __pbn__file_hcontent = value; } - } - public bool ShouldSerializefile_hcontent() => __pbn__file_hcontent != null; - public void Resetfile_hcontent() => __pbn__file_hcontent = null; - private ulong? __pbn__file_hcontent; - - [global::ProtoBuf.ProtoMember(4)] - public uint file_size - { - get { return __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(5)] - public uint rtime_subscribed - { - get { return __pbn__rtime_subscribed.GetValueOrDefault(); } - set { __pbn__rtime_subscribed = value; } - } - public bool ShouldSerializertime_subscribed() => __pbn__rtime_subscribed != null; - public void Resetrtime_subscribed() => __pbn__rtime_subscribed = null; - private uint? __pbn__rtime_subscribed; - - [global::ProtoBuf.ProtoMember(6)] - public bool is_depot_content - { - get { return __pbn__is_depot_content.GetValueOrDefault(); } - set { __pbn__is_depot_content = value; } - } - public bool ShouldSerializeis_depot_content() => __pbn__is_depot_content != null; - public void Resetis_depot_content() => __pbn__is_depot_content = null; - private bool? __pbn__is_depot_content; - - [global::ProtoBuf.ProtoMember(7)] - public uint rtime_updated - { - get { return __pbn__rtime_updated.GetValueOrDefault(); } - set { __pbn__rtime_updated = value; } - } - public bool ShouldSerializertime_updated() => __pbn__rtime_updated != null; - public void Resetrtime_updated() => __pbn__rtime_updated = null; - private uint? __pbn__rtime_updated; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMPublishedFileUnsubscribed : 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 { return __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 { return __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.ProtoContract()] public partial class CMsgClientUCMPublishedFileDeleted : global::ProtoBuf.IExtensible { @@ -1452,6 +1355,16 @@ public bool is_depot_content public void Resetis_depot_content() => __pbn__is_depot_content = null; private bool? __pbn__is_depot_content; + [global::ProtoBuf.ProtoMember(7)] + public uint revision + { + get { return __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.ProtoContract()] @@ -3662,6 +3575,16 @@ public uint cell_id [global::ProtoBuf.ProtoMember(2)] public global::System.Collections.Generic.List stats { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3)] + public uint throttling_kbps + { + get { return __pbn__throttling_kbps.GetValueOrDefault(); } + set { __pbn__throttling_kbps = value; } + } + public bool ShouldSerializethrottling_kbps() => __pbn__throttling_kbps != null; + public void Resetthrottling_kbps() => __pbn__throttling_kbps = null; + private uint? __pbn__throttling_kbps; + [global::ProtoBuf.ProtoContract()] public partial class StatsInfo : global::ProtoBuf.IExtensible { @@ -3730,6 +3653,26 @@ public ulong microseconds public void Resetmicroseconds() => __pbn__microseconds = null; private ulong? __pbn__microseconds; + [global::ProtoBuf.ProtoMember(7)] + public bool used_ipv6 + { + get { return __pbn__used_ipv6.GetValueOrDefault(); } + set { __pbn__used_ipv6 = value; } + } + public bool ShouldSerializeused_ipv6() => __pbn__used_ipv6 != null; + public void Resetused_ipv6() => __pbn__used_ipv6 = null; + private bool? __pbn__used_ipv6; + + [global::ProtoBuf.ProtoMember(8)] + public bool proxied + { + get { return __pbn__proxied.GetValueOrDefault(); } + set { __pbn__proxied = value; } + } + public bool ShouldSerializeproxied() => __pbn__proxied != null; + public void Resetproxied() => __pbn__proxied = null; + private bool? __pbn__proxied; + } } @@ -4018,14 +3961,14 @@ public ulong steam_id_gs private ulong? __pbn__steam_id_gs; [global::ProtoBuf.ProtoMember(2)] - public uint ip + public uint deprecated_ip { - get { return __pbn__ip.GetValueOrDefault(); } - set { __pbn__ip = value; } + get { return __pbn__deprecated_ip.GetValueOrDefault(); } + set { __pbn__deprecated_ip = value; } } - public bool ShouldSerializeip() => __pbn__ip != null; - public void Resetip() => __pbn__ip = null; - private uint? __pbn__ip; + public bool ShouldSerializedeprecated_ip() => __pbn__deprecated_ip != null; + public void Resetdeprecated_ip() => __pbn__deprecated_ip = null; + private uint? __pbn__deprecated_ip; [global::ProtoBuf.ProtoMember(3)] public uint query_port @@ -4068,6 +4011,9 @@ public string name public void Resetname() => __pbn__name = null; private string __pbn__name; + [global::ProtoBuf.ProtoMember(23)] + public CMsgIPAddress game_ip_address { get; set; } + [global::ProtoBuf.ProtoMember(6)] public uint app_id { @@ -4268,14 +4214,14 @@ public ulong steam_id private ulong? __pbn__steam_id; [global::ProtoBuf.ProtoMember(2)] - public uint ip + public uint deprecated_ip { - get { return __pbn__ip.GetValueOrDefault(); } - set { __pbn__ip = value; } + get { return __pbn__deprecated_ip.GetValueOrDefault(); } + set { __pbn__deprecated_ip = value; } } - public bool ShouldSerializeip() => __pbn__ip != null; - public void Resetip() => __pbn__ip = null; - private uint? __pbn__ip; + public bool ShouldSerializedeprecated_ip() => __pbn__deprecated_ip != null; + public void Resetdeprecated_ip() => __pbn__deprecated_ip = null; + private uint? __pbn__deprecated_ip; [global::ProtoBuf.ProtoMember(3)] public uint query_port @@ -4287,6 +4233,9 @@ public uint query_port public void Resetquery_port() => __pbn__query_port = null; private uint? __pbn__query_port; + [global::ProtoBuf.ProtoMember(4)] + public CMsgIPAddress ip { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -4378,14 +4327,14 @@ public partial class Server : global::ProtoBuf.IExtensible => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); [global::ProtoBuf.ProtoMember(1)] - public uint server_ip + public uint deprecated_server_ip { - get { return __pbn__server_ip.GetValueOrDefault(); } - set { __pbn__server_ip = value; } + get { return __pbn__deprecated_server_ip.GetValueOrDefault(); } + set { __pbn__deprecated_server_ip = value; } } - public bool ShouldSerializeserver_ip() => __pbn__server_ip != null; - public void Resetserver_ip() => __pbn__server_ip = null; - private uint? __pbn__server_ip; + 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 server_port @@ -4407,6 +4356,9 @@ public uint auth_players public void Resetauth_players() => __pbn__auth_players = null; private uint? __pbn__auth_players; + [global::ProtoBuf.ProtoMember(4)] + public CMsgIPAddress server_ip { get; set; } + } } @@ -5398,6 +5350,78 @@ public uint count_new_items public void Resetcount_new_items() => __pbn__count_new_items = null; private uint? __pbn__count_new_items; + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List unseen_items { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class UnseenItem : 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 { return __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 context_id + { + get { return __pbn__context_id.GetValueOrDefault(); } + set { __pbn__context_id = value; } + } + public bool ShouldSerializecontext_id() => __pbn__context_id != null; + public void Resetcontext_id() => __pbn__context_id = null; + private ulong? __pbn__context_id; + + [global::ProtoBuf.ProtoMember(3)] + public ulong asset_id + { + get { return __pbn__asset_id.GetValueOrDefault(); } + set { __pbn__asset_id = value; } + } + public bool ShouldSerializeasset_id() => __pbn__asset_id != null; + public void Resetasset_id() => __pbn__asset_id = null; + private ulong? __pbn__asset_id; + + [global::ProtoBuf.ProtoMember(4)] + public ulong amount + { + get { return __pbn__amount.GetValueOrDefault(); } + set { __pbn__amount = value; } + } + public bool ShouldSerializeamount() => __pbn__amount != null; + public void Resetamount() => __pbn__amount = null; + private ulong? __pbn__amount; + + [global::ProtoBuf.ProtoMember(5, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public uint rtime32_gained + { + get { return __pbn__rtime32_gained.GetValueOrDefault(); } + set { __pbn__rtime32_gained = value; } + } + public bool ShouldSerializertime32_gained() => __pbn__rtime32_gained != null; + public void Resetrtime32_gained() => __pbn__rtime32_gained = null; + private uint? __pbn__rtime32_gained; + + [global::ProtoBuf.ProtoMember(6)] + public uint source_appid + { + get { return __pbn__source_appid.GetValueOrDefault(); } + set { __pbn__source_appid = value; } + } + public bool ShouldSerializesource_appid() => __pbn__source_appid != null; + public void Resetsource_appid() => __pbn__source_appid = null; + private uint? __pbn__source_appid; + + } + } [global::ProtoBuf.ProtoContract()] @@ -6489,7 +6513,7 @@ public string status_text } [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientServiceMethod : global::ProtoBuf.IExtensible + public partial class CMsgClientServiceMethodLegacy : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -6529,7 +6553,7 @@ public bool is_notification } [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientServiceMethodResponse : global::ProtoBuf.IExtensible + public partial class CMsgClientServiceMethodLegacyResponse : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -7616,6 +7640,35 @@ public int caller_id } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgBadgeCraftedNotification : 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 { return __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 badge_level + { + get { return __pbn__badge_level.GetValueOrDefault(); } + set { __pbn__badge_level = value; } + } + public bool ShouldSerializebadge_level() => __pbn__badge_level != null; + public void Resetbadge_level() => __pbn__badge_level = null; + private uint? __pbn__badge_level; + + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs index 69e2d5229..4c320b78e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs @@ -65,6 +65,65 @@ public ulong server_timestamp_ms } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientSecret : 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 version + { + get { return __pbn__version.GetValueOrDefault(); } + set { __pbn__version = value; } + } + public bool ShouldSerializeversion() => __pbn__version != null; + public void Resetversion() => __pbn__version = null; + private uint? __pbn__version; + + [global::ProtoBuf.ProtoMember(2)] + public uint appid + { + get { return __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 uint deviceid + { + get { return __pbn__deviceid.GetValueOrDefault(); } + set { __pbn__deviceid = value; } + } + public bool ShouldSerializedeviceid() => __pbn__deviceid != null; + public void Resetdeviceid() => __pbn__deviceid = null; + private uint? __pbn__deviceid; + + [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong nonce + { + get { return __pbn__nonce.GetValueOrDefault(); } + set { __pbn__nonce = value; } + } + public bool ShouldSerializenonce() => __pbn__nonce != null; + public void Resetnonce() => __pbn__nonce = null; + private ulong? __pbn__nonce; + + [global::ProtoBuf.ProtoMember(5)] + public byte[] hmac + { + get { return __pbn__hmac; } + set { __pbn__hmac = value; } + } + public bool ShouldSerializehmac() => __pbn__hmac != null; + public void Resethmac() => __pbn__hmac = null; + private byte[] __pbn__hmac; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgClientLogon : global::ProtoBuf.IExtensible { @@ -83,14 +142,14 @@ public uint protocol_version private uint? __pbn__protocol_version; [global::ProtoBuf.ProtoMember(2)] - public uint obfustucated_private_ip + public uint deprecated_obfustucated_private_ip { - get { return __pbn__obfustucated_private_ip.GetValueOrDefault(); } - set { __pbn__obfustucated_private_ip = value; } + get { return __pbn__deprecated_obfustucated_private_ip.GetValueOrDefault(); } + set { __pbn__deprecated_obfustucated_private_ip = value; } } - public bool ShouldSerializeobfustucated_private_ip() => __pbn__obfustucated_private_ip != null; - public void Resetobfustucated_private_ip() => __pbn__obfustucated_private_ip = null; - private uint? __pbn__obfustucated_private_ip; + public bool ShouldSerializedeprecated_obfustucated_private_ip() => __pbn__deprecated_obfustucated_private_ip != null; + public void Resetdeprecated_obfustucated_private_ip() => __pbn__deprecated_obfustucated_private_ip = null; + private uint? __pbn__deprecated_obfustucated_private_ip; [global::ProtoBuf.ProtoMember(3)] public uint cell_id @@ -166,24 +225,27 @@ public string wine_version private string __pbn__wine_version; [global::ProtoBuf.ProtoMember(10)] - public uint ping_ms_from_cell_search + public uint deprecated_10 { - get { return __pbn__ping_ms_from_cell_search.GetValueOrDefault(); } - set { __pbn__ping_ms_from_cell_search = value; } + get { return __pbn__deprecated_10.GetValueOrDefault(); } + set { __pbn__deprecated_10 = value; } } - public bool ShouldSerializeping_ms_from_cell_search() => __pbn__ping_ms_from_cell_search != null; - public void Resetping_ms_from_cell_search() => __pbn__ping_ms_from_cell_search = null; - private uint? __pbn__ping_ms_from_cell_search; + public bool ShouldSerializedeprecated_10() => __pbn__deprecated_10 != null; + public void Resetdeprecated_10() => __pbn__deprecated_10 = null; + private uint? __pbn__deprecated_10; + + [global::ProtoBuf.ProtoMember(11)] + public CMsgIPAddress obfuscated_private_ip { get; set; } [global::ProtoBuf.ProtoMember(20)] - public uint public_ip + public uint deprecated_public_ip { - get { return __pbn__public_ip.GetValueOrDefault(); } - set { __pbn__public_ip = value; } + get { return __pbn__deprecated_public_ip.GetValueOrDefault(); } + set { __pbn__deprecated_public_ip = value; } } - public bool ShouldSerializepublic_ip() => __pbn__public_ip != null; - public void Resetpublic_ip() => __pbn__public_ip = null; - private uint? __pbn__public_ip; + 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(21)] public uint qos_level @@ -205,6 +267,9 @@ public ulong client_supplied_steam_id public void Resetclient_supplied_steam_id() => __pbn__client_supplied_steam_id = null; private ulong? __pbn__client_supplied_steam_id; + [global::ProtoBuf.ProtoMember(23)] + public CMsgIPAddress public_ip { get; set; } + [global::ProtoBuf.ProtoMember(30)] public byte[] machine_id { @@ -585,6 +650,9 @@ public int priority_reason public void Resetpriority_reason() => __pbn__priority_reason = null; private int? __pbn__priority_reason; + [global::ProtoBuf.ProtoMember(105)] + public CMsgClientSecret embedded_client_secret { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -626,14 +694,14 @@ public int in_game_heartbeat_seconds private int? __pbn__in_game_heartbeat_seconds; [global::ProtoBuf.ProtoMember(4)] - public uint public_ip + public uint deprecated_public_ip { - get { return __pbn__public_ip.GetValueOrDefault(); } - set { __pbn__public_ip = value; } + get { return __pbn__deprecated_public_ip.GetValueOrDefault(); } + set { __pbn__deprecated_public_ip = value; } } - public bool ShouldSerializepublic_ip() => __pbn__public_ip != null; - public void Resetpublic_ip() => __pbn__public_ip = null; - private uint? __pbn__public_ip; + 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(5, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] public uint rtime32_server_time @@ -738,6 +806,9 @@ public string vanity_url public void Resetvanity_url() => __pbn__vanity_url = null; private string __pbn__vanity_url; + [global::ProtoBuf.ProtoMember(15)] + public CMsgIPAddress public_ip { get; set; } + [global::ProtoBuf.ProtoMember(20, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] public ulong client_supplied_steamid { @@ -1104,6 +1175,44 @@ public bool is_phone_needing_reverify } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientChallengeRequest : 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 { return __pbn__steamid.GetValueOrDefault(); } + set { __pbn__steamid = value; } + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientChallengeResponse : 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 challenge + { + get { return __pbn__challenge.GetValueOrDefault(); } + set { __pbn__challenge = value; } + } + public bool ShouldSerializechallenge() => __pbn__challenge != null; + public void Resetchallenge() => __pbn__challenge = null; + private ulong? __pbn__challenge; + + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgBroadcast.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgBroadcast.cs index b604e292f..826d1d98f 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgBroadcast.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgBroadcast.cs @@ -97,6 +97,16 @@ public string client_beta public void Resetclient_beta() => __pbn__client_beta = null; private string __pbn__client_beta; + [global::ProtoBuf.ProtoMember(9)] + public uint sysid + { + get { return __pbn__sysid.GetValueOrDefault(); } + set { __pbn__sysid = value; } + } + public bool ShouldSerializesysid() => __pbn__sysid != null; + public void Resetsysid() => __pbn__sysid = null; + private uint? __pbn__sysid; + } [global::ProtoBuf.ProtoContract()] @@ -266,6 +276,16 @@ public bool is_replay public void Resetis_replay() => __pbn__is_replay = null; private bool? __pbn__is_replay; + [global::ProtoBuf.ProtoMember(8)] + public uint sysid + { + get { return __pbn__sysid.GetValueOrDefault(); } + set { __pbn__sysid = value; } + } + public bool ShouldSerializesysid() => __pbn__sysid != null; + public void Resetsysid() => __pbn__sysid = null; + private uint? __pbn__sysid; + } [global::ProtoBuf.ProtoContract()] @@ -908,6 +928,26 @@ public bool is_replay public void Resetis_replay() => __pbn__is_replay = null; private bool? __pbn__is_replay; + [global::ProtoBuf.ProtoMember(13)] + public bool is_capturing_vod + { + get { return __pbn__is_capturing_vod.GetValueOrDefault(); } + set { __pbn__is_capturing_vod = value; } + } + public bool ShouldSerializeis_capturing_vod() => __pbn__is_capturing_vod != null; + public void Resetis_capturing_vod() => __pbn__is_capturing_vod = null; + private bool? __pbn__is_capturing_vod; + + [global::ProtoBuf.ProtoMember(14)] + public bool is_store_whitelisted + { + get { return __pbn__is_store_whitelisted.GetValueOrDefault(); } + set { __pbn__is_store_whitelisted = value; } + } + public bool ShouldSerializeis_store_whitelisted() => __pbn__is_store_whitelisted != null; + public void Resetis_store_whitelisted() => __pbn__is_store_whitelisted = null; + private bool? __pbn__is_store_whitelisted; + } [global::ProtoBuf.ProtoContract()] @@ -1615,6 +1655,65 @@ public partial class CBroadcast_GetBuildClipStatus_Response : global::ProtoBuf.I } + [global::ProtoBuf.ProtoContract()] + public partial class CBroadcast_SetClipDetails_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 broadcast_clip_id + { + get { return __pbn__broadcast_clip_id.GetValueOrDefault(); } + set { __pbn__broadcast_clip_id = value; } + } + public bool ShouldSerializebroadcast_clip_id() => __pbn__broadcast_clip_id != null; + public void Resetbroadcast_clip_id() => __pbn__broadcast_clip_id = null; + private ulong? __pbn__broadcast_clip_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint start_time + { + get { return __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(3)] + public uint end_time + { + get { return __pbn__end_time.GetValueOrDefault(); } + set { __pbn__end_time = value; } + } + public bool ShouldSerializeend_time() => __pbn__end_time != null; + public void Resetend_time() => __pbn__end_time = null; + private uint? __pbn__end_time; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string video_description + { + get { return __pbn__video_description ?? ""; } + set { __pbn__video_description = value; } + } + public bool ShouldSerializevideo_description() => __pbn__video_description != null; + public void Resetvideo_description() => __pbn__video_description = null; + private string __pbn__video_description; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CBroadcast_SetClipDetails_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 CBroadcast_GetClipDetails_Request : global::ProtoBuf.IExtensible { @@ -2453,6 +2552,26 @@ public ulong upload_id public void Resetupload_id() => __pbn__upload_id = null; private ulong? __pbn__upload_id; + [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return __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(5)] + public ulong session_id + { + get { return __pbn__session_id.GetValueOrDefault(); } + set { __pbn__session_id = value; } + } + public bool ShouldSerializesession_id() => __pbn__session_id != null; + public void Resetsession_id() => __pbn__session_id = null; + private ulong? __pbn__session_id; + } [global::ProtoBuf.ProtoContract()] @@ -2665,6 +2784,16 @@ public bool is_replay public void Resetis_replay() => __pbn__is_replay = null; private bool? __pbn__is_replay; + [global::ProtoBuf.ProtoMember(20)] + public ulong session_id + { + get { return __pbn__session_id.GetValueOrDefault(); } + set { __pbn__session_id = value; } + } + public bool ShouldSerializesession_id() => __pbn__session_id != null; + public void Resetsession_id() => __pbn__session_id = null; + private ulong? __pbn__session_id; + } } @@ -2686,6 +2815,16 @@ public ulong upload_id public void Resetupload_id() => __pbn__upload_id = null; private ulong? __pbn__upload_id; + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return __pbn__steamid.GetValueOrDefault(); } + set { __pbn__steamid = value; } + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + } [global::ProtoBuf.ProtoContract()] @@ -3306,6 +3445,7 @@ public interface IBroadcast CBroadcast_GetBroadcastChatUserNames_Response GetBroadcastChatUserNames(CBroadcast_GetBroadcastChatUserNames_Request request); CBroadcast_StartBuildClip_Response StartBuildClip(CBroadcast_StartBuildClip_Request request); CBroadcast_GetBuildClipStatus_Response GetBuildClipStatus(CBroadcast_GetBuildClipStatus_Request request); + CBroadcast_SetClipDetails_Response SetClipDetails(CBroadcast_SetClipDetails_Request request); CBroadcast_GetClipDetails_Response GetClipDetails(CBroadcast_GetClipDetails_Request request); CBroadcast_SetRTMPInfo_Response SetRTMPInfo(CBroadcast_SetRTMPInfo_Request request); CBroadcast_GetRTMPInfo_Response GetRTMPInfo(CBroadcast_GetRTMPInfo_Request request); diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCloud.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCloud.cs index a59746e4c..a34d7b262 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCloud.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCloud.cs @@ -400,6 +400,20 @@ public uint flags public void Resetflags() => __pbn__flags = null; private uint? __pbn__flags; + [global::ProtoBuf.ProtoMember(9)] + public global::System.Collections.Generic.List platforms_to_sync { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] + public string file_sha + { + get { return __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.ProtoContract()] @@ -741,6 +755,36 @@ public uint cellid public void Resetcellid() => __pbn__cellid = null; private uint? __pbn__cellid; + [global::ProtoBuf.ProtoMember(10)] + public bool proxied + { + get { return __pbn__proxied.GetValueOrDefault(); } + set { __pbn__proxied = value; } + } + public bool ShouldSerializeproxied() => __pbn__proxied != null; + public void Resetproxied() => __pbn__proxied = null; + private bool? __pbn__proxied; + + [global::ProtoBuf.ProtoMember(11)] + public bool ipv6_local + { + get { return __pbn__ipv6_local.GetValueOrDefault(); } + set { __pbn__ipv6_local = value; } + } + public bool ShouldSerializeipv6_local() => __pbn__ipv6_local != null; + public void Resetipv6_local() => __pbn__ipv6_local = null; + private bool? __pbn__ipv6_local; + + [global::ProtoBuf.ProtoMember(12)] + public bool ipv6_remote + { + get { return __pbn__ipv6_remote.GetValueOrDefault(); } + set { __pbn__ipv6_remote = value; } + } + public bool ShouldSerializeipv6_remote() => __pbn__ipv6_remote != null; + public void Resetipv6_remote() => __pbn__ipv6_remote = null; + private bool? __pbn__ipv6_remote; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgEcon.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgEcon.cs index 0b0ead686..5558935f5 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgEcon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgEcon.cs @@ -474,6 +474,28 @@ public string item_expiration public void Resetitem_expiration() => __pbn__item_expiration = null; private string __pbn__item_expiration; + [global::ProtoBuf.ProtoMember(30)] + [global::System.ComponentModel.DefaultValue("")] + public string market_buy_country_restriction + { + get { return __pbn__market_buy_country_restriction ?? ""; } + set { __pbn__market_buy_country_restriction = value; } + } + public bool ShouldSerializemarket_buy_country_restriction() => __pbn__market_buy_country_restriction != null; + public void Resetmarket_buy_country_restriction() => __pbn__market_buy_country_restriction = null; + private string __pbn__market_buy_country_restriction; + + [global::ProtoBuf.ProtoMember(31)] + [global::System.ComponentModel.DefaultValue("")] + public string market_sell_country_restriction + { + get { return __pbn__market_sell_country_restriction ?? ""; } + set { __pbn__market_sell_country_restriction = value; } + } + public bool ShouldSerializemarket_sell_country_restriction() => __pbn__market_sell_country_restriction != null; + public void Resetmarket_sell_country_restriction() => __pbn__market_sell_country_restriction = null; + private string __pbn__market_sell_country_restriction; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgFriendMessages.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgFriendMessages.cs index deee426a7..6b8e0a941 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgFriendMessages.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgFriendMessages.cs @@ -196,6 +196,16 @@ public uint lastmessage_since public void Resetlastmessage_since() => __pbn__lastmessage_since = null; private uint? __pbn__lastmessage_since; + [global::ProtoBuf.ProtoMember(2)] + public bool only_sessions_with_messages + { + get { return __pbn__only_sessions_with_messages.GetValueOrDefault(); } + set { __pbn__only_sessions_with_messages = value; } + } + public bool ShouldSerializeonly_sessions_with_messages() => __pbn__only_sessions_with_messages != null; + public void Resetonly_sessions_with_messages() => __pbn__only_sessions_with_messages = null; + private bool? __pbn__only_sessions_with_messages; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParental.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParental.cs index 96c87b7a6..440831372 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParental.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParental.cs @@ -142,6 +142,16 @@ public string recovery_email public void Resetrecovery_email() => __pbn__recovery_email = null; private string __pbn__recovery_email; + [global::ProtoBuf.ProtoMember(12)] + public bool is_site_license_lock + { + get { return __pbn__is_site_license_lock.GetValueOrDefault(); } + set { __pbn__is_site_license_lock = value; } + } + public bool ShouldSerializeis_site_license_lock() => __pbn__is_site_license_lock != null; + public void Resetis_site_license_lock() => __pbn__is_site_license_lock = null; + private bool? __pbn__is_site_license_lock; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPlayer.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPlayer.cs index c4d45a724..e26bf3852 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPlayer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPlayer.cs @@ -195,6 +195,151 @@ public bool owned } + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_GetFriendsAppsActivity_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)] + [global::System.ComponentModel.DefaultValue("")] + public string news_language + { + get { return __pbn__news_language ?? ""; } + set { __pbn__news_language = value; } + } + public bool ShouldSerializenews_language() => __pbn__news_language != null; + public void Resetnews_language() => __pbn__news_language = null; + private string __pbn__news_language; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_GetFriendsAppsActivity_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 global::System.Collections.Generic.List trending { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List recent_purchases { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List unowned { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List popular { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public global::System.Collections.Generic.List dont_forget { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(6)] + public global::System.Collections.Generic.List being_discussed { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(7)] + public global::System.Collections.Generic.List new_to_group { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(8)] + public global::System.Collections.Generic.List returned_to_group { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(9)] + [global::System.ComponentModel.DefaultValue(0)] + public uint active_friend_count + { + get { return __pbn__active_friend_count ?? 0; } + set { __pbn__active_friend_count = value; } + } + public bool ShouldSerializeactive_friend_count() => __pbn__active_friend_count != null; + public void Resetactive_friend_count() => __pbn__active_friend_count = null; + private uint? __pbn__active_friend_count; + + [global::ProtoBuf.ProtoContract()] + public partial class FriendPlayTime : 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 { return __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 minutes_played_this_week + { + get { return __pbn__minutes_played_this_week.GetValueOrDefault(); } + set { __pbn__minutes_played_this_week = value; } + } + public bool ShouldSerializeminutes_played_this_week() => __pbn__minutes_played_this_week != null; + public void Resetminutes_played_this_week() => __pbn__minutes_played_this_week = null; + private uint? __pbn__minutes_played_this_week; + + [global::ProtoBuf.ProtoMember(3)] + public uint minutes_played_two_weeks + { + get { return __pbn__minutes_played_two_weeks.GetValueOrDefault(); } + set { __pbn__minutes_played_two_weeks = value; } + } + public bool ShouldSerializeminutes_played_two_weeks() => __pbn__minutes_played_two_weeks != null; + public void Resetminutes_played_two_weeks() => __pbn__minutes_played_two_weeks = null; + private uint? __pbn__minutes_played_two_weeks; + + [global::ProtoBuf.ProtoMember(4)] + public uint minutes_played_forever + { + get { return __pbn__minutes_played_forever.GetValueOrDefault(); } + set { __pbn__minutes_played_forever = value; } + } + public bool ShouldSerializeminutes_played_forever() => __pbn__minutes_played_forever != null; + public void Resetminutes_played_forever() => __pbn__minutes_played_forever = null; + private uint? __pbn__minutes_played_forever; + + [global::ProtoBuf.ProtoMember(5)] + public uint event_count + { + get { return __pbn__event_count.GetValueOrDefault(); } + set { __pbn__event_count = value; } + } + public bool ShouldSerializeevent_count() => __pbn__event_count != null; + public void Resetevent_count() => __pbn__event_count = null; + private uint? __pbn__event_count; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class AppFriendsInfo : 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 { return __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 global::System.Collections.Generic.List friends { get; } = new global::System.Collections.Generic.List(); + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CPlayer_GetGameBadgeLevels_Request : global::ProtoBuf.IExtensible { @@ -356,6 +501,162 @@ public uint time_received } + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_PostStatusToFriends_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 { return __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 status_text + { + get { return __pbn__status_text ?? ""; } + set { __pbn__status_text = value; } + } + public bool ShouldSerializestatus_text() => __pbn__status_text != null; + public void Resetstatus_text() => __pbn__status_text = null; + private string __pbn__status_text; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_PostStatusToFriends_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_GetPostedStatus_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 { return __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 ulong postid + { + get { return __pbn__postid.GetValueOrDefault(); } + set { __pbn__postid = value; } + } + public bool ShouldSerializepostid() => __pbn__postid != null; + public void Resetpostid() => __pbn__postid = null; + private ulong? __pbn__postid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_GetPostedStatus_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 accountid + { + get { return __pbn__accountid.GetValueOrDefault(); } + set { __pbn__accountid = value; } + } + public bool ShouldSerializeaccountid() => __pbn__accountid != null; + public void Resetaccountid() => __pbn__accountid = null; + private uint? __pbn__accountid; + + [global::ProtoBuf.ProtoMember(2)] + public ulong postid + { + get { return __pbn__postid.GetValueOrDefault(); } + set { __pbn__postid = value; } + } + public bool ShouldSerializepostid() => __pbn__postid != null; + public void Resetpostid() => __pbn__postid = null; + private ulong? __pbn__postid; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string status_text + { + get { return __pbn__status_text ?? ""; } + set { __pbn__status_text = value; } + } + public bool ShouldSerializestatus_text() => __pbn__status_text != null; + public void Resetstatus_text() => __pbn__status_text = null; + private string __pbn__status_text; + + [global::ProtoBuf.ProtoMember(4)] + public bool deleted + { + get { return __pbn__deleted.GetValueOrDefault(); } + set { __pbn__deleted = value; } + } + public bool ShouldSerializedeleted() => __pbn__deleted != null; + public void Resetdeleted() => __pbn__deleted = null; + private bool? __pbn__deleted; + + [global::ProtoBuf.ProtoMember(5)] + public uint appid + { + get { return __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.ProtoContract()] + public partial class CPlayer_DeletePostedStatus_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 postid + { + get { return __pbn__postid.GetValueOrDefault(); } + set { __pbn__postid = value; } + } + public bool ShouldSerializepostid() => __pbn__postid != null; + public void Resetpostid() => __pbn__postid = null; + private ulong? __pbn__postid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_DeletePostedStatus_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_GetLastPlayedTimes_Request : global::ProtoBuf.IExtensible { @@ -442,6 +743,96 @@ public uint first_playtime public void Resetfirst_playtime() => __pbn__first_playtime = null; private uint? __pbn__first_playtime; + [global::ProtoBuf.ProtoMember(6)] + public int playtime_windows_forever + { + get { return __pbn__playtime_windows_forever.GetValueOrDefault(); } + set { __pbn__playtime_windows_forever = value; } + } + public bool ShouldSerializeplaytime_windows_forever() => __pbn__playtime_windows_forever != null; + public void Resetplaytime_windows_forever() => __pbn__playtime_windows_forever = null; + private int? __pbn__playtime_windows_forever; + + [global::ProtoBuf.ProtoMember(7)] + public int playtime_mac_forever + { + get { return __pbn__playtime_mac_forever.GetValueOrDefault(); } + set { __pbn__playtime_mac_forever = value; } + } + public bool ShouldSerializeplaytime_mac_forever() => __pbn__playtime_mac_forever != null; + public void Resetplaytime_mac_forever() => __pbn__playtime_mac_forever = null; + private int? __pbn__playtime_mac_forever; + + [global::ProtoBuf.ProtoMember(8)] + public int playtime_linux_forever + { + get { return __pbn__playtime_linux_forever.GetValueOrDefault(); } + set { __pbn__playtime_linux_forever = value; } + } + public bool ShouldSerializeplaytime_linux_forever() => __pbn__playtime_linux_forever != null; + public void Resetplaytime_linux_forever() => __pbn__playtime_linux_forever = null; + private int? __pbn__playtime_linux_forever; + + [global::ProtoBuf.ProtoMember(9)] + public uint first_windows_playtime + { + get { return __pbn__first_windows_playtime.GetValueOrDefault(); } + set { __pbn__first_windows_playtime = value; } + } + public bool ShouldSerializefirst_windows_playtime() => __pbn__first_windows_playtime != null; + public void Resetfirst_windows_playtime() => __pbn__first_windows_playtime = null; + private uint? __pbn__first_windows_playtime; + + [global::ProtoBuf.ProtoMember(10)] + public uint first_mac_playtime + { + get { return __pbn__first_mac_playtime.GetValueOrDefault(); } + set { __pbn__first_mac_playtime = value; } + } + public bool ShouldSerializefirst_mac_playtime() => __pbn__first_mac_playtime != null; + public void Resetfirst_mac_playtime() => __pbn__first_mac_playtime = null; + private uint? __pbn__first_mac_playtime; + + [global::ProtoBuf.ProtoMember(11)] + public uint first_linux_playtime + { + get { return __pbn__first_linux_playtime.GetValueOrDefault(); } + set { __pbn__first_linux_playtime = value; } + } + public bool ShouldSerializefirst_linux_playtime() => __pbn__first_linux_playtime != null; + public void Resetfirst_linux_playtime() => __pbn__first_linux_playtime = null; + private uint? __pbn__first_linux_playtime; + + [global::ProtoBuf.ProtoMember(12)] + public uint last_windows_playtime + { + get { return __pbn__last_windows_playtime.GetValueOrDefault(); } + set { __pbn__last_windows_playtime = value; } + } + public bool ShouldSerializelast_windows_playtime() => __pbn__last_windows_playtime != null; + public void Resetlast_windows_playtime() => __pbn__last_windows_playtime = null; + private uint? __pbn__last_windows_playtime; + + [global::ProtoBuf.ProtoMember(13)] + public uint last_mac_playtime + { + get { return __pbn__last_mac_playtime.GetValueOrDefault(); } + set { __pbn__last_mac_playtime = value; } + } + public bool ShouldSerializelast_mac_playtime() => __pbn__last_mac_playtime != null; + public void Resetlast_mac_playtime() => __pbn__last_mac_playtime = null; + private uint? __pbn__last_mac_playtime; + + [global::ProtoBuf.ProtoMember(14)] + public uint last_linux_playtime + { + get { return __pbn__last_linux_playtime.GetValueOrDefault(); } + set { __pbn__last_linux_playtime = value; } + } + public bool ShouldSerializelast_linux_playtime() => __pbn__last_linux_playtime != null; + public void Resetlast_linux_playtime() => __pbn__last_linux_playtime = null; + private uint? __pbn__last_linux_playtime; + } } @@ -1146,6 +1537,16 @@ public int seconds public void Resetseconds() => __pbn__seconds = null; private int? __pbn__seconds; + [global::ProtoBuf.ProtoMember(3)] + public int seconds_today + { + get { return __pbn__seconds_today.GetValueOrDefault(); } + set { __pbn__seconds_today = value; } + } + public bool ShouldSerializeseconds_today() => __pbn__seconds_today != null; + public void Resetseconds_today() => __pbn__seconds_today = null; + private int? __pbn__seconds_today; + } [global::ProtoBuf.ProtoContract()] @@ -1319,8 +1720,12 @@ public interface IPlayer { CPlayer_GetMutualFriendsForIncomingInvites_Response GetMutualFriendsForIncomingInvites(CPlayer_GetMutualFriendsForIncomingInvites_Request request); CPlayer_GetFriendsGameplayInfo_Response GetFriendsGameplayInfo(CPlayer_GetFriendsGameplayInfo_Request request); + CPlayer_GetFriendsAppsActivity_Response GetFriendsAppsActivity(CPlayer_GetFriendsAppsActivity_Request request); CPlayer_GetGameBadgeLevels_Response GetGameBadgeLevels(CPlayer_GetGameBadgeLevels_Request request); CPlayer_GetEmoticonList_Response GetEmoticonList(CPlayer_GetEmoticonList_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); CPlayer_GetLastPlayedTimes_Response ClientGetLastPlayedTimes(CPlayer_GetLastPlayedTimes_Request request); CPlayer_AcceptSSA_Response AcceptSSA(CPlayer_AcceptSSA_Request request); CPlayer_GetNicknameList_Response GetNicknameList(CPlayer_GetNicknameList_Request request); diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs index 322fb7425..570454bba 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs @@ -496,6 +496,17 @@ public bool strip_description_bbcode public void Resetstrip_description_bbcode() => __pbn__strip_description_bbcode = null; private bool? __pbn__strip_description_bbcode; + [global::ProtoBuf.ProtoMember(16)] + [global::System.ComponentModel.DefaultValue(EPublishedFileRevision.k_EPublishedFileRevision_Default)] + public EPublishedFileRevision desired_revision + { + get { return __pbn__desired_revision ?? EPublishedFileRevision.k_EPublishedFileRevision_Default; } + set { __pbn__desired_revision = value; } + } + public bool ShouldSerializedesired_revision() => __pbn__desired_revision != null; + public void Resetdesired_revision() => __pbn__desired_revision = null; + private EPublishedFileRevision? __pbn__desired_revision; + } [global::ProtoBuf.ProtoContract()] @@ -1110,6 +1121,30 @@ public bool maybe_inappropriate_violence public void Resetmaybe_inappropriate_violence() => __pbn__maybe_inappropriate_violence = null; private bool? __pbn__maybe_inappropriate_violence; + [global::ProtoBuf.ProtoMember(67)] + public ulong revision_change_number + { + get { return __pbn__revision_change_number.GetValueOrDefault(); } + set { __pbn__revision_change_number = value; } + } + public bool ShouldSerializerevision_change_number() => __pbn__revision_change_number != null; + public void Resetrevision_change_number() => __pbn__revision_change_number = null; + private ulong? __pbn__revision_change_number; + + [global::ProtoBuf.ProtoMember(68)] + [global::System.ComponentModel.DefaultValue(EPublishedFileRevision.k_EPublishedFileRevision_Default)] + public EPublishedFileRevision revision + { + get { return __pbn__revision ?? EPublishedFileRevision.k_EPublishedFileRevision_Default; } + set { __pbn__revision = value; } + } + public bool ShouldSerializerevision() => __pbn__revision != null; + public void Resetrevision() => __pbn__revision = null; + private EPublishedFileRevision? __pbn__revision; + + [global::ProtoBuf.ProtoMember(69)] + public global::System.Collections.Generic.List available_revisions { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoContract()] public partial class Tag : global::ProtoBuf.IExtensible { @@ -1512,6 +1547,17 @@ public uint time_updated public void Resettime_updated() => __pbn__time_updated = null; private uint? __pbn__time_updated; + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(EPublishedFileRevision.k_EPublishedFileRevision_Default)] + public EPublishedFileRevision desired_revision + { + get { return __pbn__desired_revision ?? EPublishedFileRevision.k_EPublishedFileRevision_Default; } + set { __pbn__desired_revision = value; } + } + public bool ShouldSerializedesired_revision() => __pbn__desired_revision != null; + public void Resetdesired_revision() => __pbn__desired_revision = null; + private EPublishedFileRevision? __pbn__desired_revision; + } } @@ -1536,6 +1582,9 @@ public uint update_time [global::ProtoBuf.ProtoMember(2)] public global::System.Collections.Generic.List workshop_items { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, 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 { @@ -1854,6 +1903,17 @@ public bool strip_description_bbcode public void Resetstrip_description_bbcode() => __pbn__strip_description_bbcode = null; private bool? __pbn__strip_description_bbcode; + [global::ProtoBuf.ProtoMember(33)] + [global::System.ComponentModel.DefaultValue(EPublishedFileRevision.k_EPublishedFileRevision_Default)] + public EPublishedFileRevision desired_revision + { + get { return __pbn__desired_revision ?? EPublishedFileRevision.k_EPublishedFileRevision_Default; } + set { __pbn__desired_revision = value; } + } + public bool ShouldSerializedesired_revision() => __pbn__desired_revision != null; + public void Resetdesired_revision() => __pbn__desired_revision = null; + private EPublishedFileRevision? __pbn__desired_revision; + [global::ProtoBuf.ProtoContract()] public partial class KVTag : global::ProtoBuf.IExtensible { @@ -2425,6 +2485,17 @@ public uint desired_queue_size public void Resetdesired_queue_size() => __pbn__desired_queue_size = null; private uint? __pbn__desired_queue_size; + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue(EPublishedFileRevision.k_EPublishedFileRevision_Default)] + public EPublishedFileRevision desired_revision + { + get { return __pbn__desired_revision ?? EPublishedFileRevision.k_EPublishedFileRevision_Default; } + set { __pbn__desired_revision = value; } + } + public bool ShouldSerializedesired_revision() => __pbn__desired_revision != null; + public void Resetdesired_revision() => __pbn__desired_revision = null; + private EPublishedFileRevision? __pbn__desired_revision; + } [global::ProtoBuf.ProtoContract()] @@ -2735,6 +2806,17 @@ public bool strip_description_bbcode public void Resetstrip_description_bbcode() => __pbn__strip_description_bbcode = null; private bool? __pbn__strip_description_bbcode; + [global::ProtoBuf.ProtoMember(40)] + [global::System.ComponentModel.DefaultValue(EPublishedFileRevision.k_EPublishedFileRevision_Default)] + public EPublishedFileRevision desired_revision + { + get { return __pbn__desired_revision ?? EPublishedFileRevision.k_EPublishedFileRevision_Default; } + set { __pbn__desired_revision = value; } + } + public bool ShouldSerializedesired_revision() => __pbn__desired_revision != null; + public void Resetdesired_revision() => __pbn__desired_revision = null; + private EPublishedFileRevision? __pbn__desired_revision; + [global::ProtoBuf.ProtoContract()] public partial class KVTag : global::ProtoBuf.IExtensible { @@ -3183,6 +3265,79 @@ public partial class CPublishedFile_RemoveChild_Response : global::ProtoBuf.IExt } + [global::ProtoBuf.ProtoContract()] + public partial class CPublishedFile_GetUserVoteSummary_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, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public global::System.Collections.Generic.List publishedfileids { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPublishedFile_GetUserVoteSummary_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 global::System.Collections.Generic.List summaries { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class VoteSummary : 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 publishedfileid + { + get { return __pbn__publishedfileid.GetValueOrDefault(); } + set { __pbn__publishedfileid = value; } + } + public bool ShouldSerializepublishedfileid() => __pbn__publishedfileid != null; + public void Resetpublishedfileid() => __pbn__publishedfileid = null; + private ulong? __pbn__publishedfileid; + + [global::ProtoBuf.ProtoMember(2)] + public bool vote_for + { + get { return __pbn__vote_for.GetValueOrDefault(); } + set { __pbn__vote_for = value; } + } + public bool ShouldSerializevote_for() => __pbn__vote_for != null; + public void Resetvote_for() => __pbn__vote_for = null; + private bool? __pbn__vote_for; + + [global::ProtoBuf.ProtoMember(3)] + public bool vote_against + { + get { return __pbn__vote_against.GetValueOrDefault(); } + set { __pbn__vote_against = value; } + } + public bool ShouldSerializevote_against() => __pbn__vote_against != null; + public void Resetvote_against() => __pbn__vote_against = null; + private bool? __pbn__vote_against; + + [global::ProtoBuf.ProtoMember(4)] + public bool reported + { + get { return __pbn__reported.GetValueOrDefault(); } + set { __pbn__reported = value; } + } + public bool ShouldSerializereported() => __pbn__reported != null; + public void Resetreported() => __pbn__reported = null; + private bool? __pbn__reported; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CPublishedFile_FileSubscribed_Notification : global::ProtoBuf.IExtensible { @@ -3260,6 +3415,49 @@ public uint rtime_updated public void Resetrtime_updated() => __pbn__rtime_updated = null; private uint? __pbn__rtime_updated; + [global::ProtoBuf.ProtoMember(8)] + public global::System.Collections.Generic.List revisions { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class RevisionData : 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(EPublishedFileRevision.k_EPublishedFileRevision_Default)] + public EPublishedFileRevision revision + { + get { return __pbn__revision ?? EPublishedFileRevision.k_EPublishedFileRevision_Default; } + set { __pbn__revision = value; } + } + public bool ShouldSerializerevision() => __pbn__revision != null; + public void Resetrevision() => __pbn__revision = null; + private EPublishedFileRevision? __pbn__revision; + + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong file_hcontent + { + get { return __pbn__file_hcontent.GetValueOrDefault(); } + set { __pbn__file_hcontent = value; } + } + public bool ShouldSerializefile_hcontent() => __pbn__file_hcontent != null; + public void Resetfile_hcontent() => __pbn__file_hcontent = null; + private ulong? __pbn__file_hcontent; + + [global::ProtoBuf.ProtoMember(3)] + public uint rtime_updated + { + get { return __pbn__rtime_updated.GetValueOrDefault(); } + set { __pbn__rtime_updated = value; } + } + public bool ShouldSerializertime_updated() => __pbn__rtime_updated != null; + public void Resetrtime_updated() => __pbn__rtime_updated = null; + private uint? __pbn__rtime_updated; + + } + } [global::ProtoBuf.ProtoContract()] @@ -3320,6 +3518,17 @@ public uint app_id } + [global::ProtoBuf.ProtoContract()] + public enum EPublishedFileRevision + { + k_EPublishedFileRevision_Default = 0, + k_EPublishedFileRevision_Latest = 1, + k_EPublishedFileRevision_ApprovedSnapshot = 2, + k_EPublishedFileRevision_ApprovedSnapshot_China = 3, + k_EPublishedFileRevision_RejectedSnapshot = 4, + k_EPublishedFileRevision_RejectedSnapshot_China = 5, + } + [global::ProtoBuf.ProtoContract()] public enum EPublishedFileForSaleStatus { @@ -3355,6 +3564,7 @@ public interface IPublishedFile CPublishedFile_SetPlaytimeForControllerConfigs_Response SetPlaytimeForControllerConfigs(CPublishedFile_SetPlaytimeForControllerConfigs_Request request); CPublishedFile_AddChild_Response AddChild(CPublishedFile_AddChild_Request request); CPublishedFile_RemoveChild_Response RemoveChild(CPublishedFile_RemoveChild_Request request); + CPublishedFile_GetUserVoteSummary_Response GetUserVoteSummary(CPublishedFile_GetUserVoteSummary_Request request); } public interface IPublishedFileClient diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUserAccount.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUserAccount.cs index 55625fb87..9ec5717d1 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUserAccount.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUserAccount.cs @@ -46,6 +46,34 @@ public uint identity_verification } + [global::ProtoBuf.ProtoContract()] + public partial class CUserAccount_CancelLicenseForApp_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 { return __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.ProtoContract()] + public partial class CUserAccount_CancelLicenseForApp_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 CUserAccount_CreateFriendInviteToken_Request : global::ProtoBuf.IExtensible { @@ -480,6 +508,117 @@ public bool is_valid } + [global::ProtoBuf.ProtoContract()] + public partial class CEmbeddedClient_AuthorizeCurrentDevice_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, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get { return __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 { return __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)] + [global::System.ComponentModel.DefaultValue("")] + public string device_info + { + get { return __pbn__device_info ?? ""; } + set { __pbn__device_info = value; } + } + public bool ShouldSerializedevice_info() => __pbn__device_info != null; + public void Resetdevice_info() => __pbn__device_info = null; + private string __pbn__device_info; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CEmbeddedClient_Token : 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 { return __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 byte[] client_token + { + get { return __pbn__client_token; } + set { __pbn__client_token = value; } + } + public bool ShouldSerializeclient_token() => __pbn__client_token != null; + public void Resetclient_token() => __pbn__client_token = null; + private byte[] __pbn__client_token; + + [global::ProtoBuf.ProtoMember(3)] + public uint expiry + { + get { return __pbn__expiry.GetValueOrDefault(); } + set { __pbn__expiry = value; } + } + public bool ShouldSerializeexpiry() => __pbn__expiry != null; + public void Resetexpiry() => __pbn__expiry = null; + private uint? __pbn__expiry; + + [global::ProtoBuf.ProtoMember(4)] + public uint deviceid + { + get { return __pbn__deviceid.GetValueOrDefault(); } + set { __pbn__deviceid = value; } + } + public bool ShouldSerializedeviceid() => __pbn__deviceid != null; + public void Resetdeviceid() => __pbn__deviceid = null; + private uint? __pbn__deviceid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CEmbeddedClient_AuthorizeDevice_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 result + { + get { return __pbn__result.GetValueOrDefault(); } + set { __pbn__result = value; } + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private uint? __pbn__result; + + [global::ProtoBuf.ProtoMember(2)] + public CEmbeddedClient_Token token { get; set; } + + } + [global::ProtoBuf.ProtoContract()] public enum EInternalAccountType { @@ -505,6 +644,7 @@ public enum EExternalAccountType public interface IUserAccount { CUserAccount_GetAccountLinkStatus_Response GetAccountLinkStatus(CUserAccount_GetAccountLinkStatus_Request request); + CUserAccount_CancelLicenseForApp_Response CancelLicenseForApp(CUserAccount_CancelLicenseForApp_Request request); CUserAccount_CreateFriendInviteToken_Response CreateFriendInviteToken(CUserAccount_CreateFriendInviteToken_Request request); CUserAccount_GetFriendInviteTokens_Response GetFriendInviteTokens(CUserAccount_GetFriendInviteTokens_Request request); CUserAccount_ViewFriendInviteToken_Response ViewFriendInviteToken(CUserAccount_ViewFriendInviteToken_Request request); @@ -518,6 +658,11 @@ public interface IAccountLinking CAccountLinking_GetLinkedAccountInfo_Response GetLinkedAccountInfo(CAccountLinking_GetLinkedAccountInfo_Request request); } + public interface IEmbeddedClient + { + CEmbeddedClient_AuthorizeDevice_Response AuthorizeCurrentDevice(CEmbeddedClient_AuthorizeCurrentDevice_Request request); + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Steam/CDNClient.cs b/SteamKit2/SteamKit2/Steam/CDNClient.cs index 396c53fb6..038a842af 100644 --- a/SteamKit2/SteamKit2/Steam/CDNClient.cs +++ b/SteamKit2/SteamKit2/Steam/CDNClient.cs @@ -265,125 +265,6 @@ public CDNClient( SteamClient steamClient, byte[]? appTicket = null ) this.depotCdnAuthKeys = new ConcurrentDictionary(); } - - /// - /// Fetches a list of content servers. - /// - /// - /// The optional Steam3 content server to fetch the list from. - /// If this parameter is not specified, a random CS server will be selected. - /// - /// - /// The optional CellID used to specify which regional servers should be returned in the list. - /// If this parameter is not specified, Steam's GeoIP suggested CellID will be used instead. - /// - /// The maximum amount of servers to request. - /// A list of servers. - /// - /// No Steam CS servers available, or the suggested CellID is unavailable. - /// Check that the associated with this instance is logged onto Steam. - /// - /// An network error occurred when performing the request. - /// A network error occurred when performing the request. - public async Task> FetchServerListAsync( IPEndPoint? csServer = null, uint? cellId = null, int maxServers = 20 ) - { - DebugLog.Assert( steamClient.IsConnected, "CDNClient", "CMClient is not connected!" ); - DebugLog.Assert( steamClient.CellID != null, "CDNClient", "CMClient is not logged on!" ); - - if ( csServer == null ) - { - // if we're not specifying what CS server we want to fetch a server list from, randomly select a cached CS server - var csServers = steamClient.GetServersOfType( EServerType.CS ); - - if ( csServers.Count == 0 ) - { - // steamclient doesn't know about any CS servers yet - throw new InvalidOperationException( "No CS servers available!" ); - } - - Random random = new Random(); - csServer = csServers[ random.Next( csServers.Count ) ]; - } - - if ( cellId == null ) - { - if ( steamClient.CellID == null ) - throw new InvalidOperationException( "Recommended CellID is not available. CMClient not logged on?" ); - - // fallback to recommended cellid - cellId = steamClient.CellID.Value; - } - - var serverKv = await DoCommandAsync( csServer, HttpMethod.Get, "serverlist", args: string.Format( "{0}/{1}/", cellId, maxServers ) ).ConfigureAwait( false ); - - var serverList = new List( maxServers ); - - if ( serverKv[ "deferred" ].AsBoolean() ) - { - return serverList; - } - - foreach ( var server in serverKv.Children ) - { - var type = server[ "type" ].AsString(); - var host = server[ "host" ].AsString(); - var vhost = server[ "vhost" ].AsString(); - - if ( host is null ) - { - DebugLog.WriteLine( nameof( CDNClient ), "Encountered server list entry with no 'host' property." ); - continue; - } - - string[] hostSplits = host.Split( ':' ); - - int port = 80; - if ( hostSplits.Length > 1 ) - { - int parsedPort; - if ( int.TryParse( hostSplits[ 1 ], out parsedPort ) ) - { - port = parsedPort; - } - } - - uint serverCell = ( uint )server[ "cell" ].AsInteger(); - int load = server[ "load" ].AsInteger(); - int weightedLoad = server[ "weightedload" ].AsInteger(); - int entries = server[ "NumEntriesInClientList" ].AsInteger( 1 ); - int useTokenAuth = server[ "usetokenauth" ].AsInteger(); - var httpsSupport = server[ "https_support" ].AsString(); - - // If usetokenauth is specified, we can treat this server as a CDN and request tokens - if ( useTokenAuth > 0 ) - { - type = "CDN"; - } - - Server.ConnectionProtocol protocol = ( httpsSupport == "optional" || httpsSupport == "mandatory" ) ? Server.ConnectionProtocol.HTTPS : Server.ConnectionProtocol.HTTP; - - serverList.Add( new Server - { - Protocol = protocol, - Host = host, - VHost = vhost, - Port = protocol == Server.ConnectionProtocol.HTTPS ? 443 : port, - - Type = type, - - CellID = serverCell, - - Load = load, - WeightedLoad = weightedLoad, - NumEntries = entries - } ); - - } - - return serverList; - } - - /// /// Connects and initializes a session to the specified content server. /// diff --git a/SteamKit2/SteamKit2/Steam/CMClient.cs b/SteamKit2/SteamKit2/Steam/CMClient.cs index ed81e4a18..29459cdf6 100644 --- a/SteamKit2/SteamKit2/Steam/CMClient.cs +++ b/SteamKit2/SteamKit2/Steam/CMClient.cs @@ -117,8 +117,6 @@ public abstract class CMClient ScheduledFunction heartBeatFunc; - Dictionary> serverMap; - /// /// Initializes a new instance of the class with a specific configuration. /// @@ -127,7 +125,6 @@ public abstract class CMClient public CMClient( SteamConfiguration configuration ) { Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); - serverMap = new Dictionary>(); heartBeatFunc = new ScheduledFunction( () => { @@ -294,20 +291,6 @@ public void Send( IClientMsg msg ) } - /// - /// Returns the list of servers matching the given type - /// - /// Server type requested - /// List of server endpoints - public List GetServersOfType( EServerType type ) - { - if ( !serverMap.TryGetValue( type, out var set ) ) - return new List(); - - return set.ToList(); - } - - /// /// Called when a client message is received from the network. /// @@ -350,10 +333,6 @@ protected virtual bool OnClientMsgReceived( [NotNullWhen(true)] IPacketMsg? pack HandleLoggedOff( packetMsg ); break; - case EMsg.ClientServerList: // Steam server list - HandleServerList( packetMsg ); - break; - case EMsg.ClientCMList: HandleCMList( packetMsg ); break; @@ -376,10 +355,6 @@ protected virtual void OnClientConnected() /// protected virtual void OnClientDisconnected( bool userInitiated ) { - foreach ( var set in serverMap.Values ) - { - set.Clear(); - } } IConnection CreateConnection( ProtocolTypes protocol ) @@ -552,7 +527,7 @@ void HandleLogOnResponse( IPacketMsg packetMsg ) SteamID = logonResp.ProtoHeader.steamid; CellID = logonResp.Body.cell_id; - PublicIP = NetHelpers.GetIPAddress(logonResp.Body.public_ip); + PublicIP = NetHelpers.GetIPAddress( logonResp.Body.deprecated_public_ip ); IPCountryCode = logonResp.Body.ip_country_code; int hbDelay = logonResp.Body.out_of_game_heartbeat_seconds; @@ -587,22 +562,6 @@ void HandleLoggedOff( IPacketMsg packetMsg ) } } } - void HandleServerList( IPacketMsg packetMsg ) - { - var listMsg = new ClientMsgProtobuf( packetMsg ); - - foreach ( var server in listMsg.Body.servers ) - { - var type = ( EServerType )server.server_type; - - if ( !serverMap.TryGetValue( type, out var endpointSet ) ) - { - serverMap[type] = endpointSet = new HashSet(); - } - - endpointSet.Add( new IPEndPoint( NetHelpers.GetIPAddress( server.server_ip ), ( int )server.server_port ) ); - } - } void HandleCMList( IPacketMsg packetMsg ) { var cmMsg = new ClientMsgProtobuf( packetMsg ); diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamGameServer/SteamGameServer.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamGameServer/SteamGameServer.cs index a664daa42..40669bc4e 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamGameServer/SteamGameServer.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamGameServer/SteamGameServer.cs @@ -120,7 +120,7 @@ public void LogOn( LogOnDetails details ) logon.ProtoHeader.steamid = gsId.ConvertToUInt64(); uint localIp = NetHelpers.GetIPAddress( this.Client.LocalIP! ); - logon.Body.obfustucated_private_ip = localIp ^ MsgClientLogon.ObfuscationMask; + logon.Body.deprecated_obfustucated_private_ip = localIp ^ MsgClientLogon.ObfuscationMask; logon.Body.protocol_version = MsgClientLogon.CurrentProtocol; @@ -155,7 +155,7 @@ public void LogOnAnonymous( uint appId = 0 ) logon.ProtoHeader.steamid = gsId.ConvertToUInt64(); uint localIp = NetHelpers.GetIPAddress( this.Client.LocalIP! ); - logon.Body.obfustucated_private_ip = localIp ^ MsgClientLogon.ObfuscationMask; + logon.Body.deprecated_obfustucated_private_ip = localIp ^ MsgClientLogon.ObfuscationMask; logon.Body.protocol_version = MsgClientLogon.CurrentProtocol; @@ -205,7 +205,7 @@ public void SendStatus(StatusDetails details) if (details.Address != null) { - status.Body.game_ip_address = NetHelpers.GetIPAddress( details.Address ); + status.Body.deprecated_game_ip_address = NetHelpers.GetIPAddress( details.Address ); } this.Client.Send( status ); diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamMasterServer/Callbacks.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamMasterServer/Callbacks.cs index 5dc8641d4..a55917048 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamMasterServer/Callbacks.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamMasterServer/Callbacks.cs @@ -36,7 +36,7 @@ public sealed class Server internal Server( CMsgGMSClientServerQueryResponse.Server server ) { EndPoint = new IPEndPoint( - NetHelpers.GetIPAddress( server.server_ip ), + NetHelpers.GetIPAddress( server.deprecated_server_ip ), ( int )server.server_port ); AuthedPlayers = server.auth_players; diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamMatchmaking/SteamMatchmaking.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamMatchmaking/SteamMatchmaking.cs index 4c5ff1277..6fe1ebe89 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamMatchmaking/SteamMatchmaking.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamMatchmaking/SteamMatchmaking.cs @@ -63,7 +63,7 @@ internal SteamMatchmaking() lobby_flags = lobbyFlags, metadata = Lobby.EncodeMetadata( metadata ), cell_id = Client.CellID.Value, - public_ip = NetHelpers.GetIPAddress( Client.PublicIP! ), + deprecated_public_ip = NetHelpers.GetIPAddress( Client.PublicIP! ), persona_name_owner = personaName }, SourceJobID = Client.GetNextJobID() @@ -187,7 +187,7 @@ public AsyncJob SetLobbyOwner( uint appId, SteamID lobbyS { app_id = appId, cell_id = Client.CellID.Value, - public_ip = NetHelpers.GetIPAddress( Client.PublicIP! ), + deprecated_public_ip = NetHelpers.GetIPAddress( Client.PublicIP! ), num_lobbies_requested = maxLobbies }, SourceJobID = Client.GetNextJobID() diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/Callbacks.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/Callbacks.cs index 2b65bae9e..b7d46d398 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/Callbacks.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/Callbacks.cs @@ -52,7 +52,7 @@ public string RpcName public string MethodName { get; private set; } - internal ServiceMethodResponse( JobID jobID, EResult result, CMsgClientServiceMethodResponse resp ) + internal ServiceMethodResponse( JobID jobID, EResult result, CMsgClientServiceMethodLegacyResponse resp ) { JobID = jobID; diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/SteamUnifiedMessages.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/SteamUnifiedMessages.cs index f283fe72b..341efd05d 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/SteamUnifiedMessages.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/SteamUnifiedMessages.cs @@ -129,7 +129,7 @@ public AsyncJob SendMessage( string name, TRequ throw new ArgumentNullException( nameof(message) ); } - var msg = new ClientMsgProtobuf( EMsg.ClientServiceMethodLegacy ); + var msg = new ClientMsgProtobuf( EMsg.ClientServiceMethodLegacy ); msg.SourceJobID = Client.GetNextJobID(); using ( var ms = new MemoryStream() ) @@ -183,7 +183,7 @@ public override void HandleMsg( IPacketMsg packetMsg ) #region ClientMsg Handlers void HandleClientServiceMethodResponse( IPacketMsg packetMsg ) { - var response = new ClientMsgProtobuf( packetMsg ); + var response = new ClientMsgProtobuf( packetMsg ); var callback = new ServiceMethodResponse(response.TargetJobID, (EResult)response.ProtoHeader.eresult, response.Body); Client.PostCallback( callback ); } diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/Callbacks.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/Callbacks.cs index 983d17e8c..0a9486b2b 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/Callbacks.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/Callbacks.cs @@ -128,7 +128,7 @@ internal LoggedOnCallback( CMsgClientLogonResponse resp ) this.OutOfGameSecsPerHeartbeat = resp.out_of_game_heartbeat_seconds; this.InGameSecsPerHeartbeat = resp.in_game_heartbeat_seconds; - this.PublicIP = NetHelpers.GetIPAddress( resp.public_ip ); + this.PublicIP = NetHelpers.GetIPAddress( resp.deprecated_public_ip ); this.ServerTime = DateUtils.DateTimeFromUnixTime( resp.rtime32_server_time ); diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/SteamUser.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/SteamUser.cs index 9a88e7e3f..2714b5e04 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/SteamUser.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/SteamUser.cs @@ -315,12 +315,12 @@ public void LogOn( LogOnDetails details ) if ( details.LoginID.HasValue ) { - logon.Body.obfustucated_private_ip = details.LoginID.Value; + logon.Body.deprecated_obfustucated_private_ip = details.LoginID.Value; } else { uint localIp = NetHelpers.GetIPAddress( this.Client.LocalIP! ); - logon.Body.obfustucated_private_ip = localIp ^ MsgClientLogon.ObfuscationMask; + logon.Body.deprecated_obfustucated_private_ip = localIp ^ MsgClientLogon.ObfuscationMask; } logon.ProtoHeader.client_sessionid = 0; diff --git a/SteamKit2/SteamKit2/Steam/SteamClient/Callbacks.cs b/SteamKit2/SteamKit2/Steam/SteamClient/Callbacks.cs index 6957e92e0..5c0627db3 100644 --- a/SteamKit2/SteamKit2/Steam/SteamClient/Callbacks.cs +++ b/SteamKit2/SteamKit2/Steam/SteamClient/Callbacks.cs @@ -65,26 +65,5 @@ internal CMListCallback( CMsgClientCMList cmMsg ) Servers = new ReadOnlyCollection( cmList.Concat( websocketList ).ToList() ); } } - - /// - /// This callback is fired when the client receives a list of all publically available Steam3 servers. - /// This callback may be fired multiple times for different server lists. - /// - public sealed class ServerListCallback : CallbackMsg - { - /// - /// Gets the server list. - /// - public Dictionary> Servers { get; private set; } - - - internal ServerListCallback( CMsgClientServerList serverList ) - { - Servers = serverList.servers - .Select( s => new { Type = ( EServerType )s.server_type, EndPoint = new IPEndPoint( NetHelpers.GetIPAddress( s.server_ip ), ( int )s.server_port ) } ) - .GroupBy( s => s.Type ) - .ToDictionary( grp => grp.Key, grp => new ReadOnlyCollection( grp.Select( s => s.EndPoint ).ToList() ) ); - } - } } -} \ No newline at end of file +} diff --git a/SteamKit2/SteamKit2/Steam/SteamClient/SteamClient.cs b/SteamKit2/SteamKit2/Steam/SteamClient/SteamClient.cs index fd9910826..6ce96cc73 100644 --- a/SteamKit2/SteamKit2/Steam/SteamClient/SteamClient.cs +++ b/SteamKit2/SteamKit2/Steam/SteamClient/SteamClient.cs @@ -80,7 +80,6 @@ public SteamClient( SteamConfiguration configuration ) dispatchMap = new Dictionary> { { EMsg.ClientCMList, HandleCMList }, - { EMsg.ClientServerList, HandleServerList }, // to support asyncjob life time { EMsg.JobHeartbeat, HandleJobHeartbeat }, @@ -409,12 +408,6 @@ void HandleCMList( IPacketMsg packetMsg ) PostCallback( new CMListCallback( cmMsg.Body ) ); } - void HandleServerList( IPacketMsg packetMsg ) - { - var listMsg = new ClientMsgProtobuf( packetMsg ); - - PostCallback( new ServerListCallback( listMsg.Body ) ); - } void HandleJobHeartbeat( IPacketMsg packetMsg ) { diff --git a/SteamKit2/SteamKit2/Steam/UFSClient/Callbacks.cs b/SteamKit2/SteamKit2/Steam/UFSClient/Callbacks.cs deleted file mode 100644 index 8e1ca9cdc..000000000 --- a/SteamKit2/SteamKit2/Steam/UFSClient/Callbacks.cs +++ /dev/null @@ -1,141 +0,0 @@ -/* - * This file is subject to the terms and conditions defined in - * file 'license.txt', which is part of this source code package. - */ - -using SteamKit2.Internal; - -namespace SteamKit2 -{ - public partial class UFSClient - { - /// - /// This callback is received after attempting to connect to the UFS server. - /// - public sealed class ConnectedCallback : CallbackMsg - { - internal ConnectedCallback() - { - } - } - - /// - /// This callback is received when the client is physically disconnected from the UFS server. - /// - public sealed class DisconnectedCallback : CallbackMsg - { - /// - /// If true, the disconnection was initiated by calling . - /// If false, the disconnection was the cause of something not user-controlled, such as a network failure or - /// a forcible disconnection by the remote server. - /// - public bool UserInitiated { get; private set; } - - internal DisconnectedCallback( bool userInitiated ) - { - this.UserInitiated = userInitiated; - } - } - - /// - /// This callback is returned in response to an attempt to log on to the UFS server through . - /// - public sealed class LoggedOnCallback : CallbackMsg - { - /// - /// Gets the result of the logon - /// - public EResult Result { get; private set; } - - - internal LoggedOnCallback( JobID jobID, CMsgClientUFSLoginResponse body ) - { - JobID = jobID; - - Result = ( EResult )body.eresult; - } - - - internal LoggedOnCallback( JobID jobID, EResult result ) - { - JobID = jobID; - - Result = result; - } - } - - /// - /// This callback is returned in response to a request to upload a file through . - /// - public sealed class UploadFileResponseCallback : CallbackMsg - { - /// - /// Gets the result of the upload request - /// - public EResult Result { get; private set; } - - /// - /// Gets whether or not the file upload should proceed over HTTP - /// - public bool UseHttp { get; private set; } - - /// - /// Gets whether or not the file upload should proceed over HTTPS - /// - public bool UseHttps { get; private set; } - - /// - /// Gets whether or not the file should be encrypted during upload - /// - public bool EncryptFile { get; private set; } - - /// - /// Gets the SHA hash of the file to be uploaded - /// - public byte[] ShaHash { get; private set; } - - /// - /// Gets the JobID on the UFS server. - /// - public JobID RemoteJobID { get; private set; } - - - internal UploadFileResponseCallback( JobID jobID, CMsgClientUFSUploadFileResponse body, JobID remoteJobID ) - { - JobID = jobID; - - Result = ( EResult )body.eresult; - UseHttp = body.use_http; - UseHttps = body.use_https; - EncryptFile = body.encrypt_file; - ShaHash = body.sha_file; - - RemoteJobID = remoteJobID; - } - } - - /// - /// This callback is returned when a file upload through is completed. - /// - public sealed class UploadFileFinishedCallback : CallbackMsg - { - /// - /// Gets the result of the file upload - /// - public EResult Result { get; private set; } - - /// - /// Gets the SHA hash of the file that was uploaded - /// - public byte[] ShaHash { get; private set; } - - internal UploadFileFinishedCallback( JobID jobID, CMsgClientUFSUploadFileFinished body ) - { - JobID = jobID; - - Result = (EResult)body.eresult; - ShaHash = body.sha_file; - } - } - } -} diff --git a/SteamKit2/SteamKit2/Steam/UFSClient/UFSClient.cs b/SteamKit2/SteamKit2/Steam/UFSClient/UFSClient.cs deleted file mode 100644 index 25d197a27..000000000 --- a/SteamKit2/SteamKit2/Steam/UFSClient/UFSClient.cs +++ /dev/null @@ -1,394 +0,0 @@ -/* - * This file is subject to the terms and conditions defined in - * file 'license.txt', which is part of this source code package. - */ - -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Net; -using System.Net.Sockets; -using System.Threading; -using SteamKit2.Internal; - -namespace SteamKit2 -{ - /// - /// Represents a single client that connects to a UFS server. - /// - public partial class UFSClient - { - /// - /// Gets the connected universe of this client. - /// This value will be if the client is not connected to Steam. - /// - /// The universe. - public EUniverse ConnectedUniverse { get; private set; } - - /// - /// Gets a value indicating whether this instance is connected to the remote UFS server. - /// - /// - /// true if this instance is connected; otherwise, false. - /// - public bool IsConnected { get { return ConnectedUniverse != EUniverse.Invalid; } } - - /// - /// Gets or sets the connection timeout used when connecting to the UFS server. - /// The default value is 5 seconds. - /// - /// - /// The connection timeout. - /// - public TimeSpan ConnectionTimeout { get; set; } - - - SteamClient steamClient; - - IConnection? connection; - - - /// - /// Initializes a new instance of the class. - /// - /// - /// The parent instance that the UFS connection is for. - /// Callbacks will also be posted through this instance. - /// - public UFSClient( SteamClient steamClient ) - { - this.steamClient = steamClient ?? throw new ArgumentNullException( nameof(steamClient) ); - - // our default timeout - ConnectionTimeout = TimeSpan.FromSeconds( 5 ); - } - - - /// - /// Connects this client to a UFS server. - /// This begins the process of connecting and encrypting the data channel between the client and the UFS server. - /// Results are returned asynchronously in a . - /// If the UFS server that this client attempts to connect to is down, a will be posted instead. - /// will not attempt to reconnect to Steam, you must handle this callback and call again, preferrably after a short delay. - /// In order to connect to the UFS server, the parent must be connected to the CM server. - /// - /// - /// The of the UFS server to connect to. - /// If null, will randomly select a UFS server from the 's list of servers. - /// - public void Connect( IPEndPoint? ufsServer = null ) - { - DebugLog.Assert( steamClient.IsConnected, nameof(UFSClient), "CMClient is not connected!" ); - - Disconnect(); - Debug.Assert( connection == null ); - - if ( ufsServer == null ) - { - var serverList = steamClient.GetServersOfType( EServerType.UFS ); - - if ( serverList.Count == 0 ) - { - DebugLog.WriteLine( nameof(UFSClient), "No UFS server addresses were provided yet." ); - Disconnected( this, new DisconnectedEventArgs( userInitiated: false ) ); - return; - } - - var random = new Random(); - ufsServer = serverList[ random.Next( serverList.Count ) ]; - } - - // steamclient has the connection type hardcoded as TCP - // todo: determine if UFS supports UDP and if we want to support it - connection = new EnvelopeEncryptedConnection( new TcpConnection(), steamClient.Universe ); - - connection.NetMsgReceived += NetMsgReceived; - connection.Connected += Connected; - connection.Disconnected += Disconnected; - - connection.Connect( ufsServer, ( int )ConnectionTimeout.TotalMilliseconds ); - } - - /// - /// Disconnects this client from the UFS server. - /// a will be posted upon disconnection. - /// - public void Disconnect() => Disconnect( userInitiated: true ); - - void Disconnect( bool userInitiated ) - { - connection?.Disconnect( userInitiated ); - Debug.Assert(connection == null); - } - - /// - /// Represents all the information required to upload a file to the UFS server. - /// - public sealed class UploadDetails - { - /// - /// Gets or sets the AppID this upload request is for. - /// - /// - /// The AppID. - /// - public uint AppID { get; set; } - - /// - /// Gets or sets the remote name of the file that is being uploaded. - /// - /// - /// The name of the file. - /// - public string? FileName { get; set; } - - /// - /// Gets or sets the physical file data for this upload. - /// - /// - /// The file data. - /// - public byte[]? FileData { get; set; } - - /// - /// Gets or sets the JobID of this file upload. This value should be assigned from . - /// - /// - /// The job ID. - /// - public JobID? RemoteJobID { get; set; } - } - - /// - /// Attempt to logon to the UFS and authorize the client for the given AppIDs. - /// The should be connected before this point. - /// Results are returned in a . - /// - /// The AppIDs to authorize when connecting to the UFS. - /// The Job ID of the request. This can be used to find the appropriate . - public JobID Logon( IEnumerable appIds ) - { - if ( appIds == null ) - { - throw new ArgumentNullException( nameof(appIds) ); - } - - var jobId = steamClient.GetNextJobID(); - - if ( !steamClient.IsConnected ) - { - var callback = new LoggedOnCallback( jobId, EResult.NoConnection ); - steamClient.PostCallback( callback ); - return jobId; - } - - var loginReq = new ClientMsgProtobuf( EMsg.ClientUFSLoginRequest ); - loginReq.SourceJobID = jobId; - - loginReq.Body.apps.AddRange( appIds ); - loginReq.Body.protocol_version = MsgClientLogon.CurrentProtocol; - loginReq.Body.am_session_token = steamClient.SessionToken; - - Send( loginReq ); - - return loginReq.SourceJobID; - } - - /// - /// Begins a request to upload a file to the UFS. - /// The should be logged on before this point. - /// Results are returned in a . - /// - /// The details to use for uploading the file. - /// The Job ID of the request. This can be used to find the appropriate . - public JobID RequestFileUpload( UploadDetails details ) - { - if ( details == null ) - { - throw new ArgumentNullException( nameof(details) ); - } - - var rawData = details.FileData ?? Array.Empty(); - - byte[] compressedData = ZipUtil.Compress( rawData ); - - var msg = new ClientMsgProtobuf( EMsg.ClientUFSUploadFileRequest ); - msg.SourceJobID = steamClient.GetNextJobID(); - - msg.Body.app_id = details.AppID; - msg.Body.can_encrypt = false; - msg.Body.file_name = details.FileName; - msg.Body.file_size = ( uint )compressedData.Length; - msg.Body.raw_file_size = ( uint )rawData.Length; - msg.Body.sha_file = CryptoHelper.SHAHash( rawData ); - msg.Body.time_stamp = DateUtils.DateTimeToUnixTime( DateTime.UtcNow ); - - Send( msg ); - - return msg.SourceJobID; - } - - /// - /// Uploads the actual contents of a file to the UFS. - /// The should be logged on before this point, and the previous request to upload a file must have completed successfully. - /// Results are returned in a . - /// - /// The details to use for uploading the file. - /// The Job ID of the request. This can be used to find the appropriate . - public void UploadFile( UploadDetails details ) - { - if ( details == null ) - { - throw new ArgumentNullException( nameof(details) ); - } - - const uint MaxBytesPerChunk = 10240; - - var rawData = details.FileData ?? Array.Empty(); - - byte[] compressedData = ZipUtil.Compress( rawData ); - byte[] fileHash = CryptoHelper.SHAHash( rawData ); - - var buffer = new byte[ MaxBytesPerChunk ]; - - using ( var ms = new MemoryStream( compressedData ) ) - { - for ( long readIndex = 0; readIndex < ms.Length; readIndex += buffer.Length ) - { - var msg = new ClientMsgProtobuf( EMsg.ClientUFSUploadFileChunk ); - msg.TargetJobID = details.RemoteJobID ?? JobID.Invalid; - - var bytesRead = ms.Read( buffer, 0, buffer.Length ); - - if ( bytesRead < buffer.Length ) - { - msg.Body.data = buffer.Take( bytesRead ).ToArray(); - } - else - { - msg.Body.data = buffer; - } - - msg.Body.file_start = ( uint )readIndex; - msg.Body.sha_file = fileHash; - - Send( msg ); - } - } - } - - - /// - /// Sends the specified client message to the UFS server. - /// This method will automatically assign the correct of the message, as given by the parent . - /// - /// The client message to send. - public void Send( IClientMsg msg ) - { - if ( msg == null ) - { - throw new ArgumentNullException( nameof(msg) ); - } - - msg.SteamID = steamClient.SteamID ?? new SteamID(); - - DebugLog.WriteLine( nameof(UFSClient), "Sent -> EMsg: {0} {1}", msg.MsgType, msg.IsProto ? "(Proto)" : "" ); - - // we'll swallow any network failures here because they will be thrown later - // on the network thread, and that will lead to a disconnect callback - // down the line - - if ( connection is { } conn ) - { - try - { - conn.Send( msg.Serialize() ); - } - catch ( IOException ) - { - } - catch ( SocketException ) - { - } - } - else - { - throw new InvalidOperationException( "Cannot send message when disconnected." ); - } - } - - - - void Connected( object sender, EventArgs e ) - { - steamClient.PostCallback(new ConnectedCallback()); - } - - void Disconnected( object sender, DisconnectedEventArgs e ) - { - ConnectedUniverse = EUniverse.Invalid; - - var oldConnection = Interlocked.Exchange( ref connection, null ); - if ( oldConnection != null ) - { - oldConnection.NetMsgReceived -= NetMsgReceived; - oldConnection.Connected -= Connected; - oldConnection.Disconnected -= Disconnected; - } - - steamClient.PostCallback( new DisconnectedCallback( e.UserInitiated ) ); - } - - void NetMsgReceived( object sender, NetMsgEventArgs e ) - { - var packetMsg = CMClient.GetPacketMsg( e.Data ); - - if ( packetMsg == null ) - { - DebugLog.WriteLine( nameof(UFSClient), "Packet message failed to parse, shutting down connection"); - Disconnect( userInitiated: false ); - return; - } - - DebugLog.WriteLine( nameof(UFSClient), "<- Recv'd EMsg: {0} ({1}) {2}", packetMsg.MsgType, ( int )packetMsg.MsgType, packetMsg.IsProto ? "(Proto)" : "" ); - - var msgDispatch = new Dictionary> - { - { EMsg.ClientUFSLoginResponse, HandleLoginResponse }, - { EMsg.ClientUFSUploadFileResponse, HandleUploadFileResponse }, - { EMsg.ClientUFSUploadFileFinished, HandleUploadFileFinished }, - }; - - if ( !msgDispatch.TryGetValue( packetMsg.MsgType, out var handlerFunc ) ) - { - return; - } - - handlerFunc( packetMsg ); - } - - - #region ClientMsg Handlers - void HandleLoginResponse( IPacketMsg packetMsg ) - { - var loginResp = new ClientMsgProtobuf( packetMsg ); - var callback = new LoggedOnCallback( loginResp.TargetJobID, loginResp.Body); - steamClient.PostCallback( callback ); - } - void HandleUploadFileResponse( IPacketMsg packetMsg ) - { - var uploadResp = new ClientMsgProtobuf( packetMsg ); - var callback = new UploadFileResponseCallback( uploadResp.TargetJobID, uploadResp.Body, uploadResp.SourceJobID ); - steamClient.PostCallback( callback ); - } - void HandleUploadFileFinished( IPacketMsg packetMsg ) - { - var uploadFin = new ClientMsgProtobuf( packetMsg ); - var callback = new UploadFileFinishedCallback( uploadFin.TargetJobID, uploadFin.Body ); - steamClient.PostCallback( callback ); - } - #endregion - } -} diff --git a/SteamKit2/Tests/CMClientFacts.cs b/SteamKit2/Tests/CMClientFacts.cs index 5655642d1..464d96643 100644 --- a/SteamKit2/Tests/CMClientFacts.cs +++ b/SteamKit2/Tests/CMClientFacts.cs @@ -71,45 +71,6 @@ public void GetPacketMsgFailsWithTinyArray() Assert.Null(packetMsg); } - [Fact] - public void ServerLookupIsClearedWhenDisconnecting() - { - var msg = new ClientMsgProtobuf( EMsg.ClientServerList ); - msg.Body.servers.Add( new CMsgClientServerList.Server - { - server_type = ( int )EServerType.CM, - server_ip = 0x7F000001, // 127.0.0.1 - server_port = 1234 - }); - - var client = new DummyCMClient(); - client.HandleClientMsg( msg ); - - Assert.Single( client.GetServersOfType( EServerType.CM ) ); - - client.DummyDisconnect(); - Assert.Empty( client.GetServersOfType( EServerType.CM ) ); - } - - [Fact] - public void ServerLookupDoesNotAccumulateDuplicates() - { - var msg = new ClientMsgProtobuf( EMsg.ClientServerList ); - msg.Body.servers.Add( new CMsgClientServerList.Server - { - server_type = ( int )EServerType.CM, - server_ip = 0x7F000001, // 127.0.0.1 - server_port = 1234 - }); - - var client = new DummyCMClient(); - client.HandleClientMsg( msg ); - Assert.Single( client.GetServersOfType( EServerType.CM ) ); - - client.HandleClientMsg( msg ); - Assert.Single( client.GetServersOfType( EServerType.CM ) ); - } - static byte[] Serialize(ISteamSerializableHeader hdr) { using (var ms = new MemoryStream()) diff --git a/SteamKit2/Tests/UFSClientFacts.cs b/SteamKit2/Tests/UFSClientFacts.cs deleted file mode 100644 index dc1c6cccd..000000000 --- a/SteamKit2/Tests/UFSClientFacts.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Linq; -using SteamKit2; -using Xunit; - -namespace Tests -{ - public class UFSClientFacts - { - [Fact] - public void LogOnPostsLoggedOnCallbackWhenNoConnection() - { - var client = new SteamClient(); - var ufsClient = new UFSClient( client ); - - var logonJobID = ufsClient.Logon( Enumerable.Empty() ); - - var callback = client.GetCallback(freeLast: true); - Assert.NotNull( callback ); - Assert.IsType( callback ); - - var jc = (UFSClient.LoggedOnCallback)callback; - Assert.Equal( logonJobID, jc.JobID ); - Assert.Equal( EResult.NoConnection, jc.Result ); - } - } -}