diff --git a/Resources/Protobufs/steamclient/steammessages_clientserver.proto b/Resources/Protobufs/steamclient/steammessages_clientserver.proto index c60e4c0a5..7860e4284 100644 --- a/Resources/Protobufs/steamclient/steammessages_clientserver.proto +++ b/Resources/Protobufs/steamclient/steammessages_clientserver.proto @@ -220,6 +220,11 @@ message CMsgClientGamesPlayed { optional string vr_hmd_vendor = 13; optional string vr_hmd_model = 14; optional uint32 launch_option_type = 15 [default = 0]; + optional int32 primary_controller_type = 16 [default = -1]; + optional string primary_steam_controller_serial = 17; + optional uint32 total_steam_controller_count = 18 [default = 0]; + optional uint32 total_non_steam_controller_count = 19 [default = 0]; + optional uint64 controller_workshop_file_id = 20 [default = 0]; } repeated .CMsgClientGamesPlayed.GamePlayed games_played = 1; diff --git a/Resources/Protobufs/steamclient/steammessages_clientserver_2.proto b/Resources/Protobufs/steamclient/steammessages_clientserver_2.proto index 0b4d2edcc..07c9690f1 100644 --- a/Resources/Protobufs/steamclient/steammessages_clientserver_2.proto +++ b/Resources/Protobufs/steamclient/steammessages_clientserver_2.proto @@ -12,6 +12,7 @@ message CMsgClientUCMAddScreenshot { optional uint32 appid = 1; optional string filename = 2; optional string thumbname = 3; + optional string vr_filename = 14; optional fixed32 rtime32_created = 4; optional uint32 width = 5; optional uint32 height = 6; @@ -518,8 +519,9 @@ message CMsgClientEmailChangeResponse { } message CMsgClientGetCDNAuthToken { - optional uint32 app_id = 1; + optional uint32 depot_id = 1; optional string host_name = 2; + optional uint32 app_id = 3; } message CMsgClientGetDepotDecryptionKey { @@ -533,21 +535,6 @@ message CMsgClientGetDepotDecryptionKeyResponse { optional bytes depot_encryption_key = 3; } -message CMsgClientGetAppBetaPasswords { - optional uint32 app_id = 1; -} - -message CMsgClientGetAppBetaPasswordsResponse { - message BetaPassword { - optional string betaname = 1; - optional string betapassword = 2; - } - - optional int32 eresult = 1 [default = 2]; - optional uint32 app_id = 2; - repeated .CMsgClientGetAppBetaPasswordsResponse.BetaPassword betapasswords = 3; -} - message CMsgClientCheckAppBetaPassword { optional uint32 app_id = 1; optional string betapassword = 2; @@ -571,11 +558,14 @@ message CMsgClientUpdateAppJobReport { optional string error_details = 5; optional uint32 job_duration = 6; optional uint32 files_validation_failed = 7; - optional uint64 bytes_downloaded = 8; - optional uint64 bytes_staged = 9; + optional uint64 job_bytes_downloaded = 8; + optional uint64 job_bytes_staged = 9; optional uint64 bytes_comitted = 10; optional uint32 start_app_state = 11; optional fixed64 stats_machine_id = 12; + optional string branch_name = 13; + optional uint64 total_bytes_downloaded = 14; + optional uint64 total_bytes_staged = 15; } message CMsgClientDPContentStatsReport { diff --git a/Resources/Protobufs/steamclient/steammessages_inventory.steamclient.proto b/Resources/Protobufs/steamclient/steammessages_inventory.steamclient.proto index 9b98b9fe3..aeb982587 100644 --- a/Resources/Protobufs/steamclient/steammessages_inventory.steamclient.proto +++ b/Resources/Protobufs/steamclient/steammessages_inventory.steamclient.proto @@ -81,6 +81,15 @@ message CInventory_CombineItemStacks_Request { optional string desttimestamp = 6; } +message CInventory_GetItemDefMeta_Request { + optional uint32 appid = 1; +} + +message CInventory_GetItemDefMeta_Response { + optional uint32 modified = 1; + optional string digest = 2; +} + service Inventory { option (service_description) = "A service that provides access to inventory"; rpc GetInventory (.CInventory_GetInventory_Request) returns (.CInventory_Response) { @@ -116,4 +125,7 @@ service Inventory { rpc CombineItemStacks (.CInventory_CombineItemStacks_Request) returns (.CInventory_Response) { option (method_description) = "Combine two stacks of items"; } + rpc GetItemDefMeta (.CInventory_GetItemDefMeta_Request) returns (.CInventory_GetItemDefMeta_Response) { + option (method_description) = "Get metadata about the current item definition for this game."; + } } diff --git a/Resources/Protobufs/steamclient/steammessages_publishedfile.steamclient.proto b/Resources/Protobufs/steamclient/steammessages_publishedfile.steamclient.proto index 9bcee3d0c..17bcbf6c9 100644 --- a/Resources/Protobufs/steamclient/steammessages_publishedfile.steamclient.proto +++ b/Resources/Protobufs/steamclient/steammessages_publishedfile.steamclient.proto @@ -160,6 +160,8 @@ message PublishedFileDetails { optional uint32 lifetime_subscriptions = 39; optional uint32 lifetime_favorited = 40; optional uint32 lifetime_followers = 41; + optional uint64 lifetime_playtime = 62; + optional uint64 lifetime_playtime_sessions = 63; optional uint32 views = 42; optional uint32 image_width = 43; optional uint32 image_height = 44; @@ -339,6 +341,7 @@ message CPublishedFile_QueryFiles_Request { optional int32 language = 33 [default = 0, (description) = "Language to search in and also what gets returned. Defaults to English."]; repeated .CPublishedFile_QueryFiles_Request.KVTag required_kv_tags = 34 [(description) = "Required key-value tags to match on."]; optional bool totalonly = 16 [(description) = "(Optional) If true, only return the total number of files that satisfy this query."]; + optional bool ids_only = 35 [(description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; optional bool return_vote_data = 17 [(description) = "Return vote data"]; optional bool return_tags = 18 [(description) = "Return tags in the file details"]; optional bool return_kv_tags = 19 [(description) = "Return key-value tags in the file details"]; @@ -354,6 +357,42 @@ message CPublishedFile_QueryFiles_Response { repeated .PublishedFileDetails publishedfiledetails = 2 [(description) = "Each file details will be populated, depending on what return values were requested."]; } +message CPublishedFile_StartPlaytimeTracking_Request { + optional uint32 appid = 1; + repeated uint64 publishedfileids = 2; +} + +message CPublishedFile_StartPlaytimeTracking_Response { +} + +message CPublishedFile_StopPlaytimeTracking_Request { + optional uint32 appid = 1; + repeated uint64 publishedfileids = 2; +} + +message CPublishedFile_StopPlaytimeTracking_Response { +} + +message CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request { + optional uint32 appid = 1; +} + +message CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response { +} + +message CPublishedFile_SetPlaytimeForControllerConfigs_Request { + message ControllerConfigUsage { + optional uint64 publishedfileid = 1; + optional float seconds_active = 2; + } + + optional uint32 appid = 1; + repeated .CPublishedFile_SetPlaytimeForControllerConfigs_Request.ControllerConfigUsage controller_config_usage = 2; +} + +message CPublishedFile_SetPlaytimeForControllerConfigs_Response { +} + service PublishedFile { option (service_description) = "A service to access published file data"; rpc Subscribe (.CPublishedFile_Subscribe_Request) returns (.CPublishedFile_Subscribe_Response) { @@ -392,4 +431,16 @@ service PublishedFile { rpc QueryFiles (.CPublishedFile_QueryFiles_Request) returns (.CPublishedFile_QueryFiles_Response) { option (method_description) = "Performs a search query for published files"; } + rpc StartPlaytimeTracking (.CPublishedFile_StartPlaytimeTracking_Request) returns (.CPublishedFile_StartPlaytimeTracking_Response) { + option (method_description) = "Start usage tracking for a given set of published files"; + } + rpc StopPlaytimeTracking (.CPublishedFile_StopPlaytimeTracking_Request) returns (.CPublishedFile_StopPlaytimeTracking_Response) { + option (method_description) = "Stops usage tracking for a given set of published files"; + } + rpc StopPlaytimeTrackingForAllAppItems (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request) returns (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response) { + option (method_description) = "Stops usage tracking for all items currently tracked for the specified app"; + } + rpc SetPlaytimeForControllerConfigs (.CPublishedFile_SetPlaytimeForControllerConfigs_Request) returns (.CPublishedFile_SetPlaytimeForControllerConfigs_Response) { + option (method_description) = "Stops usage tracking all controller configs for the given app and set the usage time for the for the given controller configs"; + } } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs index b80ce4a62..443dbe36a 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs @@ -1549,6 +1549,51 @@ public uint launch_option_type get { return _launch_option_type; } set { _launch_option_type = value; } } + + private int _primary_controller_type = (int)-1; + [global::ProtoBuf.ProtoMember(16, IsRequired = false, Name=@"primary_controller_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue((int)-1)] + public int primary_controller_type + { + get { return _primary_controller_type; } + set { _primary_controller_type = value; } + } + + private string _primary_steam_controller_serial = ""; + [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"primary_steam_controller_serial", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue("")] + public string primary_steam_controller_serial + { + get { return _primary_steam_controller_serial; } + set { _primary_steam_controller_serial = value; } + } + + private uint _total_steam_controller_count = (uint)0; + [global::ProtoBuf.ProtoMember(18, IsRequired = false, Name=@"total_steam_controller_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue((uint)0)] + public uint total_steam_controller_count + { + get { return _total_steam_controller_count; } + set { _total_steam_controller_count = value; } + } + + private uint _total_non_steam_controller_count = (uint)0; + [global::ProtoBuf.ProtoMember(19, IsRequired = false, Name=@"total_non_steam_controller_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue((uint)0)] + public uint total_non_steam_controller_count + { + get { return _total_non_steam_controller_count; } + set { _total_non_steam_controller_count = value; } + } + + private ulong _controller_workshop_file_id = (ulong)0; + [global::ProtoBuf.ProtoMember(20, IsRequired = false, Name=@"controller_workshop_file_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(@"0")] + public ulong controller_workshop_file_id + { + get { return _controller_workshop_file_id; } + set { _controller_workshop_file_id = value; } + } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs index f20ce21f7..651c0e917 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs @@ -45,6 +45,15 @@ public string thumbname set { _thumbname = value; } } + private string _vr_filename = ""; + [global::ProtoBuf.ProtoMember(14, IsRequired = false, Name=@"vr_filename", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue("")] + public string vr_filename + { + get { return _vr_filename; } + set { _vr_filename = value; } + } + private uint _rtime32_created = default(uint); [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"rtime32_created", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] [global::System.ComponentModel.DefaultValue(default(uint))] @@ -3289,13 +3298,13 @@ public partial class CMsgClientGetCDNAuthToken : global::ProtoBuf.IExtensible public CMsgClientGetCDNAuthToken() {} - private uint _app_id = default(uint); - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"app_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + private uint _depot_id = default(uint); + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"depot_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(uint))] - public uint app_id + public uint depot_id { - get { return _app_id; } - set { _app_id = value; } + get { return _depot_id; } + set { _depot_id = value; } } private string _host_name = ""; @@ -3306,6 +3315,15 @@ public string host_name get { return _host_name; } set { _host_name = value; } } + + private uint _app_id = default(uint); + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"app_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(uint))] + public uint app_id + { + get { return _app_id; } + set { _app_id = value; } + } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } @@ -3376,88 +3394,6 @@ public byte[] depot_encryption_key { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CMsgClientGetAppBetaPasswords")] - public partial class CMsgClientGetAppBetaPasswords : global::ProtoBuf.IExtensible - { - public CMsgClientGetAppBetaPasswords() {} - - - private uint _app_id = default(uint); - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"app_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - [global::System.ComponentModel.DefaultValue(default(uint))] - public uint app_id - { - get { return _app_id; } - set { _app_id = value; } - } - 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=@"CMsgClientGetAppBetaPasswordsResponse")] - public partial class CMsgClientGetAppBetaPasswordsResponse : global::ProtoBuf.IExtensible - { - public CMsgClientGetAppBetaPasswordsResponse() {} - - - private int _eresult = (int)2; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"eresult", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - [global::System.ComponentModel.DefaultValue((int)2)] - public int eresult - { - get { return _eresult; } - set { _eresult = value; } - } - - private uint _app_id = default(uint); - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"app_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] - [global::System.ComponentModel.DefaultValue(default(uint))] - public uint app_id - { - get { return _app_id; } - set { _app_id = value; } - } - private readonly global::System.Collections.Generic.List _betapasswords = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(3, Name=@"betapasswords", DataFormat = global::ProtoBuf.DataFormat.Default)] - public global::System.Collections.Generic.List betapasswords - { - get { return _betapasswords; } - } - - [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BetaPassword")] - public partial class BetaPassword : global::ProtoBuf.IExtensible - { - public BetaPassword() {} - - - private string _betaname = ""; - [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"betaname", DataFormat = global::ProtoBuf.DataFormat.Default)] - [global::System.ComponentModel.DefaultValue("")] - public string betaname - { - get { return _betaname; } - set { _betaname = value; } - } - - private string _betapassword = ""; - [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"betapassword", DataFormat = global::ProtoBuf.DataFormat.Default)] - [global::System.ComponentModel.DefaultValue("")] - public string betapassword - { - get { return _betapassword; } - set { _betapassword = value; } - } - private global::ProtoBuf.IExtension extensionObject; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } - } - - 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=@"CMsgClientCheckAppBetaPassword")] public partial class CMsgClientCheckAppBetaPassword : global::ProtoBuf.IExtensible { @@ -3607,22 +3543,22 @@ public uint files_validation_failed set { _files_validation_failed = value; } } - private ulong _bytes_downloaded = default(ulong); - [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"bytes_downloaded", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + private ulong _job_bytes_downloaded = default(ulong); + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"job_bytes_downloaded", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(ulong))] - public ulong bytes_downloaded + public ulong job_bytes_downloaded { - get { return _bytes_downloaded; } - set { _bytes_downloaded = value; } + get { return _job_bytes_downloaded; } + set { _job_bytes_downloaded = value; } } - private ulong _bytes_staged = default(ulong); - [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"bytes_staged", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + private ulong _job_bytes_staged = default(ulong); + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"job_bytes_staged", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(ulong))] - public ulong bytes_staged + public ulong job_bytes_staged { - get { return _bytes_staged; } - set { _bytes_staged = value; } + get { return _job_bytes_staged; } + set { _job_bytes_staged = value; } } private ulong _bytes_comitted = default(ulong); @@ -3651,6 +3587,33 @@ public ulong stats_machine_id get { return _stats_machine_id; } set { _stats_machine_id = value; } } + + private string _branch_name = ""; + [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"branch_name", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue("")] + public string branch_name + { + get { return _branch_name; } + set { _branch_name = value; } + } + + private ulong _total_bytes_downloaded = default(ulong); + [global::ProtoBuf.ProtoMember(14, IsRequired = false, Name=@"total_bytes_downloaded", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(ulong))] + public ulong total_bytes_downloaded + { + get { return _total_bytes_downloaded; } + set { _total_bytes_downloaded = value; } + } + + private ulong _total_bytes_staged = default(ulong); + [global::ProtoBuf.ProtoMember(15, IsRequired = false, Name=@"total_bytes_staged", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(ulong))] + public ulong total_bytes_staged + { + get { return _total_bytes_staged; } + set { _total_bytes_staged = value; } + } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgInventory.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgInventory.cs index e3a6cbbd7..631d07cb7 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgInventory.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgInventory.cs @@ -522,6 +522,53 @@ public string desttimestamp { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CInventory_GetItemDefMeta_Request")] + public partial class CInventory_GetItemDefMeta_Request : global::ProtoBuf.IExtensible + { + public CInventory_GetItemDefMeta_Request() {} + + + private uint _appid = default(uint); + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(uint))] + public uint appid + { + get { return _appid; } + set { _appid = value; } + } + 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=@"CInventory_GetItemDefMeta_Response")] + public partial class CInventory_GetItemDefMeta_Response : global::ProtoBuf.IExtensible + { + public CInventory_GetItemDefMeta_Response() {} + + + private uint _modified = default(uint); + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"modified", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(uint))] + public uint modified + { + get { return _modified; } + set { _modified = value; } + } + + private string _digest = ""; + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"digest", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue("")] + public string digest + { + get { return _digest; } + set { _digest = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + public interface IInventory { CInventory_Response GetInventory(CInventory_GetInventory_Request request); @@ -535,6 +582,7 @@ public interface IInventory CInventory_Response DevSetNextDrop(CInventory_DevSetNextDrop_Request request); CInventory_Response SplitItemStack(CInventory_SplitItemStack_Request request); CInventory_Response CombineItemStacks(CInventory_CombineItemStacks_Request request); + CInventory_GetItemDefMeta_Response GetItemDefMeta(CInventory_GetItemDefMeta_Request request); } diff --git a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs index 1fc91f0a7..eefa87a64 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Unified/SteamMsgPublishedFile.cs @@ -815,6 +815,24 @@ public uint lifetime_followers set { _lifetime_followers = value; } } + private ulong _lifetime_playtime = default(ulong); + [global::ProtoBuf.ProtoMember(62, IsRequired = false, Name=@"lifetime_playtime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(ulong))] + public ulong lifetime_playtime + { + get { return _lifetime_playtime; } + set { _lifetime_playtime = value; } + } + + private ulong _lifetime_playtime_sessions = default(ulong); + [global::ProtoBuf.ProtoMember(63, IsRequired = false, Name=@"lifetime_playtime_sessions", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(ulong))] + public ulong lifetime_playtime_sessions + { + get { return _lifetime_playtime_sessions; } + set { _lifetime_playtime_sessions = value; } + } + private uint _views = default(uint); [global::ProtoBuf.ProtoMember(42, IsRequired = false, Name=@"views", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(uint))] @@ -2315,6 +2333,15 @@ public bool totalonly set { _totalonly = value; } } + private bool _ids_only = default(bool); + [global::ProtoBuf.ProtoMember(35, IsRequired = false, Name=@"ids_only", DataFormat = global::ProtoBuf.DataFormat.Default)] + [global::System.ComponentModel.DefaultValue(default(bool))] + public bool ids_only + { + get { return _ids_only; } + set { _ids_only = value; } + } + private bool _return_vote_data = default(bool); [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"return_vote_data", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue(default(bool))] @@ -2445,6 +2472,171 @@ public uint total { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CPublishedFile_StartPlaytimeTracking_Request")] + public partial class CPublishedFile_StartPlaytimeTracking_Request : global::ProtoBuf.IExtensible + { + public CPublishedFile_StartPlaytimeTracking_Request() {} + + + private uint _appid = default(uint); + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(uint))] + public uint appid + { + get { return _appid; } + set { _appid = value; } + } + private readonly global::System.Collections.Generic.List _publishedfileids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name=@"publishedfileids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List publishedfileids + { + get { return _publishedfileids; } + } + + 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=@"CPublishedFile_StartPlaytimeTracking_Response")] + public partial class CPublishedFile_StartPlaytimeTracking_Response : global::ProtoBuf.IExtensible + { + public CPublishedFile_StartPlaytimeTracking_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=@"CPublishedFile_StopPlaytimeTracking_Request")] + public partial class CPublishedFile_StopPlaytimeTracking_Request : global::ProtoBuf.IExtensible + { + public CPublishedFile_StopPlaytimeTracking_Request() {} + + + private uint _appid = default(uint); + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(uint))] + public uint appid + { + get { return _appid; } + set { _appid = value; } + } + private readonly global::System.Collections.Generic.List _publishedfileids = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name=@"publishedfileids", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + public global::System.Collections.Generic.List publishedfileids + { + get { return _publishedfileids; } + } + + 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=@"CPublishedFile_StopPlaytimeTracking_Response")] + public partial class CPublishedFile_StopPlaytimeTracking_Response : global::ProtoBuf.IExtensible + { + public CPublishedFile_StopPlaytimeTracking_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=@"CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request")] + public partial class CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request : global::ProtoBuf.IExtensible + { + public CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request() {} + + + private uint _appid = default(uint); + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(uint))] + public uint appid + { + get { return _appid; } + set { _appid = value; } + } + 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=@"CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response")] + public partial class CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response : global::ProtoBuf.IExtensible + { + public CPublishedFile_StopPlaytimeTrackingForAllAppItems_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=@"CPublishedFile_SetPlaytimeForControllerConfigs_Request")] + public partial class CPublishedFile_SetPlaytimeForControllerConfigs_Request : global::ProtoBuf.IExtensible + { + public CPublishedFile_SetPlaytimeForControllerConfigs_Request() {} + + + private uint _appid = default(uint); + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"appid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(uint))] + public uint appid + { + get { return _appid; } + set { _appid = value; } + } + private readonly global::System.Collections.Generic.List _controller_config_usage = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name=@"controller_config_usage", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List controller_config_usage + { + get { return _controller_config_usage; } + } + + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ControllerConfigUsage")] + public partial class ControllerConfigUsage : global::ProtoBuf.IExtensible + { + public ControllerConfigUsage() {} + + + private ulong _publishedfileid = default(ulong); + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"publishedfileid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] + [global::System.ComponentModel.DefaultValue(default(ulong))] + public ulong publishedfileid + { + get { return _publishedfileid; } + set { _publishedfileid = value; } + } + + private float _seconds_active = default(float); + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"seconds_active", DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + [global::System.ComponentModel.DefaultValue(default(float))] + public float seconds_active + { + get { return _seconds_active; } + set { _seconds_active = value; } + } + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + + 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=@"CPublishedFile_SetPlaytimeForControllerConfigs_Response")] + public partial class CPublishedFile_SetPlaytimeForControllerConfigs_Response : global::ProtoBuf.IExtensible + { + public CPublishedFile_SetPlaytimeForControllerConfigs_Response() {} + + private global::ProtoBuf.IExtension extensionObject; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } + } + public interface IPublishedFile { CPublishedFile_Subscribe_Response Subscribe(CPublishedFile_Subscribe_Request request); @@ -2459,6 +2651,10 @@ public interface IPublishedFile CPublishedFile_GetChangeHistory_Response GetChangeHistory(CPublishedFile_GetChangeHistory_Request request); CPublishedFile_RefreshVotingQueue_Response RefreshVotingQueue(CPublishedFile_RefreshVotingQueue_Request request); CPublishedFile_QueryFiles_Response QueryFiles(CPublishedFile_QueryFiles_Request request); + CPublishedFile_StartPlaytimeTracking_Response StartPlaytimeTracking(CPublishedFile_StartPlaytimeTracking_Request request); + CPublishedFile_StopPlaytimeTracking_Response StopPlaytimeTracking(CPublishedFile_StopPlaytimeTracking_Request request); + CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response StopPlaytimeTrackingForAllAppItems(CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request request); + CPublishedFile_SetPlaytimeForControllerConfigs_Response SetPlaytimeForControllerConfigs(CPublishedFile_SetPlaytimeForControllerConfigs_Request request); }