From b5dc4051ef52325829d630fa67601f893f161211 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Thu, 12 Mar 2020 12:42:07 +0200 Subject: [PATCH 1/5] Update protobufgen target framework --- Resources/ProtobufGen/ProtobufGen/ProtobufGen.csproj | 4 +++- Resources/ProtobufGen/generate-all.ps1 | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Resources/ProtobufGen/ProtobufGen/ProtobufGen.csproj b/Resources/ProtobufGen/ProtobufGen/ProtobufGen.csproj index ad662dd26..4d2edcdf5 100644 --- a/Resources/ProtobufGen/ProtobufGen/ProtobufGen.csproj +++ b/Resources/ProtobufGen/ProtobufGen/ProtobufGen.csproj @@ -2,7 +2,9 @@ Exe - netcoreapp2.1 + netcoreapp3.1 + LatestMajor + false diff --git a/Resources/ProtobufGen/generate-all.ps1 b/Resources/ProtobufGen/generate-all.ps1 index 2986ded6e..daa8b1b96 100644 --- a/Resources/ProtobufGen/generate-all.ps1 +++ b/Resources/ProtobufGen/generate-all.ps1 @@ -12,7 +12,7 @@ param([string[]]$ProtoDir) $ProtoGenSrc = Join-Path $PSScriptRoot 'ProtobufGen' -$ProtoGenDll = Join-Path $ProtoGenSrc '\bin\Debug\netcoreapp2.1\ProtobufGen.dll' +$ProtoGenDll = Join-Path $ProtoGenSrc '\bin\Debug\ProtobufGen.dll' $ProtoBase = Join-Path $PSScriptRoot '..\ProtoBufs' $SK2Base = Join-Path $PSScriptRoot '..\..\SteamKit2\SteamKit2\Base\Generated' From 62cf9fbc6a448a81f241c0fdee8efe9b969b13a0 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 3 Apr 2020 16:49:48 +0300 Subject: [PATCH 2/5] Obsolete EnumeratePublishedFiles --- .../Steam/Handlers/SteamWorkshop/Callbacks.cs | 81 ------------- .../Handlers/SteamWorkshop/SteamWorkshop.cs | 106 ------------------ 2 files changed, 187 deletions(-) diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs index 6d8719e84..c277bc2d2 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs @@ -13,87 +13,6 @@ namespace SteamKit2 { public sealed partial class SteamWorkshop { - /// - /// This callback is received in response to calling . - /// - public sealed class PublishedFilesCallback : CallbackMsg - { - /// - /// Represents the details of a single published file. - /// - public sealed class File - { - /// - /// Gets the file ID. - /// - public PublishedFileID FileID { get; private set; } - - /// - /// Gets the number of reports for this file. - /// - public int Reports { get; private set; } - - /// - /// Gets the score of this file, based on up and down votes. - /// - public float Score { get; private set; } - - /// - /// Gets the total count of up votes. - /// - public int UpVotes { get; private set; } - /// - /// Gets the total count of down votes. - /// - public int DownVotes { get; private set; } - - - internal File( CMsgCREEnumeratePublishedFilesResponse.PublishedFileId file ) - { - this.FileID = file.published_file_id; - - this.Reports = file.reports; - - this.Score = file.score; - - this.UpVotes = file.votes_for; - this.DownVotes = file.votes_against; - } - } - - - /// - /// Gets the result. - /// - public EResult Result { get; private set; } - - /// - /// Gets the list of enumerated files. - /// - public ReadOnlyCollection Files { get; private set; } - - /// - /// Gets the count of total results. - /// - public int TotalResults { get; private set; } - - - internal PublishedFilesCallback( JobID jobID, CMsgCREEnumeratePublishedFilesResponse msg ) - { - this.JobID = jobID; - - this.Result = ( EResult )msg.eresult; - - var fileList = msg.published_files - .Select( f => new File( f ) ) - .ToList(); - - this.Files = new ReadOnlyCollection( fileList ); - - this.TotalResults = ( int )msg.total_results; - } - } - /// /// This callback is received in response to calling . /// diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs index 31701d6f0..66eed1d95 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs @@ -20,7 +20,6 @@ internal SteamWorkshop() { dispatchMap = new Dictionary> { - { EMsg.CREEnumeratePublishedFilesResponse, HandleEnumPublishedFiles }, { EMsg.ClientUCMEnumerateUserPublishedFilesResponse, HandleEnumUserPublishedFiles }, { EMsg.ClientUCMEnumerateUserSubscribedFilesResponse, HandleEnumUserSubscribedFiles }, { EMsg.ClientUCMEnumeratePublishedFilesByUserActionResponse, HandleEnumPublishedFilesByAction }, @@ -144,104 +143,6 @@ public AsyncJob EnumeratePublishedFilesByUserA return new AsyncJob( this.Client, enumRequest.SourceJobID ); } - /// - /// Represents the details of an enumeration request for all published files. - /// - public sealed class EnumerationDetails - { - /// - /// Gets or sets the AppID of the workshop to enumerate. - /// - /// - /// The AppID. - /// - public uint AppID { get; set; } - - /// - /// Gets or sets the type of the enumeration. - /// - /// - /// The type. - /// - public EWorkshopEnumerationType Type { get; set; } - - /// - /// Gets or sets the start index. - /// - /// - /// The start index. - /// - public uint StartIndex { get; set; } - - /// - /// Gets or sets the days. - /// - /// - /// The days. - /// - public uint Days { get; set; } - /// - /// Gets or sets the number of results to return. - /// - /// - /// The number of results. - /// - public uint Count { get; set; } - - /// - /// Gets the list of tags to enumerate. - /// - public List Tags { get; private set; } - /// - /// Gets the list of user tags to enumerate. - /// - public List UserTags { get; private set; } - - - /// - /// Initializes a new instance of the class. - /// - public EnumerationDetails() - { - Tags = new List(); - UserTags = new List(); - } - } - - /// - /// Enumerates the list of all published files on the Steam workshop. - /// Results are returned in a . - /// The returned can also be awaited to retrieve the callback result. - /// - /// The specific details of the request. - /// The Job ID of the request. This can be used to find the appropriate . - public AsyncJob EnumeratePublishedFiles( EnumerationDetails details ) - { - if ( details == null ) - { - throw new ArgumentNullException( nameof(details) ); - } - - var enumRequest = new ClientMsgProtobuf( EMsg.CREEnumeratePublishedFiles ); - enumRequest.SourceJobID = Client.GetNextJobID(); - - enumRequest.Body.app_id = details.AppID; - - enumRequest.Body.query_type = ( int )details.Type; - - enumRequest.Body.start_index = details.StartIndex; - - enumRequest.Body.days = details.Days; - enumRequest.Body.count = details.Count; - - enumRequest.Body.tags.AddRange( details.Tags ); - enumRequest.Body.user_tags.AddRange( details.UserTags ); - - Client.Send( enumRequest ); - - return new AsyncJob( this.Client, enumRequest.SourceJobID ); - } - /// /// Handles a client message. This should not be called directly. /// @@ -266,13 +167,6 @@ public override void HandleMsg( IPacketMsg packetMsg ) #region ClientMsg Handlers - void HandleEnumPublishedFiles( IPacketMsg packetMsg ) - { - var response = new ClientMsgProtobuf( packetMsg ); - - var callback = new PublishedFilesCallback(response.TargetJobID, response.Body); - Client.PostCallback( callback ); - } void HandleEnumUserPublishedFiles( IPacketMsg packetMsg ) { var response = new ClientMsgProtobuf( packetMsg ); From f0cc569510788d8397eac6f5ead87c936c91b9db Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 3 Apr 2020 17:02:28 +0300 Subject: [PATCH 3/5] Update protobufs; move SteamKit2.Unified.Internal to SteamKit2.Internal --- Resources/ProtobufGen/protos.csv | 62 +- Resources/Protobufs | 2 +- .../Base/Generated/ContentManifest.cs | 28 + .../SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs | 20 + .../Base/Generated/GC/CSGO/SteamMsgGCEcon.cs | 2 + .../Base/Generated/GC/Dota/MsgGCClient.cs | 808 ++++++++--- .../Generated/GC/Dota/MsgGCClientFantasy.cs | 21 - .../Generated/GC/Dota/MsgGCClientGuild.cs | 1221 ----------------- .../Generated/GC/Dota/MsgGCClientMatchMgmt.cs | 54 +- .../Base/Generated/GC/Dota/MsgGCCommon.cs | 552 ++++++-- .../Generated/GC/Dota/MsgGCCommonMatchMgmt.cs | 135 +- .../Base/Generated/GC/Dota/MsgGCMsgId.cs | 37 +- .../Base/Generated/GC/Dota/MsgGCServer.cs | 637 ++++++++- .../Generated/GC/Dota/MsgMatchMetadata.cs | 13 + .../Base/Generated/GC/Dota/MsgSharedEnums.cs | 22 +- .../Base/Generated/GC/Dota/SteamMsgBase.cs | 182 +++ .../{Unified => }/SteamMsgAccountHardware.cs | 2 +- .../SteamKit2/Base/Generated/SteamMsgBase.cs | 149 ++ .../{Unified => }/SteamMsgBroadcast.cs | 24 +- .../Generated/{Unified => }/SteamMsgChat.cs | 602 +++++++- .../Base/Generated/SteamMsgClientServer.cs | 40 + .../Base/Generated/SteamMsgClientServer2.cs | 197 --- .../Generated/SteamMsgClientServerFriends.cs | 126 +- .../Generated/{Unified => }/SteamMsgCloud.cs | 2 +- .../{Unified => }/SteamMsgCredentials.cs | 12 +- .../{Unified => }/SteamMsgDataPublisher.cs | 2 +- .../{Unified => }/SteamMsgDepotBuilder.cs | 42 +- .../{Unified => }/SteamMsgDeviceAuth.cs | 2 +- .../Generated/{Unified => }/SteamMsgEcon.cs | 2 +- .../{Unified => }/SteamMsgFriendMessages.cs | 24 +- .../SteamMsgGameNotifications.cs | 2 +- .../{Unified => }/SteamMsgGameServers.cs | 2 +- .../{Unified => }/SteamMsgInventory.cs | 43 +- .../{Unified => }/SteamMsgLinkFilter.cs | 2 +- .../Generated/{Unified => }/SteamMsgMarket.cs | 2 +- .../{Unified => }/SteamMsgOffline.cs | 2 +- .../{Unified => }/SteamMsgParental.cs | 2 +- .../{Unified => }/SteamMsgParties.cs | 2 +- .../{Unified => }/SteamMsgPartnerApps.cs | 2 +- .../Generated/{Unified => }/SteamMsgPlayer.cs | 12 +- .../{Unified => }/SteamMsgPublishedFile.cs | 2 +- .../Generated/{Unified => }/SteamMsgQMS.cs | 2 +- .../{Unified => }/SteamMsgSecrets.cs | 2 +- .../Generated/{Unified => }/SteamMsgShader.cs | 2 +- .../{Unified => }/SteamMsgSiteLicense.cs | 2 +- .../Generated/{Unified => }/SteamMsgStore.cs | 2 +- .../{Unified => }/SteamMsgTwoFactor.cs | 2 +- .../{Unified => }/SteamMsgUnifiedBase.cs | 2 +- .../{Unified => }/SteamMsgUserAccount.cs | 135 +- .../Generated/{Unified => }/SteamMsgVideo.cs | 2 +- .../Steamworks/SteamMsgOAuthSteamworks.cs | 2 +- .../Unified/SteamMsgPhysicalGoods.cs | 873 ------------ .../SteamUnifiedMessages.cs | 3 +- .../Steam/Handlers/SteamUser/Callbacks.cs | 1 - 54 files changed, 3331 insertions(+), 2794 deletions(-) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgAccountHardware.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgBroadcast.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgChat.cs (89%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgCloud.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgCredentials.cs (98%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgDataPublisher.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgDepotBuilder.cs (90%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgDeviceAuth.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgEcon.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgFriendMessages.cs (96%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgGameNotifications.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgGameServers.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgInventory.cs (95%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgLinkFilter.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgMarket.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgOffline.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgParental.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgParties.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgPartnerApps.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgPlayer.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgPublishedFile.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgQMS.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgSecrets.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgShader.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgSiteLicense.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgStore.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgTwoFactor.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgUnifiedBase.cs (96%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgUserAccount.cs (81%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/SteamMsgVideo.cs (99%) rename SteamKit2/SteamKit2/Base/Generated/{Unified => }/Steamworks/SteamMsgOAuthSteamworks.cs (98%) delete mode 100644 SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPhysicalGoods.cs diff --git a/Resources/ProtobufGen/protos.csv b/Resources/ProtobufGen/protos.csv index b46a5825a..c57da4016 100644 --- a/Resources/ProtobufGen/protos.csv +++ b/Resources/ProtobufGen/protos.csv @@ -1,42 +1,42 @@ ProtoDir,ProtoFileName,ClassFilePath,Namespace steam,content_manifest.proto,ContentManifest.cs,SteamKit2.Internal steam,encrypted_app_ticket.proto,SteamMsgAppTicket.cs,SteamKit2.Internal -steam,steammessages_accounthardware.steamclient.proto,Unified\SteamMsgAccountHardware.cs,SteamKit2.Unified.Internal +steam,steammessages_accounthardware.steamclient.proto,SteamMsgAccountHardware.cs,SteamKit2.Internal steam,steammessages_base.proto,SteamMsgBase.cs,SteamKit2.Internal -steam,steammessages_broadcast.steamclient.proto,Unified\SteamMsgBroadcast.cs,SteamKit2.Unified.Internal -steam,steammessages_chat.steamclient.proto,Unified\SteamMsgChat.cs,SteamKit2.Unified.Internal +steam,steammessages_broadcast.steamclient.proto,SteamMsgBroadcast.cs,SteamKit2.Internal +steam,steammessages_chat.steamclient.proto,SteamMsgChat.cs,SteamKit2.Internal steam,steammessages_clientserver.proto,SteamMsgClientServer.cs,SteamKit2.Internal steam,steammessages_clientserver_2.proto,SteamMsgClientServer2.cs,SteamKit2.Internal steam,steammessages_clientserver_friends.proto,SteamMsgClientServerFriends.cs,SteamKit2.Internal steam,steammessages_clientserver_login.proto,SteamMsgClientServerLogin.cs,SteamKit2.Internal -steam,steammessages_cloud.steamclient.proto,Unified\SteamMsgCloud.cs,SteamKit2.Unified.Internal -steam,steammessages_credentials.steamclient.proto,Unified\SteamMsgCredentials.cs,SteamKit2.Unified.Internal -steam,steammessages_datapublisher.steamclient.proto,Unified\SteamMsgDataPublisher.cs,SteamKit2.Unified.Internal -steam,steammessages_depotbuilder.steamclient.proto,Unified\SteamMsgDepotBuilder.cs,SteamKit2.Unified.Internal -steam,steammessages_deviceauth.steamclient.proto,Unified\SteamMsgDeviceAuth.cs,SteamKit2.Unified.Internal -steam,steammessages_econ.steamclient.proto,Unified\SteamMsgEcon.cs,SteamKit2.Unified.Internal -steam,steammessages_friendmessages.steamclient.proto,Unified\SteamMsgFriendMessages.cs,SteamKit2.Unified.Internal -steam,steammessages_gamenotifications.steamclient.proto,Unified\SteamMsgGameNotifications.cs,SteamKit2.Unified.Internal -steam,steammessages_gameservers.steamclient.proto,Unified\SteamMsgGameServers.cs,SteamKit2.Unified.Internal -steam,steammessages_inventory.steamclient.proto,Unified\SteamMsgInventory.cs,SteamKit2.Unified.Internal -steam,steammessages_linkfilter.steamclient.proto,Unified\SteamMsgLinkFilter.cs,SteamKit2.Unified.Internal -steam,steammessages_market.steamclient.proto,Unified\SteamMsgMarket.cs,SteamKit2.Unified.Internal -steam,steammessages_offline.steamclient.proto,Unified\SteamMsgOffline.cs,SteamKit2.Unified.Internal -steam,steammessages_parental.steamclient.proto,Unified\SteamMsgParental.cs,SteamKit2.Unified.Internal -steam,steammessages_parties.steamclient.proto,Unified\SteamMsgParties.cs,SteamKit2.Unified.Internal -steam,steammessages_partnerapps.steamclient.proto,Unified\SteamMsgPartnerApps.cs,SteamKit2.Unified.Internal -steam,steammessages_player.steamclient.proto,Unified\SteamMsgPlayer.cs,SteamKit2.Unified.Internal -steam,steammessages_publishedfile.steamclient.proto,Unified\SteamMsgPublishedFile.cs,SteamKit2.Unified.Internal -steam,steammessages_qms.steamclient.proto,Unified\SteamMsgQMS.cs,SteamKit2.Unified.Internal -steam,steammessages_secrets.steamclient.proto,Unified\SteamMsgSecrets.cs,SteamKit2.Unified.Internal -steam,steammessages_shader.steamclient.proto,Unified\SteamMsgShader.cs,SteamKit2.Unified.Internal -steam,steammessages_site_license.steamclient.proto,Unified\SteamMsgSiteLicense.cs,SteamKit2.Unified.Internal +steam,steammessages_cloud.steamclient.proto,SteamMsgCloud.cs,SteamKit2.Internal +steam,steammessages_credentials.steamclient.proto,SteamMsgCredentials.cs,SteamKit2.Internal +steam,steammessages_datapublisher.steamclient.proto,SteamMsgDataPublisher.cs,SteamKit2.Internal +steam,steammessages_depotbuilder.steamclient.proto,SteamMsgDepotBuilder.cs,SteamKit2.Internal +steam,steammessages_deviceauth.steamclient.proto,SteamMsgDeviceAuth.cs,SteamKit2.Internal +steam,steammessages_econ.steamclient.proto,SteamMsgEcon.cs,SteamKit2.Internal +steam,steammessages_friendmessages.steamclient.proto,SteamMsgFriendMessages.cs,SteamKit2.Internal +steam,steammessages_gamenotifications.steamclient.proto,SteamMsgGameNotifications.cs,SteamKit2.Internal +steam,steammessages_gameservers.steamclient.proto,SteamMsgGameServers.cs,SteamKit2.Internal +steam,steammessages_inventory.steamclient.proto,SteamMsgInventory.cs,SteamKit2.Internal +steam,steammessages_linkfilter.steamclient.proto,SteamMsgLinkFilter.cs,SteamKit2.Internal +steam,steammessages_market.steamclient.proto,SteamMsgMarket.cs,SteamKit2.Internal +steam,steammessages_offline.steamclient.proto,SteamMsgOffline.cs,SteamKit2.Internal +steam,steammessages_parental.steamclient.proto,SteamMsgParental.cs,SteamKit2.Internal +steam,steammessages_parties.steamclient.proto,SteamMsgParties.cs,SteamKit2.Internal +steam,steammessages_partnerapps.steamclient.proto,SteamMsgPartnerApps.cs,SteamKit2.Internal +steam,steammessages_player.steamclient.proto,SteamMsgPlayer.cs,SteamKit2.Internal +steam,steammessages_publishedfile.steamclient.proto,SteamMsgPublishedFile.cs,SteamKit2.Internal +steam,steammessages_qms.steamclient.proto,SteamMsgQMS.cs,SteamKit2.Internal +steam,steammessages_secrets.steamclient.proto,SteamMsgSecrets.cs,SteamKit2.Internal +steam,steammessages_shader.steamclient.proto,SteamMsgShader.cs,SteamKit2.Internal +steam,steammessages_site_license.steamclient.proto,SteamMsgSiteLicense.cs,SteamKit2.Internal steam,steammessages_sitelicenseclient.proto,SteamMsgSiteLicenseClient.cs,SteamKit2.Internal -steam,steammessages_store.steamclient.proto,Unified\SteamMsgStore.cs,SteamKit2.Unified.Internal -steam,steammessages_twofactor.steamclient.proto,Unified\SteamMsgTwoFactor.cs,SteamKit2.Unified.Internal -steam,steammessages_unified_base.steamclient.proto,Unified\SteamMsgUnifiedBase.cs,SteamKit2.Unified.Internal -steam,steammessages_useraccount.steamclient.proto,Unified\SteamMsgUserAccount.cs,SteamKit2.Unified.Internal -steam,steammessages_video.steamclient.proto,Unified\SteamMsgVideo.cs,SteamKit2.Unified.Internal +steam,steammessages_store.steamclient.proto,SteamMsgStore.cs,SteamKit2.Internal +steam,steammessages_twofactor.steamclient.proto,SteamMsgTwoFactor.cs,SteamKit2.Internal +steam,steammessages_unified_base.steamclient.proto,SteamMsgUnifiedBase.cs,SteamKit2.Internal +steam,steammessages_useraccount.steamclient.proto,SteamMsgUserAccount.cs,SteamKit2.Internal +steam,steammessages_video.steamclient.proto,SteamMsgVideo.cs,SteamKit2.Internal artifact,base_gcmessages.proto,GC\Artifact\SteamMsgGC.cs,SteamKit2.GC.Artifact.Internal artifact,dcg_gcmessages_client.proto,GC\Artifact\MsgGCClient.cs,SteamKit2.GC.Artifact.Internal artifact,dcg_gcmessages_common.proto,GC\Artifact\MsgGCCommon.cs,SteamKit2.GC.Artifact.Internal @@ -75,7 +75,7 @@ dota2,gcsdk_gcmessages.proto,GC\Dota\SteamMsgGCSDK.cs,SteamKit2.GC.Dota.Internal dota2,gcsystemmsgs.proto,GC\Dota\SteamMsgGCSystem.cs,SteamKit2.GC.Dota.Internal dota2,network_connection.proto,GC\Dota\NetworkConnection.cs,SteamKit2.GC.Dota.Internal dota2,steammessages.proto,GC\Dota\SteamMsgBase.cs,SteamKit2.GC.Dota.Internal -dota2,steammessages_oauth.steamworkssdk.proto,Unified\Steamworks\SteamMsgOAuthSteamworks.cs,SteamKit2.Unified.Internal.Steamworks +dota2,steammessages_oauth.steamworkssdk.proto,Steamworks\SteamMsgOAuthSteamworks.cs,SteamKit2.Internal.Steamworks tf2,base_gcmessages.proto,GC\TF2\SteamMsgGC.cs,SteamKit2.GC.TF2.Internal tf2,econ_gcmessages.proto,GC\TF2\SteamMsgGCEcon.cs,SteamKit2.GC.TF2.Internal tf2,gcsdk_gcmessages.proto,GC\TF2\SteamMsgGCSDK.cs,SteamKit2.GC.TF2.Internal diff --git a/Resources/Protobufs b/Resources/Protobufs index 4ab15125a..ab48e4e3a 160000 --- a/Resources/Protobufs +++ b/Resources/Protobufs @@ -1 +1 @@ -Subproject commit 4ab15125aca0d314cb1f7544ae08ec18cb827701 +Subproject commit ab48e4e3a16b3bc5e1791e3e6dc580aa34e2721c diff --git a/SteamKit2/SteamKit2/Base/Generated/ContentManifest.cs b/SteamKit2/SteamKit2/Base/Generated/ContentManifest.cs index 51df8019d..54b98dd11 100644 --- a/SteamKit2/SteamKit2/Base/Generated/ContentManifest.cs +++ b/SteamKit2/SteamKit2/Base/Generated/ContentManifest.cs @@ -311,6 +311,17 @@ public ulong manifest_id_target [global::ProtoBuf.ProtoMember(4)] public global::System.Collections.Generic.List deltaChunks { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue(EContentDeltaChunkDataLocation.k_EContentDeltaChunkDataLocationInProtobuf)] + public EContentDeltaChunkDataLocation chunk_data_location + { + get { return __pbn__chunk_data_location ?? EContentDeltaChunkDataLocation.k_EContentDeltaChunkDataLocationInProtobuf; } + set { __pbn__chunk_data_location = value; } + } + public bool ShouldSerializechunk_data_location() => __pbn__chunk_data_location != null; + public void Resetchunk_data_location() => __pbn__chunk_data_location = null; + private EContentDeltaChunkDataLocation? __pbn__chunk_data_location; + [global::ProtoBuf.ProtoContract()] public partial class DeltaChunk : global::ProtoBuf.IExtensible { @@ -368,10 +379,27 @@ public byte[] chunk public void Resetchunk() => __pbn__chunk = null; private byte[] __pbn__chunk; + [global::ProtoBuf.ProtoMember(6)] + public uint size_delta + { + get { return __pbn__size_delta.GetValueOrDefault(); } + set { __pbn__size_delta = value; } + } + public bool ShouldSerializesize_delta() => __pbn__size_delta != null; + public void Resetsize_delta() => __pbn__size_delta = null; + private uint? __pbn__size_delta; + } } + [global::ProtoBuf.ProtoContract()] + public enum EContentDeltaChunkDataLocation + { + k_EContentDeltaChunkDataLocationInProtobuf = 0, + k_EContentDeltaChunkDataLocationAfterProtobuf = 1, + } + } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs index 13ac5149c..d9a057d88 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/MsgGC.cs @@ -2932,6 +2932,16 @@ public uint seconds public void Resetseconds() => __pbn__seconds = null; private uint? __pbn__seconds; + [global::ProtoBuf.ProtoMember(4)] + public bool communication_cooldown + { + get { return __pbn__communication_cooldown.GetValueOrDefault(); } + set { __pbn__communication_cooldown = value; } + } + public bool ShouldSerializecommunication_cooldown() => __pbn__communication_cooldown != null; + public void Resetcommunication_cooldown() => __pbn__communication_cooldown = null; + private bool? __pbn__communication_cooldown; + } [global::ProtoBuf.ProtoContract()] @@ -3021,6 +3031,16 @@ public ulong match_id public void Resetmatch_id() => __pbn__match_id = null; private ulong? __pbn__match_id; + [global::ProtoBuf.ProtoMember(9)] + public bool report_from_demo + { + get { return __pbn__report_from_demo.GetValueOrDefault(); } + set { __pbn__report_from_demo = value; } + } + public bool ShouldSerializereport_from_demo() => __pbn__report_from_demo != null; + public void Resetreport_from_demo() => __pbn__report_from_demo = null; + private bool? __pbn__report_from_demo; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs index 1efa137ce..73517482e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/CSGO/SteamMsgGCEcon.cs @@ -351,6 +351,8 @@ public enum EGCItemCustomizationNotification k_EGCItemCustomizationNotification_RemoveSticker = 1053, k_EGCItemCustomizationNotification_ApplySticker = 1086, k_EGCItemCustomizationNotification_StatTrakSwap = 1088, + k_EGCItemCustomizationNotification_RemovePatch = 1089, + k_EGCItemCustomizationNotification_ApplyPatch = 1090, k_EGCItemCustomizationNotification_ActivateFanToken = 9178, k_EGCItemCustomizationNotification_ActivateOperationCoin = 9179, k_EGCItemCustomizationNotification_GraffitiUnseal = 9185, diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs index 7125ad37e..6e61a5446 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs @@ -559,6 +559,7 @@ public enum PopupID GENERIC_ERROR = 70, RANK_TIER_UPDATED = 75, CUSTOM_GAME_COOLDOWN_RESTRICTED = 76, + CREATE_LOBBY_FAILED_TOO_MUCH_PLAYTIME = 77, } } @@ -1420,6 +1421,17 @@ public uint custom_game_whitelist_version [global::ProtoBuf.ProtoMember(31)] public CMsgGCToClientPartySearchInvites party_search_friend_invites { get; set; } + [global::ProtoBuf.ProtoMember(32)] + [global::System.ComponentModel.DefaultValue(-1)] + public int remaining_playtime + { + get { return __pbn__remaining_playtime ?? -1; } + set { __pbn__remaining_playtime = value; } + } + public bool ShouldSerializeremaining_playtime() => __pbn__remaining_playtime != null; + public void Resetremaining_playtime() => __pbn__remaining_playtime = null; + private int? __pbn__remaining_playtime; + [global::ProtoBuf.ProtoContract()] public partial class CExtraMsg : global::ProtoBuf.IExtensible { @@ -2960,6 +2972,215 @@ public float denies public void Resetdenies() => __pbn__denies = null; private float? __pbn__denies; + [global::ProtoBuf.ProtoMember(8)] + public float item_value + { + get { return __pbn__item_value.GetValueOrDefault(); } + set { __pbn__item_value = value; } + } + public bool ShouldSerializeitem_value() => __pbn__item_value != null; + public void Resetitem_value() => __pbn__item_value = null; + private float? __pbn__item_value; + + [global::ProtoBuf.ProtoMember(9)] + public float support_gold_spent + { + get { return __pbn__support_gold_spent.GetValueOrDefault(); } + set { __pbn__support_gold_spent = value; } + } + public bool ShouldSerializesupport_gold_spent() => __pbn__support_gold_spent != null; + public void Resetsupport_gold_spent() => __pbn__support_gold_spent = null; + private float? __pbn__support_gold_spent; + + [global::ProtoBuf.ProtoMember(10)] + public float camps_stacked + { + get { return __pbn__camps_stacked.GetValueOrDefault(); } + set { __pbn__camps_stacked = value; } + } + public bool ShouldSerializecamps_stacked() => __pbn__camps_stacked != null; + public void Resetcamps_stacked() => __pbn__camps_stacked = null; + private float? __pbn__camps_stacked; + + [global::ProtoBuf.ProtoMember(11)] + public float wards_placed + { + get { return __pbn__wards_placed.GetValueOrDefault(); } + set { __pbn__wards_placed = value; } + } + public bool ShouldSerializewards_placed() => __pbn__wards_placed != null; + public void Resetwards_placed() => __pbn__wards_placed = null; + private float? __pbn__wards_placed; + + [global::ProtoBuf.ProtoMember(12)] + public float dewards + { + get { return __pbn__dewards.GetValueOrDefault(); } + set { __pbn__dewards = value; } + } + public bool ShouldSerializedewards() => __pbn__dewards != null; + public void Resetdewards() => __pbn__dewards = null; + private float? __pbn__dewards; + + [global::ProtoBuf.ProtoMember(13)] + public float triple_kills + { + get { return __pbn__triple_kills.GetValueOrDefault(); } + set { __pbn__triple_kills = value; } + } + public bool ShouldSerializetriple_kills() => __pbn__triple_kills != null; + public void Resettriple_kills() => __pbn__triple_kills = null; + private float? __pbn__triple_kills; + + [global::ProtoBuf.ProtoMember(14)] + public float rampages + { + get { return __pbn__rampages.GetValueOrDefault(); } + set { __pbn__rampages = value; } + } + public bool ShouldSerializerampages() => __pbn__rampages != null; + public void Resetrampages() => __pbn__rampages = null; + private float? __pbn__rampages; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMatchPlayerTimedStatStdDeviations : global::ProtoBuf.IExtensible + { + private 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(2)] + public float kills + { + get { return __pbn__kills.GetValueOrDefault(); } + set { __pbn__kills = value; } + } + public bool ShouldSerializekills() => __pbn__kills != null; + public void Resetkills() => __pbn__kills = null; + private float? __pbn__kills; + + [global::ProtoBuf.ProtoMember(3)] + public float deaths + { + get { return __pbn__deaths.GetValueOrDefault(); } + set { __pbn__deaths = value; } + } + public bool ShouldSerializedeaths() => __pbn__deaths != null; + public void Resetdeaths() => __pbn__deaths = null; + private float? __pbn__deaths; + + [global::ProtoBuf.ProtoMember(4)] + public float assists + { + get { return __pbn__assists.GetValueOrDefault(); } + set { __pbn__assists = value; } + } + public bool ShouldSerializeassists() => __pbn__assists != null; + public void Resetassists() => __pbn__assists = null; + private float? __pbn__assists; + + [global::ProtoBuf.ProtoMember(5)] + public float net_worth + { + get { return __pbn__net_worth.GetValueOrDefault(); } + set { __pbn__net_worth = value; } + } + public bool ShouldSerializenet_worth() => __pbn__net_worth != null; + public void Resetnet_worth() => __pbn__net_worth = null; + private float? __pbn__net_worth; + + [global::ProtoBuf.ProtoMember(6)] + public float last_hits + { + get { return __pbn__last_hits.GetValueOrDefault(); } + set { __pbn__last_hits = value; } + } + public bool ShouldSerializelast_hits() => __pbn__last_hits != null; + public void Resetlast_hits() => __pbn__last_hits = null; + private float? __pbn__last_hits; + + [global::ProtoBuf.ProtoMember(7)] + public float denies + { + get { return __pbn__denies.GetValueOrDefault(); } + set { __pbn__denies = value; } + } + public bool ShouldSerializedenies() => __pbn__denies != null; + public void Resetdenies() => __pbn__denies = null; + private float? __pbn__denies; + + [global::ProtoBuf.ProtoMember(8)] + public float item_value + { + get { return __pbn__item_value.GetValueOrDefault(); } + set { __pbn__item_value = value; } + } + public bool ShouldSerializeitem_value() => __pbn__item_value != null; + public void Resetitem_value() => __pbn__item_value = null; + private float? __pbn__item_value; + + [global::ProtoBuf.ProtoMember(9)] + public float support_gold_spent + { + get { return __pbn__support_gold_spent.GetValueOrDefault(); } + set { __pbn__support_gold_spent = value; } + } + public bool ShouldSerializesupport_gold_spent() => __pbn__support_gold_spent != null; + public void Resetsupport_gold_spent() => __pbn__support_gold_spent = null; + private float? __pbn__support_gold_spent; + + [global::ProtoBuf.ProtoMember(10)] + public float camps_stacked + { + get { return __pbn__camps_stacked.GetValueOrDefault(); } + set { __pbn__camps_stacked = value; } + } + public bool ShouldSerializecamps_stacked() => __pbn__camps_stacked != null; + public void Resetcamps_stacked() => __pbn__camps_stacked = null; + private float? __pbn__camps_stacked; + + [global::ProtoBuf.ProtoMember(11)] + public float wards_placed + { + get { return __pbn__wards_placed.GetValueOrDefault(); } + set { __pbn__wards_placed = value; } + } + public bool ShouldSerializewards_placed() => __pbn__wards_placed != null; + public void Resetwards_placed() => __pbn__wards_placed = null; + private float? __pbn__wards_placed; + + [global::ProtoBuf.ProtoMember(12)] + public float dewards + { + get { return __pbn__dewards.GetValueOrDefault(); } + set { __pbn__dewards = value; } + } + public bool ShouldSerializedewards() => __pbn__dewards != null; + public void Resetdewards() => __pbn__dewards = null; + private float? __pbn__dewards; + + [global::ProtoBuf.ProtoMember(13)] + public float triple_kills + { + get { return __pbn__triple_kills.GetValueOrDefault(); } + set { __pbn__triple_kills = value; } + } + public bool ShouldSerializetriple_kills() => __pbn__triple_kills != null; + public void Resettriple_kills() => __pbn__triple_kills = null; + private float? __pbn__triple_kills; + + [global::ProtoBuf.ProtoMember(14)] + public float rampages + { + get { return __pbn__rampages.GetValueOrDefault(); } + set { __pbn__rampages = value; } + } + public bool ShouldSerializerampages() => __pbn__rampages != null; + public void Resetrampages() => __pbn__rampages = null; + private float? __pbn__rampages; + } [global::ProtoBuf.ProtoContract()] @@ -3008,6 +3229,12 @@ public uint time [global::ProtoBuf.ProtoMember(4)] public CMatchPlayerTimedStatAverages losing_stats { get; set; } + [global::ProtoBuf.ProtoMember(5)] + public CMatchPlayerTimedStatStdDeviations winning_stddevs { get; set; } + + [global::ProtoBuf.ProtoMember(6)] + public CMatchPlayerTimedStatStdDeviations losing_stddevs { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -12885,6 +13112,16 @@ public uint hero_id_completed [global::ProtoBuf.ProtoMember(3)] public global::System.Collections.Generic.List completed_paths { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(4)] + public uint map_variant + { + get { return __pbn__map_variant.GetValueOrDefault(); } + set { __pbn__map_variant = value; } + } + public bool ShouldSerializemap_variant() => __pbn__map_variant != null; + public void Resetmap_variant() => __pbn__map_variant = null; + private uint? __pbn__map_variant; + [global::ProtoBuf.ProtoContract()] public partial class CompletedPathInfo : global::ProtoBuf.IExtensible { @@ -12972,6 +13209,16 @@ public uint room_id public void Resetroom_id() => __pbn__room_id = null; private uint? __pbn__room_id; + [global::ProtoBuf.ProtoMember(3)] + public uint map_variant + { + get { return __pbn__map_variant.GetValueOrDefault(); } + set { __pbn__map_variant = value; } + } + public bool ShouldSerializemap_variant() => __pbn__map_variant != null; + public void Resetmap_variant() => __pbn__map_variant = null; + private uint? __pbn__map_variant; + } [global::ProtoBuf.ProtoContract()] @@ -13039,6 +13286,16 @@ public uint item_type public void Resetitem_type() => __pbn__item_type = null; private uint? __pbn__item_type; + [global::ProtoBuf.ProtoMember(4)] + public uint map_variant + { + get { return __pbn__map_variant.GetValueOrDefault(); } + set { __pbn__map_variant = value; } + } + public bool ShouldSerializemap_variant() => __pbn__map_variant != null; + public void Resetmap_variant() => __pbn__map_variant = null; + private uint? __pbn__map_variant; + } [global::ProtoBuf.ProtoContract()] @@ -13106,6 +13363,16 @@ public uint item_type public void Resetitem_type() => __pbn__item_type = null; private uint? __pbn__item_type; + [global::ProtoBuf.ProtoMember(4)] + public uint map_variant + { + get { return __pbn__map_variant.GetValueOrDefault(); } + set { __pbn__map_variant = value; } + } + public bool ShouldSerializemap_variant() => __pbn__map_variant != null; + public void Resetmap_variant() => __pbn__map_variant = null; + private uint? __pbn__map_variant; + } [global::ProtoBuf.ProtoContract()] @@ -13173,144 +13440,21 @@ public Result result public void Resetresult() => __pbn__result = null; private Result? __pbn__result; - [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong claimed_rooms_1 - { - get { return __pbn__claimed_rooms_1.GetValueOrDefault(); } - set { __pbn__claimed_rooms_1 = value; } - } - public bool ShouldSerializeclaimed_rooms_1() => __pbn__claimed_rooms_1 != null; - public void Resetclaimed_rooms_1() => __pbn__claimed_rooms_1 = null; - private ulong? __pbn__claimed_rooms_1; - - [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong claimed_rooms_2 - { - get { return __pbn__claimed_rooms_2.GetValueOrDefault(); } - set { __pbn__claimed_rooms_2 = value; } - } - public bool ShouldSerializeclaimed_rooms_2() => __pbn__claimed_rooms_2 != null; - public void Resetclaimed_rooms_2() => __pbn__claimed_rooms_2 = null; - private ulong? __pbn__claimed_rooms_2; - - [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong revealed_rooms_1 - { - get { return __pbn__revealed_rooms_1.GetValueOrDefault(); } - set { __pbn__revealed_rooms_1 = value; } - } - public bool ShouldSerializerevealed_rooms_1() => __pbn__revealed_rooms_1 != null; - public void Resetrevealed_rooms_1() => __pbn__revealed_rooms_1 = null; - private ulong? __pbn__revealed_rooms_1; - - [global::ProtoBuf.ProtoMember(5, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong revealed_rooms_2 - { - get { return __pbn__revealed_rooms_2.GetValueOrDefault(); } - set { __pbn__revealed_rooms_2 = value; } - } - public bool ShouldSerializerevealed_rooms_2() => __pbn__revealed_rooms_2 != null; - public void Resetrevealed_rooms_2() => __pbn__revealed_rooms_2 = null; - private ulong? __pbn__revealed_rooms_2; - - [global::ProtoBuf.ProtoMember(6, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong completed_paths_1 - { - get { return __pbn__completed_paths_1.GetValueOrDefault(); } - set { __pbn__completed_paths_1 = value; } - } - public bool ShouldSerializecompleted_paths_1() => __pbn__completed_paths_1 != null; - public void Resetcompleted_paths_1() => __pbn__completed_paths_1 = null; - private ulong? __pbn__completed_paths_1; - - [global::ProtoBuf.ProtoMember(7, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong completed_paths_2 - { - get { return __pbn__completed_paths_2.GetValueOrDefault(); } - set { __pbn__completed_paths_2 = value; } - } - public bool ShouldSerializecompleted_paths_2() => __pbn__completed_paths_2 != null; - public void Resetcompleted_paths_2() => __pbn__completed_paths_2 = null; - private ulong? __pbn__completed_paths_2; - - [global::ProtoBuf.ProtoMember(8, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong completed_paths_3 - { - get { return __pbn__completed_paths_3.GetValueOrDefault(); } - set { __pbn__completed_paths_3 = value; } - } - public bool ShouldSerializecompleted_paths_3() => __pbn__completed_paths_3 != null; - public void Resetcompleted_paths_3() => __pbn__completed_paths_3 = null; - private ulong? __pbn__completed_paths_3; - - [global::ProtoBuf.ProtoMember(12, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong completed_paths_4 - { - get { return __pbn__completed_paths_4.GetValueOrDefault(); } - set { __pbn__completed_paths_4 = value; } - } - public bool ShouldSerializecompleted_paths_4() => __pbn__completed_paths_4 != null; - public void Resetcompleted_paths_4() => __pbn__completed_paths_4 = null; - private ulong? __pbn__completed_paths_4; - - [global::ProtoBuf.ProtoMember(13, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong half_completed_paths_1 - { - get { return __pbn__half_completed_paths_1.GetValueOrDefault(); } - set { __pbn__half_completed_paths_1 = value; } - } - public bool ShouldSerializehalf_completed_paths_1() => __pbn__half_completed_paths_1 != null; - public void Resethalf_completed_paths_1() => __pbn__half_completed_paths_1 = null; - private ulong? __pbn__half_completed_paths_1; - - [global::ProtoBuf.ProtoMember(14, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong half_completed_paths_2 - { - get { return __pbn__half_completed_paths_2.GetValueOrDefault(); } - set { __pbn__half_completed_paths_2 = value; } - } - public bool ShouldSerializehalf_completed_paths_2() => __pbn__half_completed_paths_2 != null; - public void Resethalf_completed_paths_2() => __pbn__half_completed_paths_2 = null; - private ulong? __pbn__half_completed_paths_2; - - [global::ProtoBuf.ProtoMember(15, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong half_completed_paths_3 - { - get { return __pbn__half_completed_paths_3.GetValueOrDefault(); } - set { __pbn__half_completed_paths_3 = value; } - } - public bool ShouldSerializehalf_completed_paths_3() => __pbn__half_completed_paths_3 != null; - public void Resethalf_completed_paths_3() => __pbn__half_completed_paths_3 = null; - private ulong? __pbn__half_completed_paths_3; - - [global::ProtoBuf.ProtoMember(16, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong half_completed_paths_4 + [global::ProtoBuf.ProtoMember(2)] + public uint available_map_variants_mask { - get { return __pbn__half_completed_paths_4.GetValueOrDefault(); } - set { __pbn__half_completed_paths_4 = value; } + get { return __pbn__available_map_variants_mask.GetValueOrDefault(); } + set { __pbn__available_map_variants_mask = value; } } - public bool ShouldSerializehalf_completed_paths_4() => __pbn__half_completed_paths_4 != null; - public void Resethalf_completed_paths_4() => __pbn__half_completed_paths_4 = null; - private ulong? __pbn__half_completed_paths_4; + public bool ShouldSerializeavailable_map_variants_mask() => __pbn__available_map_variants_mask != null; + public void Resetavailable_map_variants_mask() => __pbn__available_map_variants_mask = null; + private uint? __pbn__available_map_variants_mask; - [global::ProtoBuf.ProtoMember(9)] - public global::System.Collections.Generic.List swapped_challenge { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(10)] + [global::ProtoBuf.ProtoMember(3)] public global::System.Collections.Generic.List inventory_item { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(11)] - public uint ultra_rare_reward_room_number - { - get { return __pbn__ultra_rare_reward_room_number.GetValueOrDefault(); } - set { __pbn__ultra_rare_reward_room_number = value; } - } - public bool ShouldSerializeultra_rare_reward_room_number() => __pbn__ultra_rare_reward_room_number != null; - public void Resetultra_rare_reward_room_number() => __pbn__ultra_rare_reward_room_number = null; - private uint? __pbn__ultra_rare_reward_room_number; - - [global::ProtoBuf.ProtoMember(17)] - public global::System.Collections.Generic.List treasure_map { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List map_variants { get; } = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoContract()] public partial class SwappedChallenge : global::ProtoBuf.IExtensible @@ -13399,6 +13543,161 @@ public uint revealed_room_id } + [global::ProtoBuf.ProtoContract()] + public partial class MapVariant : global::ProtoBuf.IExtensible + { + private 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 map_variant + { + get { return __pbn__map_variant.GetValueOrDefault(); } + set { __pbn__map_variant = value; } + } + public bool ShouldSerializemap_variant() => __pbn__map_variant != null; + public void Resetmap_variant() => __pbn__map_variant = null; + private uint? __pbn__map_variant; + + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong claimed_rooms_1 + { + get { return __pbn__claimed_rooms_1.GetValueOrDefault(); } + set { __pbn__claimed_rooms_1 = value; } + } + public bool ShouldSerializeclaimed_rooms_1() => __pbn__claimed_rooms_1 != null; + public void Resetclaimed_rooms_1() => __pbn__claimed_rooms_1 = null; + private ulong? __pbn__claimed_rooms_1; + + [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong claimed_rooms_2 + { + get { return __pbn__claimed_rooms_2.GetValueOrDefault(); } + set { __pbn__claimed_rooms_2 = value; } + } + public bool ShouldSerializeclaimed_rooms_2() => __pbn__claimed_rooms_2 != null; + public void Resetclaimed_rooms_2() => __pbn__claimed_rooms_2 = null; + private ulong? __pbn__claimed_rooms_2; + + [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong revealed_rooms_1 + { + get { return __pbn__revealed_rooms_1.GetValueOrDefault(); } + set { __pbn__revealed_rooms_1 = value; } + } + public bool ShouldSerializerevealed_rooms_1() => __pbn__revealed_rooms_1 != null; + public void Resetrevealed_rooms_1() => __pbn__revealed_rooms_1 = null; + private ulong? __pbn__revealed_rooms_1; + + [global::ProtoBuf.ProtoMember(5, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong revealed_rooms_2 + { + get { return __pbn__revealed_rooms_2.GetValueOrDefault(); } + set { __pbn__revealed_rooms_2 = value; } + } + public bool ShouldSerializerevealed_rooms_2() => __pbn__revealed_rooms_2 != null; + public void Resetrevealed_rooms_2() => __pbn__revealed_rooms_2 = null; + private ulong? __pbn__revealed_rooms_2; + + [global::ProtoBuf.ProtoMember(6, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong completed_paths_1 + { + get { return __pbn__completed_paths_1.GetValueOrDefault(); } + set { __pbn__completed_paths_1 = value; } + } + public bool ShouldSerializecompleted_paths_1() => __pbn__completed_paths_1 != null; + public void Resetcompleted_paths_1() => __pbn__completed_paths_1 = null; + private ulong? __pbn__completed_paths_1; + + [global::ProtoBuf.ProtoMember(7, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong completed_paths_2 + { + get { return __pbn__completed_paths_2.GetValueOrDefault(); } + set { __pbn__completed_paths_2 = value; } + } + public bool ShouldSerializecompleted_paths_2() => __pbn__completed_paths_2 != null; + public void Resetcompleted_paths_2() => __pbn__completed_paths_2 = null; + private ulong? __pbn__completed_paths_2; + + [global::ProtoBuf.ProtoMember(8, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong completed_paths_3 + { + get { return __pbn__completed_paths_3.GetValueOrDefault(); } + set { __pbn__completed_paths_3 = value; } + } + public bool ShouldSerializecompleted_paths_3() => __pbn__completed_paths_3 != null; + public void Resetcompleted_paths_3() => __pbn__completed_paths_3 = null; + private ulong? __pbn__completed_paths_3; + + [global::ProtoBuf.ProtoMember(9, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong completed_paths_4 + { + get { return __pbn__completed_paths_4.GetValueOrDefault(); } + set { __pbn__completed_paths_4 = value; } + } + public bool ShouldSerializecompleted_paths_4() => __pbn__completed_paths_4 != null; + public void Resetcompleted_paths_4() => __pbn__completed_paths_4 = null; + private ulong? __pbn__completed_paths_4; + + [global::ProtoBuf.ProtoMember(10, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong half_completed_paths_1 + { + get { return __pbn__half_completed_paths_1.GetValueOrDefault(); } + set { __pbn__half_completed_paths_1 = value; } + } + public bool ShouldSerializehalf_completed_paths_1() => __pbn__half_completed_paths_1 != null; + public void Resethalf_completed_paths_1() => __pbn__half_completed_paths_1 = null; + private ulong? __pbn__half_completed_paths_1; + + [global::ProtoBuf.ProtoMember(11, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong half_completed_paths_2 + { + get { return __pbn__half_completed_paths_2.GetValueOrDefault(); } + set { __pbn__half_completed_paths_2 = value; } + } + public bool ShouldSerializehalf_completed_paths_2() => __pbn__half_completed_paths_2 != null; + public void Resethalf_completed_paths_2() => __pbn__half_completed_paths_2 = null; + private ulong? __pbn__half_completed_paths_2; + + [global::ProtoBuf.ProtoMember(12, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong half_completed_paths_3 + { + get { return __pbn__half_completed_paths_3.GetValueOrDefault(); } + set { __pbn__half_completed_paths_3 = value; } + } + public bool ShouldSerializehalf_completed_paths_3() => __pbn__half_completed_paths_3 != null; + public void Resethalf_completed_paths_3() => __pbn__half_completed_paths_3 = null; + private ulong? __pbn__half_completed_paths_3; + + [global::ProtoBuf.ProtoMember(13, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong half_completed_paths_4 + { + get { return __pbn__half_completed_paths_4.GetValueOrDefault(); } + set { __pbn__half_completed_paths_4 = value; } + } + public bool ShouldSerializehalf_completed_paths_4() => __pbn__half_completed_paths_4 != null; + public void Resethalf_completed_paths_4() => __pbn__half_completed_paths_4 = null; + private ulong? __pbn__half_completed_paths_4; + + [global::ProtoBuf.ProtoMember(14)] + public global::System.Collections.Generic.List swapped_challenge { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(15)] + public uint ultra_rare_reward_room_number + { + get { return __pbn__ultra_rare_reward_room_number.GetValueOrDefault(); } + set { __pbn__ultra_rare_reward_room_number = value; } + } + public bool ShouldSerializeultra_rare_reward_room_number() => __pbn__ultra_rare_reward_room_number != null; + public void Resetultra_rare_reward_room_number() => __pbn__ultra_rare_reward_room_number = null; + private uint? __pbn__ultra_rare_reward_room_number; + + [global::ProtoBuf.ProtoMember(16)] + public global::System.Collections.Generic.List treasure_map { get; } = new global::System.Collections.Generic.List(); + + } + [global::ProtoBuf.ProtoContract()] public enum Result { @@ -13447,14 +13746,36 @@ public Result result private Result? __pbn__result; [global::ProtoBuf.ProtoMember(2)] - public uint count + public global::System.Collections.Generic.List map_variants { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class MapVariant : global::ProtoBuf.IExtensible { - get { return __pbn__count.GetValueOrDefault(); } - set { __pbn__count = value; } + private 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 map_variant + { + get { return __pbn__map_variant.GetValueOrDefault(); } + set { __pbn__map_variant = value; } + } + public bool ShouldSerializemap_variant() => __pbn__map_variant != null; + public void Resetmap_variant() => __pbn__map_variant = null; + private uint? __pbn__map_variant; + + [global::ProtoBuf.ProtoMember(2)] + 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; + } - public bool ShouldSerializecount() => __pbn__count != null; - public void Resetcount() => __pbn__count = null; - private uint? __pbn__count; [global::ProtoBuf.ProtoContract()] public enum Result @@ -15629,46 +15950,6 @@ public bool account_disallowed } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientToGCGetUnderlordsCDKeyRequest : global::ProtoBuf.IExtensible - { - private 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 CMsgClientToGCGetUnderlordsCDKeyResponse : global::ProtoBuf.IExtensible - { - private 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.Success)] - public EResponse result - { - get { return __pbn__result ?? EResponse.Success; } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResponse? __pbn__result; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List cd_keys { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public enum EResponse - { - Success = 0, - UnknownError = 1, - OutOfKeys = 2, - } - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientToGCSetFavoriteAllStarPlayer : global::ProtoBuf.IExtensible { @@ -15847,6 +16128,175 @@ public byte[] acked } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToClientVACReminder : global::ProtoBuf.IExtensible + { + private 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 CMsgClientToGCPullTabsRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint event_id + { + get { return __pbn__event_id.GetValueOrDefault(); } + set { __pbn__event_id = value; } + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private uint? __pbn__event_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToClientPullTabsResponse : global::ProtoBuf.IExtensible + { + private 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 CMsgPullTabsData data { get; set; } + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTooBusy = 2, + k_eDisabled = 3, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCPullTabsRedeem : global::ProtoBuf.IExtensible + { + private 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 board_id + { + get { return __pbn__board_id.GetValueOrDefault(); } + set { __pbn__board_id = value; } + } + public bool ShouldSerializeboard_id() => __pbn__board_id != null; + public void Resetboard_id() => __pbn__board_id = null; + private uint? __pbn__board_id; + + [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.ProtoContract()] + public partial class CMsgGCToClientPullTabsRedeemResponse : global::ProtoBuf.IExtensible + { + private 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 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 board_id + { + get { return __pbn__board_id.GetValueOrDefault(); } + set { __pbn__board_id = value; } + } + public bool ShouldSerializeboard_id() => __pbn__board_id != null; + public void Resetboard_id() => __pbn__board_id = null; + private uint? __pbn__board_id; + + [global::ProtoBuf.ProtoMember(4)] + 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(5)] + 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.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTooBusy = 2, + k_eAlreadyGranted = 3, + k_eDisabled = 4, + } + + } + [global::ProtoBuf.ProtoContract()] public enum DOTA_WatchReplayType { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientFantasy.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientFantasy.cs index 9c45fe194..58b8d7cd3 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientFantasy.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientFantasy.cs @@ -4242,27 +4242,6 @@ public uint end_timestamp [global::ProtoBuf.ProtoMember(5)] public global::System.Collections.Generic.List day_timestamps { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(6)] - public bool is_qualifier - { - get { return __pbn__is_qualifier.GetValueOrDefault(); } - set { __pbn__is_qualifier = value; } - } - public bool ShouldSerializeis_qualifier() => __pbn__is_qualifier != null; - public void Resetis_qualifier() => __pbn__is_qualifier = null; - private bool? __pbn__is_qualifier; - - [global::ProtoBuf.ProtoMember(7)] - [global::System.ComponentModel.DefaultValue(ELeagueFantasyPhase.LEAGUE_FANTASY_PHASE_UNSET)] - public ELeagueFantasyPhase phase - { - get { return __pbn__phase ?? ELeagueFantasyPhase.LEAGUE_FANTASY_PHASE_UNSET; } - set { __pbn__phase = value; } - } - public bool ShouldSerializephase() => __pbn__phase != null; - public void Resetphase() => __pbn__phase = null; - private ELeagueFantasyPhase? __pbn__phase; - [global::ProtoBuf.ProtoMember(8)] [global::System.ComponentModel.DefaultValue(CMsgDOTAFantasyDPCLeagueStatus.ERosterStatus.UNSET)] public CMsgDOTAFantasyDPCLeagueStatus.ERosterStatus status diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs index f0557341f..ced7d9dbf 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientGuild.cs @@ -8,1227 +8,6 @@ namespace SteamKit2.GC.Dota.Internal { - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildSDO : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string name - { - get { return __pbn__name ?? ""; } - set { __pbn__name = value; } - } - public bool ShouldSerializename() => __pbn__name != null; - public void Resetname() => __pbn__name = null; - private string __pbn__name; - - [global::ProtoBuf.ProtoMember(3)] - [global::System.ComponentModel.DefaultValue("")] - public string tag - { - get { return __pbn__tag ?? ""; } - set { __pbn__tag = value; } - } - public bool ShouldSerializetag() => __pbn__tag != null; - public void Resettag() => __pbn__tag = null; - private string __pbn__tag; - - [global::ProtoBuf.ProtoMember(4)] - public uint time_created - { - get { return __pbn__time_created.GetValueOrDefault(); } - set { __pbn__time_created = value; } - } - public bool ShouldSerializetime_created() => __pbn__time_created != null; - public void Resettime_created() => __pbn__time_created = null; - private uint? __pbn__time_created; - - [global::ProtoBuf.ProtoMember(5)] - public uint time_disbanded - { - get { return __pbn__time_disbanded.GetValueOrDefault(); } - set { __pbn__time_disbanded = value; } - } - public bool ShouldSerializetime_disbanded() => __pbn__time_disbanded != null; - public void Resettime_disbanded() => __pbn__time_disbanded = null; - private uint? __pbn__time_disbanded; - - [global::ProtoBuf.ProtoMember(6)] - public ulong logo - { - get { return __pbn__logo.GetValueOrDefault(); } - set { __pbn__logo = value; } - } - public bool ShouldSerializelogo() => __pbn__logo != null; - public void Resetlogo() => __pbn__logo = null; - private ulong? __pbn__logo; - - [global::ProtoBuf.ProtoMember(7)] - public ulong base_logo - { - get { return __pbn__base_logo.GetValueOrDefault(); } - set { __pbn__base_logo = value; } - } - public bool ShouldSerializebase_logo() => __pbn__base_logo != null; - public void Resetbase_logo() => __pbn__base_logo = null; - private ulong? __pbn__base_logo; - - [global::ProtoBuf.ProtoMember(8)] - public ulong banner_logo - { - get { return __pbn__banner_logo.GetValueOrDefault(); } - set { __pbn__banner_logo = value; } - } - public bool ShouldSerializebanner_logo() => __pbn__banner_logo != null; - public void Resetbanner_logo() => __pbn__banner_logo = null; - private ulong? __pbn__banner_logo; - - [global::ProtoBuf.ProtoMember(9)] - public global::System.Collections.Generic.List members { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(10)] - public global::System.Collections.Generic.List invitations { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(11)] - [global::System.ComponentModel.DefaultValue("")] - public string message - { - get { return __pbn__message ?? ""; } - set { __pbn__message = value; } - } - public bool ShouldSerializemessage() => __pbn__message != null; - public void Resetmessage() => __pbn__message = null; - private string __pbn__message; - - [global::ProtoBuf.ProtoMember(12)] - public bool incremental - { - get { return __pbn__incremental.GetValueOrDefault(); } - set { __pbn__incremental = value; } - } - public bool ShouldSerializeincremental() => __pbn__incremental != null; - public void Resetincremental() => __pbn__incremental = null; - private bool? __pbn__incremental; - - [global::ProtoBuf.ProtoContract()] - public partial class Member : global::ProtoBuf.IExtensible - { - private 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 time_joined - { - get { return __pbn__time_joined.GetValueOrDefault(); } - set { __pbn__time_joined = value; } - } - public bool ShouldSerializetime_joined() => __pbn__time_joined != null; - public void Resettime_joined() => __pbn__time_joined = null; - private uint? __pbn__time_joined; - - [global::ProtoBuf.ProtoMember(3)] - public uint role - { - get { return __pbn__role.GetValueOrDefault(); } - set { __pbn__role = value; } - } - public bool ShouldSerializerole() => __pbn__role != null; - public void Resetrole() => __pbn__role = null; - private uint? __pbn__role; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class Invitation : global::ProtoBuf.IExtensible - { - private 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 time_sent - { - get { return __pbn__time_sent.GetValueOrDefault(); } - set { __pbn__time_sent = value; } - } - public bool ShouldSerializetime_sent() => __pbn__time_sent != null; - public void Resettime_sent() => __pbn__time_sent = null; - private uint? __pbn__time_sent; - - [global::ProtoBuf.ProtoMember(3)] - public uint account_id_sender - { - get { return __pbn__account_id_sender.GetValueOrDefault(); } - set { __pbn__account_id_sender = value; } - } - public bool ShouldSerializeaccount_id_sender() => __pbn__account_id_sender != null; - public void Resetaccount_id_sender() => __pbn__account_id_sender = null; - private uint? __pbn__account_id_sender; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildAuditSDO : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List entries { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class Entry : global::ProtoBuf.IExtensible - { - private 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_index - { - get { return __pbn__event_index.GetValueOrDefault(); } - set { __pbn__event_index = value; } - } - public bool ShouldSerializeevent_index() => __pbn__event_index != null; - public void Resetevent_index() => __pbn__event_index = null; - private uint? __pbn__event_index; - - [global::ProtoBuf.ProtoMember(2)] - public uint timestamp - { - get { return __pbn__timestamp.GetValueOrDefault(); } - set { __pbn__timestamp = value; } - } - public bool ShouldSerializetimestamp() => __pbn__timestamp != null; - public void Resettimestamp() => __pbn__timestamp = null; - private uint? __pbn__timestamp; - - [global::ProtoBuf.ProtoMember(3)] - public uint action - { - get { return __pbn__action.GetValueOrDefault(); } - set { __pbn__action = value; } - } - public bool ShouldSerializeaction() => __pbn__action != null; - public void Resetaction() => __pbn__action = null; - private uint? __pbn__action; - - [global::ProtoBuf.ProtoMember(4)] - public uint account_id_requestor - { - get { return __pbn__account_id_requestor.GetValueOrDefault(); } - set { __pbn__account_id_requestor = value; } - } - public bool ShouldSerializeaccount_id_requestor() => __pbn__account_id_requestor != null; - public void Resetaccount_id_requestor() => __pbn__account_id_requestor = null; - private uint? __pbn__account_id_requestor; - - [global::ProtoBuf.ProtoMember(5)] - public uint account_id_target - { - get { return __pbn__account_id_target.GetValueOrDefault(); } - set { __pbn__account_id_target = value; } - } - public bool ShouldSerializeaccount_id_target() => __pbn__account_id_target != null; - public void Resetaccount_id_target() => __pbn__account_id_target = null; - private uint? __pbn__account_id_target; - - [global::ProtoBuf.ProtoMember(6)] - public uint reference_data_a - { - get { return __pbn__reference_data_a.GetValueOrDefault(); } - set { __pbn__reference_data_a = value; } - } - public bool ShouldSerializereference_data_a() => __pbn__reference_data_a != null; - public void Resetreference_data_a() => __pbn__reference_data_a = null; - private uint? __pbn__reference_data_a; - - [global::ProtoBuf.ProtoMember(7)] - public uint reference_data_b - { - get { return __pbn__reference_data_b.GetValueOrDefault(); } - set { __pbn__reference_data_b = value; } - } - public bool ShouldSerializereference_data_b() => __pbn__reference_data_b != null; - public void Resetreference_data_b() => __pbn__reference_data_b = null; - private uint? __pbn__reference_data_b; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAAccountGuildMembershipsSDO : global::ProtoBuf.IExtensible - { - private 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 global::System.Collections.Generic.List memberships { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List invitations { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class Membership : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint role - { - get { return __pbn__role.GetValueOrDefault(); } - set { __pbn__role = value; } - } - public bool ShouldSerializerole() => __pbn__role != null; - public void Resetrole() => __pbn__role = null; - private uint? __pbn__role; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class Invitation : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint time_sent - { - get { return __pbn__time_sent.GetValueOrDefault(); } - set { __pbn__time_sent = value; } - } - public bool ShouldSerializetime_sent() => __pbn__time_sent != null; - public void Resettime_sent() => __pbn__time_sent = null; - private uint? __pbn__time_sent; - - [global::ProtoBuf.ProtoMember(3)] - public uint account_id_sender - { - get { return __pbn__account_id_sender.GetValueOrDefault(); } - set { __pbn__account_id_sender = value; } - } - public bool ShouldSerializeaccount_id_sender() => __pbn__account_id_sender != null; - public void Resetaccount_id_sender() => __pbn__account_id_sender = null; - private uint? __pbn__account_id_sender; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildCreateRequest : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - [global::System.ComponentModel.DefaultValue("")] - public string name - { - get { return __pbn__name ?? ""; } - set { __pbn__name = value; } - } - public bool ShouldSerializename() => __pbn__name != null; - public void Resetname() => __pbn__name = null; - private string __pbn__name; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string tag - { - get { return __pbn__tag ?? ""; } - set { __pbn__tag = value; } - } - public bool ShouldSerializetag() => __pbn__tag != null; - public void Resettag() => __pbn__tag = null; - private string __pbn__tag; - - [global::ProtoBuf.ProtoMember(3)] - public ulong logo - { - get { return __pbn__logo.GetValueOrDefault(); } - set { __pbn__logo = value; } - } - public bool ShouldSerializelogo() => __pbn__logo != null; - public void Resetlogo() => __pbn__logo = null; - private ulong? __pbn__logo; - - [global::ProtoBuf.ProtoMember(4)] - public ulong base_logo - { - get { return __pbn__base_logo.GetValueOrDefault(); } - set { __pbn__base_logo = value; } - } - public bool ShouldSerializebase_logo() => __pbn__base_logo != null; - public void Resetbase_logo() => __pbn__base_logo = null; - private ulong? __pbn__base_logo; - - [global::ProtoBuf.ProtoMember(5)] - public ulong banner_logo - { - get { return __pbn__banner_logo.GetValueOrDefault(); } - set { __pbn__banner_logo = value; } - } - public bool ShouldSerializebanner_logo() => __pbn__banner_logo != null; - public void Resetbanner_logo() => __pbn__banner_logo = null; - private ulong? __pbn__banner_logo; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildCreateResponse : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List errors { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public enum EError - { - UNSPECIFIED = 0, - NAME_EMPTY = 1, - NAME_BAD_CHARACTERS = 2, - NAME_TOO_LONG = 3, - NAME_TAKEN = 4, - TAG_EMPTY = 5, - TAG_BAD_CHARACTERS = 6, - TAG_TOO_LONG = 7, - ACCOUNT_TOO_MANY_GUILDS = 8, - LOGO_UPLOAD_FAILED = 9, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildSetAccountRoleRequest : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint target_account_id - { - get { return __pbn__target_account_id.GetValueOrDefault(); } - set { __pbn__target_account_id = value; } - } - public bool ShouldSerializetarget_account_id() => __pbn__target_account_id != null; - public void Resettarget_account_id() => __pbn__target_account_id = null; - private uint? __pbn__target_account_id; - - [global::ProtoBuf.ProtoMember(3)] - public uint target_role - { - get { return __pbn__target_role.GetValueOrDefault(); } - set { __pbn__target_role = value; } - } - public bool ShouldSerializetarget_role() => __pbn__target_role != null; - public void Resettarget_role() => __pbn__target_role = null; - private uint? __pbn__target_role; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildSetAccountRoleResponse : global::ProtoBuf.IExtensible - { - private 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(EResult.SUCCESS)] - public EResult result - { - get { return __pbn__result ?? EResult.SUCCESS; } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResult? __pbn__result; - - [global::ProtoBuf.ProtoContract()] - public enum EResult - { - SUCCESS = 0, - ERROR_UNSPECIFIED = 1, - ERROR_NO_PERMISSION = 2, - ERROR_NO_OTHER_LEADER = 3, - ERROR_ACCOUNT_TOO_MANY_GUILDS = 4, - ERROR_GUILD_TOO_MANY_MEMBERS = 5, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildInviteAccountRequest : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint target_account_id - { - get { return __pbn__target_account_id.GetValueOrDefault(); } - set { __pbn__target_account_id = value; } - } - public bool ShouldSerializetarget_account_id() => __pbn__target_account_id != null; - public void Resettarget_account_id() => __pbn__target_account_id = null; - private uint? __pbn__target_account_id; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildInviteAccountResponse : global::ProtoBuf.IExtensible - { - private 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(EResult.SUCCESS)] - public EResult result - { - get { return __pbn__result ?? EResult.SUCCESS; } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResult? __pbn__result; - - [global::ProtoBuf.ProtoContract()] - public enum EResult - { - SUCCESS = 0, - ERROR_UNSPECIFIED = 1, - ERROR_NO_PERMISSION = 2, - ERROR_ACCOUNT_ALREADY_INVITED = 3, - ERROR_ACCOUNT_ALREADY_IN_GUILD = 4, - ERROR_ACCOUNT_TOO_MANY_INVITES = 5, - ERROR_GUILD_TOO_MANY_INVITES = 6, - ERROR_ACCOUNT_TOO_MANY_GUILDS = 7, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildCancelInviteRequest : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint target_account_id - { - get { return __pbn__target_account_id.GetValueOrDefault(); } - set { __pbn__target_account_id = value; } - } - public bool ShouldSerializetarget_account_id() => __pbn__target_account_id != null; - public void Resettarget_account_id() => __pbn__target_account_id = null; - private uint? __pbn__target_account_id; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildCancelInviteResponse : global::ProtoBuf.IExtensible - { - private 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(EResult.SUCCESS)] - public EResult result - { - get { return __pbn__result ?? EResult.SUCCESS; } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResult? __pbn__result; - - [global::ProtoBuf.ProtoContract()] - public enum EResult - { - SUCCESS = 0, - ERROR_UNSPECIFIED = 1, - ERROR_NO_PERMISSION = 2, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildUpdateDetailsRequest : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public ulong logo - { - get { return __pbn__logo.GetValueOrDefault(); } - set { __pbn__logo = value; } - } - public bool ShouldSerializelogo() => __pbn__logo != null; - public void Resetlogo() => __pbn__logo = null; - private ulong? __pbn__logo; - - [global::ProtoBuf.ProtoMember(3)] - public ulong base_logo - { - get { return __pbn__base_logo.GetValueOrDefault(); } - set { __pbn__base_logo = value; } - } - public bool ShouldSerializebase_logo() => __pbn__base_logo != null; - public void Resetbase_logo() => __pbn__base_logo = null; - private ulong? __pbn__base_logo; - - [global::ProtoBuf.ProtoMember(4)] - public ulong banner_logo - { - get { return __pbn__banner_logo.GetValueOrDefault(); } - set { __pbn__banner_logo = value; } - } - public bool ShouldSerializebanner_logo() => __pbn__banner_logo != null; - public void Resetbanner_logo() => __pbn__banner_logo = null; - private ulong? __pbn__banner_logo; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildUpdateDetailsResponse : global::ProtoBuf.IExtensible - { - private 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(EResult.SUCCESS)] - public EResult result - { - get { return __pbn__result ?? EResult.SUCCESS; } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResult? __pbn__result; - - [global::ProtoBuf.ProtoContract()] - public enum EResult - { - SUCCESS = 0, - ERROR_UNSPECIFIED = 1, - ERROR_NO_PERMISSION = 2, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGCToGCUpdateOpenGuildPartyRequest : global::ProtoBuf.IExtensible - { - private 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 party_id - { - get { return __pbn__party_id.GetValueOrDefault(); } - set { __pbn__party_id = value; } - } - public bool ShouldSerializeparty_id() => __pbn__party_id != null; - public void Resetparty_id() => __pbn__party_id = null; - private ulong? __pbn__party_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List member_account_ids { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(4)] - [global::System.ComponentModel.DefaultValue("")] - public string description - { - get { return __pbn__description ?? ""; } - set { __pbn__description = value; } - } - public bool ShouldSerializedescription() => __pbn__description != null; - public void Resetdescription() => __pbn__description = null; - private string __pbn__description; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGCToGCUpdateOpenGuildPartyResponse : global::ProtoBuf.IExtensible - { - private 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 maintain_association - { - get { return __pbn__maintain_association.GetValueOrDefault(); } - set { __pbn__maintain_association = value; } - } - public bool ShouldSerializemaintain_association() => __pbn__maintain_association != null; - public void Resetmaintain_association() => __pbn__maintain_association = null; - private bool? __pbn__maintain_association; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGCToGCDestroyOpenGuildPartyRequest : global::ProtoBuf.IExtensible - { - private 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 party_id - { - get { return __pbn__party_id.GetValueOrDefault(); } - set { __pbn__party_id = value; } - } - public bool ShouldSerializeparty_id() => __pbn__party_id != null; - public void Resetparty_id() => __pbn__party_id = null; - private ulong? __pbn__party_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGCToGCDestroyOpenGuildPartyResponse : global::ProtoBuf.IExtensible - { - private 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 CMsgDOTAPartySetOpenGuildRequest : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string description - { - get { return __pbn__description ?? ""; } - set { __pbn__description = value; } - } - public bool ShouldSerializedescription() => __pbn__description != null; - public void Resetdescription() => __pbn__description = null; - private string __pbn__description; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAPartySetOpenGuildResponse : global::ProtoBuf.IExtensible - { - private 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(EResult.SUCCESS)] - public EResult result - { - get { return __pbn__result ?? EResult.SUCCESS; } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResult? __pbn__result; - - [global::ProtoBuf.ProtoContract()] - public enum EResult - { - SUCCESS = 0, - ERROR_UNSPECIFIED = 1, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAJoinOpenGuildPartyRequest : global::ProtoBuf.IExtensible - { - private 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 party_id - { - get { return __pbn__party_id.GetValueOrDefault(); } - set { __pbn__party_id = value; } - } - public bool ShouldSerializeparty_id() => __pbn__party_id != null; - public void Resetparty_id() => __pbn__party_id = null; - private ulong? __pbn__party_id; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAJoinOpenGuildPartyResponse : global::ProtoBuf.IExtensible - { - private 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(EResult.SUCCESS)] - public EResult result - { - get { return __pbn__result ?? EResult.SUCCESS; } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResult? __pbn__result; - - [global::ProtoBuf.ProtoContract()] - public enum EResult - { - SUCCESS = 0, - ERROR_UNSPECIFIED = 1, - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildOpenPartyRefresh : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List open_parties { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoContract()] - public partial class OpenParty : global::ProtoBuf.IExtensible - { - private 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 party_id - { - get { return __pbn__party_id.GetValueOrDefault(); } - set { __pbn__party_id = value; } - } - public bool ShouldSerializeparty_id() => __pbn__party_id != null; - public void Resetparty_id() => __pbn__party_id = null; - private ulong? __pbn__party_id; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List member_account_ids { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public uint time_created - { - get { return __pbn__time_created.GetValueOrDefault(); } - set { __pbn__time_created = value; } - } - public bool ShouldSerializetime_created() => __pbn__time_created != null; - public void Resettime_created() => __pbn__time_created = null; - private uint? __pbn__time_created; - - [global::ProtoBuf.ProtoMember(4)] - [global::System.ComponentModel.DefaultValue("")] - public string description - { - get { return __pbn__description ?? ""; } - set { __pbn__description = value; } - } - public bool ShouldSerializedescription() => __pbn__description != null; - public void Resetdescription() => __pbn__description = null; - private string __pbn__description; - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTARequestGuildData : global::ProtoBuf.IExtensible - { - private 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 CMsgDOTAGuildInviteData : global::ProtoBuf.IExtensible - { - private 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 invited_to_guild - { - get { return __pbn__invited_to_guild.GetValueOrDefault(); } - set { __pbn__invited_to_guild = value; } - } - public bool ShouldSerializeinvited_to_guild() => __pbn__invited_to_guild != null; - public void Resetinvited_to_guild() => __pbn__invited_to_guild = null; - private bool? __pbn__invited_to_guild; - - [global::ProtoBuf.ProtoMember(2)] - public uint guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(3)] - [global::System.ComponentModel.DefaultValue("")] - public string guild_name - { - get { return __pbn__guild_name ?? ""; } - set { __pbn__guild_name = value; } - } - public bool ShouldSerializeguild_name() => __pbn__guild_name != null; - public void Resetguild_name() => __pbn__guild_name = null; - private string __pbn__guild_name; - - [global::ProtoBuf.ProtoMember(4)] - [global::System.ComponentModel.DefaultValue("")] - public string guild_tag - { - get { return __pbn__guild_tag ?? ""; } - set { __pbn__guild_tag = value; } - } - public bool ShouldSerializeguild_tag() => __pbn__guild_tag != null; - public void Resetguild_tag() => __pbn__guild_tag = null; - private string __pbn__guild_tag; - - [global::ProtoBuf.ProtoMember(5)] - public ulong logo - { - get { return __pbn__logo.GetValueOrDefault(); } - set { __pbn__logo = value; } - } - public bool ShouldSerializelogo() => __pbn__logo != null; - public void Resetlogo() => __pbn__logo = null; - private ulong? __pbn__logo; - - [global::ProtoBuf.ProtoMember(6)] - public uint inviter - { - get { return __pbn__inviter.GetValueOrDefault(); } - set { __pbn__inviter = value; } - } - public bool ShouldSerializeinviter() => __pbn__inviter != null; - public void Resetinviter() => __pbn__inviter = null; - private uint? __pbn__inviter; - - [global::ProtoBuf.ProtoMember(7)] - [global::System.ComponentModel.DefaultValue("")] - public string inviter_name - { - get { return __pbn__inviter_name ?? ""; } - set { __pbn__inviter_name = value; } - } - public bool ShouldSerializeinviter_name() => __pbn__inviter_name != null; - public void Resetinviter_name() => __pbn__inviter_name = null; - private string __pbn__inviter_name; - - [global::ProtoBuf.ProtoMember(8)] - public uint member_count - { - get { return __pbn__member_count.GetValueOrDefault(); } - set { __pbn__member_count = value; } - } - public bool ShouldSerializemember_count() => __pbn__member_count != null; - public void Resetmember_count() => __pbn__member_count = null; - private uint? __pbn__member_count; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildUpdateMessage : global::ProtoBuf.IExtensible - { - private 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 message - { - get { return __pbn__message ?? ""; } - set { __pbn__message = value; } - } - public bool ShouldSerializemessage() => __pbn__message != null; - public void Resetmessage() => __pbn__message = null; - private string __pbn__message; - - [global::ProtoBuf.ProtoMember(2)] - public uint guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildEditLogoRequest : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - public ulong logo - { - get { return __pbn__logo.GetValueOrDefault(); } - set { __pbn__logo = value; } - } - public bool ShouldSerializelogo() => __pbn__logo != null; - public void Resetlogo() => __pbn__logo = null; - private ulong? __pbn__logo; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgDOTAGuildEditLogoResponse : global::ProtoBuf.IExtensible - { - private 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 guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue(EResult.SUCCESS)] - public EResult result - { - get { return __pbn__result ?? EResult.SUCCESS; } - set { __pbn__result = value; } - } - public bool ShouldSerializeresult() => __pbn__result != null; - public void Resetresult() => __pbn__result = null; - private EResult? __pbn__result; - - [global::ProtoBuf.ProtoContract()] - public enum EResult - { - SUCCESS = 0, - NO_PERMISSION = 1, - LOGO_UPLOAD_FAILED = 2, - UNSPECIFIED_ERROR = 3, - } - - } - } #pragma warning restore CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs index a34b3cf7d..961da7ec2 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClientMatchMgmt.cs @@ -196,6 +196,16 @@ public bool high_priority_disabled public void Resethigh_priority_disabled() => __pbn__high_priority_disabled = null; private bool? __pbn__high_priority_disabled; + [global::ProtoBuf.ProtoMember(20)] + public bool disable_experimental_gameplay + { + get { return __pbn__disable_experimental_gameplay.GetValueOrDefault(); } + set { __pbn__disable_experimental_gameplay = value; } + } + public bool ShouldSerializedisable_experimental_gameplay() => __pbn__disable_experimental_gameplay != null; + public void Resetdisable_experimental_gameplay() => __pbn__disable_experimental_gameplay = null; + private bool? __pbn__disable_experimental_gameplay; + } [global::ProtoBuf.ProtoContract()] @@ -1239,26 +1249,6 @@ public uint leader_account_id public void Resetleader_account_id() => __pbn__leader_account_id = null; private uint? __pbn__leader_account_id; - [global::ProtoBuf.ProtoMember(8)] - public uint guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(9)] - public ulong guild_logo - { - get { return __pbn__guild_logo.GetValueOrDefault(); } - set { __pbn__guild_logo = value; } - } - public bool ShouldSerializeguild_logo() => __pbn__guild_logo != null; - public void Resetguild_logo() => __pbn__guild_logo = null; - private ulong? __pbn__guild_logo; - [global::ProtoBuf.ProtoMember(10)] [global::System.ComponentModel.DefaultValue("")] public string name @@ -1555,30 +1545,6 @@ public partial class CMsgFriendPracticeLobbyListResponse : global::ProtoBuf.IExt } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGuildmatePracticeLobbyListRequest : global::ProtoBuf.IExtensible - { - private 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 guilds { get; } = new global::System.Collections.Generic.List(); - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgGuildmatePracticeLobbyListResponse : global::ProtoBuf.IExtensible - { - private 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 lobbies { get; } = new global::System.Collections.Generic.List(); - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgJoinableCustomGameModesRequest : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs index 12d5a5558..592dfa582 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs @@ -297,24 +297,24 @@ public uint low_priority_games_remaining private uint? __pbn__low_priority_games_remaining; [global::ProtoBuf.ProtoMember(49)] - public uint competitive_2019_rank + public uint competitive_rank { - get { return __pbn__competitive_2019_rank.GetValueOrDefault(); } - set { __pbn__competitive_2019_rank = value; } + get { return __pbn__competitive_rank.GetValueOrDefault(); } + set { __pbn__competitive_rank = value; } } - 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; + public bool ShouldSerializecompetitive_rank() => __pbn__competitive_rank != null; + public void Resetcompetitive_rank() => __pbn__competitive_rank = null; + private uint? __pbn__competitive_rank; [global::ProtoBuf.ProtoMember(51)] - public uint competitive_2019_calibration_games_remaining + public uint competitive_calibration_games_remaining { - get { return __pbn__competitive_2019_calibration_games_remaining.GetValueOrDefault(); } - set { __pbn__competitive_2019_calibration_games_remaining = value; } + get { return __pbn__competitive_calibration_games_remaining.GetValueOrDefault(); } + set { __pbn__competitive_calibration_games_remaining = value; } } - 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; + public bool ShouldSerializecompetitive_calibration_games_remaining() => __pbn__competitive_calibration_games_remaining != null; + public void Resetcompetitive_calibration_games_remaining() => __pbn__competitive_calibration_games_remaining = null; + private uint? __pbn__competitive_calibration_games_remaining; [global::ProtoBuf.ProtoMember(52)] public uint solo_competitive_2019_rank @@ -776,6 +776,38 @@ public uint queue_points public void Resetqueue_points() => __pbn__queue_points = null; private uint? __pbn__queue_points; + [global::ProtoBuf.ProtoMember(115)] + public global::System.Collections.Generic.List role_handicaps { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class RoleHandicap : global::ProtoBuf.IExtensible + { + private 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 role + { + get { return __pbn__role.GetValueOrDefault(); } + set { __pbn__role = value; } + } + public bool ShouldSerializerole() => __pbn__role != null; + public void Resetrole() => __pbn__role = null; + private uint? __pbn__role; + + [global::ProtoBuf.ProtoMember(2)] + public float handicap + { + get { return __pbn__handicap.GetValueOrDefault(); } + set { __pbn__handicap = value; } + } + public bool ShouldSerializehandicap() => __pbn__handicap != null; + public void Resethandicap() => __pbn__handicap = null; + private float? __pbn__handicap; + + } + } [global::ProtoBuf.ProtoContract()] @@ -1608,6 +1640,286 @@ public uint gold_loss_prevented public void Resetgold_loss_prevented() => __pbn__gold_loss_prevented = null; private uint? __pbn__gold_loss_prevented; + [global::ProtoBuf.ProtoMember(14)] + public uint hero_kill_gold + { + get { return __pbn__hero_kill_gold.GetValueOrDefault(); } + set { __pbn__hero_kill_gold = value; } + } + public bool ShouldSerializehero_kill_gold() => __pbn__hero_kill_gold != null; + public void Resethero_kill_gold() => __pbn__hero_kill_gold = null; + private uint? __pbn__hero_kill_gold; + + [global::ProtoBuf.ProtoMember(15)] + public uint creep_kill_gold + { + get { return __pbn__creep_kill_gold.GetValueOrDefault(); } + set { __pbn__creep_kill_gold = value; } + } + public bool ShouldSerializecreep_kill_gold() => __pbn__creep_kill_gold != null; + public void Resetcreep_kill_gold() => __pbn__creep_kill_gold = null; + private uint? __pbn__creep_kill_gold; + + [global::ProtoBuf.ProtoMember(16)] + public uint building_gold + { + get { return __pbn__building_gold.GetValueOrDefault(); } + set { __pbn__building_gold = value; } + } + public bool ShouldSerializebuilding_gold() => __pbn__building_gold != null; + public void Resetbuilding_gold() => __pbn__building_gold = null; + private uint? __pbn__building_gold; + + [global::ProtoBuf.ProtoMember(17)] + public uint other_gold + { + get { return __pbn__other_gold.GetValueOrDefault(); } + set { __pbn__other_gold = value; } + } + public bool ShouldSerializeother_gold() => __pbn__other_gold != null; + public void Resetother_gold() => __pbn__other_gold = null; + private uint? __pbn__other_gold; + + [global::ProtoBuf.ProtoMember(18)] + public uint comeback_gold + { + get { return __pbn__comeback_gold.GetValueOrDefault(); } + set { __pbn__comeback_gold = value; } + } + public bool ShouldSerializecomeback_gold() => __pbn__comeback_gold != null; + public void Resetcomeback_gold() => __pbn__comeback_gold = null; + private uint? __pbn__comeback_gold; + + [global::ProtoBuf.ProtoMember(19)] + public uint experimental_gold + { + get { return __pbn__experimental_gold.GetValueOrDefault(); } + set { __pbn__experimental_gold = value; } + } + public bool ShouldSerializeexperimental_gold() => __pbn__experimental_gold != null; + public void Resetexperimental_gold() => __pbn__experimental_gold = null; + private uint? __pbn__experimental_gold; + + [global::ProtoBuf.ProtoMember(20)] + public uint experimental2_gold + { + get { return __pbn__experimental2_gold.GetValueOrDefault(); } + set { __pbn__experimental2_gold = value; } + } + public bool ShouldSerializeexperimental2_gold() => __pbn__experimental2_gold != null; + public void Resetexperimental2_gold() => __pbn__experimental2_gold = null; + private uint? __pbn__experimental2_gold; + + [global::ProtoBuf.ProtoMember(21)] + public uint creep_deny_gold + { + get { return __pbn__creep_deny_gold.GetValueOrDefault(); } + set { __pbn__creep_deny_gold = value; } + } + public bool ShouldSerializecreep_deny_gold() => __pbn__creep_deny_gold != null; + public void Resetcreep_deny_gold() => __pbn__creep_deny_gold = null; + private uint? __pbn__creep_deny_gold; + + [global::ProtoBuf.ProtoMember(22)] + public uint tp_scrolls_purchased_1 + { + get { return __pbn__tp_scrolls_purchased_1.GetValueOrDefault(); } + set { __pbn__tp_scrolls_purchased_1 = value; } + } + public bool ShouldSerializetp_scrolls_purchased_1() => __pbn__tp_scrolls_purchased_1 != null; + public void Resettp_scrolls_purchased_1() => __pbn__tp_scrolls_purchased_1 = null; + private uint? __pbn__tp_scrolls_purchased_1; + + [global::ProtoBuf.ProtoMember(23)] + public uint tp_scrolls_purchased_2 + { + get { return __pbn__tp_scrolls_purchased_2.GetValueOrDefault(); } + set { __pbn__tp_scrolls_purchased_2 = value; } + } + public bool ShouldSerializetp_scrolls_purchased_2() => __pbn__tp_scrolls_purchased_2 != null; + public void Resettp_scrolls_purchased_2() => __pbn__tp_scrolls_purchased_2 = null; + private uint? __pbn__tp_scrolls_purchased_2; + + [global::ProtoBuf.ProtoMember(24)] + public uint tp_scrolls_purchased_3 + { + get { return __pbn__tp_scrolls_purchased_3.GetValueOrDefault(); } + set { __pbn__tp_scrolls_purchased_3 = value; } + } + public bool ShouldSerializetp_scrolls_purchased_3() => __pbn__tp_scrolls_purchased_3 != null; + public void Resettp_scrolls_purchased_3() => __pbn__tp_scrolls_purchased_3 = null; + private uint? __pbn__tp_scrolls_purchased_3; + + [global::ProtoBuf.ProtoMember(25)] + public uint tp_scrolls_purchased_4 + { + get { return __pbn__tp_scrolls_purchased_4.GetValueOrDefault(); } + set { __pbn__tp_scrolls_purchased_4 = value; } + } + public bool ShouldSerializetp_scrolls_purchased_4() => __pbn__tp_scrolls_purchased_4 != null; + public void Resettp_scrolls_purchased_4() => __pbn__tp_scrolls_purchased_4 = null; + private uint? __pbn__tp_scrolls_purchased_4; + + [global::ProtoBuf.ProtoMember(26)] + public uint tp_scrolls_purchased_5 + { + get { return __pbn__tp_scrolls_purchased_5.GetValueOrDefault(); } + set { __pbn__tp_scrolls_purchased_5 = value; } + } + public bool ShouldSerializetp_scrolls_purchased_5() => __pbn__tp_scrolls_purchased_5 != null; + public void Resettp_scrolls_purchased_5() => __pbn__tp_scrolls_purchased_5 = null; + private uint? __pbn__tp_scrolls_purchased_5; + + [global::ProtoBuf.ProtoMember(27)] + public uint neutral_gold + { + get { return __pbn__neutral_gold.GetValueOrDefault(); } + set { __pbn__neutral_gold = value; } + } + public bool ShouldSerializeneutral_gold() => __pbn__neutral_gold != null; + public void Resetneutral_gold() => __pbn__neutral_gold = null; + private uint? __pbn__neutral_gold; + + [global::ProtoBuf.ProtoMember(28)] + public uint courier_gold + { + get { return __pbn__courier_gold.GetValueOrDefault(); } + set { __pbn__courier_gold = value; } + } + public bool ShouldSerializecourier_gold() => __pbn__courier_gold != null; + public void Resetcourier_gold() => __pbn__courier_gold = null; + private uint? __pbn__courier_gold; + + [global::ProtoBuf.ProtoMember(29)] + public uint roshan_gold + { + get { return __pbn__roshan_gold.GetValueOrDefault(); } + set { __pbn__roshan_gold = value; } + } + public bool ShouldSerializeroshan_gold() => __pbn__roshan_gold != null; + public void Resetroshan_gold() => __pbn__roshan_gold = null; + private uint? __pbn__roshan_gold; + + [global::ProtoBuf.ProtoMember(30)] + public uint income_gold + { + get { return __pbn__income_gold.GetValueOrDefault(); } + set { __pbn__income_gold = value; } + } + public bool ShouldSerializeincome_gold() => __pbn__income_gold != null; + public void Resetincome_gold() => __pbn__income_gold = null; + private uint? __pbn__income_gold; + + [global::ProtoBuf.ProtoMember(31)] + public uint custom_stats_1 + { + get { return __pbn__custom_stats_1.GetValueOrDefault(); } + set { __pbn__custom_stats_1 = value; } + } + public bool ShouldSerializecustom_stats_1() => __pbn__custom_stats_1 != null; + public void Resetcustom_stats_1() => __pbn__custom_stats_1 = null; + private uint? __pbn__custom_stats_1; + + [global::ProtoBuf.ProtoMember(32)] + public uint custom_stats_2 + { + get { return __pbn__custom_stats_2.GetValueOrDefault(); } + set { __pbn__custom_stats_2 = value; } + } + public bool ShouldSerializecustom_stats_2() => __pbn__custom_stats_2 != null; + public void Resetcustom_stats_2() => __pbn__custom_stats_2 = null; + private uint? __pbn__custom_stats_2; + + [global::ProtoBuf.ProtoMember(33)] + public uint custom_stats_3 + { + get { return __pbn__custom_stats_3.GetValueOrDefault(); } + set { __pbn__custom_stats_3 = value; } + } + public bool ShouldSerializecustom_stats_3() => __pbn__custom_stats_3 != null; + public void Resetcustom_stats_3() => __pbn__custom_stats_3 = null; + private uint? __pbn__custom_stats_3; + + [global::ProtoBuf.ProtoMember(34)] + public uint custom_stats_4 + { + get { return __pbn__custom_stats_4.GetValueOrDefault(); } + set { __pbn__custom_stats_4 = value; } + } + public bool ShouldSerializecustom_stats_4() => __pbn__custom_stats_4 != null; + public void Resetcustom_stats_4() => __pbn__custom_stats_4 = null; + private uint? __pbn__custom_stats_4; + + [global::ProtoBuf.ProtoMember(35)] + public uint custom_stats_5 + { + get { return __pbn__custom_stats_5.GetValueOrDefault(); } + set { __pbn__custom_stats_5 = value; } + } + public bool ShouldSerializecustom_stats_5() => __pbn__custom_stats_5 != null; + public void Resetcustom_stats_5() => __pbn__custom_stats_5 = null; + private uint? __pbn__custom_stats_5; + + [global::ProtoBuf.ProtoMember(36)] + public uint item_value + { + get { return __pbn__item_value.GetValueOrDefault(); } + set { __pbn__item_value = value; } + } + public bool ShouldSerializeitem_value() => __pbn__item_value != null; + public void Resetitem_value() => __pbn__item_value = null; + private uint? __pbn__item_value; + + [global::ProtoBuf.ProtoMember(37)] + public uint support_gold_spent + { + get { return __pbn__support_gold_spent.GetValueOrDefault(); } + set { __pbn__support_gold_spent = value; } + } + public bool ShouldSerializesupport_gold_spent() => __pbn__support_gold_spent != null; + public void Resetsupport_gold_spent() => __pbn__support_gold_spent = null; + private uint? __pbn__support_gold_spent; + + [global::ProtoBuf.ProtoMember(38)] + public uint camps_stacked + { + get { return __pbn__camps_stacked.GetValueOrDefault(); } + set { __pbn__camps_stacked = value; } + } + public bool ShouldSerializecamps_stacked() => __pbn__camps_stacked != null; + public void Resetcamps_stacked() => __pbn__camps_stacked = null; + private uint? __pbn__camps_stacked; + + [global::ProtoBuf.ProtoMember(39)] + public uint wards_placed + { + get { return __pbn__wards_placed.GetValueOrDefault(); } + set { __pbn__wards_placed = value; } + } + public bool ShouldSerializewards_placed() => __pbn__wards_placed != null; + public void Resetwards_placed() => __pbn__wards_placed = null; + private uint? __pbn__wards_placed; + + [global::ProtoBuf.ProtoMember(40)] + public uint triple_kills + { + get { return __pbn__triple_kills.GetValueOrDefault(); } + set { __pbn__triple_kills = value; } + } + public bool ShouldSerializetriple_kills() => __pbn__triple_kills != null; + public void Resettriple_kills() => __pbn__triple_kills = null; + private uint? __pbn__triple_kills; + + [global::ProtoBuf.ProtoMember(41)] + public uint rampages + { + get { return __pbn__rampages.GetValueOrDefault(); } + set { __pbn__rampages = value; } + } + public bool ShouldSerializerampages() => __pbn__rampages != null; + public void Resetrampages() => __pbn__rampages = null; + private uint? __pbn__rampages; + } [global::ProtoBuf.ProtoContract()] @@ -2382,26 +2694,6 @@ public uint rank_tier_mmr_type 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 { @@ -2412,55 +2704,15 @@ public uint leaderboard_rank_core 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 + public uint rank_tier_peak { - get { return __pbn__rank_tier_core_peak.GetValueOrDefault(); } - set { __pbn__rank_tier_core_peak = value; } + get { return __pbn__rank_tier_peak.GetValueOrDefault(); } + set { __pbn__rank_tier_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; + public bool ShouldSerializerank_tier_peak() => __pbn__rank_tier_peak != null; + public void Resetrank_tier_peak() => __pbn__rank_tier_peak = null; + private uint? __pbn__rank_tier_peak; [global::ProtoBuf.ProtoContract()] public partial class Slot : global::ProtoBuf.IExtensible @@ -8815,6 +9067,150 @@ public uint generation public void Resetgeneration() => __pbn__generation = null; private uint? __pbn__generation; + [global::ProtoBuf.ProtoMember(6)] + [global::System.ComponentModel.DefaultValue("")] + public string persona + { + get { return __pbn__persona ?? ""; } + set { __pbn__persona = value; } + } + public bool ShouldSerializepersona() => __pbn__persona != null; + public void Resetpersona() => __pbn__persona = null; + private string __pbn__persona; + + [global::ProtoBuf.ProtoMember(7)] + public bool already_banned + { + get { return __pbn__already_banned.GetValueOrDefault(); } + set { __pbn__already_banned = value; } + } + public bool ShouldSerializealready_banned() => __pbn__already_banned != null; + public void Resetalready_banned() => __pbn__already_banned = null; + private bool? __pbn__already_banned; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgPullTabsData : global::ProtoBuf.IExtensible + { + private 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 slots { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List jackpots { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public uint last_board + { + get { return __pbn__last_board.GetValueOrDefault(); } + set { __pbn__last_board = value; } + } + public bool ShouldSerializelast_board() => __pbn__last_board != null; + public void Resetlast_board() => __pbn__last_board = null; + private uint? __pbn__last_board; + + [global::ProtoBuf.ProtoContract()] + public partial class Slot : global::ProtoBuf.IExtensible + { + private 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 board_id + { + get { return __pbn__board_id.GetValueOrDefault(); } + set { __pbn__board_id = value; } + } + public bool ShouldSerializeboard_id() => __pbn__board_id != null; + public void Resetboard_id() => __pbn__board_id = null; + private uint? __pbn__board_id; + + [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 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(5)] + public bool redeemed + { + get { return __pbn__redeemed.GetValueOrDefault(); } + set { __pbn__redeemed = value; } + } + public bool ShouldSerializeredeemed() => __pbn__redeemed != null; + public void Resetredeemed() => __pbn__redeemed = null; + private bool? __pbn__redeemed; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class Jackpot : global::ProtoBuf.IExtensible + { + private 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 board_id + { + get { return __pbn__board_id.GetValueOrDefault(); } + set { __pbn__board_id = value; } + } + public bool ShouldSerializeboard_id() => __pbn__board_id != null; + public void Resetboard_id() => __pbn__board_id = null; + private uint? __pbn__board_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 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; + } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs index fba5ba819..6a7dea114 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonMatchMgmt.cs @@ -361,19 +361,6 @@ public uint matchlanguages [global::ProtoBuf.ProtoMember(29)] public global::System.Collections.Generic.List members { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(30)] - public uint open_guild_id - { - get { return __pbn__open_guild_id.GetValueOrDefault(); } - set { __pbn__open_guild_id = value; } - } - public bool ShouldSerializeopen_guild_id() => __pbn__open_guild_id != null; - public void Resetopen_guild_id() => __pbn__open_guild_id = null; - private uint? __pbn__open_guild_id; - - [global::ProtoBuf.ProtoMember(31)] - public global::System.Collections.Generic.List common_guilds { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(35)] public uint low_priority_games_remaining { @@ -1292,6 +1279,16 @@ public int queue_point_adjustment public void Resetqueue_point_adjustment() => __pbn__queue_point_adjustment = null; private int? __pbn__queue_point_adjustment; + [global::ProtoBuf.ProtoMember(48)] + public int rank_tier + { + get { return __pbn__rank_tier.GetValueOrDefault(); } + set { __pbn__rank_tier = value; } + } + public bool ShouldSerializerank_tier() => __pbn__rank_tier != null; + public void Resetrank_tier() => __pbn__rank_tier = null; + private int? __pbn__rank_tier; + [global::ProtoBuf.ProtoContract()] public partial class CDOTALobbyMemberXPBonus : global::ProtoBuf.IExtensible { @@ -1445,46 +1442,6 @@ public string guild_tag public void Resetguild_tag() => __pbn__guild_tag = null; private string __pbn__guild_tag; - [global::ProtoBuf.ProtoMember(11)] - public uint guild_id - { - get { return __pbn__guild_id.GetValueOrDefault(); } - set { __pbn__guild_id = value; } - } - public bool ShouldSerializeguild_id() => __pbn__guild_id != null; - public void Resetguild_id() => __pbn__guild_id = null; - private uint? __pbn__guild_id; - - [global::ProtoBuf.ProtoMember(12)] - public ulong guild_logo - { - get { return __pbn__guild_logo.GetValueOrDefault(); } - set { __pbn__guild_logo = value; } - } - public bool ShouldSerializeguild_logo() => __pbn__guild_logo != null; - public void Resetguild_logo() => __pbn__guild_logo = null; - private ulong? __pbn__guild_logo; - - [global::ProtoBuf.ProtoMember(13)] - public ulong guild_base_logo - { - get { return __pbn__guild_base_logo.GetValueOrDefault(); } - set { __pbn__guild_base_logo = value; } - } - public bool ShouldSerializeguild_base_logo() => __pbn__guild_base_logo != null; - public void Resetguild_base_logo() => __pbn__guild_base_logo = null; - private ulong? __pbn__guild_base_logo; - - [global::ProtoBuf.ProtoMember(14)] - public ulong guild_banner_logo - { - get { return __pbn__guild_banner_logo.GetValueOrDefault(); } - set { __pbn__guild_banner_logo = value; } - } - public bool ShouldSerializeguild_banner_logo() => __pbn__guild_banner_logo != null; - public void Resetguild_banner_logo() => __pbn__guild_banner_logo = null; - private ulong? __pbn__guild_banner_logo; - [global::ProtoBuf.ProtoMember(15)] public uint rank { @@ -2519,15 +2476,15 @@ public bool record_detailed_stats 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 + [global::ProtoBuf.ProtoMember(116)] + public bool experimental_gameplay_enabled { - get { return __pbn__is_allstar_game.GetValueOrDefault(); } - set { __pbn__is_allstar_game = value; } + get { return __pbn__experimental_gameplay_enabled.GetValueOrDefault(); } + set { __pbn__experimental_gameplay_enabled = 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; + public bool ShouldSerializeexperimental_gameplay_enabled() => __pbn__experimental_gameplay_enabled != null; + public void Resetexperimental_gameplay_enabled() => __pbn__experimental_gameplay_enabled = null; + private bool? __pbn__experimental_gameplay_enabled; [global::ProtoBuf.ProtoContract()] public partial class CExtraMsg : global::ProtoBuf.IExtensible @@ -2789,6 +2746,64 @@ public EMatchBehaviorScoreVariance behavior_score_variance } + [global::ProtoBuf.ProtoContract()] + public partial class CMvpData : global::ProtoBuf.IExtensible + { + private 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 mvps { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class MvpDatum : global::ProtoBuf.IExtensible + { + private 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, IsRequired = true)] + public uint slot { get; set; } + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List accolades { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class MvpAccolade : global::ProtoBuf.IExtensible + { + private 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, IsRequired = true)] + public MvpAccoladeType type { get; set; } = MvpAccoladeType.kills; + + [global::ProtoBuf.ProtoMember(2, IsRequired = true)] + public float detail_value { get; set; } + + [global::ProtoBuf.ProtoContract()] + public enum MvpAccoladeType + { + kills = 1, + deaths = 2, + assists = 3, + net_worth = 5, + item_value = 6, + support_gold_spent = 7, + wards_placed = 8, + dewards = 9, + camps_stacked = 10, + last_hits = 11, + denies = 12, + } + + } + + } + + } + [global::ProtoBuf.ProtoContract()] public enum ELaneSelection { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs index b3aabcf01..454835f06 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs @@ -148,18 +148,6 @@ public enum EDOTAGCMsg k_EMsgGCToGCGetUserChatInfoResponse = 7219, k_EMsgGCToGCLeaveAllChatChannels = 7220, k_EMsgGCToGCUpdateAccountChatBan = 7221, - k_EMsgGCGuildCreateRequest = 7222, - k_EMsgGCGuildCreateResponse = 7223, - k_EMsgGCGuildSetAccountRoleRequest = 7224, - k_EMsgGCGuildSetAccountRoleResponse = 7225, - k_EMsgGCRequestGuildData = 7226, - k_EMsgGCGuildData = 7227, - k_EMsgGCGuildInviteAccountRequest = 7228, - k_EMsgGCGuildInviteAccountResponse = 7229, - k_EMsgGCGuildCancelInviteRequest = 7230, - k_EMsgGCGuildCancelInviteResponse = 7231, - k_EMsgGCGuildUpdateDetailsRequest = 7232, - k_EMsgGCGuildUpdateDetailsResponse = 7233, k_EMsgGCToGCCanInviteUserToTeam = 7234, k_EMsgGCToGCCanInviteUserToTeamResponse = 7235, k_EMsgGCToGCGetUserRank = 7236, @@ -169,30 +157,14 @@ public enum EDOTAGCMsg k_EMsgGCToGCValidateTeamResponse = 7242, k_EMsgGCPassportDataRequest = 7248, k_EMsgGCPassportDataResponse = 7249, - k_EMsgGCNotInGuildData = 7251, - k_EMsgGCGuildInviteData = 7254, k_EMsgGCToGCGetLeagueAdmin = 7255, k_EMsgGCToGCGetLeagueAdminResponse = 7256, k_EMsgGCRequestLeaguePrizePool = 7258, k_EMsgGCRequestLeaguePrizePoolResponse = 7259, - k_EMsgGCToGCUpdateOpenGuildPartyRequest = 7261, - k_EMsgGCToGCUpdateOpenGuildPartyResponse = 7262, - k_EMsgGCToGCDestroyOpenGuildPartyRequest = 7263, - k_EMsgGCToGCDestroyOpenGuildPartyResponse = 7264, - k_EMsgGCGuildUpdateMessage = 7265, - k_EMsgGCPartySetOpenGuildRequest = 7266, - k_EMsgGCPartySetOpenGuildResponse = 7267, - k_EMsgGCGuildOpenPartyRefresh = 7268, - k_EMsgGCJoinOpenGuildPartyRequest = 7269, - k_EMsgGCJoinOpenGuildPartyResponse = 7270, k_EMsgGCLeaveChatChannel = 7272, k_EMsgGCChatMessage = 7273, k_EMsgGCGetHeroStandings = 7274, k_EMsgGCGetHeroStandingsResponse = 7275, - k_EMsgGCGuildEditLogoRequest = 7279, - k_EMsgGCGuildEditLogoResponse = 7280, - k_EMsgGCGuildmatePracticeLobbyListRequest = 7281, - k_EMsgGCGuildmatePracticeLobbyListResponse = 7282, k_EMsgGCItemEditorReservationsRequest = 7283, k_EMsgGCItemEditorReservationsResponse = 7284, k_EMsgGCItemEditorReserveItemDef = 7285, @@ -855,6 +827,15 @@ public enum EDOTAGCMsg k_EMsgGCtoGCAssociatedExploiterAccountInfo = 8640, k_EMsgGCtoGCAssociatedExploiterAccountInfoResponse = 8641, k_EMsgGCtoGCRequestRecalibrationCheck = 8642, + k_EMsgGCToClientVACReminder = 8643, + k_EMsgClientToGCPullTabsRequest = 8644, + k_EMsgGCToClientPullTabsResponse = 8645, + k_EMsgClientToGCPullTabsRedeem = 8646, + k_EMsgGCToClientPullTabsRedeemResponse = 8647, + k_EMsgNeutralItemStats = 8648, + k_EMsgGCToServerLobbyHeroBanRates = 8708, + k_EMsgSignOutMVPStats = 8712, + k_EMsgGCToServerRecordTrainingData = 8732, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs index 3e87e0105..1c4ba4ef3 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs @@ -651,6 +651,16 @@ public bool dev_force_server_type public void Resetdev_force_server_type() => __pbn__dev_force_server_type = null; private bool? __pbn__dev_force_server_type; + [global::ProtoBuf.ProtoMember(29)] + public bool is_recording_match_training_data + { + get { return __pbn__is_recording_match_training_data.GetValueOrDefault(); } + set { __pbn__is_recording_match_training_data = value; } + } + public bool ShouldSerializeis_recording_match_training_data() => __pbn__is_recording_match_training_data != null; + public void Resetis_recording_match_training_data() => __pbn__is_recording_match_training_data = null; + private bool? __pbn__is_recording_match_training_data; + [global::ProtoBuf.ProtoContract()] public enum ServerType { @@ -1201,6 +1211,16 @@ public uint pre_game_duration [global::ProtoBuf.ProtoMember(54)] public global::System.Collections.Generic.List extra_messages { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(55)] + public bool training_data_recorded + { + get { return __pbn__training_data_recorded.GetValueOrDefault(); } + set { __pbn__training_data_recorded = value; } + } + public bool ShouldSerializetraining_data_recorded() => __pbn__training_data_recorded != null; + public void Resettraining_data_recorded() => __pbn__training_data_recorded = null; + private bool? __pbn__training_data_recorded; + [global::ProtoBuf.ProtoContract()] public partial class CTeam : global::ProtoBuf.IExtensible { @@ -1629,6 +1649,46 @@ public uint teleports_used public void Resetteleports_used() => __pbn__teleports_used = null; private uint? __pbn__teleports_used; + [global::ProtoBuf.ProtoMember(56)] + public uint cavern_crawl_map_variant + { + get { return __pbn__cavern_crawl_map_variant.GetValueOrDefault(); } + set { __pbn__cavern_crawl_map_variant = value; } + } + public bool ShouldSerializecavern_crawl_map_variant() => __pbn__cavern_crawl_map_variant != null; + public void Resetcavern_crawl_map_variant() => __pbn__cavern_crawl_map_variant = null; + private uint? __pbn__cavern_crawl_map_variant; + + [global::ProtoBuf.ProtoMember(59)] + public uint dewards + { + get { return __pbn__dewards.GetValueOrDefault(); } + set { __pbn__dewards = value; } + } + public bool ShouldSerializedewards() => __pbn__dewards != null; + public void Resetdewards() => __pbn__dewards = null; + private uint? __pbn__dewards; + + [global::ProtoBuf.ProtoMember(60)] + public uint wards_placed + { + get { return __pbn__wards_placed.GetValueOrDefault(); } + set { __pbn__wards_placed = value; } + } + public bool ShouldSerializewards_placed() => __pbn__wards_placed != null; + public void Resetwards_placed() => __pbn__wards_placed = null; + private uint? __pbn__wards_placed; + + [global::ProtoBuf.ProtoMember(61)] + public uint camps_stacked + { + get { return __pbn__camps_stacked.GetValueOrDefault(); } + set { __pbn__camps_stacked = value; } + } + public bool ShouldSerializecamps_stacked() => __pbn__camps_stacked != null; + public void Resetcamps_stacked() => __pbn__camps_stacked = null; + private uint? __pbn__camps_stacked; + [global::ProtoBuf.ProtoContract()] public partial class CCustomGameData : global::ProtoBuf.IExtensible { @@ -2590,6 +2650,9 @@ public uint metadata_private_key [global::ProtoBuf.ProtoMember(9)] public global::System.Collections.Generic.List players_metadata { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(10)] + public CMvpData mvp_data { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class PlayerMetadata : global::ProtoBuf.IExtensible { @@ -3448,6 +3511,16 @@ public bool is_new_player public void Resetis_new_player() => __pbn__is_new_player = null; private bool? __pbn__is_new_player; + [global::ProtoBuf.ProtoMember(9)] + public bool is_guide_player + { + get { return __pbn__is_guide_player.GetValueOrDefault(); } + set { __pbn__is_guide_player = value; } + } + public bool ShouldSerializeis_guide_player() => __pbn__is_guide_player != null; + public void Resetis_guide_player() => __pbn__is_guide_player = null; + private bool? __pbn__is_guide_player; + } [global::ProtoBuf.ProtoContract()] @@ -3552,6 +3625,16 @@ public bool is_new_player public void Resetis_new_player() => __pbn__is_new_player = null; private bool? __pbn__is_new_player; + [global::ProtoBuf.ProtoMember(8)] + public bool is_guide_player + { + get { return __pbn__is_guide_player.GetValueOrDefault(); } + set { __pbn__is_guide_player = value; } + } + public bool ShouldSerializeis_guide_player() => __pbn__is_guide_player != null; + public void Resetis_guide_player() => __pbn__is_guide_player = null; + private bool? __pbn__is_guide_player; + } } @@ -6507,6 +6590,16 @@ public uint account_id private uint? __pbn__account_id; [global::ProtoBuf.ProtoMember(3)] + public uint map_variant + { + get { return __pbn__map_variant.GetValueOrDefault(); } + set { __pbn__map_variant = value; } + } + public bool ShouldSerializemap_variant() => __pbn__map_variant != null; + public void Resetmap_variant() => __pbn__map_variant = null; + private uint? __pbn__map_variant; + + [global::ProtoBuf.ProtoMember(4)] public uint hero_id { get { return __pbn__hero_id.GetValueOrDefault(); } @@ -6516,7 +6609,7 @@ public uint hero_id public void Resethero_id() => __pbn__hero_id = null; private uint? __pbn__hero_id; - [global::ProtoBuf.ProtoMember(4)] + [global::ProtoBuf.ProtoMember(5)] public bool turbo_mode { get { return __pbn__turbo_mode.GetValueOrDefault(); } @@ -7262,6 +7355,548 @@ public uint assists } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgNeutralItemStats : global::ProtoBuf.IExtensible + { + private 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 neutral_items { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class NeutralItem : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint item_id + { + get { return __pbn__item_id.GetValueOrDefault(); } + set { __pbn__item_id = value; } + } + public bool ShouldSerializeitem_id() => __pbn__item_id != null; + public void Resetitem_id() => __pbn__item_id = null; + private uint? __pbn__item_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint time_dropped + { + get { return __pbn__time_dropped.GetValueOrDefault(); } + set { __pbn__time_dropped = value; } + } + public bool ShouldSerializetime_dropped() => __pbn__time_dropped != null; + public void Resettime_dropped() => __pbn__time_dropped = null; + private uint? __pbn__time_dropped; + + [global::ProtoBuf.ProtoMember(3)] + public uint team + { + get { return __pbn__team.GetValueOrDefault(); } + set { __pbn__team = value; } + } + public bool ShouldSerializeteam() => __pbn__team != null; + public void Resetteam() => __pbn__team = null; + private uint? __pbn__team; + + [global::ProtoBuf.ProtoMember(4)] + public uint time_last_equipped + { + get { return __pbn__time_last_equipped.GetValueOrDefault(); } + set { __pbn__time_last_equipped = value; } + } + public bool ShouldSerializetime_last_equipped() => __pbn__time_last_equipped != null; + public void Resettime_last_equipped() => __pbn__time_last_equipped = null; + private uint? __pbn__time_last_equipped; + + [global::ProtoBuf.ProtoMember(5)] + public uint time_last_unequipped + { + get { return __pbn__time_last_unequipped.GetValueOrDefault(); } + set { __pbn__time_last_unequipped = value; } + } + public bool ShouldSerializetime_last_unequipped() => __pbn__time_last_unequipped != null; + public void Resettime_last_unequipped() => __pbn__time_last_unequipped = null; + private uint? __pbn__time_last_unequipped; + + [global::ProtoBuf.ProtoMember(6)] + public uint duration_equipped + { + get { return __pbn__duration_equipped.GetValueOrDefault(); } + set { __pbn__duration_equipped = value; } + } + public bool ShouldSerializeduration_equipped() => __pbn__duration_equipped != null; + public void Resetduration_equipped() => __pbn__duration_equipped = null; + private uint? __pbn__duration_equipped; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToServerLobbyHeroBanRates : global::ProtoBuf.IExtensible + { + private 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 ban_data { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class HeroBanEntry : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint hero_id + { + get { 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(2)] + public uint ban_count + { + get { return __pbn__ban_count.GetValueOrDefault(); } + set { __pbn__ban_count = value; } + } + public bool ShouldSerializeban_count() => __pbn__ban_count != null; + public void Resetban_count() => __pbn__ban_count = null; + private uint? __pbn__ban_count; + + [global::ProtoBuf.ProtoMember(3)] + public uint pick_count + { + get { return __pbn__pick_count.GetValueOrDefault(); } + set { __pbn__pick_count = value; } + } + public bool ShouldSerializepick_count() => __pbn__pick_count != null; + public void Resetpick_count() => __pbn__pick_count = null; + private uint? __pbn__pick_count; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSignOutMVPStats : global::ProtoBuf.IExtensible + { + private 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 game_mode + { + get { return __pbn__game_mode.GetValueOrDefault(); } + set { __pbn__game_mode = value; } + } + public bool ShouldSerializegame_mode() => __pbn__game_mode != null; + public void Resetgame_mode() => __pbn__game_mode = null; + private uint? __pbn__game_mode; + + [global::ProtoBuf.ProtoMember(3)] + public uint winning_team + { + get { return __pbn__winning_team.GetValueOrDefault(); } + set { __pbn__winning_team = value; } + } + public bool ShouldSerializewinning_team() => __pbn__winning_team != null; + public void Resetwinning_team() => __pbn__winning_team = null; + private uint? __pbn__winning_team; + + [global::ProtoBuf.ProtoMember(4)] + public float game_time + { + get { return __pbn__game_time.GetValueOrDefault(); } + set { __pbn__game_time = value; } + } + public bool ShouldSerializegame_time() => __pbn__game_time != null; + public void Resetgame_time() => __pbn__game_time = null; + private float? __pbn__game_time; + + [global::ProtoBuf.ProtoMember(5)] + public global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Player : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint team_id + { + get { return __pbn__team_id.GetValueOrDefault(); } + set { __pbn__team_id = value; } + } + public bool ShouldSerializeteam_id() => __pbn__team_id != null; + public void Resetteam_id() => __pbn__team_id = null; + private uint? __pbn__team_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint team_networth_rank + { + get { return __pbn__team_networth_rank.GetValueOrDefault(); } + set { __pbn__team_networth_rank = value; } + } + public bool ShouldSerializeteam_networth_rank() => __pbn__team_networth_rank != null; + public void Resetteam_networth_rank() => __pbn__team_networth_rank = null; + private uint? __pbn__team_networth_rank; + + [global::ProtoBuf.ProtoMember(3)] + 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(32)] + public uint slot + { + get { return __pbn__slot.GetValueOrDefault(); } + set { __pbn__slot = value; } + } + public bool ShouldSerializeslot() => __pbn__slot != null; + public void Resetslot() => __pbn__slot = null; + private uint? __pbn__slot; + + [global::ProtoBuf.ProtoMember(33)] + 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(4)] + 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(5)] + public uint role + { + get { return __pbn__role.GetValueOrDefault(); } + set { __pbn__role = value; } + } + public bool ShouldSerializerole() => __pbn__role != null; + public void Resetrole() => __pbn__role = null; + private uint? __pbn__role; + + [global::ProtoBuf.ProtoMember(6)] + public int kills + { + get { return __pbn__kills.GetValueOrDefault(); } + set { __pbn__kills = value; } + } + public bool ShouldSerializekills() => __pbn__kills != null; + public void Resetkills() => __pbn__kills = null; + private int? __pbn__kills; + + [global::ProtoBuf.ProtoMember(7)] + public int deaths + { + get { return __pbn__deaths.GetValueOrDefault(); } + set { __pbn__deaths = value; } + } + public bool ShouldSerializedeaths() => __pbn__deaths != null; + public void Resetdeaths() => __pbn__deaths = null; + private int? __pbn__deaths; + + [global::ProtoBuf.ProtoMember(8)] + public int assists + { + get { return __pbn__assists.GetValueOrDefault(); } + set { __pbn__assists = value; } + } + public bool ShouldSerializeassists() => __pbn__assists != null; + public void Resetassists() => __pbn__assists = null; + private int? __pbn__assists; + + [global::ProtoBuf.ProtoMember(9)] + public int xp + { + get { return __pbn__xp.GetValueOrDefault(); } + set { __pbn__xp = value; } + } + public bool ShouldSerializexp() => __pbn__xp != null; + public void Resetxp() => __pbn__xp = null; + private int? __pbn__xp; + + [global::ProtoBuf.ProtoMember(10)] + public int net_worth + { + get { return __pbn__net_worth.GetValueOrDefault(); } + set { __pbn__net_worth = value; } + } + public bool ShouldSerializenet_worth() => __pbn__net_worth != null; + public void Resetnet_worth() => __pbn__net_worth = null; + private int? __pbn__net_worth; + + [global::ProtoBuf.ProtoMember(11)] + public int item_value + { + get { return __pbn__item_value.GetValueOrDefault(); } + set { __pbn__item_value = value; } + } + public bool ShouldSerializeitem_value() => __pbn__item_value != null; + public void Resetitem_value() => __pbn__item_value = null; + private int? __pbn__item_value; + + [global::ProtoBuf.ProtoMember(12)] + public int support_gold_spent + { + get { return __pbn__support_gold_spent.GetValueOrDefault(); } + set { __pbn__support_gold_spent = value; } + } + public bool ShouldSerializesupport_gold_spent() => __pbn__support_gold_spent != null; + public void Resetsupport_gold_spent() => __pbn__support_gold_spent = null; + private int? __pbn__support_gold_spent; + + [global::ProtoBuf.ProtoMember(13)] + public int wards_placed + { + get { return __pbn__wards_placed.GetValueOrDefault(); } + set { __pbn__wards_placed = value; } + } + public bool ShouldSerializewards_placed() => __pbn__wards_placed != null; + public void Resetwards_placed() => __pbn__wards_placed = null; + private int? __pbn__wards_placed; + + [global::ProtoBuf.ProtoMember(14)] + public int wards_spotted_for_dewarding + { + get { return __pbn__wards_spotted_for_dewarding.GetValueOrDefault(); } + set { __pbn__wards_spotted_for_dewarding = value; } + } + public bool ShouldSerializewards_spotted_for_dewarding() => __pbn__wards_spotted_for_dewarding != null; + public void Resetwards_spotted_for_dewarding() => __pbn__wards_spotted_for_dewarding = null; + private int? __pbn__wards_spotted_for_dewarding; + + [global::ProtoBuf.ProtoMember(15)] + public int camps_stacked + { + get { return __pbn__camps_stacked.GetValueOrDefault(); } + set { __pbn__camps_stacked = value; } + } + public bool ShouldSerializecamps_stacked() => __pbn__camps_stacked != null; + public void Resetcamps_stacked() => __pbn__camps_stacked = null; + private int? __pbn__camps_stacked; + + [global::ProtoBuf.ProtoMember(16)] + public int last_hits + { + get { return __pbn__last_hits.GetValueOrDefault(); } + set { __pbn__last_hits = value; } + } + public bool ShouldSerializelast_hits() => __pbn__last_hits != null; + public void Resetlast_hits() => __pbn__last_hits = null; + private int? __pbn__last_hits; + + [global::ProtoBuf.ProtoMember(17)] + public int denies + { + get { return __pbn__denies.GetValueOrDefault(); } + set { __pbn__denies = value; } + } + public bool ShouldSerializedenies() => __pbn__denies != null; + public void Resetdenies() => __pbn__denies = null; + private int? __pbn__denies; + + [global::ProtoBuf.ProtoMember(18)] + public int hero_damage + { + get { return __pbn__hero_damage.GetValueOrDefault(); } + set { __pbn__hero_damage = value; } + } + public bool ShouldSerializehero_damage() => __pbn__hero_damage != null; + public void Resethero_damage() => __pbn__hero_damage = null; + private int? __pbn__hero_damage; + + [global::ProtoBuf.ProtoMember(19)] + public int building_damage + { + get { return __pbn__building_damage.GetValueOrDefault(); } + set { __pbn__building_damage = value; } + } + public bool ShouldSerializebuilding_damage() => __pbn__building_damage != null; + public void Resetbuilding_damage() => __pbn__building_damage = null; + private int? __pbn__building_damage; + + [global::ProtoBuf.ProtoMember(20)] + public int other_damage + { + get { return __pbn__other_damage.GetValueOrDefault(); } + set { __pbn__other_damage = value; } + } + public bool ShouldSerializeother_damage() => __pbn__other_damage != null; + public void Resetother_damage() => __pbn__other_damage = null; + private int? __pbn__other_damage; + + [global::ProtoBuf.ProtoMember(21)] + public int damage_taken + { + get { return __pbn__damage_taken.GetValueOrDefault(); } + set { __pbn__damage_taken = value; } + } + public bool ShouldSerializedamage_taken() => __pbn__damage_taken != null; + public void Resetdamage_taken() => __pbn__damage_taken = null; + private int? __pbn__damage_taken; + + [global::ProtoBuf.ProtoMember(22)] + public int hero_healing + { + get { return __pbn__hero_healing.GetValueOrDefault(); } + set { __pbn__hero_healing = value; } + } + public bool ShouldSerializehero_healing() => __pbn__hero_healing != null; + public void Resethero_healing() => __pbn__hero_healing = null; + private int? __pbn__hero_healing; + + [global::ProtoBuf.ProtoMember(23)] + public int building_healing + { + get { return __pbn__building_healing.GetValueOrDefault(); } + set { __pbn__building_healing = value; } + } + public bool ShouldSerializebuilding_healing() => __pbn__building_healing != null; + public void Resetbuilding_healing() => __pbn__building_healing = null; + private int? __pbn__building_healing; + + [global::ProtoBuf.ProtoMember(24)] + public int other_healing + { + get { return __pbn__other_healing.GetValueOrDefault(); } + set { __pbn__other_healing = value; } + } + public bool ShouldSerializeother_healing() => __pbn__other_healing != null; + public void Resetother_healing() => __pbn__other_healing = null; + private int? __pbn__other_healing; + + [global::ProtoBuf.ProtoMember(25)] + public int double_kills + { + get { return __pbn__double_kills.GetValueOrDefault(); } + set { __pbn__double_kills = value; } + } + public bool ShouldSerializedouble_kills() => __pbn__double_kills != null; + public void Resetdouble_kills() => __pbn__double_kills = null; + private int? __pbn__double_kills; + + [global::ProtoBuf.ProtoMember(26)] + public int triple_kills + { + get { return __pbn__triple_kills.GetValueOrDefault(); } + set { __pbn__triple_kills = value; } + } + public bool ShouldSerializetriple_kills() => __pbn__triple_kills != null; + public void Resettriple_kills() => __pbn__triple_kills = null; + private int? __pbn__triple_kills; + + [global::ProtoBuf.ProtoMember(27)] + public int ultra_kills + { + get { return __pbn__ultra_kills.GetValueOrDefault(); } + set { __pbn__ultra_kills = value; } + } + public bool ShouldSerializeultra_kills() => __pbn__ultra_kills != null; + public void Resetultra_kills() => __pbn__ultra_kills = null; + private int? __pbn__ultra_kills; + + [global::ProtoBuf.ProtoMember(28)] + public int rampages + { + get { return __pbn__rampages.GetValueOrDefault(); } + set { __pbn__rampages = value; } + } + public bool ShouldSerializerampages() => __pbn__rampages != null; + public void Resetrampages() => __pbn__rampages = null; + private int? __pbn__rampages; + + [global::ProtoBuf.ProtoMember(29)] + public int biggest_kill_streak + { + get { return __pbn__biggest_kill_streak.GetValueOrDefault(); } + set { __pbn__biggest_kill_streak = value; } + } + public bool ShouldSerializebiggest_kill_streak() => __pbn__biggest_kill_streak != null; + public void Resetbiggest_kill_streak() => __pbn__biggest_kill_streak = null; + private int? __pbn__biggest_kill_streak; + + [global::ProtoBuf.ProtoMember(30)] + public int biggest_kill_assist_streak + { + get { return __pbn__biggest_kill_assist_streak.GetValueOrDefault(); } + set { __pbn__biggest_kill_assist_streak = value; } + } + public bool ShouldSerializebiggest_kill_assist_streak() => __pbn__biggest_kill_assist_streak != null; + public void Resetbiggest_kill_assist_streak() => __pbn__biggest_kill_assist_streak = null; + private int? __pbn__biggest_kill_assist_streak; + + [global::ProtoBuf.ProtoMember(31)] + public int first_blood + { + get { return __pbn__first_blood.GetValueOrDefault(); } + set { __pbn__first_blood = value; } + } + public bool ShouldSerializefirst_blood() => __pbn__first_blood != null; + public void Resetfirst_blood() => __pbn__first_blood = null; + private int? __pbn__first_blood; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToServerRecordTrainingData : global::ProtoBuf.IExtensible + { + private 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 enable + { + get { return __pbn__enable.GetValueOrDefault(); } + set { __pbn__enable = value; } + } + public bool ShouldSerializeenable() => __pbn__enable != null; + public void Resetenable() => __pbn__enable = null; + private bool? __pbn__enable; + + } + [global::ProtoBuf.ProtoContract()] public enum EPoorNetworkConditionsType { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs index 4edd7d53a..f5ffd114c 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs @@ -95,6 +95,9 @@ public uint primary_event_id [global::ProtoBuf.ProtoMember(8)] public CMsgMatchMatchmakingStats matchmaking_stats { get; set; } + [global::ProtoBuf.ProtoMember(9)] + public CMvpData mvp_data { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class Team : global::ProtoBuf.IExtensible { @@ -730,6 +733,16 @@ public uint cavern_challenge_plus_shard_winnings [global::ProtoBuf.ProtoMember(19)] public global::System.Collections.Generic.List actions_granted { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(20)] + public uint cavern_crawl_map_variant + { + get { return __pbn__cavern_crawl_map_variant.GetValueOrDefault(); } + set { __pbn__cavern_crawl_map_variant = value; } + } + public bool ShouldSerializecavern_crawl_map_variant() => __pbn__cavern_crawl_map_variant != null; + public void Resetcavern_crawl_map_variant() => __pbn__cavern_crawl_map_variant = null; + private uint? __pbn__cavern_crawl_map_variant; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs index e721bb917..2f48686f9 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs @@ -1149,7 +1149,9 @@ public enum EEvent EVENT_ID_INTERNATIONAL_2019 = 25, EVENT_ID_NEW_PLAYER_EXPERIENCE = 26, EVENT_ID_FROSTIVUS_2019 = 27, - EVENT_ID_COUNT = 28, + EVENT_ID_NEW_BLOOM_2020 = 28, + EVENT_ID_INTERNATIONAL_2020 = 29, + EVENT_ID_COUNT = 30, } [global::ProtoBuf.ProtoContract()] @@ -1221,7 +1223,6 @@ public enum DOTAChatChannelType_t DOTAChannelType_Party = 2, DOTAChannelType_Lobby = 3, DOTAChannelType_Team = 4, - DOTAChannelType_Guild = 5, DOTAChannelType_Fantasy = 6, DOTAChannelType_Whisper = 7, DOTAChannelType_Console = 8, @@ -1309,6 +1310,7 @@ public enum DOTAJoinLobbyResult DOTA_JOIN_RESULT_TIMEOUT = 11, DOTA_JOIN_RESULT_CUSTOM_GAME_COOLDOWN = 12, DOTA_JOIN_RESULT_BUSY = 13, + DOTA_JOIN_RESULT_NO_PLAYTIME = 14, } [global::ProtoBuf.ProtoContract()] @@ -1360,7 +1362,7 @@ public enum EDOTAPlayerMMRType { k_EDOTAPlayerMMRType_Invalid = 0, k_EDOTAPlayerMMRType_GeneralHidden = 1, - k_EDOTAPlayerMMRType_GeneralCompetitive2019 = 3, + k_EDOTAPlayerMMRType_GeneralCompetitive = 3, k_EDOTAPlayerMMRType_SoloCompetitive2019 = 4, k_EDOTAPlayerMMRType_1v1Competitive_UNUSED = 5, k_EDOTAPlayerMMRType_GeneralSeasonalRanked = 6, @@ -1477,6 +1479,7 @@ public enum EMatchOutcome k_EMatchOutcome_NotScored_ServerCrash = 66, k_EMatchOutcome_NotScored_NeverStarted = 67, k_EMatchOutcome_NotScored_Canceled = 68, + k_EMatchOutcome_NotScored_Suspicious = 69, } [global::ProtoBuf.ProtoContract()] @@ -1574,19 +1577,6 @@ public enum ELeaguePhase LEAGUE_PHASE_MAIN_EVENT = 3, } - [global::ProtoBuf.ProtoContract()] - public enum ELeagueFantasyPhase - { - LEAGUE_FANTASY_PHASE_UNSET = 0, - LEAGUE_FANTASY_PHASE_MAIN = 1, - LEAGUE_FANTASY_PHASE_QUALIFIER_NA = 2, - LEAGUE_FANTASY_PHASE_QUALIFIER_SA = 3, - LEAGUE_FANTASY_PHASE_QUALIFIER_EUROPE = 4, - LEAGUE_FANTASY_PHASE_QUALIFIER_CIS = 5, - LEAGUE_FANTASY_PHASE_QUALIFIER_CHINA = 6, - LEAGUE_FANTASY_PHASE_QUALIFIER_SEA = 7, - } - [global::ProtoBuf.ProtoContract()] public enum ELeagueAuditAction { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs index 0f7f4ad7a..c20217b78 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgBase.cs @@ -3689,6 +3689,180 @@ public bool ismember } + [global::ProtoBuf.ProtoContract()] + public partial class CGCSystemMsg_ReportExternalPurchase_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, 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(3)] + [global::System.ComponentModel.DefaultValue(EMobilePaymentProvider.k_EMobilePaymentProvider_Invalid)] + public EMobilePaymentProvider provider + { + get { return __pbn__provider ?? EMobilePaymentProvider.k_EMobilePaymentProvider_Invalid; } + set { __pbn__provider = value; } + } + public bool ShouldSerializeprovider() => __pbn__provider != null; + public void Resetprovider() => __pbn__provider = null; + private EMobilePaymentProvider? __pbn__provider; + + [global::ProtoBuf.ProtoMember(4)] + public ulong orderid + { + get { return __pbn__orderid.GetValueOrDefault(); } + set { __pbn__orderid = value; } + } + public bool ShouldSerializeorderid() => __pbn__orderid != null; + public void Resetorderid() => __pbn__orderid = null; + private ulong? __pbn__orderid; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string provider_orderid + { + get { return __pbn__provider_orderid ?? ""; } + set { __pbn__provider_orderid = value; } + } + public bool ShouldSerializeprovider_orderid() => __pbn__provider_orderid != null; + public void Resetprovider_orderid() => __pbn__provider_orderid = null; + private string __pbn__provider_orderid; + + [global::ProtoBuf.ProtoMember(6)] + public long amount + { + get { return __pbn__amount.GetValueOrDefault(); } + set { __pbn__amount = value; } + } + public bool ShouldSerializeamount() => __pbn__amount != null; + public void Resetamount() => __pbn__amount = null; + private long? __pbn__amount; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string currency + { + get { return __pbn__currency ?? ""; } + set { __pbn__currency = value; } + } + public bool ShouldSerializecurrency() => __pbn__currency != null; + public void Resetcurrency() => __pbn__currency = null; + private string __pbn__currency; + + [global::ProtoBuf.ProtoMember(8)] + public uint quantity + { + get { return __pbn__quantity.GetValueOrDefault(); } + set { __pbn__quantity = value; } + } + public bool ShouldSerializequantity() => __pbn__quantity != null; + public void Resetquantity() => __pbn__quantity = null; + private uint? __pbn__quantity; + + [global::ProtoBuf.ProtoMember(9)] + public uint itemid + { + get { return __pbn__itemid.GetValueOrDefault(); } + set { __pbn__itemid = value; } + } + public bool ShouldSerializeitemid() => __pbn__itemid != null; + public void Resetitemid() => __pbn__itemid = null; + private uint? __pbn__itemid; + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] + public string item_description + { + get { return __pbn__item_description ?? ""; } + set { __pbn__item_description = value; } + } + public bool ShouldSerializeitem_description() => __pbn__item_description != null; + public void Resetitem_description() => __pbn__item_description = null; + private string __pbn__item_description; + + [global::ProtoBuf.ProtoMember(11)] + [global::System.ComponentModel.DefaultValue("")] + public string language + { + get { return __pbn__language ?? ""; } + set { __pbn__language = value; } + } + public bool ShouldSerializelanguage() => __pbn__language != null; + public void Resetlanguage() => __pbn__language = null; + private string __pbn__language; + + [global::ProtoBuf.ProtoMember(12)] + [global::System.ComponentModel.DefaultValue("")] + public string category + { + get { return __pbn__category ?? ""; } + set { __pbn__category = value; } + } + public bool ShouldSerializecategory() => __pbn__category != null; + public void Resetcategory() => __pbn__category = null; + private string __pbn__category; + + [global::ProtoBuf.ProtoMember(13)] + public uint time_created + { + get { return __pbn__time_created.GetValueOrDefault(); } + set { __pbn__time_created = value; } + } + public bool ShouldSerializetime_created() => __pbn__time_created != null; + public void Resettime_created() => __pbn__time_created = null; + private uint? __pbn__time_created; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CGCSystemMsg_ReportExternalPurchase_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, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong transid + { + get { return __pbn__transid.GetValueOrDefault(); } + set { __pbn__transid = value; } + } + public bool ShouldSerializetransid() => __pbn__transid != null; + public void Resettransid() => __pbn__transid = null; + private ulong? __pbn__transid; + + [global::ProtoBuf.ProtoMember(2)] + public ulong orderid + { + get { return __pbn__orderid.GetValueOrDefault(); } + set { __pbn__orderid = value; } + } + public bool ShouldSerializeorderid() => __pbn__orderid != null; + public void Resetorderid() => __pbn__orderid = null; + private ulong? __pbn__orderid; + + } + [global::ProtoBuf.ProtoContract()] public partial class CWorkshop_AddSpecialPayment_Request : global::ProtoBuf.IExtensible { @@ -3881,6 +4055,14 @@ public enum GCProtoBufMsgSrc GCProtoBufMsgSrc_SpoofedSteamID = 5, } + [global::ProtoBuf.ProtoContract()] + public enum EMobilePaymentProvider + { + k_EMobilePaymentProvider_Invalid = 0, + k_EMobilePaymentProvider_GooglePlay = 1, + k_EMobilePaymentProvider_AppleAppStore = 2, + } + [global::ProtoBuf.ProtoContract()] public enum EDACPlatform { diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgAccountHardware.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgAccountHardware.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgAccountHardware.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgAccountHardware.cs index 89805aa74..520d74a67 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgAccountHardware.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgAccountHardware.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs index d1dcd9fe0..1fa511b4e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs @@ -298,6 +298,17 @@ public uint launcher_type public void Resetlauncher_type() => __pbn__launcher_type = null; private uint? __pbn__launcher_type; + [global::ProtoBuf.ProtoMember(32)] + [global::System.ComponentModel.DefaultValue(0)] + public uint realm + { + get { return __pbn__realm ?? 0; } + set { __pbn__realm = value; } + } + public bool ShouldSerializerealm() => __pbn__realm != null; + public void Resetrealm() => __pbn__realm = null; + private uint? __pbn__realm; + [global::ProtoBuf.ProtoMember(15)] public uint ip { @@ -1193,6 +1204,26 @@ public ulong event_gid public void Resetevent_gid() => __pbn__event_gid = null; private ulong? __pbn__event_gid; + [global::ProtoBuf.ProtoMember(14)] + public int voteupcount + { + get { return __pbn__voteupcount.GetValueOrDefault(); } + set { __pbn__voteupcount = value; } + } + public bool ShouldSerializevoteupcount() => __pbn__voteupcount != null; + public void Resetvoteupcount() => __pbn__voteupcount = null; + private int? __pbn__voteupcount; + + [global::ProtoBuf.ProtoMember(15)] + public int votedowncount + { + get { return __pbn__votedowncount.GetValueOrDefault(); } + set { __pbn__votedowncount = value; } + } + public bool ShouldSerializevotedowncount() => __pbn__votedowncount != null; + public void Resetvotedowncount() => __pbn__votedowncount = null; + private int? __pbn__votedowncount; + } [global::ProtoBuf.ProtoContract()] @@ -1443,6 +1474,124 @@ public uint rtime32_last_modified } + [global::ProtoBuf.ProtoContract()] + public partial class CBilling_Address : global::ProtoBuf.IExtensible + { + private 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 first_name + { + get { return __pbn__first_name ?? ""; } + set { __pbn__first_name = value; } + } + public bool ShouldSerializefirst_name() => __pbn__first_name != null; + public void Resetfirst_name() => __pbn__first_name = null; + private string __pbn__first_name; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string last_name + { + get { return __pbn__last_name ?? ""; } + set { __pbn__last_name = value; } + } + public bool ShouldSerializelast_name() => __pbn__last_name != null; + public void Resetlast_name() => __pbn__last_name = null; + private string __pbn__last_name; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string address1 + { + get { return __pbn__address1 ?? ""; } + set { __pbn__address1 = value; } + } + public bool ShouldSerializeaddress1() => __pbn__address1 != null; + public void Resetaddress1() => __pbn__address1 = null; + private string __pbn__address1; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string address2 + { + get { return __pbn__address2 ?? ""; } + set { __pbn__address2 = value; } + } + public bool ShouldSerializeaddress2() => __pbn__address2 != null; + public void Resetaddress2() => __pbn__address2 = null; + private string __pbn__address2; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string city + { + get { return __pbn__city ?? ""; } + set { __pbn__city = value; } + } + public bool ShouldSerializecity() => __pbn__city != null; + public void Resetcity() => __pbn__city = null; + private string __pbn__city; + + [global::ProtoBuf.ProtoMember(6)] + [global::System.ComponentModel.DefaultValue("")] + public string us_state + { + get { return __pbn__us_state ?? ""; } + set { __pbn__us_state = value; } + } + public bool ShouldSerializeus_state() => __pbn__us_state != null; + public void Resetus_state() => __pbn__us_state = null; + private string __pbn__us_state; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string country_code + { + get { return __pbn__country_code ?? ""; } + set { __pbn__country_code = value; } + } + public bool ShouldSerializecountry_code() => __pbn__country_code != null; + public void Resetcountry_code() => __pbn__country_code = null; + private string __pbn__country_code; + + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue("")] + public string postcode + { + get { return __pbn__postcode ?? ""; } + set { __pbn__postcode = value; } + } + public bool ShouldSerializepostcode() => __pbn__postcode != null; + public void Resetpostcode() => __pbn__postcode = null; + private string __pbn__postcode; + + [global::ProtoBuf.ProtoMember(9)] + public int zip_plus4 + { + get { return __pbn__zip_plus4.GetValueOrDefault(); } + set { __pbn__zip_plus4 = value; } + } + public bool ShouldSerializezip_plus4() => __pbn__zip_plus4 != null; + public void Resetzip_plus4() => __pbn__zip_plus4 = null; + private int? __pbn__zip_plus4; + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] + public string phone + { + get { return __pbn__phone ?? ""; } + set { __pbn__phone = value; } + } + public bool ShouldSerializephone() => __pbn__phone != null; + public void Resetphone() => __pbn__phone = null; + private string __pbn__phone; + + } + [global::ProtoBuf.ProtoContract()] public enum EProtoClanEventType { diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgBroadcast.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgBroadcast.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs index 826d1d98f..a5e8c5874 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgBroadcast.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] @@ -1276,6 +1276,28 @@ public uint instance_id public void Resetinstance_id() => __pbn__instance_id = null; private uint? __pbn__instance_id; + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(0)] + public uint language + { + get { return __pbn__language ?? 0; } + set { __pbn__language = value; } + } + public bool ShouldSerializelanguage() => __pbn__language != null; + public void Resetlanguage() => __pbn__language = null; + private uint? __pbn__language; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string country_code + { + get { return __pbn__country_code ?? ""; } + set { __pbn__country_code = value; } + } + public bool ShouldSerializecountry_code() => __pbn__country_code != null; + public void Resetcountry_code() => __pbn__country_code = null; + private string __pbn__country_code; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgChat.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgChat.cs similarity index 89% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgChat.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgChat.cs index f3f4798e9..cdf0ec13b 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgChat.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgChat.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] @@ -426,6 +426,16 @@ public ulong watching_broadcast_channel_id public void Resetwatching_broadcast_channel_id() => __pbn__watching_broadcast_channel_id = null; private ulong? __pbn__watching_broadcast_channel_id; + [global::ProtoBuf.ProtoMember(24)] + public ulong active_minigame_id + { + get { return __pbn__active_minigame_id.GetValueOrDefault(); } + set { __pbn__active_minigame_id = value; } + } + public bool ShouldSerializeactive_minigame_id() => __pbn__active_minigame_id != null; + public void Resetactive_minigame_id() => __pbn__active_minigame_id = null; + private ulong? __pbn__active_minigame_id; + } [global::ProtoBuf.ProtoContract()] @@ -1003,6 +1013,102 @@ public partial class CChatRoom_SetChatRoomGroupWatchingBroadcast_Response : glob } + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_JoinMiniGameForChatRoomGroup_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 chat_group_id + { + get { return __pbn__chat_group_id.GetValueOrDefault(); } + set { __pbn__chat_group_id = value; } + } + public bool ShouldSerializechat_group_id() => __pbn__chat_group_id != null; + public void Resetchat_group_id() => __pbn__chat_group_id = null; + private ulong? __pbn__chat_group_id; + + [global::ProtoBuf.ProtoMember(2)] + public ulong chat_id + { + get { return __pbn__chat_id.GetValueOrDefault(); } + set { __pbn__chat_id = value; } + } + public bool ShouldSerializechat_id() => __pbn__chat_id != null; + public void Resetchat_id() => __pbn__chat_id = null; + private ulong? __pbn__chat_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_JoinMiniGameForChatRoomGroup_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public ulong minigame_id + { + get { return __pbn__minigame_id.GetValueOrDefault(); } + set { __pbn__minigame_id = value; } + } + public bool ShouldSerializeminigame_id() => __pbn__minigame_id != null; + public void Resetminigame_id() => __pbn__minigame_id = null; + private ulong? __pbn__minigame_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_EndMiniGameForChatRoomGroup_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 chat_group_id + { + get { return __pbn__chat_group_id.GetValueOrDefault(); } + set { __pbn__chat_group_id = value; } + } + public bool ShouldSerializechat_group_id() => __pbn__chat_group_id != null; + public void Resetchat_group_id() => __pbn__chat_group_id = null; + private ulong? __pbn__chat_group_id; + + [global::ProtoBuf.ProtoMember(2)] + public ulong chat_id + { + get { return __pbn__chat_id.GetValueOrDefault(); } + set { __pbn__chat_id = value; } + } + public bool ShouldSerializechat_id() => __pbn__chat_id != null; + public void Resetchat_id() => __pbn__chat_id = null; + private ulong? __pbn__chat_id; + + [global::ProtoBuf.ProtoMember(3)] + public ulong minigame_id + { + get { return __pbn__minigame_id.GetValueOrDefault(); } + set { __pbn__minigame_id = value; } + } + public bool ShouldSerializeminigame_id() => __pbn__minigame_id != null; + public void Resetminigame_id() => __pbn__minigame_id = null; + private ulong? __pbn__minigame_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_EndMiniGameForChatRoomGroup_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 CChatRoom_MuteUser_Request : global::ProtoBuf.IExtensible { @@ -1998,6 +2104,16 @@ public string message public void Resetmessage() => __pbn__message = null; private string __pbn__message; + [global::ProtoBuf.ProtoMember(4)] + public bool echo_to_sender + { + get { return __pbn__echo_to_sender.GetValueOrDefault(); } + set { __pbn__echo_to_sender = value; } + } + public bool ShouldSerializeecho_to_sender() => __pbn__echo_to_sender != null; + public void Resetecho_to_sender() => __pbn__echo_to_sender = null; + private bool? __pbn__echo_to_sender; + } [global::ProtoBuf.ProtoContract()] @@ -2038,6 +2154,17 @@ public uint ordinal public void Resetordinal() => __pbn__ordinal = null; private uint? __pbn__ordinal; + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string message_without_bb_code + { + get { return __pbn__message_without_bb_code ?? ""; } + set { __pbn__message_without_bb_code = value; } + } + public bool ShouldSerializemessage_without_bb_code() => __pbn__message_without_bb_code != null; + public void Resetmessage_without_bb_code() => __pbn__message_without_bb_code = null; + private string __pbn__message_without_bb_code; + } [global::ProtoBuf.ProtoContract()] @@ -2505,6 +2632,16 @@ public ulong watching_broadcast_channel_id public void Resetwatching_broadcast_channel_id() => __pbn__watching_broadcast_channel_id = null; private ulong? __pbn__watching_broadcast_channel_id; + [global::ProtoBuf.ProtoMember(20)] + public ulong active_minigame_id + { + get { return __pbn__active_minigame_id.GetValueOrDefault(); } + set { __pbn__active_minigame_id = value; } + } + public bool ShouldSerializeactive_minigame_id() => __pbn__active_minigame_id != null; + public void Resetactive_minigame_id() => __pbn__active_minigame_id = null; + private ulong? __pbn__active_minigame_id; + } [global::ProtoBuf.ProtoContract()] @@ -2584,6 +2721,86 @@ public ulong chat_group_id } + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_SetAppChatRoomGroupForceActive_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 chat_group_id + { + get { return __pbn__chat_group_id.GetValueOrDefault(); } + set { __pbn__chat_group_id = value; } + } + public bool ShouldSerializechat_group_id() => __pbn__chat_group_id != null; + public void Resetchat_group_id() => __pbn__chat_group_id = null; + private ulong? __pbn__chat_group_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint requesting_app_id + { + get { return __pbn__requesting_app_id.GetValueOrDefault(); } + set { __pbn__requesting_app_id = value; } + } + public bool ShouldSerializerequesting_app_id() => __pbn__requesting_app_id != null; + public void Resetrequesting_app_id() => __pbn__requesting_app_id = null; + private uint? __pbn__requesting_app_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_SetAppChatRoomGroupForceActive_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 global::System.Collections.Generic.List accounts_in_channel { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_SetAppChatRoomGroupStopForceActive_Notification : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public ulong chat_group_id + { + get { return __pbn__chat_group_id.GetValueOrDefault(); } + set { __pbn__chat_group_id = value; } + } + public bool ShouldSerializechat_group_id() => __pbn__chat_group_id != null; + public void Resetchat_group_id() => __pbn__chat_group_id = null; + private ulong? __pbn__chat_group_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint requesting_app_id + { + get { return __pbn__requesting_app_id.GetValueOrDefault(); } + set { __pbn__requesting_app_id = value; } + } + public bool ShouldSerializerequesting_app_id() => __pbn__requesting_app_id != null; + public void Resetrequesting_app_id() => __pbn__requesting_app_id = null; + private uint? __pbn__requesting_app_id; + + } + [global::ProtoBuf.ProtoContract()] public partial class CChatRoom_AckChatMessage_Notification : global::ProtoBuf.IExtensible { @@ -3143,6 +3360,16 @@ public partial class CChatRoom_SetSessionActiveChatRoomGroups_Request : global:: [global::ProtoBuf.ProtoMember(2)] public global::System.Collections.Generic.List chat_groups_data_requested { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3)] + public int virtualize_members_threshold + { + get { return __pbn__virtualize_members_threshold.GetValueOrDefault(); } + set { __pbn__virtualize_members_threshold = value; } + } + public bool ShouldSerializevirtualize_members_threshold() => __pbn__virtualize_members_threshold != null; + public void Resetvirtualize_members_threshold() => __pbn__virtualize_members_threshold = null; + private int? __pbn__virtualize_members_threshold; + } [global::ProtoBuf.ProtoContract()] @@ -3155,6 +3382,9 @@ public partial class CChatRoom_SetSessionActiveChatRoomGroups_Response : global: [global::ProtoBuf.ProtoMember(1)] public global::System.Collections.Generic.List chat_states { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List virtualize_members_chat_group_ids { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -3353,6 +3583,175 @@ public partial class CChatRoom_DeleteChatMessages_Response : global::ProtoBuf.IE } + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_UpdateMemberListView_Notification : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public ulong chat_group_id + { + get { return __pbn__chat_group_id.GetValueOrDefault(); } + set { __pbn__chat_group_id = value; } + } + public bool ShouldSerializechat_group_id() => __pbn__chat_group_id != null; + public void Resetchat_group_id() => __pbn__chat_group_id = null; + private ulong? __pbn__chat_group_id; + + [global::ProtoBuf.ProtoMember(2)] + public ulong view_id + { + get { return __pbn__view_id.GetValueOrDefault(); } + set { __pbn__view_id = value; } + } + public bool ShouldSerializeview_id() => __pbn__view_id != null; + public void Resetview_id() => __pbn__view_id = null; + private ulong? __pbn__view_id; + + [global::ProtoBuf.ProtoMember(3)] + public int start + { + get { return __pbn__start.GetValueOrDefault(); } + set { __pbn__start = value; } + } + public bool ShouldSerializestart() => __pbn__start != null; + public void Resetstart() => __pbn__start = null; + private int? __pbn__start; + + [global::ProtoBuf.ProtoMember(4)] + public int end + { + get { return __pbn__end.GetValueOrDefault(); } + set { __pbn__end = value; } + } + public bool ShouldSerializeend() => __pbn__end != null; + public void Resetend() => __pbn__end = null; + private int? __pbn__end; + + [global::ProtoBuf.ProtoMember(5)] + public int client_changenumber + { + get { return __pbn__client_changenumber.GetValueOrDefault(); } + set { __pbn__client_changenumber = value; } + } + public bool ShouldSerializeclient_changenumber() => __pbn__client_changenumber != null; + public void Resetclient_changenumber() => __pbn__client_changenumber = null; + private int? __pbn__client_changenumber; + + [global::ProtoBuf.ProtoMember(6)] + public bool delete_view + { + get { return __pbn__delete_view.GetValueOrDefault(); } + set { __pbn__delete_view = value; } + } + public bool ShouldSerializedelete_view() => __pbn__delete_view != null; + public void Resetdelete_view() => __pbn__delete_view = null; + private bool? __pbn__delete_view; + + [global::ProtoBuf.ProtoMember(7)] + public global::System.Collections.Generic.List persona_subscribe_accountids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(8)] + public global::System.Collections.Generic.List persona_unsubscribe_accountids { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_SearchMembers_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 chat_group_id + { + get { return __pbn__chat_group_id.GetValueOrDefault(); } + set { __pbn__chat_group_id = value; } + } + public bool ShouldSerializechat_group_id() => __pbn__chat_group_id != null; + public void Resetchat_group_id() => __pbn__chat_group_id = null; + private ulong? __pbn__chat_group_id; + + [global::ProtoBuf.ProtoMember(2)] + public ulong search_id + { + get { return __pbn__search_id.GetValueOrDefault(); } + set { __pbn__search_id = value; } + } + public bool ShouldSerializesearch_id() => __pbn__search_id != null; + public void Resetsearch_id() => __pbn__search_id = null; + private ulong? __pbn__search_id; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string search_text + { + get { return __pbn__search_text ?? ""; } + set { __pbn__search_text = value; } + } + public bool ShouldSerializesearch_text() => __pbn__search_text != null; + public void Resetsearch_text() => __pbn__search_text = null; + private string __pbn__search_text; + + [global::ProtoBuf.ProtoMember(4)] + public int max_results + { + get { return __pbn__max_results.GetValueOrDefault(); } + set { __pbn__max_results = value; } + } + public bool ShouldSerializemax_results() => __pbn__max_results != null; + public void Resetmax_results() => __pbn__max_results = null; + private int? __pbn__max_results; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoom_SearchMembers_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 matching_members { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public uint status_flags + { + get { return __pbn__status_flags.GetValueOrDefault(); } + set { __pbn__status_flags = value; } + } + public bool ShouldSerializestatus_flags() => __pbn__status_flags != null; + public void Resetstatus_flags() => __pbn__status_flags = null; + private uint? __pbn__status_flags; + + [global::ProtoBuf.ProtoContract()] + public partial class MemberMatch : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public int accountid + { + get { return __pbn__accountid.GetValueOrDefault(); } + set { __pbn__accountid = value; } + } + public bool ShouldSerializeaccountid() => __pbn__accountid != null; + public void Resetaccountid() => __pbn__accountid = null; + private int? __pbn__accountid; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgClientPersonaState.Friend persona { get; set; } + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CClanChatRooms_GetClanChatRoomInfo_Request : global::ProtoBuf.IExtensible { @@ -3786,6 +4185,199 @@ public EChatRoomMemberStateChange user_action } + [global::ProtoBuf.ProtoContract()] + public partial class ChatRoomClient_NotifyChatRoomDisconnect_Notification : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public global::System.Collections.Generic.List chat_group_ids { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoomMemberListView : global::ProtoBuf.IExtensible + { + private 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(3)] + public int start + { + get { return __pbn__start.GetValueOrDefault(); } + set { __pbn__start = value; } + } + public bool ShouldSerializestart() => __pbn__start != null; + public void Resetstart() => __pbn__start = null; + private int? __pbn__start; + + [global::ProtoBuf.ProtoMember(4)] + public int end + { + get { return __pbn__end.GetValueOrDefault(); } + set { __pbn__end = value; } + } + public bool ShouldSerializeend() => __pbn__end != null; + public void Resetend() => __pbn__end = null; + private int? __pbn__end; + + [global::ProtoBuf.ProtoMember(5)] + public int total_count + { + get { return __pbn__total_count.GetValueOrDefault(); } + set { __pbn__total_count = value; } + } + public bool ShouldSerializetotal_count() => __pbn__total_count != null; + public void Resettotal_count() => __pbn__total_count = null; + private int? __pbn__total_count; + + [global::ProtoBuf.ProtoMember(6)] + public int client_changenumber + { + get { return __pbn__client_changenumber.GetValueOrDefault(); } + set { __pbn__client_changenumber = value; } + } + public bool ShouldSerializeclient_changenumber() => __pbn__client_changenumber != null; + public void Resetclient_changenumber() => __pbn__client_changenumber = null; + private int? __pbn__client_changenumber; + + [global::ProtoBuf.ProtoMember(7)] + public int server_changenumber + { + get { return __pbn__server_changenumber.GetValueOrDefault(); } + set { __pbn__server_changenumber = value; } + } + public bool ShouldSerializeserver_changenumber() => __pbn__server_changenumber != null; + public void Resetserver_changenumber() => __pbn__server_changenumber = null; + private int? __pbn__server_changenumber; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoomMemberSummaryCounts : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public int ingame + { + get { return __pbn__ingame.GetValueOrDefault(); } + set { __pbn__ingame = value; } + } + public bool ShouldSerializeingame() => __pbn__ingame != null; + public void Resetingame() => __pbn__ingame = null; + private int? __pbn__ingame; + + [global::ProtoBuf.ProtoMember(2)] + public int online + { + get { return __pbn__online.GetValueOrDefault(); } + set { __pbn__online = value; } + } + public bool ShouldSerializeonline() => __pbn__online != null; + public void Resetonline() => __pbn__online = null; + private int? __pbn__online; + + [global::ProtoBuf.ProtoMember(3)] + public int offline + { + get { return __pbn__offline.GetValueOrDefault(); } + set { __pbn__offline = value; } + } + public bool ShouldSerializeoffline() => __pbn__offline != null; + public void Resetoffline() => __pbn__offline = null; + private int? __pbn__offline; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CChatRoomClient_MemberListViewUpdated_Notification : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public ulong chat_group_id + { + get { return __pbn__chat_group_id.GetValueOrDefault(); } + set { __pbn__chat_group_id = value; } + } + public bool ShouldSerializechat_group_id() => __pbn__chat_group_id != null; + public void Resetchat_group_id() => __pbn__chat_group_id = null; + private ulong? __pbn__chat_group_id; + + [global::ProtoBuf.ProtoMember(2)] + public ulong view_id + { + get { return __pbn__view_id.GetValueOrDefault(); } + set { __pbn__view_id = value; } + } + public bool ShouldSerializeview_id() => __pbn__view_id != null; + public void Resetview_id() => __pbn__view_id = null; + private ulong? __pbn__view_id; + + [global::ProtoBuf.ProtoMember(3)] + public CChatRoomMemberListView view { get; set; } + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List members { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public uint status_flags + { + get { return __pbn__status_flags.GetValueOrDefault(); } + set { __pbn__status_flags = value; } + } + public bool ShouldSerializestatus_flags() => __pbn__status_flags != null; + public void Resetstatus_flags() => __pbn__status_flags = null; + private uint? __pbn__status_flags; + + [global::ProtoBuf.ProtoMember(6)] + public CChatRoomMemberSummaryCounts member_summary { get; set; } + + [global::ProtoBuf.ProtoMember(7)] + public global::System.Collections.Generic.List subscribed_personas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class MemberListViewEntry : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public int rank + { + get { return __pbn__rank.GetValueOrDefault(); } + set { __pbn__rank = value; } + } + public bool ShouldSerializerank() => __pbn__rank != null; + public void Resetrank() => __pbn__rank = null; + private int? __pbn__rank; + + [global::ProtoBuf.ProtoMember(2)] + 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(3)] + public CMsgClientPersonaState.Friend persona { get; set; } + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CChatUsability_ClientUsabilityMetrics_Notification : global::ProtoBuf.IExtensible { @@ -4639,6 +5231,8 @@ public interface IChatRoom CChatRoom_SetChatRoomGroupTagline_Response SetChatRoomGroupTagline(CChatRoom_SetChatRoomGroupTagline_Request request); CChatRoom_SetChatRoomGroupAvatar_Response SetChatRoomGroupAvatar(CChatRoom_SetChatRoomGroupAvatar_Request request); CChatRoom_SetChatRoomGroupWatchingBroadcast_Response SetChatRoomGroupWatchingBroadcast(CChatRoom_SetChatRoomGroupWatchingBroadcast_Request request); + CChatRoom_JoinMiniGameForChatRoomGroup_Response JoinMiniGameForChatRoomGroup(CChatRoom_JoinMiniGameForChatRoomGroup_Request request); + CChatRoom_EndMiniGameForChatRoomGroup_Response EndMiniGameForChatRoomGroup(CChatRoom_EndMiniGameForChatRoomGroup_Request request); CChatRoom_MuteUser_Response MuteUserInGroup(CChatRoom_MuteUser_Request request); CChatRoom_KickUser_Response KickUserFromGroup(CChatRoom_KickUser_Request request); CChatRoom_SetUserBanState_Response SetUserBanState(CChatRoom_SetUserBanState_Request request); @@ -4667,6 +5261,8 @@ public interface IChatRoom CChatRoom_GetMyChatRoomGroups_Response GetMyChatRoomGroups(CChatRoom_GetMyChatRoomGroups_Request request); CChatRoom_GetChatRoomGroupState_Response GetChatRoomGroupState(CChatRoom_GetChatRoomGroupState_Request request); CChatRoom_GetChatRoomGroupSummary_Response GetChatRoomGroupSummary(CChatRoom_GetChatRoomGroupSummary_Request request); + CChatRoom_SetAppChatRoomGroupForceActive_Response SetAppChatRoomGroupForceActive(CChatRoom_SetAppChatRoomGroupForceActive_Request request); + NoResponse SetAppChatRoomGroupStopForceActive(CChatRoom_SetAppChatRoomGroupStopForceActive_Notification request); NoResponse AckChatMessage(CChatRoom_AckChatMessage_Notification request); CChatRoom_CreateInviteLink_Response CreateInviteLink(CChatRoom_CreateInviteLink_Request request); CChatRoom_GetInviteLinkInfo_Response GetInviteLinkInfo(CChatRoom_GetInviteLinkInfo_Request request); @@ -4678,6 +5274,8 @@ public interface IChatRoom CChatRoom_SetSessionActiveChatRoomGroups_Response SetSessionActiveChatRoomGroups(CChatRoom_SetSessionActiveChatRoomGroups_Request request); CChatRoom_SetUserChatGroupPreferences_Response SetUserChatGroupPreferences(CChatRoom_SetUserChatGroupPreferences_Request request); CChatRoom_DeleteChatMessages_Response DeleteChatMessages(CChatRoom_DeleteChatMessages_Request request); + NoResponse UpdateMemberListView(CChatRoom_UpdateMemberListView_Notification request); + CChatRoom_SearchMembers_Response SearchMembers(CChatRoom_SearchMembers_Request request); } public interface IClanChatRooms @@ -4696,6 +5294,8 @@ public interface IChatRoomClient NoResponse NotifyShouldRejoinChatRoomVoiceChat(CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification request); NoResponse NotifyChatGroupUserStateChanged(ChatRoomClient_NotifyChatGroupUserStateChanged_Notification request); NoResponse NotifyAckChatMessageEcho(CChatRoom_AckChatMessage_Notification request); + NoResponse NotifyChatRoomDisconnect(ChatRoomClient_NotifyChatRoomDisconnect_Notification request); + NoResponse NotifyMemberListViewUpdated(CChatRoomClient_MemberListViewUpdated_Notification request); } public interface IChatUsability diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs index 7bc420483..2c5aa498c 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs @@ -894,6 +894,16 @@ public uint client_os_type public void Resetclient_os_type() => __pbn__client_os_type = null; private uint? __pbn__client_os_type; + [global::ProtoBuf.ProtoMember(3)] + public uint cloud_gaming_platform + { + get { return __pbn__cloud_gaming_platform.GetValueOrDefault(); } + set { __pbn__cloud_gaming_platform = value; } + } + public bool ShouldSerializecloud_gaming_platform() => __pbn__cloud_gaming_platform != null; + public void Resetcloud_gaming_platform() => __pbn__cloud_gaming_platform = null; + private uint? __pbn__cloud_gaming_platform; + [global::ProtoBuf.ProtoContract()] public partial class GamePlayed : global::ProtoBuf.IExtensible { @@ -1516,6 +1526,26 @@ public uint renewal_time_unit public void Resetrenewal_time_unit() => __pbn__renewal_time_unit = null; private uint? __pbn__renewal_time_unit; + [global::ProtoBuf.ProtoMember(17)] + public ulong access_token + { + get { return __pbn__access_token.GetValueOrDefault(); } + set { __pbn__access_token = value; } + } + public bool ShouldSerializeaccess_token() => __pbn__access_token != null; + public void Resetaccess_token() => __pbn__access_token = null; + private ulong? __pbn__access_token; + + [global::ProtoBuf.ProtoMember(18)] + public uint master_package_id + { + get { return __pbn__master_package_id.GetValueOrDefault(); } + set { __pbn__master_package_id = value; } + } + public bool ShouldSerializemaster_package_id() => __pbn__master_package_id != null; + public void Resetmaster_package_id() => __pbn__master_package_id = null; + private uint? __pbn__master_package_id; + } } @@ -6771,6 +6801,16 @@ public uint num_prev_failed public void Resetnum_prev_failed() => __pbn__num_prev_failed = null; private uint? __pbn__num_prev_failed; + [global::ProtoBuf.ProtoMember(5)] + public uint supports_package_tokens + { + get { return __pbn__supports_package_tokens.GetValueOrDefault(); } + set { __pbn__supports_package_tokens = value; } + } + public bool ShouldSerializesupports_package_tokens() => __pbn__supports_package_tokens != null; + public void Resetsupports_package_tokens() => __pbn__supports_package_tokens = null; + private uint? __pbn__supports_package_tokens; + [global::ProtoBuf.ProtoContract()] public partial class AppInfo : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs index 8e868b7f0..de8eed882 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs @@ -1259,35 +1259,6 @@ public bool is_depot_content } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUCMPublishedFileDeleted : global::ProtoBuf.IExtensible - { - private 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 CMsgClientUCMPublishedFileUpdated : global::ProtoBuf.IExtensible { @@ -5786,174 +5757,6 @@ public bool remind_user_about_email } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgCREEnumeratePublishedFiles : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - public uint app_id - { - get { 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(2)] - public int query_type - { - get { return __pbn__query_type.GetValueOrDefault(); } - set { __pbn__query_type = value; } - } - public bool ShouldSerializequery_type() => __pbn__query_type != null; - public void Resetquery_type() => __pbn__query_type = null; - private int? __pbn__query_type; - - [global::ProtoBuf.ProtoMember(3)] - public uint start_index - { - get { return __pbn__start_index.GetValueOrDefault(); } - set { __pbn__start_index = value; } - } - public bool ShouldSerializestart_index() => __pbn__start_index != null; - public void Resetstart_index() => __pbn__start_index = null; - private uint? __pbn__start_index; - - [global::ProtoBuf.ProtoMember(4)] - public uint days - { - get { return __pbn__days.GetValueOrDefault(); } - set { __pbn__days = value; } - } - public bool ShouldSerializedays() => __pbn__days != null; - public void Resetdays() => __pbn__days = null; - private uint? __pbn__days; - - [global::ProtoBuf.ProtoMember(5)] - 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(6)] - public global::System.Collections.Generic.List tags { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(7)] - public global::System.Collections.Generic.List user_tags { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(8)] - [global::System.ComponentModel.DefaultValue(13)] - public uint matching_file_type - { - get { return __pbn__matching_file_type ?? 13; } - set { __pbn__matching_file_type = value; } - } - public bool ShouldSerializematching_file_type() => __pbn__matching_file_type != null; - public void Resetmatching_file_type() => __pbn__matching_file_type = null; - private uint? __pbn__matching_file_type; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgCREEnumeratePublishedFilesResponse : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - [global::System.ComponentModel.DefaultValue(2)] - public int eresult - { - get { return __pbn__eresult ?? 2; } - set { __pbn__eresult = value; } - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private int? __pbn__eresult; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List published_files { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public uint total_results - { - get { return __pbn__total_results.GetValueOrDefault(); } - set { __pbn__total_results = value; } - } - public bool ShouldSerializetotal_results() => __pbn__total_results != null; - public void Resettotal_results() => __pbn__total_results = null; - private uint? __pbn__total_results; - - [global::ProtoBuf.ProtoContract()] - public partial class PublishedFileId : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong published_file_id - { - get { 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 int votes_for - { - get { return __pbn__votes_for.GetValueOrDefault(); } - set { __pbn__votes_for = value; } - } - public bool ShouldSerializevotes_for() => __pbn__votes_for != null; - public void Resetvotes_for() => __pbn__votes_for = null; - private int? __pbn__votes_for; - - [global::ProtoBuf.ProtoMember(3)] - public int votes_against - { - get { return __pbn__votes_against.GetValueOrDefault(); } - set { __pbn__votes_against = value; } - } - public bool ShouldSerializevotes_against() => __pbn__votes_against != null; - public void Resetvotes_against() => __pbn__votes_against = null; - private int? __pbn__votes_against; - - [global::ProtoBuf.ProtoMember(4)] - public int reports - { - get { return __pbn__reports.GetValueOrDefault(); } - set { __pbn__reports = value; } - } - public bool ShouldSerializereports() => __pbn__reports != null; - public void Resetreports() => __pbn__reports = null; - private int? __pbn__reports; - - [global::ProtoBuf.ProtoMember(5)] - public float score - { - get { return __pbn__score.GetValueOrDefault(); } - set { __pbn__score = value; } - } - public bool ShouldSerializescore() => __pbn__score != null; - public void Resetscore() => __pbn__score = null; - private float? __pbn__score; - - } - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgCREItemVoteSummary : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerFriends.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerFriends.cs index 01aba1ee0..8ee1050b8 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerFriends.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerFriends.cs @@ -771,16 +771,6 @@ public uint online_session_instances public void Resetonline_session_instances() => __pbn__online_session_instances = null; private uint? __pbn__online_session_instances; - [global::ProtoBuf.ProtoMember(8)] - public uint published_instance_id - { - get { return __pbn__published_instance_id.GetValueOrDefault(); } - set { __pbn__published_instance_id = value; } - } - public bool ShouldSerializepublished_instance_id() => __pbn__published_instance_id != null; - public void Resetpublished_instance_id() => __pbn__published_instance_id = null; - private uint? __pbn__published_instance_id; - [global::ProtoBuf.ProtoMember(10)] public bool persona_set_by_user { @@ -1450,6 +1440,12 @@ public partial class CMsgClientEmoticonList : global::ProtoBuf.IExtensible [global::ProtoBuf.ProtoMember(1)] public global::System.Collections.Generic.List emoticons { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List stickers { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List effects { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoContract()] public partial class Emoticon : global::ProtoBuf.IExtensible { @@ -1510,6 +1506,116 @@ public uint time_received } + [global::ProtoBuf.ProtoContract()] + public partial class Sticker : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get { return __pbn__name ?? ""; } + set { __pbn__name = value; } + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(2)] + public int count + { + get { return __pbn__count.GetValueOrDefault(); } + set { __pbn__count = value; } + } + public bool ShouldSerializecount() => __pbn__count != null; + public void Resetcount() => __pbn__count = null; + private int? __pbn__count; + + [global::ProtoBuf.ProtoMember(3)] + public uint time_received + { + get { return __pbn__time_received.GetValueOrDefault(); } + set { __pbn__time_received = value; } + } + public bool ShouldSerializetime_received() => __pbn__time_received != null; + public void Resettime_received() => __pbn__time_received = null; + private uint? __pbn__time_received; + + [global::ProtoBuf.ProtoMember(4)] + 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 Effect : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get { return __pbn__name ?? ""; } + set { __pbn__name = value; } + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(2)] + public int count + { + get { return __pbn__count.GetValueOrDefault(); } + set { __pbn__count = value; } + } + public bool ShouldSerializecount() => __pbn__count != null; + public void Resetcount() => __pbn__count = null; + private int? __pbn__count; + + [global::ProtoBuf.ProtoMember(3)] + public uint time_received + { + get { return __pbn__time_received.GetValueOrDefault(); } + set { __pbn__time_received = value; } + } + public bool ShouldSerializetime_received() => __pbn__time_received != null; + public void Resettime_received() => __pbn__time_received = null; + private uint? __pbn__time_received; + + [global::ProtoBuf.ProtoMember(4)] + public bool infinite_use + { + get { return __pbn__infinite_use.GetValueOrDefault(); } + set { __pbn__infinite_use = value; } + } + public bool ShouldSerializeinfinite_use() => __pbn__infinite_use != null; + public void Resetinfinite_use() => __pbn__infinite_use = null; + private bool? __pbn__infinite_use; + + [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; + + } + } } diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCloud.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCloud.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCloud.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgCloud.cs index 748331b07..83da0d936 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCloud.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCloud.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCredentials.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs similarity index 98% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCredentials.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs index e8d09fad1..82d27f9e6 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgCredentials.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] @@ -610,6 +610,16 @@ public partial class CCredentials_LastCredentialChangeTime_Request : global::Pro global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + [global::ProtoBuf.ProtoMember(1)] + public bool user_changes_only + { + get { return __pbn__user_changes_only.GetValueOrDefault(); } + set { __pbn__user_changes_only = value; } + } + public bool ShouldSerializeuser_changes_only() => __pbn__user_changes_only != null; + public void Resetuser_changes_only() => __pbn__user_changes_only = null; + private bool? __pbn__user_changes_only; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDataPublisher.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDataPublisher.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs index d2281cac5..27b5e3f35 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDataPublisher.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDepotBuilder.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDepotBuilder.cs similarity index 90% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDepotBuilder.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgDepotBuilder.cs index 5533de494..d5bd09b3c 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDepotBuilder.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDepotBuilder.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] @@ -115,6 +115,46 @@ public string url_host public void Reseturl_host() => __pbn__url_host = null; private string __pbn__url_host; + [global::ProtoBuf.ProtoMember(6)] + public bool offset_detection_enabled + { + get { return __pbn__offset_detection_enabled.GetValueOrDefault(); } + set { __pbn__offset_detection_enabled = value; } + } + public bool ShouldSerializeoffset_detection_enabled() => __pbn__offset_detection_enabled != null; + public void Resetoffset_detection_enabled() => __pbn__offset_detection_enabled = null; + private bool? __pbn__offset_detection_enabled; + + [global::ProtoBuf.ProtoMember(7)] + public uint offset_detection_min_clean_chunk + { + get { return __pbn__offset_detection_min_clean_chunk.GetValueOrDefault(); } + set { __pbn__offset_detection_min_clean_chunk = value; } + } + public bool ShouldSerializeoffset_detection_min_clean_chunk() => __pbn__offset_detection_min_clean_chunk != null; + public void Resetoffset_detection_min_clean_chunk() => __pbn__offset_detection_min_clean_chunk = null; + private uint? __pbn__offset_detection_min_clean_chunk; + + [global::ProtoBuf.ProtoMember(8)] + public uint offset_detection_blast_radius_pre + { + get { return __pbn__offset_detection_blast_radius_pre.GetValueOrDefault(); } + set { __pbn__offset_detection_blast_radius_pre = value; } + } + public bool ShouldSerializeoffset_detection_blast_radius_pre() => __pbn__offset_detection_blast_radius_pre != null; + public void Resetoffset_detection_blast_radius_pre() => __pbn__offset_detection_blast_radius_pre = null; + private uint? __pbn__offset_detection_blast_radius_pre; + + [global::ProtoBuf.ProtoMember(9)] + public uint offset_detection_blast_radius_post + { + get { return __pbn__offset_detection_blast_radius_post.GetValueOrDefault(); } + set { __pbn__offset_detection_blast_radius_post = value; } + } + public bool ShouldSerializeoffset_detection_blast_radius_post() => __pbn__offset_detection_blast_radius_post != null; + public void Resetoffset_detection_blast_radius_post() => __pbn__offset_detection_blast_radius_post = null; + private uint? __pbn__offset_detection_blast_radius_post; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDeviceAuth.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDeviceAuth.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDeviceAuth.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgDeviceAuth.cs index eb73e21fe..0bb3a4575 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgDeviceAuth.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDeviceAuth.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgEcon.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgEcon.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgEcon.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgEcon.cs index 5558935f5..56125c1cc 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgEcon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgEcon.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgFriendMessages.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgFriendMessages.cs similarity index 96% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgFriendMessages.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgFriendMessages.cs index 6b8e0a941..5e99c50d2 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgFriendMessages.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgFriendMessages.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] @@ -347,6 +347,17 @@ public bool low_priority public void Resetlow_priority() => __pbn__low_priority = null; private bool? __pbn__low_priority; + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue("")] + public string client_message_id + { + get { return __pbn__client_message_id ?? ""; } + set { __pbn__client_message_id = value; } + } + public bool ShouldSerializeclient_message_id() => __pbn__client_message_id != null; + public void Resetclient_message_id() => __pbn__client_message_id = null; + private string __pbn__client_message_id; + } [global::ProtoBuf.ProtoContract()] @@ -387,6 +398,17 @@ public uint ordinal public void Resetordinal() => __pbn__ordinal = null; private uint? __pbn__ordinal; + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string message_without_bb_code + { + get { return __pbn__message_without_bb_code ?? ""; } + set { __pbn__message_without_bb_code = value; } + } + public bool ShouldSerializemessage_without_bb_code() => __pbn__message_without_bb_code != null; + public void Resetmessage_without_bb_code() => __pbn__message_without_bb_code = null; + private string __pbn__message_without_bb_code; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgGameNotifications.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgGameNotifications.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgGameNotifications.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgGameNotifications.cs index 56f06c570..735bf7537 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgGameNotifications.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgGameNotifications.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgGameServers.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgGameServers.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgGameServers.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgGameServers.cs index 51ac94f1a..8aa598717 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgGameServers.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgGameServers.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgInventory.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgInventory.cs similarity index 95% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgInventory.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgInventory.cs index 1d31ae67e..9bbc312d3 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgInventory.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgInventory.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] @@ -820,6 +820,46 @@ public ulong orderid } + [global::ProtoBuf.ProtoContract()] + public partial class CInventory_InspectItem_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 itemdefid + { + get { return __pbn__itemdefid.GetValueOrDefault(); } + set { __pbn__itemdefid = value; } + } + public bool ShouldSerializeitemdefid() => __pbn__itemdefid != null; + public void Resetitemdefid() => __pbn__itemdefid = null; + private ulong? __pbn__itemdefid; + + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong itemid + { + get { return __pbn__itemid.GetValueOrDefault(); } + set { __pbn__itemid = value; } + } + public bool ShouldSerializeitemid() => __pbn__itemid != null; + public void Resetitemid() => __pbn__itemid = null; + private ulong? __pbn__itemid; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string tags + { + get { return __pbn__tags ?? ""; } + set { __pbn__tags = value; } + } + public bool ShouldSerializetags() => __pbn__tags != null; + public void Resettags() => __pbn__tags = null; + private string __pbn__tags; + + } + [global::ProtoBuf.ProtoContract()] public partial class CInventoryClient_NewItems_Notification : global::ProtoBuf.IExtensible { @@ -859,6 +899,7 @@ public interface IInventory CInventory_GetUserPurchaseInfo_Response GetUserPurchaseInfo(CInventory_GetUserPurchaseInfo_Request request); CInventory_PurchaseInit_Response PurchaseInit(CInventory_PurchaseInit_Request request); CInventory_Response PurchaseFinalize(CInventory_PurchaseFinalize_Request request); + CInventory_Response InspectItem(CInventory_InspectItem_Request request); } public interface IInventoryClient diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgLinkFilter.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgLinkFilter.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgLinkFilter.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgLinkFilter.cs index edcabbb80..08d36cd20 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgLinkFilter.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgLinkFilter.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgMarket.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgMarket.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgMarket.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgMarket.cs index 490603565..a5ca0b90f 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgMarket.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgMarket.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgOffline.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgOffline.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgOffline.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgOffline.cs index 98b0fd988..b7c5ce520 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgOffline.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgOffline.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParental.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgParental.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParental.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgParental.cs index 440831372..5a03cde7c 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParental.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgParental.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParties.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgParties.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParties.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgParties.cs index 781567534..6f9260709 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgParties.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgParties.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPartnerApps.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPartnerApps.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPartnerApps.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgPartnerApps.cs index 02b79c03c..2c59ae72a 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPartnerApps.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPartnerApps.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPlayer.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPlayer.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs index d403ce116..ae9d56ad2 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPlayer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] @@ -1235,6 +1235,16 @@ public uint friend_relationship public void Resetfriend_relationship() => __pbn__friend_relationship = null; private uint? __pbn__friend_relationship; + [global::ProtoBuf.ProtoMember(3)] + public int result + { + get { return __pbn__result.GetValueOrDefault(); } + set { __pbn__result = value; } + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private int? __pbn__result; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs index e78310cb8..bc64a3939 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgQMS.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgQMS.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgQMS.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgQMS.cs index addda0145..60c114fca 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgQMS.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgQMS.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgSecrets.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgSecrets.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgSecrets.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgSecrets.cs index bd1bc746b..9ff0d33f0 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgSecrets.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgSecrets.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgShader.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgShader.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgShader.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgShader.cs index 53b106771..7abbd168e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgShader.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgShader.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgSiteLicense.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgSiteLicense.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgSiteLicense.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgSiteLicense.cs index b926a9985..e61d8a638 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgSiteLicense.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgSiteLicense.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgStore.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgStore.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgStore.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgStore.cs index 516b41876..ca32cc756 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgStore.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgStore.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgTwoFactor.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgTwoFactor.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgTwoFactor.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgTwoFactor.cs index da78fc65b..f429a59a5 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgTwoFactor.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgTwoFactor.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUnifiedBase.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgUnifiedBase.cs similarity index 96% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUnifiedBase.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgUnifiedBase.cs index aec65115c..f402ea3d0 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUnifiedBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgUnifiedBase.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUserAccount.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgUserAccount.cs similarity index 81% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUserAccount.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgUserAccount.cs index e791089ee..7519067a1 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgUserAccount.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgUserAccount.cs @@ -5,9 +5,141 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { + [global::ProtoBuf.ProtoContract()] + public partial class CUserAccount_GetAvailableValveDiscountPromotions_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 country_code + { + get { return __pbn__country_code ?? ""; } + set { __pbn__country_code = value; } + } + public bool ShouldSerializecountry_code() => __pbn__country_code != null; + public void Resetcountry_code() => __pbn__country_code = null; + private string __pbn__country_code; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CUserAccount_GetAvailableValveDiscountPromotions_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 promotions { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class ValveDiscountPromotionDetails : global::ProtoBuf.IExtensible + { + private 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 promotionid + { + get { return __pbn__promotionid.GetValueOrDefault(); } + set { __pbn__promotionid = value; } + } + public bool ShouldSerializepromotionid() => __pbn__promotionid != null; + public void Resetpromotionid() => __pbn__promotionid = null; + private uint? __pbn__promotionid; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string promotion_description + { + get { return __pbn__promotion_description ?? ""; } + set { __pbn__promotion_description = value; } + } + public bool ShouldSerializepromotion_description() => __pbn__promotion_description != null; + public void Resetpromotion_description() => __pbn__promotion_description = null; + private string __pbn__promotion_description; + + [global::ProtoBuf.ProtoMember(3)] + public long minimum_cart_amount + { + get { return __pbn__minimum_cart_amount.GetValueOrDefault(); } + set { __pbn__minimum_cart_amount = value; } + } + public bool ShouldSerializeminimum_cart_amount() => __pbn__minimum_cart_amount != null; + public void Resetminimum_cart_amount() => __pbn__minimum_cart_amount = null; + private long? __pbn__minimum_cart_amount; + + [global::ProtoBuf.ProtoMember(4)] + public long minimum_cart_amount_for_display + { + get { return __pbn__minimum_cart_amount_for_display.GetValueOrDefault(); } + set { __pbn__minimum_cart_amount_for_display = value; } + } + public bool ShouldSerializeminimum_cart_amount_for_display() => __pbn__minimum_cart_amount_for_display != null; + public void Resetminimum_cart_amount_for_display() => __pbn__minimum_cart_amount_for_display = null; + private long? __pbn__minimum_cart_amount_for_display; + + [global::ProtoBuf.ProtoMember(5)] + public long discount_amount + { + get { return __pbn__discount_amount.GetValueOrDefault(); } + set { __pbn__discount_amount = value; } + } + public bool ShouldSerializediscount_amount() => __pbn__discount_amount != null; + public void Resetdiscount_amount() => __pbn__discount_amount = null; + private long? __pbn__discount_amount; + + [global::ProtoBuf.ProtoMember(6)] + public int currency_code + { + get { return __pbn__currency_code.GetValueOrDefault(); } + set { __pbn__currency_code = value; } + } + public bool ShouldSerializecurrency_code() => __pbn__currency_code != null; + public void Resetcurrency_code() => __pbn__currency_code = null; + private int? __pbn__currency_code; + + [global::ProtoBuf.ProtoMember(7)] + public int available_use_count + { + get { return __pbn__available_use_count.GetValueOrDefault(); } + set { __pbn__available_use_count = value; } + } + public bool ShouldSerializeavailable_use_count() => __pbn__available_use_count != null; + public void Resetavailable_use_count() => __pbn__available_use_count = null; + private int? __pbn__available_use_count; + + [global::ProtoBuf.ProtoMember(8)] + public int promotional_discount_type + { + get { return __pbn__promotional_discount_type.GetValueOrDefault(); } + set { __pbn__promotional_discount_type = value; } + } + public bool ShouldSerializepromotional_discount_type() => __pbn__promotional_discount_type != null; + public void Resetpromotional_discount_type() => __pbn__promotional_discount_type = null; + private int? __pbn__promotional_discount_type; + + [global::ProtoBuf.ProtoMember(9)] + public int loyalty_reward_id + { + get { return __pbn__loyalty_reward_id.GetValueOrDefault(); } + set { __pbn__loyalty_reward_id = value; } + } + public bool ShouldSerializeloyalty_reward_id() => __pbn__loyalty_reward_id != null; + public void Resetloyalty_reward_id() => __pbn__loyalty_reward_id = null; + private int? __pbn__loyalty_reward_id; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CUserAccount_GetAccountLinkStatus_Request : global::ProtoBuf.IExtensible { @@ -653,6 +785,7 @@ public enum EExternalAccountType public interface IUserAccount { + CUserAccount_GetAvailableValveDiscountPromotions_Response GetAvailableValveDiscountPromotions(CUserAccount_GetAvailableValveDiscountPromotions_Request request); CUserAccount_GetAccountLinkStatus_Response GetAccountLinkStatus(CUserAccount_GetAccountLinkStatus_Request request); CUserAccount_CancelLicenseForApp_Response CancelLicenseForApp(CUserAccount_CancelLicenseForApp_Request request); CUserAccount_CreateFriendInviteToken_Response CreateFriendInviteToken(CUserAccount_CreateFriendInviteToken_Request request); diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgVideo.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgVideo.cs similarity index 99% rename from SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgVideo.cs rename to SteamKit2/SteamKit2/Base/Generated/SteamMsgVideo.cs index 2db3da659..ff6f88554 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgVideo.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgVideo.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal +namespace SteamKit2.Internal { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/Steamworks/SteamMsgOAuthSteamworks.cs b/SteamKit2/SteamKit2/Base/Generated/Steamworks/SteamMsgOAuthSteamworks.cs similarity index 98% rename from SteamKit2/SteamKit2/Base/Generated/Unified/Steamworks/SteamMsgOAuthSteamworks.cs rename to SteamKit2/SteamKit2/Base/Generated/Steamworks/SteamMsgOAuthSteamworks.cs index 24e09d764..35df3f4d4 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/Steamworks/SteamMsgOAuthSteamworks.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Steamworks/SteamMsgOAuthSteamworks.cs @@ -5,7 +5,7 @@ // #pragma warning disable CS0612, CS1591, CS3021, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 -namespace SteamKit2.Unified.Internal.Steamworks +namespace SteamKit2.Internal.Steamworks { [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPhysicalGoods.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPhysicalGoods.cs deleted file mode 100644 index c76457a0b..000000000 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPhysicalGoods.cs +++ /dev/null @@ -1,873 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#pragma warning disable 1591 - -// Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled - -// Generated from: steammessages_physicalgoods.steamclient.proto -// Note: requires additional types generated from: steammessages_unified_base.steamclient.proto -namespace SteamKit2.Unified.Internal -{ - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_RegisterSteamController_Request")] - public partial class CPhysicalGoods_RegisterSteamController_Request : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_RegisterSteamController_Request() {} - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - - private string _controller_code; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string controller_code - { - get { return _controller_code?? ""; } - set { _controller_code = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool controller_codeSpecified - { - get { return _controller_code != null; } - set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } - } - private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } - private void Resetcontroller_code() { controller_codeSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_RegisterSteamController_Response")] - public partial class CPhysicalGoods_RegisterSteamController_Response : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_RegisterSteamController_Response() {} - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_CompleteSteamControllerRegistration_Request")] - public partial class CPhysicalGoods_CompleteSteamControllerRegistration_Request : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_CompleteSteamControllerRegistration_Request() {} - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - - private string _controller_code; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string controller_code - { - get { return _controller_code?? ""; } - set { _controller_code = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool controller_codeSpecified - { - get { return _controller_code != null; } - set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } - } - private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } - private void Resetcontroller_code() { controller_codeSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_CompleteSteamControllerRegistration_Response")] - public partial class CPhysicalGoods_CompleteSteamControllerRegistration_Response : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_CompleteSteamControllerRegistration_Response() {} - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_QueryAccountsRegisteredToSerial_Request")] - public partial class CPhysicalGoods_QueryAccountsRegisteredToSerial_Request : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_QueryAccountsRegisteredToSerial_Request() {} - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - - private string _controller_code; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string controller_code - { - get { return _controller_code?? ""; } - set { _controller_code = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool controller_codeSpecified - { - get { return _controller_code != null; } - set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } - } - private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } - private void Resetcontroller_code() { controller_codeSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_QueryAccountsRegisteredToSerial_Accounts")] - public partial class CPhysicalGoods_QueryAccountsRegisteredToSerial_Accounts : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_QueryAccountsRegisteredToSerial_Accounts() {} - - - private uint? _accountid; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public uint accountid - { - get { return _accountid?? default(uint); } - set { _accountid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool accountidSpecified - { - get { return _accountid != null; } - set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } - } - private bool ShouldSerializeaccountid() { return accountidSpecified; } - private void Resetaccountid() { accountidSpecified = false; } - - - private bool? _registration_complete; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"registration_complete", DataFormat = global::ProtoBuf.DataFormat.Default)] - public bool registration_complete - { - get { return _registration_complete?? default(bool); } - set { _registration_complete = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool registration_completeSpecified - { - get { return _registration_complete != null; } - set { if (value == (_registration_complete== null)) _registration_complete = value ? this.registration_complete : (bool?)null; } - } - private bool ShouldSerializeregistration_complete() { return registration_completeSpecified; } - private void Resetregistration_complete() { registration_completeSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_QueryAccountsRegisteredToSerial_Response")] - public partial class CPhysicalGoods_QueryAccountsRegisteredToSerial_Response : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_QueryAccountsRegisteredToSerial_Response() {} - - private readonly global::System.Collections.Generic.List _accounts = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(1, Name=@"accounts", DataFormat = global::ProtoBuf.DataFormat.Default)] - public global::System.Collections.Generic.List accounts - { - get { return _accounts; } - } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_SteamControllerSetConfig_ControllerConfig")] - public partial class CPhysicalGoods_SteamControllerSetConfig_ControllerConfig : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_SteamControllerSetConfig_ControllerConfig() {} - - - private string _appidorname; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appidorname", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string appidorname - { - get { return _appidorname?? ""; } - set { _appidorname = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool appidornameSpecified - { - get { return _appidorname != null; } - set { if (value == (_appidorname== null)) _appidorname = value ? this.appidorname : (string)null; } - } - private bool ShouldSerializeappidorname() { return appidornameSpecified; } - private void Resetappidorname() { appidornameSpecified = false; } - - - private ulong? _publishedfileid; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public ulong publishedfileid - { - get { return _publishedfileid?? default(ulong); } - set { _publishedfileid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool publishedfileidSpecified - { - get { return _publishedfileid != null; } - set { if (value == (_publishedfileid== null)) _publishedfileid = value ? this.publishedfileid : (ulong?)null; } - } - private bool ShouldSerializepublishedfileid() { return publishedfileidSpecified; } - private void Resetpublishedfileid() { publishedfileidSpecified = false; } - - - private string _templatename; - [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"templatename", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string templatename - { - get { return _templatename?? ""; } - set { _templatename = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool templatenameSpecified - { - get { return _templatename != null; } - set { if (value == (_templatename== null)) _templatename = value ? this.templatename : (string)null; } - } - private bool ShouldSerializetemplatename() { return templatenameSpecified; } - private void Resettemplatename() { templatenameSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_SteamControllerSetConfig_Request")] - public partial class CPhysicalGoods_SteamControllerSetConfig_Request : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_SteamControllerSetConfig_Request() {} - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - - private string _controller_code; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string controller_code - { - get { return _controller_code?? ""; } - set { _controller_code = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool controller_codeSpecified - { - get { return _controller_code != null; } - set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } - } - private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } - private void Resetcontroller_code() { controller_codeSpecified = false; } - - - private uint? _accountid; - [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public uint accountid - { - get { return _accountid?? default(uint); } - set { _accountid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool accountidSpecified - { - get { return _accountid != null; } - set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } - } - private bool ShouldSerializeaccountid() { return accountidSpecified; } - private void Resetaccountid() { accountidSpecified = false; } - - private readonly global::System.Collections.Generic.List _configurations = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(4, Name=@"configurations", DataFormat = global::ProtoBuf.DataFormat.Default)] - public global::System.Collections.Generic.List configurations - { - get { return _configurations; } - } - - - private int? _controller_type; - [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"controller_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public int controller_type - { - get { return _controller_type?? (int)2; } - set { _controller_type = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool controller_typeSpecified - { - get { return _controller_type != null; } - set { if (value == (_controller_type== null)) _controller_type = value ? this.controller_type : (int?)null; } - } - private bool ShouldSerializecontroller_type() { return controller_typeSpecified; } - private void Resetcontroller_type() { controller_typeSpecified = false; } - - - private bool? _only_for_this_serial; - [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"only_for_this_serial", DataFormat = global::ProtoBuf.DataFormat.Default)] - public bool only_for_this_serial - { - get { return _only_for_this_serial?? (bool)false; } - set { _only_for_this_serial = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool only_for_this_serialSpecified - { - get { return _only_for_this_serial != null; } - set { if (value == (_only_for_this_serial== null)) _only_for_this_serial = value ? this.only_for_this_serial : (bool?)null; } - } - private bool ShouldSerializeonly_for_this_serial() { return only_for_this_serialSpecified; } - private void Resetonly_for_this_serial() { only_for_this_serialSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_SteamControllerSetConfig_Response")] - public partial class CPhysicalGoods_SteamControllerSetConfig_Response : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_SteamControllerSetConfig_Response() {} - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_SteamControllerGetConfig_Request")] - public partial class CPhysicalGoods_SteamControllerGetConfig_Request : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_SteamControllerGetConfig_Request() {} - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - - private string _controller_code; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string controller_code - { - get { return _controller_code?? ""; } - set { _controller_code = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool controller_codeSpecified - { - get { return _controller_code != null; } - set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } - } - private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } - private void Resetcontroller_code() { controller_codeSpecified = false; } - - - private uint? _accountid; - [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public uint accountid - { - get { return _accountid?? default(uint); } - set { _accountid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool accountidSpecified - { - get { return _accountid != null; } - set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } - } - private bool ShouldSerializeaccountid() { return accountidSpecified; } - private void Resetaccountid() { accountidSpecified = false; } - - - private string _appidorname; - [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"appidorname", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string appidorname - { - get { return _appidorname?? ""; } - set { _appidorname = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool appidornameSpecified - { - get { return _appidorname != null; } - set { if (value == (_appidorname== null)) _appidorname = value ? this.appidorname : (string)null; } - } - private bool ShouldSerializeappidorname() { return appidornameSpecified; } - private void Resetappidorname() { appidornameSpecified = false; } - - - private int? _controller_type; - [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"controller_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public int controller_type - { - get { return _controller_type?? (int)2; } - set { _controller_type = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool controller_typeSpecified - { - get { return _controller_type != null; } - set { if (value == (_controller_type== null)) _controller_type = value ? this.controller_type : (int?)null; } - } - private bool ShouldSerializecontroller_type() { return controller_typeSpecified; } - private void Resetcontroller_type() { controller_typeSpecified = false; } - - - private bool? _only_for_this_serial; - [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"only_for_this_serial", DataFormat = global::ProtoBuf.DataFormat.Default)] - public bool only_for_this_serial - { - get { return _only_for_this_serial?? (bool)false; } - set { _only_for_this_serial = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool only_for_this_serialSpecified - { - get { return _only_for_this_serial != null; } - set { if (value == (_only_for_this_serial== null)) _only_for_this_serial = value ? this.only_for_this_serial : (bool?)null; } - } - private bool ShouldSerializeonly_for_this_serial() { return only_for_this_serialSpecified; } - private void Resetonly_for_this_serial() { only_for_this_serialSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_SteamControllerGetConfig_ControllerConfig")] - public partial class CPhysicalGoods_SteamControllerGetConfig_ControllerConfig : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_SteamControllerGetConfig_ControllerConfig() {} - - - private string _appidorname; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appidorname", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string appidorname - { - get { return _appidorname?? ""; } - set { _appidorname = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool appidornameSpecified - { - get { return _appidorname != null; } - set { if (value == (_appidorname== null)) _appidorname = value ? this.appidorname : (string)null; } - } - private bool ShouldSerializeappidorname() { return appidornameSpecified; } - private void Resetappidorname() { appidornameSpecified = false; } - - - private ulong? _publishedfileid; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public ulong publishedfileid - { - get { return _publishedfileid?? default(ulong); } - set { _publishedfileid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool publishedfileidSpecified - { - get { return _publishedfileid != null; } - set { if (value == (_publishedfileid== null)) _publishedfileid = value ? this.publishedfileid : (ulong?)null; } - } - private bool ShouldSerializepublishedfileid() { return publishedfileidSpecified; } - private void Resetpublishedfileid() { publishedfileidSpecified = false; } - - - private string _templatename; - [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"templatename", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string templatename - { - get { return _templatename?? ""; } - set { _templatename = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool templatenameSpecified - { - get { return _templatename != null; } - set { if (value == (_templatename== null)) _templatename = value ? this.templatename : (string)null; } - } - private bool ShouldSerializetemplatename() { return templatenameSpecified; } - private void Resettemplatename() { templatenameSpecified = false; } - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_SteamControllerGetConfig_Response")] - public partial class CPhysicalGoods_SteamControllerGetConfig_Response : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_SteamControllerGetConfig_Response() {} - - private readonly global::System.Collections.Generic.List _configurations = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(1, Name=@"configurations", DataFormat = global::ProtoBuf.DataFormat.Default)] - public global::System.Collections.Generic.List configurations - { - get { return _configurations; } - } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_DeRegisterSteamController_Request")] - public partial class CPhysicalGoods_DeRegisterSteamController_Request : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_DeRegisterSteamController_Request() {} - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - - private string _controller_code; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"controller_code", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string controller_code - { - get { return _controller_code?? ""; } - set { _controller_code = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool controller_codeSpecified - { - get { return _controller_code != null; } - set { if (value == (_controller_code== null)) _controller_code = value ? this.controller_code : (string)null; } - } - private bool ShouldSerializecontroller_code() { return controller_codeSpecified; } - private void Resetcontroller_code() { controller_codeSpecified = false; } - - - private uint? _accountid; - [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public uint accountid - { - get { return _accountid?? default(uint); } - set { _accountid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool accountidSpecified - { - get { return _accountid != null; } - set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } - } - private bool ShouldSerializeaccountid() { return accountidSpecified; } - private void Resetaccountid() { accountidSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_DeRegisterSteamController_Response")] - public partial class CPhysicalGoods_DeRegisterSteamController_Response : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_DeRegisterSteamController_Response() {} - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_SetPersonalizationFile_Request")] - public partial class CPhysicalGoods_SetPersonalizationFile_Request : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_SetPersonalizationFile_Request() {} - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - - private ulong? _publishedfileid; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public ulong publishedfileid - { - get { return _publishedfileid?? default(ulong); } - set { _publishedfileid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool publishedfileidSpecified - { - get { return _publishedfileid != null; } - set { if (value == (_publishedfileid== null)) _publishedfileid = value ? this.publishedfileid : (ulong?)null; } - } - private bool ShouldSerializepublishedfileid() { return publishedfileidSpecified; } - private void Resetpublishedfileid() { publishedfileidSpecified = false; } - - - private uint? _accountid; - [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public uint accountid - { - get { return _accountid?? default(uint); } - set { _accountid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool accountidSpecified - { - get { return _accountid != null; } - set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } - } - private bool ShouldSerializeaccountid() { return accountidSpecified; } - private void Resetaccountid() { accountidSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_SetPersonalizationFile_Response")] - public partial class CPhysicalGoods_SetPersonalizationFile_Response : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_SetPersonalizationFile_Response() {} - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_GetPersonalizationFile_Request")] - public partial class CPhysicalGoods_GetPersonalizationFile_Request : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_GetPersonalizationFile_Request() {} - - - private string _serial_number; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"serial_number", DataFormat = global::ProtoBuf.DataFormat.Default)] - public string serial_number - { - get { return _serial_number?? ""; } - set { _serial_number = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool serial_numberSpecified - { - get { return _serial_number != null; } - set { if (value == (_serial_number== null)) _serial_number = value ? this.serial_number : (string)null; } - } - private bool ShouldSerializeserial_number() { return serial_numberSpecified; } - private void Resetserial_number() { serial_numberSpecified = false; } - - - private uint? _accountid; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"accountid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public uint accountid - { - get { return _accountid?? default(uint); } - set { _accountid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool accountidSpecified - { - get { return _accountid != null; } - set { if (value == (_accountid== null)) _accountid = value ? this.accountid : (uint?)null; } - } - private bool ShouldSerializeaccountid() { return accountidSpecified; } - private void Resetaccountid() { accountidSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPhysicalGoods_GetPersonalizationFile_Response")] - public partial class CPhysicalGoods_GetPersonalizationFile_Response : global::ProtoBuf.IExtensible - { - public CPhysicalGoods_GetPersonalizationFile_Response() {} - - - private ulong? _publishedfileid; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - public ulong publishedfileid - { - get { return _publishedfileid?? default(ulong); } - set { _publishedfileid = value; } - } - [global::System.Xml.Serialization.XmlIgnore] - [global::System.ComponentModel.Browsable(false)] - public bool publishedfileidSpecified - { - get { return _publishedfileid != null; } - set { if (value == (_publishedfileid== null)) _publishedfileid = value ? this.publishedfileid : (ulong?)null; } - } - private bool ShouldSerializepublishedfileid() { return publishedfileidSpecified; } - private void Resetpublishedfileid() { publishedfileidSpecified = false; } - - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - public interface IPhysicalGoods - { - CPhysicalGoods_RegisterSteamController_Response RegisterSteamController(CPhysicalGoods_RegisterSteamController_Request request); - CPhysicalGoods_CompleteSteamControllerRegistration_Response CompleteSteamControllerRegistration(CPhysicalGoods_CompleteSteamControllerRegistration_Request request); - CPhysicalGoods_QueryAccountsRegisteredToSerial_Response QueryAccountsRegisteredToController(CPhysicalGoods_QueryAccountsRegisteredToSerial_Request request); - CPhysicalGoods_SteamControllerSetConfig_Response SetDesiredControllerConfigForApp(CPhysicalGoods_SteamControllerSetConfig_Request request); - CPhysicalGoods_SteamControllerGetConfig_Response GetDesiredControllerConfigForApp(CPhysicalGoods_SteamControllerGetConfig_Request request); - CPhysicalGoods_DeRegisterSteamController_Response DeRegisterSteamController(CPhysicalGoods_DeRegisterSteamController_Request request); - CPhysicalGoods_SetPersonalizationFile_Response SetControllerPersonalizationFile(CPhysicalGoods_SetPersonalizationFile_Request request); - CPhysicalGoods_GetPersonalizationFile_Response GetControllerPersonalizationFile(CPhysicalGoods_GetPersonalizationFile_Request request); - - } - - -} -#pragma warning restore 1591 diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/SteamUnifiedMessages.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/SteamUnifiedMessages.cs index 341efd05d..23bd84136 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/SteamUnifiedMessages.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamUnifiedMessages/SteamUnifiedMessages.cs @@ -9,7 +9,6 @@ using System.IO; using System.Linq; using System.Linq.Expressions; -using System.Reflection; using ProtoBuf; using SteamKit2.Internal; @@ -201,7 +200,7 @@ void HandleServiceMethod( IPacketMsg packetMsg ) var serviceName = splitByDot[0]; var methodName = splitByHash[0]; - var serviceInterfaceName = "SteamKit2.Unified.Internal.I" + serviceName; + var serviceInterfaceName = "SteamKit2.Internal.I" + serviceName; var serviceInterfaceType = Type.GetType( serviceInterfaceName ); if (serviceInterfaceType != null) { diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/Callbacks.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/Callbacks.cs index c47157cca..85156f6b1 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/Callbacks.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamUser/Callbacks.cs @@ -12,7 +12,6 @@ using System.Text; using ProtoBuf; using SteamKit2.Internal; -using SteamKit2.Unified.Internal; namespace SteamKit2 { From 910da6d6c8c51775cd3f344d6c44e99876bf60d6 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 3 Apr 2020 17:09:56 +0300 Subject: [PATCH 4/5] published_instance_id was removed --- SteamKit2/SteamKit2/Steam/Handlers/SteamFriends/Callbacks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamFriends/Callbacks.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamFriends/Callbacks.cs index 975dda8b5..9faeb309a 100644 --- a/SteamKit2/SteamKit2/Steam/Handlers/SteamFriends/Callbacks.cs +++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamFriends/Callbacks.cs @@ -178,6 +178,7 @@ public sealed class PersonaStateCallback : CallbackMsg /// Gets the published session ID. /// /// The published session ID. + [Obsolete("published_instance_id was removed")] public uint PublishedSessionID { get; private set; } @@ -212,7 +213,6 @@ internal PersonaStateCallback( CMsgClientPersonaState.Friend friend ) this.ClanTag = friend.clan_tag; this.OnlineSessionInstances = friend.online_session_instances; - this.PublishedSessionID = friend.published_instance_id; } } From ab629faf306ac95790a3e3c7b4ccd5b1fadf1fee Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 3 Apr 2020 17:14:48 +0300 Subject: [PATCH 5/5] Change internal namespace in sample --- Samples/8.UnifiedMessages/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Samples/8.UnifiedMessages/Program.cs b/Samples/8.UnifiedMessages/Program.cs index 95ea9c4b3..f3d32e5e8 100644 --- a/Samples/8.UnifiedMessages/Program.cs +++ b/Samples/8.UnifiedMessages/Program.cs @@ -1,7 +1,7 @@ using System; using SteamKit2; -using SteamKit2.Unified.Internal; +using SteamKit2.Internal; // // Sample 8: Unified Messages @@ -132,7 +132,7 @@ static void OnLoggedOn( SteamUser.LoggedOnCallback callback ) // now that we're logged onto Steam, lets query the IPlayer service for our badge levels - // first, build our request object, these are autogenerated and can normally be found in the SteamKit2.Unified.Internal namespace + // first, build our request object, these are autogenerated and can normally be found in the SteamKit2.Internal namespace CPlayer_GetGameBadgeLevels_Request req = new CPlayer_GetGameBadgeLevels_Request { // we want to know our 440 (TF2) badge level