From b0e668b3879b45919f30d2304cc40a7600cfabc8 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 20 Feb 2023 10:50:12 +0200 Subject: [PATCH] Update protobufs --- .../Generated/SteamMsgCommon.cs | 1421 +++++++++++++++-- .../Generated/SteamMsgCommunity.cs | 23 + .../Generated/SteamMsgUserNews.cs | 10 + .../Generated/SteamMsgUserReviews.cs | 31 + .../NetHookAnalyzer2/MessageTypeOverrides.cs | 2 +- Resources/ProtobufGen/gc.proto | 32 +- Resources/ProtobufGen/protos.csv | 2 + Resources/Protobufs | 2 +- Resources/SteamLanguage/emsg.steamd | 12 + .../SteamKit2/Base/Generated/ClientObjects.cs | 619 +++++++ SteamKit2/SteamKit2/Base/Generated/Enums.cs | 59 + .../Base/Generated/GC/Dota/MsgGCClient.cs | 362 +++++ .../Base/Generated/GC/Dota/MsgGCCommon.cs | 144 +- .../Generated/GC/Dota/MsgGCCommonLobby.cs | 35 +- .../Base/Generated/GC/Dota/MsgGCMsgId.cs | 32 +- .../Base/Generated/GC/Dota/MsgGCServer.cs | 542 ++++++- .../Generated/GC/Dota/MsgMatchMetadata.cs | 62 + .../Base/Generated/GC/Dota/MsgSharedEnums.cs | 21 +- .../Base/Generated/GC/Dota/SteamMsgGC.cs | 72 +- .../Base/Generated/GC/Dota/SteamMsgGCSDK.cs | 3 + .../GC/Dota/SteamMsgSteamLearnSteamworks.cs | 693 ++++++++ .../SteamKit2/Base/Generated/GC/MsgBaseGC.cs | 246 ++- .../SteamKit2/Base/Generated/SteamLanguage.cs | 12 + .../Base/Generated/SteamMsgAccountHardware.cs | 52 + .../SteamKit2/Base/Generated/SteamMsgAuth.cs | 541 +++++++ .../SteamKit2/Base/Generated/SteamMsgBase.cs | 75 + .../Base/Generated/SteamMsgBroadcast.cs | 22 + .../Base/Generated/SteamMsgClientMetrics.cs | 143 ++ .../SteamMsgClientNotificationTypes.cs | 101 +- .../Base/Generated/SteamMsgClientServer.cs | 42 + .../Base/Generated/SteamMsgClientServer2.cs | 455 ++---- .../Generated/SteamMsgClientServerAppInfo.cs | 204 +-- .../Generated/SteamMsgClientServerLogin.cs | 30 +- .../Base/Generated/SteamMsgClientServerUDS.cs | 191 ++- .../Base/Generated/SteamMsgContentHubs.cs | 196 +++ .../Base/Generated/SteamMsgContentSystem.cs | 150 ++ .../Base/Generated/SteamMsgCredentials.cs | 140 -- .../Base/Generated/SteamMsgDataPublisher.cs | 10 - .../Base/Generated/SteamMsgDeviceAuth.cs | 30 + .../Generated/SteamMsgMarketingMessages.cs | 123 ++ .../Base/Generated/SteamMsgPartnerApps.cs | 10 + .../Base/Generated/SteamMsgPlayer.cs | 455 +++++- .../Base/Generated/SteamMsgPublishedFile.cs | 96 ++ .../SteamMsgRemoteClientDiscovery.cs | 1 + .../Generated/SteamMsgRemoteClientMessages.cs | 10 + .../SteamKit2/Base/Generated/SteamMsgStore.cs | 86 +- .../Base/Generated/SteamMsgStoreBrowse.cs | 268 ++++ .../Base/Generated/SteamMsgTwoFactor.cs | 21 + 48 files changed, 6863 insertions(+), 1026 deletions(-) create mode 100644 SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgSteamLearnSteamworks.cs create mode 100644 SteamKit2/SteamKit2/Base/Generated/SteamMsgContentHubs.cs diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommon.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommon.cs index f85f89f44..eb3d611ab 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommon.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommon.cs @@ -605,6 +605,16 @@ public bool complete_update public void Resetcomplete_update() => __pbn__complete_update = null; private bool? __pbn__complete_update; + [global::ProtoBuf.ProtoMember(4)] + public bool update_complete + { + get => __pbn__update_complete.GetValueOrDefault(); + set => __pbn__update_complete = value; + } + public bool ShouldSerializeupdate_complete() => __pbn__update_complete != null; + public void Resetupdate_complete() => __pbn__update_complete = null; + private bool? __pbn__update_complete; + } [global::ProtoBuf.ProtoContract()] @@ -751,18 +761,6 @@ public int cloud_status } - [global::ProtoBuf.ProtoContract()] - public partial class CAuthenticationSupportByAccount_QueryRefreshTokenByID_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 refresh_tokens { get; } = new global::System.Collections.Generic.List(); - - } - [global::ProtoBuf.ProtoContract()] public partial class CBilling_Address : global::ProtoBuf.IExtensible { @@ -2920,6 +2918,25 @@ public string notification_type } + [global::ProtoBuf.ProtoContract()] + public partial class CClientNotificationCannotReadControllerGuideButton : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 controller_index + { + get => __pbn__controller_index.GetValueOrDefault(); + set => __pbn__controller_index = value; + } + public bool ShouldSerializecontroller_index() => __pbn__controller_index != null; + public void Resetcontroller_index() => __pbn__controller_index = null; + private int? __pbn__controller_index; + + } + [global::ProtoBuf.ProtoContract()] public partial class CClientNotificationClaimSteamDeckRewards : global::ProtoBuf.IExtensible { @@ -2967,6 +2984,15 @@ public uint appid } + [global::ProtoBuf.ProtoContract()] + public partial class CClientNotificationDockUnsupportedFirmware : global::ProtoBuf.IExtensible + { + private 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 CClientNotificationDownloadCompleted : global::ProtoBuf.IExtensible { @@ -3203,6 +3229,17 @@ public uint notificationid public void Resetnotificationid() => __pbn__notificationid = null; private uint? __pbn__notificationid; + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string response_steamurl + { + get => __pbn__response_steamurl ?? ""; + set => __pbn__response_steamurl = value; + } + public bool ShouldSerializeresponse_steamurl() => __pbn__response_steamurl != null; + public void Resetresponse_steamurl() => __pbn__response_steamurl = null; + private string __pbn__response_steamurl; + } [global::ProtoBuf.ProtoContract()] @@ -3360,35 +3397,6 @@ public partial class CClientNotificationHardwareSurveyPending : global::ProtoBuf } - [global::ProtoBuf.ProtoContract()] - public partial class CClientNotificationInboxStats : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 friend_invite_count - { - get => __pbn__friend_invite_count.GetValueOrDefault(); - set => __pbn__friend_invite_count = value; - } - public bool ShouldSerializefriend_invite_count() => __pbn__friend_invite_count != null; - public void Resetfriend_invite_count() => __pbn__friend_invite_count = null; - private uint? __pbn__friend_invite_count; - - [global::ProtoBuf.ProtoMember(2)] - public uint new_comment_count - { - get => __pbn__new_comment_count.GetValueOrDefault(); - set => __pbn__new_comment_count = value; - } - public bool ShouldSerializenew_comment_count() => __pbn__new_comment_count != null; - public void Resetnew_comment_count() => __pbn__new_comment_count = null; - private uint? __pbn__new_comment_count; - - } - [global::ProtoBuf.ProtoContract()] public partial class CClientNotificationIncomingVoiceChat : global::ProtoBuf.IExtensible { @@ -4182,6 +4190,35 @@ public string localized_string } + [global::ProtoBuf.ProtoContract()] + public partial class CLoyaltyRewards_RedeemPointsToUpgradeItem_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 defid + { + get => __pbn__defid.GetValueOrDefault(); + set => __pbn__defid = value; + } + public bool ShouldSerializedefid() => __pbn__defid != null; + public void Resetdefid() => __pbn__defid = null; + private uint? __pbn__defid; + + [global::ProtoBuf.ProtoMember(2)] + public ulong communityitemid + { + get => __pbn__communityitemid.GetValueOrDefault(); + set => __pbn__communityitemid = value; + } + public bool ShouldSerializecommunityitemid() => __pbn__communityitemid != null; + public void Resetcommunityitemid() => __pbn__communityitemid = null; + private ulong? __pbn__communityitemid; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgAchievementChange : global::ProtoBuf.IExtensible { @@ -4526,6 +4563,16 @@ public byte[] ticket public void Resetticket() => __pbn__ticket = null; private byte[] __pbn__ticket; + [global::ProtoBuf.ProtoMember(8)] + public byte[] server_secret + { + get => __pbn__server_secret; + set => __pbn__server_secret = value; + } + public bool ShouldSerializeserver_secret() => __pbn__server_secret != null; + public void Resetserver_secret() => __pbn__server_secret = null; + private byte[] __pbn__server_secret; + } [global::ProtoBuf.ProtoContract()] @@ -10608,6 +10655,26 @@ public string access_token public void Resetaccess_token() => __pbn__access_token = null; private string __pbn__access_token; + [global::ProtoBuf.ProtoMember(109)] + public bool is_chrome_os + { + get => __pbn__is_chrome_os.GetValueOrDefault(); + set => __pbn__is_chrome_os = value; + } + public bool ShouldSerializeis_chrome_os() => __pbn__is_chrome_os != null; + public void Resetis_chrome_os() => __pbn__is_chrome_os = null; + private bool? __pbn__is_chrome_os; + + [global::ProtoBuf.ProtoMember(110)] + public bool is_tesla + { + get => __pbn__is_tesla.GetValueOrDefault(); + set => __pbn__is_tesla = value; + } + public bool ShouldSerializeis_tesla() => __pbn__is_tesla != null; + public void Resetis_tesla() => __pbn__is_tesla = null; + private bool? __pbn__is_tesla; + } [global::ProtoBuf.ProtoContract()] @@ -10866,6 +10933,16 @@ public string agreement_session_url public void Resetagreement_session_url() => __pbn__agreement_session_url = null; private string __pbn__agreement_session_url; + [global::ProtoBuf.ProtoMember(30)] + public ulong token_id + { + get => __pbn__token_id.GetValueOrDefault(); + set => __pbn__token_id = value; + } + public bool ShouldSerializetoken_id() => __pbn__token_id != null; + public void Resettoken_id() => __pbn__token_id = null; + private ulong? __pbn__token_id; + } [global::ProtoBuf.ProtoContract()] @@ -20684,6 +20761,16 @@ public partial class CMsgControllerConfiguration : global::ProtoBuf.IExtensible => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); [global::ProtoBuf.ProtoMember(1)] + public uint binding_handle + { + get => __pbn__binding_handle.GetValueOrDefault(); + set => __pbn__binding_handle = value; + } + public bool ShouldSerializebinding_handle() => __pbn__binding_handle != null; + public void Resetbinding_handle() => __pbn__binding_handle = null; + private uint? __pbn__binding_handle; + + [global::ProtoBuf.ProtoMember(2)] [global::System.ComponentModel.DefaultValue("")] public string display_name { @@ -20694,7 +20781,7 @@ public string display_name public void Resetdisplay_name() => __pbn__display_name = null; private string __pbn__display_name; - [global::ProtoBuf.ProtoMember(2)] + [global::ProtoBuf.ProtoMember(3)] [global::System.ComponentModel.DefaultValue("")] public string description { @@ -20705,7 +20792,7 @@ public string description public void Resetdescription() => __pbn__description = null; private string __pbn__description; - [global::ProtoBuf.ProtoMember(3)] + [global::ProtoBuf.ProtoMember(4)] [global::System.ComponentModel.DefaultValue("")] public string creator { @@ -20716,7 +20803,7 @@ public string creator public void Resetcreator() => __pbn__creator = null; private string __pbn__creator; - [global::ProtoBuf.ProtoMember(4)] + [global::ProtoBuf.ProtoMember(5)] public int controller_type { get => __pbn__controller_type.GetValueOrDefault(); @@ -20726,13 +20813,13 @@ public int controller_type public void Resetcontroller_type() => __pbn__controller_type = null; private int? __pbn__controller_type; - [global::ProtoBuf.ProtoMember(5)] + [global::ProtoBuf.ProtoMember(6)] public global::System.Collections.Generic.List sets { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(6)] + [global::ProtoBuf.ProtoMember(7)] public global::System.Collections.Generic.List modes { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(7)] + [global::ProtoBuf.ProtoMember(8)] [global::System.ComponentModel.DefaultValue("")] public string error_msg { @@ -20743,7 +20830,7 @@ public string error_msg public void Reseterror_msg() => __pbn__error_msg = null; private string __pbn__error_msg; - [global::ProtoBuf.ProtoMember(8)] + [global::ProtoBuf.ProtoMember(9)] [global::System.ComponentModel.DefaultValue("")] public string action_block_path { @@ -20754,9 +20841,20 @@ public string action_block_path public void Resetaction_block_path() => __pbn__action_block_path = null; private string __pbn__action_block_path; - [global::ProtoBuf.ProtoMember(9)] + [global::ProtoBuf.ProtoMember(10)] public CMsgControllerActionSetMiscSettings misc_action_set_settings { get; set; } + [global::ProtoBuf.ProtoMember(11)] + [global::System.ComponentModel.DefaultValue("")] + public string url + { + get => __pbn__url ?? ""; + set => __pbn__url = value; + } + public bool ShouldSerializeurl() => __pbn__url != null; + public void Reseturl() => __pbn__url = null; + private string __pbn__url; + } [global::ProtoBuf.ProtoContract()] @@ -21462,10 +21560,17 @@ public uint modeid private uint? __pbn__modeid; [global::ProtoBuf.ProtoMember(6)] - public CMsgControllerSourceGroup mode_shift_source_group { get; set; } + public bool mode_shift + { + get => __pbn__mode_shift.GetValueOrDefault(); + set => __pbn__mode_shift = value; + } + public bool ShouldSerializemode_shift() => __pbn__mode_shift != null; + public void Resetmode_shift() => __pbn__mode_shift = null; + private bool? __pbn__mode_shift; [global::ProtoBuf.ProtoMember(7)] - public CMsgControllerSourceGroup mode_shift_source_group__field_7 { get; set; } + public CMsgControllerSourceGroup mode_shift_source_group { get; set; } } @@ -23018,6 +23123,35 @@ public uint ip } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCRoutingProtoBufHeader : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 dst_gcid_queue + { + get => __pbn__dst_gcid_queue.GetValueOrDefault(); + set => __pbn__dst_gcid_queue = value; + } + public bool ShouldSerializedst_gcid_queue() => __pbn__dst_gcid_queue != null; + public void Resetdst_gcid_queue() => __pbn__dst_gcid_queue = null; + private ulong? __pbn__dst_gcid_queue; + + [global::ProtoBuf.ProtoMember(2)] + public uint dst_gc_dir_index + { + get => __pbn__dst_gc_dir_index.GetValueOrDefault(); + set => __pbn__dst_gc_dir_index = value; + } + public bool ShouldSerializedst_gc_dir_index() => __pbn__dst_gc_dir_index != null; + public void Resetdst_gc_dir_index() => __pbn__dst_gc_dir_index = null; + private uint? __pbn__dst_gc_dir_index; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgGMSClientServerQueryResponse : global::ProtoBuf.IExtensible { @@ -23729,6 +23863,60 @@ public string client_message_id } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgMonitorInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 selected_display_name + { + get => __pbn__selected_display_name ?? ""; + set => __pbn__selected_display_name = value; + } + public bool ShouldSerializeselected_display_name() => __pbn__selected_display_name != null; + public void Resetselected_display_name() => __pbn__selected_display_name = null; + private string __pbn__selected_display_name; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List monitors { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgMonitorInfo_MonitorInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 monitor_device_name + { + get => __pbn__monitor_device_name ?? ""; + set => __pbn__monitor_device_name = value; + } + public bool ShouldSerializemonitor_device_name() => __pbn__monitor_device_name != null; + public void Resetmonitor_device_name() => __pbn__monitor_device_name = null; + private string __pbn__monitor_device_name; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string monitor_display_name + { + get => __pbn__monitor_display_name ?? ""; + set => __pbn__monitor_display_name = value; + } + public bool ShouldSerializemonitor_display_name() => __pbn__monitor_display_name != null; + public void Resetmonitor_display_name() => __pbn__monitor_display_name = null; + private string __pbn__monitor_display_name; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgMulti : global::ProtoBuf.IExtensible { @@ -24641,6 +24829,29 @@ public string debug_source public void Resetdebug_source() => __pbn__debug_source = null; private string __pbn__debug_source; + [global::ProtoBuf.ProtoMember(35)] + public uint debug_source_string_index + { + get => __pbn__debug_source_string_index.GetValueOrDefault(); + set => __pbn__debug_source_string_index = value; + } + public bool ShouldSerializedebug_source_string_index() => __pbn__debug_source_string_index != null; + public void Resetdebug_source_string_index() => __pbn__debug_source_string_index = null; + private uint? __pbn__debug_source_string_index; + + [global::ProtoBuf.ProtoMember(36)] + public ulong token_id + { + get => __pbn__token_id.GetValueOrDefault(); + set => __pbn__token_id = value; + } + public bool ShouldSerializetoken_id() => __pbn__token_id != null; + public void Resettoken_id() => __pbn__token_id = null; + private ulong? __pbn__token_id; + + [global::ProtoBuf.ProtoMember(37)] + public CMsgGCRoutingProtoBufHeader routing_gc { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -24679,6 +24890,17 @@ public int branch public void Resetbranch() => __pbn__branch = null; private int? __pbn__branch; + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string custom_branch + { + get => __pbn__custom_branch ?? ""; + set => __pbn__custom_branch = value; + } + public bool ShouldSerializecustom_branch() => __pbn__custom_branch != null; + public void Resetcustom_branch() => __pbn__custom_branch = null; + private string __pbn__custom_branch; + } [global::ProtoBuf.ProtoContract()] @@ -26397,6 +26619,26 @@ public bool is_unmount_supported public void Resetis_unmount_supported() => __pbn__is_unmount_supported = null; private bool? __pbn__is_unmount_supported; + [global::ProtoBuf.ProtoMember(4)] + public bool is_trim_supported + { + get => __pbn__is_trim_supported.GetValueOrDefault(); + set => __pbn__is_trim_supported = value; + } + public bool ShouldSerializeis_trim_supported() => __pbn__is_trim_supported != null; + public void Resetis_trim_supported() => __pbn__is_trim_supported = null; + private bool? __pbn__is_trim_supported; + + [global::ProtoBuf.ProtoMember(5)] + public bool is_trim_running + { + get => __pbn__is_trim_running.GetValueOrDefault(); + set => __pbn__is_trim_running = value; + } + public bool ShouldSerializeis_trim_running() => __pbn__is_trim_running != null; + public void Resetis_trim_running() => __pbn__is_trim_running = null; + private bool? __pbn__is_trim_running; + } [global::ProtoBuf.ProtoContract()] @@ -26605,6 +26847,16 @@ public ulong size_bytes public void Resetsize_bytes() => __pbn__size_bytes = null; private ulong? __pbn__size_bytes; + [global::ProtoBuf.ProtoMember(7)] + public int media_type + { + get => __pbn__media_type.GetValueOrDefault(); + set => __pbn__media_type = value; + } + public bool ShouldSerializemedia_type() => __pbn__media_type != null; + public void Resetmedia_type() => __pbn__media_type = null; + private int? __pbn__media_type; + } [global::ProtoBuf.ProtoContract()] @@ -27133,45 +27385,329 @@ public float volume } [global::ProtoBuf.ProtoContract()] - public partial class CMsgSystemDockState : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 CMsgSystemDockUpdateState update_state { get; set; } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgSystemDockUpdateFirmware : global::ProtoBuf.IExtensible + public partial class CMsgSystemDisplay : global::ProtoBuf.IExtensible { private global::ProtoBuf.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 check_only + public int id { - get => __pbn__check_only.GetValueOrDefault(); - set => __pbn__check_only = value; + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; } - public bool ShouldSerializecheck_only() => __pbn__check_only != null; - public void Resetcheck_only() => __pbn__check_only = null; - private bool? __pbn__check_only; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgSystemDockUpdateState : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private int? __pbn__id; - [global::ProtoBuf.ProtoMember(1)] - public int state + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string description + { + get => __pbn__description ?? ""; + set => __pbn__description = value; + } + public bool ShouldSerializedescription() => __pbn__description != null; + public void Resetdescription() => __pbn__description = null; + private string __pbn__description; + + [global::ProtoBuf.ProtoMember(4)] + public bool is_primary + { + get => __pbn__is_primary.GetValueOrDefault(); + set => __pbn__is_primary = value; + } + public bool ShouldSerializeis_primary() => __pbn__is_primary != null; + public void Resetis_primary() => __pbn__is_primary = null; + private bool? __pbn__is_primary; + + [global::ProtoBuf.ProtoMember(5)] + public bool is_enabled + { + get => __pbn__is_enabled.GetValueOrDefault(); + set => __pbn__is_enabled = value; + } + public bool ShouldSerializeis_enabled() => __pbn__is_enabled != null; + public void Resetis_enabled() => __pbn__is_enabled = null; + private bool? __pbn__is_enabled; + + [global::ProtoBuf.ProtoMember(6)] + public bool is_internal + { + get => __pbn__is_internal.GetValueOrDefault(); + set => __pbn__is_internal = value; + } + public bool ShouldSerializeis_internal() => __pbn__is_internal != null; + public void Resetis_internal() => __pbn__is_internal = null; + private bool? __pbn__is_internal; + + [global::ProtoBuf.ProtoMember(7)] + public bool has_mode_override + { + get => __pbn__has_mode_override.GetValueOrDefault(); + set => __pbn__has_mode_override = value; + } + public bool ShouldSerializehas_mode_override() => __pbn__has_mode_override != null; + public void Resethas_mode_override() => __pbn__has_mode_override = null; + private bool? __pbn__has_mode_override; + + [global::ProtoBuf.ProtoMember(8)] + public int width_mm + { + get => __pbn__width_mm.GetValueOrDefault(); + set => __pbn__width_mm = value; + } + public bool ShouldSerializewidth_mm() => __pbn__width_mm != null; + public void Resetwidth_mm() => __pbn__width_mm = null; + private int? __pbn__width_mm; + + [global::ProtoBuf.ProtoMember(9)] + public int height_mm + { + get => __pbn__height_mm.GetValueOrDefault(); + set => __pbn__height_mm = value; + } + public bool ShouldSerializeheight_mm() => __pbn__height_mm != null; + public void Resetheight_mm() => __pbn__height_mm = null; + private int? __pbn__height_mm; + + [global::ProtoBuf.ProtoMember(10)] + public int current_mode_id + { + get => __pbn__current_mode_id.GetValueOrDefault(); + set => __pbn__current_mode_id = value; + } + public bool ShouldSerializecurrent_mode_id() => __pbn__current_mode_id != null; + public void Resetcurrent_mode_id() => __pbn__current_mode_id = null; + private int? __pbn__current_mode_id; + + [global::ProtoBuf.ProtoMember(11)] + public global::System.Collections.Generic.List modes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(12)] + public int refresh_rate_min + { + get => __pbn__refresh_rate_min.GetValueOrDefault(); + set => __pbn__refresh_rate_min = value; + } + public bool ShouldSerializerefresh_rate_min() => __pbn__refresh_rate_min != null; + public void Resetrefresh_rate_min() => __pbn__refresh_rate_min = null; + private int? __pbn__refresh_rate_min; + + [global::ProtoBuf.ProtoMember(13)] + public int refresh_rate_max + { + get => __pbn__refresh_rate_max.GetValueOrDefault(); + set => __pbn__refresh_rate_max = value; + } + public bool ShouldSerializerefresh_rate_max() => __pbn__refresh_rate_max != null; + public void Resetrefresh_rate_max() => __pbn__refresh_rate_max = null; + private int? __pbn__refresh_rate_max; + + [global::ProtoBuf.ProtoMember(14)] + public bool is_vrr_capable + { + get => __pbn__is_vrr_capable.GetValueOrDefault(); + set => __pbn__is_vrr_capable = value; + } + public bool ShouldSerializeis_vrr_capable() => __pbn__is_vrr_capable != null; + public void Resetis_vrr_capable() => __pbn__is_vrr_capable = null; + private bool? __pbn__is_vrr_capable; + + [global::ProtoBuf.ProtoMember(15)] + public bool is_vrr_enabled + { + get => __pbn__is_vrr_enabled.GetValueOrDefault(); + set => __pbn__is_vrr_enabled = value; + } + public bool ShouldSerializeis_vrr_enabled() => __pbn__is_vrr_enabled != null; + public void Resetis_vrr_enabled() => __pbn__is_vrr_enabled = null; + private bool? __pbn__is_vrr_enabled; + + [global::ProtoBuf.ProtoMember(16)] + public bool is_hdr_capable + { + get => __pbn__is_hdr_capable.GetValueOrDefault(); + set => __pbn__is_hdr_capable = value; + } + public bool ShouldSerializeis_hdr_capable() => __pbn__is_hdr_capable != null; + public void Resetis_hdr_capable() => __pbn__is_hdr_capable = null; + private bool? __pbn__is_hdr_capable; + + [global::ProtoBuf.ProtoMember(17)] + public bool is_hdr_enabled + { + get => __pbn__is_hdr_enabled.GetValueOrDefault(); + set => __pbn__is_hdr_enabled = value; + } + public bool ShouldSerializeis_hdr_enabled() => __pbn__is_hdr_enabled != null; + public void Resetis_hdr_enabled() => __pbn__is_hdr_enabled = null; + private bool? __pbn__is_hdr_enabled; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDisplayManagerSetMode : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 display_id + { + get => __pbn__display_id.GetValueOrDefault(); + set => __pbn__display_id = value; + } + public bool ShouldSerializedisplay_id() => __pbn__display_id != null; + public void Resetdisplay_id() => __pbn__display_id = null; + private int? __pbn__display_id; + + [global::ProtoBuf.ProtoMember(2)] + public int mode_id + { + get => __pbn__mode_id.GetValueOrDefault(); + set => __pbn__mode_id = value; + } + public bool ShouldSerializemode_id() => __pbn__mode_id != null; + public void Resetmode_id() => __pbn__mode_id = null; + private int? __pbn__mode_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDisplayManagerState : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 displays { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public bool is_mode_switching_supported + { + get => __pbn__is_mode_switching_supported.GetValueOrDefault(); + set => __pbn__is_mode_switching_supported = value; + } + public bool ShouldSerializeis_mode_switching_supported() => __pbn__is_mode_switching_supported != null; + public void Resetis_mode_switching_supported() => __pbn__is_mode_switching_supported = null; + private bool? __pbn__is_mode_switching_supported; + + [global::ProtoBuf.ProtoMember(3)] + public int compatibility_mode + { + get => __pbn__compatibility_mode.GetValueOrDefault(); + set => __pbn__compatibility_mode = value; + } + public bool ShouldSerializecompatibility_mode() => __pbn__compatibility_mode != null; + public void Resetcompatibility_mode() => __pbn__compatibility_mode = null; + private int? __pbn__compatibility_mode; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDisplayMode : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private int? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + public int width + { + get => __pbn__width.GetValueOrDefault(); + set => __pbn__width = value; + } + public bool ShouldSerializewidth() => __pbn__width != null; + public void Resetwidth() => __pbn__width = null; + private int? __pbn__width; + + [global::ProtoBuf.ProtoMember(3)] + public int height + { + get => __pbn__height.GetValueOrDefault(); + set => __pbn__height = value; + } + public bool ShouldSerializeheight() => __pbn__height != null; + public void Resetheight() => __pbn__height = null; + private int? __pbn__height; + + [global::ProtoBuf.ProtoMember(4)] + public int refresh_hz + { + get => __pbn__refresh_hz.GetValueOrDefault(); + set => __pbn__refresh_hz = value; + } + public bool ShouldSerializerefresh_hz() => __pbn__refresh_hz != null; + public void Resetrefresh_hz() => __pbn__refresh_hz = null; + private int? __pbn__refresh_hz; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDockState : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 CMsgSystemDockUpdateState update_state { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDockUpdateFirmware : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 check_only + { + get => __pbn__check_only.GetValueOrDefault(); + set => __pbn__check_only = value; + } + public bool ShouldSerializecheck_only() => __pbn__check_only != null; + public void Resetcheck_only() => __pbn__check_only = null; + private bool? __pbn__check_only; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDockUpdateState : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 state { get => __pbn__state.GetValueOrDefault(); set => __pbn__state = value; @@ -27232,6 +27768,16 @@ public uint rtime_estimated_completion public void Resetrtime_estimated_completion() => __pbn__rtime_estimated_completion = null; private uint? __pbn__rtime_estimated_completion; + [global::ProtoBuf.ProtoMember(7)] + public int old_fw_workaround + { + get => __pbn__old_fw_workaround.GetValueOrDefault(); + set => __pbn__old_fw_workaround = value; + } + public bool ShouldSerializeold_fw_workaround() => __pbn__old_fw_workaround != null; + public void Resetold_fw_workaround() => __pbn__old_fw_workaround = null; + private int? __pbn__old_fw_workaround; + } [global::ProtoBuf.ProtoContract()] @@ -27752,6 +28298,85 @@ public int nis_sharpness_max public void Resetnis_sharpness_max() => __pbn__nis_sharpness_max = null; private int? __pbn__nis_sharpness_max; + [global::ProtoBuf.ProtoMember(19)] + public int display_external_refresh_manual_hz_min + { + get => __pbn__display_external_refresh_manual_hz_min.GetValueOrDefault(); + set => __pbn__display_external_refresh_manual_hz_min = value; + } + public bool ShouldSerializedisplay_external_refresh_manual_hz_min() => __pbn__display_external_refresh_manual_hz_min != null; + public void Resetdisplay_external_refresh_manual_hz_min() => __pbn__display_external_refresh_manual_hz_min = null; + private int? __pbn__display_external_refresh_manual_hz_min; + + [global::ProtoBuf.ProtoMember(20)] + public int display_external_refresh_manual_hz_max + { + get => __pbn__display_external_refresh_manual_hz_max.GetValueOrDefault(); + set => __pbn__display_external_refresh_manual_hz_max = value; + } + public bool ShouldSerializedisplay_external_refresh_manual_hz_max() => __pbn__display_external_refresh_manual_hz_max != null; + public void Resetdisplay_external_refresh_manual_hz_max() => __pbn__display_external_refresh_manual_hz_max = null; + private int? __pbn__display_external_refresh_manual_hz_max; + + [global::ProtoBuf.ProtoMember(21)] + public global::System.Collections.Generic.List fps_limit_options_external { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(22)] + public bool is_tearing_supported + { + get => __pbn__is_tearing_supported.GetValueOrDefault(); + set => __pbn__is_tearing_supported = value; + } + public bool ShouldSerializeis_tearing_supported() => __pbn__is_tearing_supported != null; + public void Resetis_tearing_supported() => __pbn__is_tearing_supported = null; + private bool? __pbn__is_tearing_supported; + + [global::ProtoBuf.ProtoMember(23)] + public bool is_vrr_supported + { + get => __pbn__is_vrr_supported.GetValueOrDefault(); + set => __pbn__is_vrr_supported = value; + } + public bool ShouldSerializeis_vrr_supported() => __pbn__is_vrr_supported != null; + public void Resetis_vrr_supported() => __pbn__is_vrr_supported = null; + private bool? __pbn__is_vrr_supported; + + [global::ProtoBuf.ProtoMember(24)] + public bool is_dynamic_refresh_rate_in_steam_supported + { + get => __pbn__is_dynamic_refresh_rate_in_steam_supported.GetValueOrDefault(); + set => __pbn__is_dynamic_refresh_rate_in_steam_supported = value; + } + public bool ShouldSerializeis_dynamic_refresh_rate_in_steam_supported() => __pbn__is_dynamic_refresh_rate_in_steam_supported != null; + public void Resetis_dynamic_refresh_rate_in_steam_supported() => __pbn__is_dynamic_refresh_rate_in_steam_supported = null; + private bool? __pbn__is_dynamic_refresh_rate_in_steam_supported; + + [global::ProtoBuf.ProtoMember(25)] + public bool is_split_scaling_and_filtering_supported + { + get => __pbn__is_split_scaling_and_filtering_supported.GetValueOrDefault(); + set => __pbn__is_split_scaling_and_filtering_supported = value; + } + public bool ShouldSerializeis_split_scaling_and_filtering_supported() => __pbn__is_split_scaling_and_filtering_supported != null; + public void Resetis_split_scaling_and_filtering_supported() => __pbn__is_split_scaling_and_filtering_supported = null; + private bool? __pbn__is_split_scaling_and_filtering_supported; + + [global::ProtoBuf.ProtoMember(26)] + public global::System.Collections.Generic.List split_scaling_filters_available { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(27)] + public global::System.Collections.Generic.List split_scaling_scalers_available { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(28)] + public bool is_hdr_supported + { + get => __pbn__is_hdr_supported.GetValueOrDefault(); + set => __pbn__is_hdr_supported = value; + } + public bool ShouldSerializeis_hdr_supported() => __pbn__is_hdr_supported != null; + public void Resetis_hdr_supported() => __pbn__is_hdr_supported = null; + private bool? __pbn__is_hdr_supported; + } [global::ProtoBuf.ProtoContract()] @@ -27916,6 +28541,76 @@ public bool is_advanced_settings_enabled public void Resetis_advanced_settings_enabled() => __pbn__is_advanced_settings_enabled = null; private bool? __pbn__is_advanced_settings_enabled; + [global::ProtoBuf.ProtoMember(8)] + public bool allow_external_display_refresh_control + { + get => __pbn__allow_external_display_refresh_control.GetValueOrDefault(); + set => __pbn__allow_external_display_refresh_control = value; + } + public bool ShouldSerializeallow_external_display_refresh_control() => __pbn__allow_external_display_refresh_control != null; + public void Resetallow_external_display_refresh_control() => __pbn__allow_external_display_refresh_control = null; + private bool? __pbn__allow_external_display_refresh_control; + + [global::ProtoBuf.ProtoMember(9)] + public bool is_hdr_enabled + { + get => __pbn__is_hdr_enabled.GetValueOrDefault(); + set => __pbn__is_hdr_enabled = value; + } + public bool ShouldSerializeis_hdr_enabled() => __pbn__is_hdr_enabled != null; + public void Resetis_hdr_enabled() => __pbn__is_hdr_enabled = null; + private bool? __pbn__is_hdr_enabled; + + [global::ProtoBuf.ProtoMember(10)] + public bool force_hdr_wide_gammut_for_sdr + { + get => __pbn__force_hdr_wide_gammut_for_sdr.GetValueOrDefault(); + set => __pbn__force_hdr_wide_gammut_for_sdr = value; + } + public bool ShouldSerializeforce_hdr_wide_gammut_for_sdr() => __pbn__force_hdr_wide_gammut_for_sdr != null; + public void Resetforce_hdr_wide_gammut_for_sdr() => __pbn__force_hdr_wide_gammut_for_sdr = null; + private bool? __pbn__force_hdr_wide_gammut_for_sdr; + + [global::ProtoBuf.ProtoMember(11)] + public bool force_hdr_10pq_output_debug + { + get => __pbn__force_hdr_10pq_output_debug.GetValueOrDefault(); + set => __pbn__force_hdr_10pq_output_debug = value; + } + public bool ShouldSerializeforce_hdr_10pq_output_debug() => __pbn__force_hdr_10pq_output_debug != null; + public void Resetforce_hdr_10pq_output_debug() => __pbn__force_hdr_10pq_output_debug = null; + private bool? __pbn__force_hdr_10pq_output_debug; + + [global::ProtoBuf.ProtoMember(12)] + public int hdr_on_sdr_tonemap_operator + { + get => __pbn__hdr_on_sdr_tonemap_operator.GetValueOrDefault(); + set => __pbn__hdr_on_sdr_tonemap_operator = value; + } + public bool ShouldSerializehdr_on_sdr_tonemap_operator() => __pbn__hdr_on_sdr_tonemap_operator != null; + public void Resethdr_on_sdr_tonemap_operator() => __pbn__hdr_on_sdr_tonemap_operator = null; + private int? __pbn__hdr_on_sdr_tonemap_operator; + + [global::ProtoBuf.ProtoMember(13)] + public bool is_hdr_debug_heatmap_enabled + { + get => __pbn__is_hdr_debug_heatmap_enabled.GetValueOrDefault(); + set => __pbn__is_hdr_debug_heatmap_enabled = value; + } + public bool ShouldSerializeis_hdr_debug_heatmap_enabled() => __pbn__is_hdr_debug_heatmap_enabled != null; + public void Resetis_hdr_debug_heatmap_enabled() => __pbn__is_hdr_debug_heatmap_enabled = null; + private bool? __pbn__is_hdr_debug_heatmap_enabled; + + [global::ProtoBuf.ProtoMember(14)] + public bool debug_force_hdr_support + { + get => __pbn__debug_force_hdr_support.GetValueOrDefault(); + set => __pbn__debug_force_hdr_support = value; + } + public bool ShouldSerializedebug_force_hdr_support() => __pbn__debug_force_hdr_support != null; + public void Resetdebug_force_hdr_support() => __pbn__debug_force_hdr_support = null; + private bool? __pbn__debug_force_hdr_support; + } [global::ProtoBuf.ProtoContract()] @@ -28085,6 +28780,96 @@ public int nis_sharpness public void Resetnis_sharpness() => __pbn__nis_sharpness = null; private int? __pbn__nis_sharpness; + [global::ProtoBuf.ProtoMember(17)] + public int display_external_refresh_manual_hz + { + get => __pbn__display_external_refresh_manual_hz.GetValueOrDefault(); + set => __pbn__display_external_refresh_manual_hz = value; + } + public bool ShouldSerializedisplay_external_refresh_manual_hz() => __pbn__display_external_refresh_manual_hz != null; + public void Resetdisplay_external_refresh_manual_hz() => __pbn__display_external_refresh_manual_hz = null; + private int? __pbn__display_external_refresh_manual_hz; + + [global::ProtoBuf.ProtoMember(18)] + public int fps_limit_external + { + get => __pbn__fps_limit_external.GetValueOrDefault(); + set => __pbn__fps_limit_external = value; + } + public bool ShouldSerializefps_limit_external() => __pbn__fps_limit_external != null; + public void Resetfps_limit_external() => __pbn__fps_limit_external = null; + private int? __pbn__fps_limit_external; + + [global::ProtoBuf.ProtoMember(19)] + public bool is_tearing_enabled + { + get => __pbn__is_tearing_enabled.GetValueOrDefault(); + set => __pbn__is_tearing_enabled = value; + } + public bool ShouldSerializeis_tearing_enabled() => __pbn__is_tearing_enabled != null; + public void Resetis_tearing_enabled() => __pbn__is_tearing_enabled = null; + private bool? __pbn__is_tearing_enabled; + + [global::ProtoBuf.ProtoMember(20)] + public bool is_vrr_enabled + { + get => __pbn__is_vrr_enabled.GetValueOrDefault(); + set => __pbn__is_vrr_enabled = value; + } + public bool ShouldSerializeis_vrr_enabled() => __pbn__is_vrr_enabled != null; + public void Resetis_vrr_enabled() => __pbn__is_vrr_enabled = null; + private bool? __pbn__is_vrr_enabled; + + [global::ProtoBuf.ProtoMember(21)] + public bool is_composite_debug_enabled + { + get => __pbn__is_composite_debug_enabled.GetValueOrDefault(); + set => __pbn__is_composite_debug_enabled = value; + } + public bool ShouldSerializeis_composite_debug_enabled() => __pbn__is_composite_debug_enabled != null; + public void Resetis_composite_debug_enabled() => __pbn__is_composite_debug_enabled = null; + private bool? __pbn__is_composite_debug_enabled; + + [global::ProtoBuf.ProtoMember(22)] + public bool force_composite + { + get => __pbn__force_composite.GetValueOrDefault(); + set => __pbn__force_composite = value; + } + public bool ShouldSerializeforce_composite() => __pbn__force_composite != null; + public void Resetforce_composite() => __pbn__force_composite = null; + private bool? __pbn__force_composite; + + [global::ProtoBuf.ProtoMember(23)] + public bool use_dynamic_refresh_rate_in_steam + { + get => __pbn__use_dynamic_refresh_rate_in_steam.GetValueOrDefault(); + set => __pbn__use_dynamic_refresh_rate_in_steam = value; + } + public bool ShouldSerializeuse_dynamic_refresh_rate_in_steam() => __pbn__use_dynamic_refresh_rate_in_steam != null; + public void Resetuse_dynamic_refresh_rate_in_steam() => __pbn__use_dynamic_refresh_rate_in_steam = null; + private bool? __pbn__use_dynamic_refresh_rate_in_steam; + + [global::ProtoBuf.ProtoMember(24)] + public int split_scaling_filter + { + get => __pbn__split_scaling_filter.GetValueOrDefault(); + set => __pbn__split_scaling_filter = value; + } + public bool ShouldSerializesplit_scaling_filter() => __pbn__split_scaling_filter != null; + public void Resetsplit_scaling_filter() => __pbn__split_scaling_filter = null; + private int? __pbn__split_scaling_filter; + + [global::ProtoBuf.ProtoMember(25)] + public int split_scaling_scaler + { + get => __pbn__split_scaling_scaler.GetValueOrDefault(); + set => __pbn__split_scaling_scaler = value; + } + public bool ShouldSerializesplit_scaling_scaler() => __pbn__split_scaling_scaler != null; + public void Resetsplit_scaling_scaler() => __pbn__split_scaling_scaler = null; + private int? __pbn__split_scaling_scaler; + } [global::ProtoBuf.ProtoContract()] @@ -28344,6 +29129,16 @@ public int state [global::ProtoBuf.ProtoMember(4)] public global::System.Collections.Generic.List update_apply_results { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(5)] + public bool supports_os_updates + { + get => __pbn__supports_os_updates.GetValueOrDefault(); + set => __pbn__supports_os_updates = value; + } + public bool ShouldSerializesupports_os_updates() => __pbn__supports_os_updates != null; + public void Resetsupports_os_updates() => __pbn__supports_os_updates = null; + private bool? __pbn__supports_os_updates; + } [global::ProtoBuf.ProtoContract()] @@ -28613,6 +29408,28 @@ public uint time_reserved } + [global::ProtoBuf.ProtoContract()] + public partial class CPartnerStoreBrowse_GetItems_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 CStoreBrowse_GetItems_Request request { get; set; } + + [global::ProtoBuf.ProtoMember(2)] + public bool include_unpublished + { + get => __pbn__include_unpublished.GetValueOrDefault(); + set => __pbn__include_unpublished = value; + } + public bool ShouldSerializeinclude_unpublished() => __pbn__include_unpublished != null; + public void Resetinclude_unpublished() => __pbn__include_unpublished = null; + private bool? __pbn__include_unpublished; + + } + [global::ProtoBuf.ProtoContract()] public partial class CProductImpressionsFromClient_Notification : global::ProtoBuf.IExtensible { @@ -28664,6 +29481,179 @@ public uint num_impressions } + [global::ProtoBuf.ProtoContract()] + public partial class CSteamVR_VoiceChat_ExitRoomChat_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 => __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_room_id + { + get => __pbn__chat_room_id.GetValueOrDefault(); + set => __pbn__chat_room_id = value; + } + public bool ShouldSerializechat_room_id() => __pbn__chat_room_id != null; + public void Resetchat_room_id() => __pbn__chat_room_id = null; + private ulong? __pbn__chat_room_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CSteamVR_VoiceChat_ExitRoomChat_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 CSteamVR_VoiceChat_InitiateRoomChat_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 => __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_room_id + { + get => __pbn__chat_room_id.GetValueOrDefault(); + set => __pbn__chat_room_id = value; + } + public bool ShouldSerializechat_room_id() => __pbn__chat_room_id != null; + public void Resetchat_room_id() => __pbn__chat_room_id = null; + private ulong? __pbn__chat_room_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CSteamVR_VoiceChat_InitiateRoomChat_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 CSteamVR_WebRTC_CloseDataChannel_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 channel_id + { + get => __pbn__channel_id.GetValueOrDefault(); + set => __pbn__channel_id = value; + } + public bool ShouldSerializechannel_id() => __pbn__channel_id != null; + public void Resetchannel_id() => __pbn__channel_id = null; + private uint? __pbn__channel_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CSteamVR_WebRTC_CloseDataChannel_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 CSteamVR_WebRTC_CreateDataChannel_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 label + { + get => __pbn__label ?? ""; + set => __pbn__label = value; + } + public bool ShouldSerializelabel() => __pbn__label != null; + public void Resetlabel() => __pbn__label = null; + private string __pbn__label; + + [global::ProtoBuf.ProtoMember(2)] + public bool ordered + { + get => __pbn__ordered.GetValueOrDefault(); + set => __pbn__ordered = value; + } + public bool ShouldSerializeordered() => __pbn__ordered != null; + public void Resetordered() => __pbn__ordered = null; + private bool? __pbn__ordered; + + [global::ProtoBuf.ProtoMember(3)] + public uint max_retransmits + { + get => __pbn__max_retransmits.GetValueOrDefault(); + set => __pbn__max_retransmits = value; + } + public bool ShouldSerializemax_retransmits() => __pbn__max_retransmits != null; + public void Resetmax_retransmits() => __pbn__max_retransmits = null; + private uint? __pbn__max_retransmits; + + [global::ProtoBuf.ProtoMember(4)] + public uint max_packet_life_time + { + get => __pbn__max_packet_life_time.GetValueOrDefault(); + set => __pbn__max_packet_life_time = value; + } + public bool ShouldSerializemax_packet_life_time() => __pbn__max_packet_life_time != null; + public void Resetmax_packet_life_time() => __pbn__max_packet_life_time = null; + private uint? __pbn__max_packet_life_time; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CSteamVR_WebRTC_CreateDataChannel_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 channel_id + { + get => __pbn__channel_id.GetValueOrDefault(); + set => __pbn__channel_id = value; + } + public bool ShouldSerializechannel_id() => __pbn__channel_id != null; + public void Resetchannel_id() => __pbn__channel_id = null; + private uint? __pbn__channel_id; + + } + [global::ProtoBuf.ProtoContract()] public partial class CStoreBrowse_GetItems_Request : global::ProtoBuf.IExtensible { @@ -28694,6 +29684,178 @@ public partial class CStoreBrowse_GetItems_Response : global::ProtoBuf.IExtensib } + [global::ProtoBuf.ProtoContract()] + public partial class CStorePageFilter : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 CStorePageFilter_SalePageFilter sale_filter { get; set; } + + [global::ProtoBuf.ProtoMember(2)] + public CStorePageFilter_ContentHubFilter content_hub_filter { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List store_filters { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CStorePageFilter_ContentHubFilter : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 hub_type + { + get => __pbn__hub_type ?? ""; + set => __pbn__hub_type = value; + } + public bool ShouldSerializehub_type() => __pbn__hub_type != null; + public void Resethub_type() => __pbn__hub_type = null; + private string __pbn__hub_type; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string hub_category + { + get => __pbn__hub_category ?? ""; + set => __pbn__hub_category = value; + } + public bool ShouldSerializehub_category() => __pbn__hub_category != null; + public void Resethub_category() => __pbn__hub_category = null; + private string __pbn__hub_category; + + [global::ProtoBuf.ProtoMember(3)] + public uint hub_tagid + { + get => __pbn__hub_tagid.GetValueOrDefault(); + set => __pbn__hub_tagid = value; + } + public bool ShouldSerializehub_tagid() => __pbn__hub_tagid != null; + public void Resethub_tagid() => __pbn__hub_tagid = null; + private uint? __pbn__hub_tagid; + + [global::ProtoBuf.ProtoMember(4)] + public int discount_filter + { + get => __pbn__discount_filter.GetValueOrDefault(); + set => __pbn__discount_filter = value; + } + public bool ShouldSerializediscount_filter() => __pbn__discount_filter != null; + public void Resetdiscount_filter() => __pbn__discount_filter = null; + private int? __pbn__discount_filter; + + [global::ProtoBuf.ProtoMember(5)] + public CStorePageFilter_ContentHubFilter_OptInInfo optin { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CStorePageFilter_ContentHubFilter_OptInInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(2)] + public uint optin_tagid + { + get => __pbn__optin_tagid.GetValueOrDefault(); + set => __pbn__optin_tagid = value; + } + public bool ShouldSerializeoptin_tagid() => __pbn__optin_tagid != null; + public void Resetoptin_tagid() => __pbn__optin_tagid = null; + private uint? __pbn__optin_tagid; + + [global::ProtoBuf.ProtoMember(3)] + public uint prune_tagid + { + get => __pbn__prune_tagid.GetValueOrDefault(); + set => __pbn__prune_tagid = value; + } + public bool ShouldSerializeprune_tagid() => __pbn__prune_tagid != null; + public void Resetprune_tagid() => __pbn__prune_tagid = null; + private uint? __pbn__prune_tagid; + + [global::ProtoBuf.ProtoMember(4)] + public bool optin_only + { + get => __pbn__optin_only.GetValueOrDefault(); + set => __pbn__optin_only = value; + } + public bool ShouldSerializeoptin_only() => __pbn__optin_only != null; + public void Resetoptin_only() => __pbn__optin_only = null; + private bool? __pbn__optin_only; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CStorePageFilter_SalePageFilter : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 sale_tagid + { + get => __pbn__sale_tagid.GetValueOrDefault(); + set => __pbn__sale_tagid = value; + } + public bool ShouldSerializesale_tagid() => __pbn__sale_tagid != null; + public void Resetsale_tagid() => __pbn__sale_tagid = null; + private uint? __pbn__sale_tagid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CStorePageFilter_StoreFilter : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 filter_json + { + get => __pbn__filter_json ?? ""; + set => __pbn__filter_json = value; + } + public bool ShouldSerializefilter_json() => __pbn__filter_json != null; + public void Resetfilter_json() => __pbn__filter_json = null; + private string __pbn__filter_json; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string cache_key + { + get => __pbn__cache_key ?? ""; + set => __pbn__cache_key = value; + } + public bool ShouldSerializecache_key() => __pbn__cache_key != null; + public void Resetcache_key() => __pbn__cache_key = null; + private string __pbn__cache_key; + + } + [global::ProtoBuf.ProtoContract()] public partial class CStreamingClientConfig : global::ProtoBuf.IExtensible { @@ -28997,76 +30159,6 @@ public int host_play_audio } - [global::ProtoBuf.ProtoContract()] - public partial class CSupportRefreshTokenDescription : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 token_id - { - get => __pbn__token_id.GetValueOrDefault(); - set => __pbn__token_id = value; - } - public bool ShouldSerializetoken_id() => __pbn__token_id != null; - public void Resettoken_id() => __pbn__token_id = null; - private ulong? __pbn__token_id; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string token_description - { - get => __pbn__token_description ?? ""; - set => __pbn__token_description = value; - } - public bool ShouldSerializetoken_description() => __pbn__token_description != null; - public void Resettoken_description() => __pbn__token_description = null; - private string __pbn__token_description; - - [global::ProtoBuf.ProtoMember(3)] - public uint time_updated - { - get => __pbn__time_updated.GetValueOrDefault(); - set => __pbn__time_updated = value; - } - public bool ShouldSerializetime_updated() => __pbn__time_updated != null; - public void Resettime_updated() => __pbn__time_updated = null; - private uint? __pbn__time_updated; - - [global::ProtoBuf.ProtoMember(4)] - public int platform_type - { - get => __pbn__platform_type.GetValueOrDefault(); - set => __pbn__platform_type = value; - } - public bool ShouldSerializeplatform_type() => __pbn__platform_type != null; - public void Resetplatform_type() => __pbn__platform_type = null; - private int? __pbn__platform_type; - - [global::ProtoBuf.ProtoMember(5)] - public int token_state - { - get => __pbn__token_state.GetValueOrDefault(); - set => __pbn__token_state = value; - } - public bool ShouldSerializetoken_state() => __pbn__token_state != null; - public void Resettoken_state() => __pbn__token_state = null; - private int? __pbn__token_state; - - [global::ProtoBuf.ProtoMember(6, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong owner_steamid - { - get => __pbn__owner_steamid.GetValueOrDefault(); - set => __pbn__owner_steamid = value; - } - public bool ShouldSerializeowner_steamid() => __pbn__owner_steamid != null; - public void Resetowner_steamid() => __pbn__owner_steamid = null; - private ulong? __pbn__owner_steamid; - - } - [global::ProtoBuf.ProtoContract()] public partial class CVirtualMenuKey : global::ProtoBuf.IExtensible { @@ -29158,6 +30250,17 @@ public string label [global::ProtoBuf.ProtoMember(9)] [global::System.ComponentModel.DefaultValue("")] + public string glyph_path + { + get => __pbn__glyph_path ?? ""; + set => __pbn__glyph_path = value; + } + public bool ShouldSerializeglyph_path() => __pbn__glyph_path != null; + public void Resetglyph_path() => __pbn__glyph_path = null; + private string __pbn__glyph_path; + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] public string icon_filename { get => __pbn__icon_filename ?? ""; @@ -29167,7 +30270,7 @@ public string icon_filename public void Reseticon_filename() => __pbn__icon_filename = null; private string __pbn__icon_filename; - [global::ProtoBuf.ProtoMember(10)] + [global::ProtoBuf.ProtoMember(11)] [global::System.ComponentModel.DefaultValue("")] public string color_foreground { @@ -29178,7 +30281,7 @@ public string color_foreground public void Resetcolor_foreground() => __pbn__color_foreground = null; private string __pbn__color_foreground; - [global::ProtoBuf.ProtoMember(11)] + [global::ProtoBuf.ProtoMember(12)] [global::System.ComponentModel.DefaultValue("")] public string color_background { @@ -29189,7 +30292,7 @@ public string color_background public void Resetcolor_background() => __pbn__color_background = null; private string __pbn__color_background; - [global::ProtoBuf.ProtoMember(12)] + [global::ProtoBuf.ProtoMember(13)] public uint quadrants { get => __pbn__quadrants.GetValueOrDefault(); @@ -29199,6 +30302,16 @@ public uint quadrants public void Resetquadrants() => __pbn__quadrants = null; private uint? __pbn__quadrants; + [global::ProtoBuf.ProtoMember(14)] + public uint binding_type + { + get => __pbn__binding_type.GetValueOrDefault(); + set => __pbn__binding_type = value; + } + public bool ShouldSerializebinding_type() => __pbn__binding_type != null; + public void Resetbinding_type() => __pbn__binding_type = null; + private uint? __pbn__binding_type; + } [global::ProtoBuf.ProtoContract()] diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommunity.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommunity.cs index 8f6cb4d0d..9f6ce6cf8 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommunity.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgCommunity.cs @@ -184,6 +184,29 @@ public uint app_type public void Resetapp_type() => __pbn__app_type = null; private uint? __pbn__app_type; + [global::ProtoBuf.ProtoMember(15)] + public bool has_adult_content_sex + { + get => __pbn__has_adult_content_sex.GetValueOrDefault(); + set => __pbn__has_adult_content_sex = value; + } + public bool ShouldSerializehas_adult_content_sex() => __pbn__has_adult_content_sex != null; + public void Resethas_adult_content_sex() => __pbn__has_adult_content_sex = null; + private bool? __pbn__has_adult_content_sex; + + [global::ProtoBuf.ProtoMember(16)] + public bool has_adult_content_violence + { + get => __pbn__has_adult_content_violence.GetValueOrDefault(); + set => __pbn__has_adult_content_violence = value; + } + public bool ShouldSerializehas_adult_content_violence() => __pbn__has_adult_content_violence != null; + public void Resethas_adult_content_violence() => __pbn__has_adult_content_violence = null; + private bool? __pbn__has_adult_content_violence; + + [global::ProtoBuf.ProtoMember(17)] + public global::System.Collections.Generic.List content_descriptorids { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgUserNews.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgUserNews.cs index 0ccc6a61f..827fdc3e8 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgUserNews.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgUserNews.cs @@ -151,6 +151,16 @@ public uint appid public void Resetappid() => __pbn__appid = null; private uint? __pbn__appid; + [global::ProtoBuf.ProtoMember(2)] + public bool include_already_seen + { + get => __pbn__include_already_seen.GetValueOrDefault(); + set => __pbn__include_already_seen = value; + } + public bool ShouldSerializeinclude_already_seen() => __pbn__include_already_seen != null; + public void Resetinclude_already_seen() => __pbn__include_already_seen = null; + private bool? __pbn__include_already_seen; + } [global::ProtoBuf.ProtoContract()] diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgUserReviews.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgUserReviews.cs index 8123dc1f7..994e32b93 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgUserReviews.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/Generated/SteamMsgUserReviews.cs @@ -214,6 +214,16 @@ public bool comments_disabled public void Resetcomments_disabled() => __pbn__comments_disabled = null; private bool? __pbn__comments_disabled; + [global::ProtoBuf.ProtoMember(9)] + public bool hide_in_steam_china + { + get => __pbn__hide_in_steam_china.GetValueOrDefault(); + set => __pbn__hide_in_steam_china = value; + } + public bool ShouldSerializehide_in_steam_china() => __pbn__hide_in_steam_china != null; + public void Resethide_in_steam_china() => __pbn__hide_in_steam_china = null; + private bool? __pbn__hide_in_steam_china; + } [global::ProtoBuf.ProtoContract()] @@ -640,6 +650,27 @@ public string ipaddress public void Resetipaddress() => __pbn__ipaddress = null; private string __pbn__ipaddress; + [global::ProtoBuf.ProtoMember(42)] + public bool hidden_in_steam_china + { + get => __pbn__hidden_in_steam_china.GetValueOrDefault(); + set => __pbn__hidden_in_steam_china = value; + } + public bool ShouldSerializehidden_in_steam_china() => __pbn__hidden_in_steam_china != null; + public void Resethidden_in_steam_china() => __pbn__hidden_in_steam_china = null; + private bool? __pbn__hidden_in_steam_china; + + [global::ProtoBuf.ProtoMember(43)] + [global::System.ComponentModel.DefaultValue("")] + public string steam_china_location + { + get => __pbn__steam_china_location ?? ""; + set => __pbn__steam_china_location = value; + } + public bool ShouldSerializesteam_china_location() => __pbn__steam_china_location != null; + public void Resetsteam_china_location() => __pbn__steam_china_location = null; + private string __pbn__steam_china_location; + } public interface IUserReviews diff --git a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/MessageTypeOverrides.cs b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/MessageTypeOverrides.cs index 30ae6807e..bf6a6e738 100644 --- a/Resources/NetHookAnalyzer2/NetHookAnalyzer2/MessageTypeOverrides.cs +++ b/Resources/NetHookAnalyzer2/NetHookAnalyzer2/MessageTypeOverrides.cs @@ -29,7 +29,7 @@ static class MessageTypeOverrides { EMsg.AMGameServerUpdate, typeof(CMsgGameServerData) }, - { EMsg.ClientDPUpdateAppJobReport, typeof(CMsgClientUpdateAppJobReport) }, + { EMsg.ClientDPUpdateAppJobReport, typeof(Protobufs.CMsgClientUpdateAppJobReport) }, { EMsg.ClientPlayingSessionState, typeof(CMsgClientPlayingSessionState) }, diff --git a/Resources/ProtobufGen/gc.proto b/Resources/ProtobufGen/gc.proto index a23dcd4fd..0ce6fb819 100644 --- a/Resources/ProtobufGen/gc.proto +++ b/Resources/ProtobufGen/gc.proto @@ -4,6 +4,12 @@ enum GCProtoBufMsgSrc { GCProtoBufMsgSrc_FromSteamID = 2; GCProtoBufMsgSrc_FromGC = 3; GCProtoBufMsgSrc_ReplySystem = 4; + GCProtoBufMsgSrc_SpoofedSteamID = 5; +} + +message CMsgGCRoutingProtoBufHeader { + optional uint64 dst_gcid_queue = 1; + optional uint32 dst_gc_dir_index = 2; } message CMsgProtoBufHeader { @@ -13,9 +19,33 @@ message CMsgProtoBufHeader { optional fixed64 job_id_source = 10 [default = 18446744073709551615]; optional fixed64 job_id_target = 11 [default = 18446744073709551615]; optional string target_job_name = 12; + optional int32 seq_num = 24; optional int32 eresult = 13 [default = 2]; optional string error_message = 14; - optional uint32 ip = 15; + optional uint32 auth_account_flags = 16; + optional uint32 token_source = 22; + optional bool admin_spoofing_user = 23; + optional int32 transport_error = 17 [default = 1]; + optional uint64 messageid = 18 [default = 18446744073709551615]; + optional uint32 publisher_group_id = 19; + optional uint32 sysid = 20; + optional uint64 trace_tag = 21; + optional uint32 webapi_key_id = 25; + optional bool is_from_external_source = 26; + repeated uint32 forward_to_sysid = 27; + optional uint32 cm_sysid = 28; + optional uint32 launcher_type = 31 [default = 0]; + optional uint32 realm = 32 [default = 0]; + optional int32 timeout_ms = 33 [default = -1]; + optional string debug_source = 34; + optional uint32 debug_source_string_index = 35; + optional uint64 token_id = 36; + optional .CMsgGCRoutingProtoBufHeader routing_gc = 37; optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; optional uint32 gc_dir_index_source = 201; + + oneof ip_addr { + uint32 ip = 15; + bytes ip_v6 = 29; + } } diff --git a/Resources/ProtobufGen/protos.csv b/Resources/ProtobufGen/protos.csv index 832004f3d..4783d2711 100644 --- a/Resources/ProtobufGen/protos.csv +++ b/Resources/ProtobufGen/protos.csv @@ -3,6 +3,7 @@ steam,enums.proto,Enums.cs,SteamKit2.Internal steam,enums_productinfo.proto,EnumsProductInfo.cs,SteamKit2.Internal steam,content_manifest.proto,ContentManifest.cs,SteamKit2.Internal steam,clientmetrics.proto,ClientMetrics.cs,SteamKit2.Internal +steam,contenthubs.proto,SteamMsgContentHubs.cs,SteamKit2.Internal steam,encrypted_app_ticket.proto,SteamMsgAppTicket.cs,SteamKit2.Internal steam,offline_ticket.proto,OfflineTicket.cs,SteamKit2.Internal steam,steammessages_client_objects.proto,ClientObjects.cs,SteamKit2.Internal @@ -109,6 +110,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_steamlearn.steamworkssdk.proto,GC\Dota\SteamMsgSteamLearnSteamworks.cs,SteamKit2.GC.Dota.Internal 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 diff --git a/Resources/Protobufs b/Resources/Protobufs index 149ea91f0..3fb3b1da3 160000 --- a/Resources/Protobufs +++ b/Resources/Protobufs @@ -1 +1 @@ -Subproject commit 149ea91f0d77e79d4c98d44dc29a286f7e4232f5 +Subproject commit 3fb3b1da3b1b9abcd2031b1bd36b796b93c8bec4 diff --git a/Resources/SteamLanguage/emsg.steamd b/Resources/SteamLanguage/emsg.steamd index 0e951bb42..6c2211738 100644 --- a/Resources/SteamLanguage/emsg.steamd +++ b/Resources/SteamLanguage/emsg.steamd @@ -102,6 +102,8 @@ enum EMsg ExpectShellRestart = 336; HotFixProgress = 337; GMStatsForwardToAdminConnections = 338; + GMGetModifiedConVars = 339; + GMGetModifiedConVarsResponse = 340; BaseAIS = 400; AISRefreshContentDescription = 401; removed @@ -713,6 +715,9 @@ enum EMsg GCHAppCheersReceived = 2242; GCHAppCheersGetAllowedTypes = 2243; GCHAppCheersGetAllowedTypesResponse = 2244; + GCHRoutingRulesFromGCHtoGM = 2245; + GCHRoutingRulesToGCHfromGM = 2246; + UpdateCMMessageRateRules = 2247; BaseP2P = 2500; P2PIntroducerMessage = 2502; @@ -1232,6 +1237,7 @@ enum EMsg AMPerfectWorldPaymentResponse = 4422; AMECommPayPayment = 4423; AMECommPayPaymentResponse = 4424; + AMSetRemoteClientID = 4425; BasePSRange = 5000; PSCreateShoppingCart = 5001; @@ -1382,6 +1388,8 @@ enum EMsg ClientOGSWriteRow = 5494; ClientDRMTest = 5495; ClientDRMTestResult = 5496; + ClientStartPeerContentServer = 5497; + ClientStartPeerContentServerResponse = 5498; ClientServerUnavailable = 5500; ClientServersAvailable = 5501; ClientRegisterAuthTicketWithCM = 5502; @@ -1999,10 +2007,14 @@ enum EMsg ClientServerTimestampResponse = 9803; ServiceMethodCallFromClientNonAuthed = 9804; ClientHello = 9805; + ClientEnableOrDisableDownloads = 9806; + ClientEnableOrDisableDownloadsResponse = 9807; ClientLANP2PBase = 9900; ClientLANP2PRequestChunk = 9900; ClientLANP2PRequestChunkResponse = 9901; + ClientPeerChunkRequest = 9902; + ClientPeerChunkResponse = 9903; ClientLANP2PMax = 9999; BaseWatchdogServer = 10000; diff --git a/SteamKit2/SteamKit2/Base/Generated/ClientObjects.cs b/SteamKit2/SteamKit2/Base/Generated/ClientObjects.cs index 08fabd624..ed31134b6 100644 --- a/SteamKit2/SteamKit2/Base/Generated/ClientObjects.cs +++ b/SteamKit2/SteamKit2/Base/Generated/ClientObjects.cs @@ -660,6 +660,26 @@ public bool is_unmount_supported public void Resetis_unmount_supported() => __pbn__is_unmount_supported = null; private bool? __pbn__is_unmount_supported; + [global::ProtoBuf.ProtoMember(4)] + public bool is_trim_supported + { + get => __pbn__is_trim_supported.GetValueOrDefault(); + set => __pbn__is_trim_supported = value; + } + public bool ShouldSerializeis_trim_supported() => __pbn__is_trim_supported != null; + public void Resetis_trim_supported() => __pbn__is_trim_supported = null; + private bool? __pbn__is_trim_supported; + + [global::ProtoBuf.ProtoMember(5)] + public bool is_trim_running + { + get => __pbn__is_trim_running.GetValueOrDefault(); + set => __pbn__is_trim_running = value; + } + public bool ShouldSerializeis_trim_running() => __pbn__is_trim_running != null; + public void Resetis_trim_running() => __pbn__is_trim_running = null; + private bool? __pbn__is_trim_running; + [global::ProtoBuf.ProtoContract()] public partial class Drive : global::ProtoBuf.IExtensible { @@ -731,6 +751,17 @@ public ulong size_bytes public void Resetsize_bytes() => __pbn__size_bytes = null; private ulong? __pbn__size_bytes; + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue(EStorageDriveMediaType.k_EStorageDriveMediaType_Invalid)] + public EStorageDriveMediaType media_type + { + get => __pbn__media_type ?? EStorageDriveMediaType.k_EStorageDriveMediaType_Invalid; + set => __pbn__media_type = value; + } + public bool ShouldSerializemedia_type() => __pbn__media_type != null; + public void Resetmedia_type() => __pbn__media_type = null; + private EStorageDriveMediaType? __pbn__media_type; + } [global::ProtoBuf.ProtoContract()] @@ -1427,6 +1458,85 @@ public int nis_sharpness_max public void Resetnis_sharpness_max() => __pbn__nis_sharpness_max = null; private int? __pbn__nis_sharpness_max; + [global::ProtoBuf.ProtoMember(19)] + public int display_external_refresh_manual_hz_min + { + get => __pbn__display_external_refresh_manual_hz_min.GetValueOrDefault(); + set => __pbn__display_external_refresh_manual_hz_min = value; + } + public bool ShouldSerializedisplay_external_refresh_manual_hz_min() => __pbn__display_external_refresh_manual_hz_min != null; + public void Resetdisplay_external_refresh_manual_hz_min() => __pbn__display_external_refresh_manual_hz_min = null; + private int? __pbn__display_external_refresh_manual_hz_min; + + [global::ProtoBuf.ProtoMember(20)] + public int display_external_refresh_manual_hz_max + { + get => __pbn__display_external_refresh_manual_hz_max.GetValueOrDefault(); + set => __pbn__display_external_refresh_manual_hz_max = value; + } + public bool ShouldSerializedisplay_external_refresh_manual_hz_max() => __pbn__display_external_refresh_manual_hz_max != null; + public void Resetdisplay_external_refresh_manual_hz_max() => __pbn__display_external_refresh_manual_hz_max = null; + private int? __pbn__display_external_refresh_manual_hz_max; + + [global::ProtoBuf.ProtoMember(21)] + public global::System.Collections.Generic.List fps_limit_options_external { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(22)] + public bool is_tearing_supported + { + get => __pbn__is_tearing_supported.GetValueOrDefault(); + set => __pbn__is_tearing_supported = value; + } + public bool ShouldSerializeis_tearing_supported() => __pbn__is_tearing_supported != null; + public void Resetis_tearing_supported() => __pbn__is_tearing_supported = null; + private bool? __pbn__is_tearing_supported; + + [global::ProtoBuf.ProtoMember(23)] + public bool is_vrr_supported + { + get => __pbn__is_vrr_supported.GetValueOrDefault(); + set => __pbn__is_vrr_supported = value; + } + public bool ShouldSerializeis_vrr_supported() => __pbn__is_vrr_supported != null; + public void Resetis_vrr_supported() => __pbn__is_vrr_supported = null; + private bool? __pbn__is_vrr_supported; + + [global::ProtoBuf.ProtoMember(24)] + public bool is_dynamic_refresh_rate_in_steam_supported + { + get => __pbn__is_dynamic_refresh_rate_in_steam_supported.GetValueOrDefault(); + set => __pbn__is_dynamic_refresh_rate_in_steam_supported = value; + } + public bool ShouldSerializeis_dynamic_refresh_rate_in_steam_supported() => __pbn__is_dynamic_refresh_rate_in_steam_supported != null; + public void Resetis_dynamic_refresh_rate_in_steam_supported() => __pbn__is_dynamic_refresh_rate_in_steam_supported = null; + private bool? __pbn__is_dynamic_refresh_rate_in_steam_supported; + + [global::ProtoBuf.ProtoMember(25)] + public bool is_split_scaling_and_filtering_supported + { + get => __pbn__is_split_scaling_and_filtering_supported.GetValueOrDefault(); + set => __pbn__is_split_scaling_and_filtering_supported = value; + } + public bool ShouldSerializeis_split_scaling_and_filtering_supported() => __pbn__is_split_scaling_and_filtering_supported != null; + public void Resetis_split_scaling_and_filtering_supported() => __pbn__is_split_scaling_and_filtering_supported = null; + private bool? __pbn__is_split_scaling_and_filtering_supported; + + [global::ProtoBuf.ProtoMember(26)] + public global::System.Collections.Generic.List split_scaling_filters_available { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(27)] + public global::System.Collections.Generic.List split_scaling_scalers_available { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(28)] + public bool is_hdr_supported + { + get => __pbn__is_hdr_supported.GetValueOrDefault(); + set => __pbn__is_hdr_supported = value; + } + public bool ShouldSerializeis_hdr_supported() => __pbn__is_hdr_supported != null; + public void Resetis_hdr_supported() => __pbn__is_hdr_supported = null; + private bool? __pbn__is_hdr_supported; + } [global::ProtoBuf.ProtoContract()] @@ -1510,6 +1620,77 @@ public bool is_advanced_settings_enabled public void Resetis_advanced_settings_enabled() => __pbn__is_advanced_settings_enabled = null; private bool? __pbn__is_advanced_settings_enabled; + [global::ProtoBuf.ProtoMember(8)] + public bool allow_external_display_refresh_control + { + get => __pbn__allow_external_display_refresh_control.GetValueOrDefault(); + set => __pbn__allow_external_display_refresh_control = value; + } + public bool ShouldSerializeallow_external_display_refresh_control() => __pbn__allow_external_display_refresh_control != null; + public void Resetallow_external_display_refresh_control() => __pbn__allow_external_display_refresh_control = null; + private bool? __pbn__allow_external_display_refresh_control; + + [global::ProtoBuf.ProtoMember(9)] + public bool is_hdr_enabled + { + get => __pbn__is_hdr_enabled.GetValueOrDefault(); + set => __pbn__is_hdr_enabled = value; + } + public bool ShouldSerializeis_hdr_enabled() => __pbn__is_hdr_enabled != null; + public void Resetis_hdr_enabled() => __pbn__is_hdr_enabled = null; + private bool? __pbn__is_hdr_enabled; + + [global::ProtoBuf.ProtoMember(10)] + public bool force_hdr_wide_gammut_for_sdr + { + get => __pbn__force_hdr_wide_gammut_for_sdr.GetValueOrDefault(); + set => __pbn__force_hdr_wide_gammut_for_sdr = value; + } + public bool ShouldSerializeforce_hdr_wide_gammut_for_sdr() => __pbn__force_hdr_wide_gammut_for_sdr != null; + public void Resetforce_hdr_wide_gammut_for_sdr() => __pbn__force_hdr_wide_gammut_for_sdr = null; + private bool? __pbn__force_hdr_wide_gammut_for_sdr; + + [global::ProtoBuf.ProtoMember(11)] + public bool force_hdr_10pq_output_debug + { + get => __pbn__force_hdr_10pq_output_debug.GetValueOrDefault(); + set => __pbn__force_hdr_10pq_output_debug = value; + } + public bool ShouldSerializeforce_hdr_10pq_output_debug() => __pbn__force_hdr_10pq_output_debug != null; + public void Resetforce_hdr_10pq_output_debug() => __pbn__force_hdr_10pq_output_debug = null; + private bool? __pbn__force_hdr_10pq_output_debug; + + [global::ProtoBuf.ProtoMember(12)] + [global::System.ComponentModel.DefaultValue(EHDRToneMapOperator.k_EHDRToneMapOperator_Invalid)] + public EHDRToneMapOperator hdr_on_sdr_tonemap_operator + { + get => __pbn__hdr_on_sdr_tonemap_operator ?? EHDRToneMapOperator.k_EHDRToneMapOperator_Invalid; + set => __pbn__hdr_on_sdr_tonemap_operator = value; + } + public bool ShouldSerializehdr_on_sdr_tonemap_operator() => __pbn__hdr_on_sdr_tonemap_operator != null; + public void Resethdr_on_sdr_tonemap_operator() => __pbn__hdr_on_sdr_tonemap_operator = null; + private EHDRToneMapOperator? __pbn__hdr_on_sdr_tonemap_operator; + + [global::ProtoBuf.ProtoMember(13)] + public bool is_hdr_debug_heatmap_enabled + { + get => __pbn__is_hdr_debug_heatmap_enabled.GetValueOrDefault(); + set => __pbn__is_hdr_debug_heatmap_enabled = value; + } + public bool ShouldSerializeis_hdr_debug_heatmap_enabled() => __pbn__is_hdr_debug_heatmap_enabled != null; + public void Resetis_hdr_debug_heatmap_enabled() => __pbn__is_hdr_debug_heatmap_enabled = null; + private bool? __pbn__is_hdr_debug_heatmap_enabled; + + [global::ProtoBuf.ProtoMember(14)] + public bool debug_force_hdr_support + { + get => __pbn__debug_force_hdr_support.GetValueOrDefault(); + set => __pbn__debug_force_hdr_support = value; + } + public bool ShouldSerializedebug_force_hdr_support() => __pbn__debug_force_hdr_support != null; + public void Resetdebug_force_hdr_support() => __pbn__debug_force_hdr_support = null; + private bool? __pbn__debug_force_hdr_support; + } [global::ProtoBuf.ProtoContract()] @@ -1681,6 +1862,98 @@ public int nis_sharpness public void Resetnis_sharpness() => __pbn__nis_sharpness = null; private int? __pbn__nis_sharpness; + [global::ProtoBuf.ProtoMember(17)] + public int display_external_refresh_manual_hz + { + get => __pbn__display_external_refresh_manual_hz.GetValueOrDefault(); + set => __pbn__display_external_refresh_manual_hz = value; + } + public bool ShouldSerializedisplay_external_refresh_manual_hz() => __pbn__display_external_refresh_manual_hz != null; + public void Resetdisplay_external_refresh_manual_hz() => __pbn__display_external_refresh_manual_hz = null; + private int? __pbn__display_external_refresh_manual_hz; + + [global::ProtoBuf.ProtoMember(18)] + public int fps_limit_external + { + get => __pbn__fps_limit_external.GetValueOrDefault(); + set => __pbn__fps_limit_external = value; + } + public bool ShouldSerializefps_limit_external() => __pbn__fps_limit_external != null; + public void Resetfps_limit_external() => __pbn__fps_limit_external = null; + private int? __pbn__fps_limit_external; + + [global::ProtoBuf.ProtoMember(19)] + public bool is_tearing_enabled + { + get => __pbn__is_tearing_enabled.GetValueOrDefault(); + set => __pbn__is_tearing_enabled = value; + } + public bool ShouldSerializeis_tearing_enabled() => __pbn__is_tearing_enabled != null; + public void Resetis_tearing_enabled() => __pbn__is_tearing_enabled = null; + private bool? __pbn__is_tearing_enabled; + + [global::ProtoBuf.ProtoMember(20)] + public bool is_vrr_enabled + { + get => __pbn__is_vrr_enabled.GetValueOrDefault(); + set => __pbn__is_vrr_enabled = value; + } + public bool ShouldSerializeis_vrr_enabled() => __pbn__is_vrr_enabled != null; + public void Resetis_vrr_enabled() => __pbn__is_vrr_enabled = null; + private bool? __pbn__is_vrr_enabled; + + [global::ProtoBuf.ProtoMember(21)] + public bool is_composite_debug_enabled + { + get => __pbn__is_composite_debug_enabled.GetValueOrDefault(); + set => __pbn__is_composite_debug_enabled = value; + } + public bool ShouldSerializeis_composite_debug_enabled() => __pbn__is_composite_debug_enabled != null; + public void Resetis_composite_debug_enabled() => __pbn__is_composite_debug_enabled = null; + private bool? __pbn__is_composite_debug_enabled; + + [global::ProtoBuf.ProtoMember(22)] + public bool force_composite + { + get => __pbn__force_composite.GetValueOrDefault(); + set => __pbn__force_composite = value; + } + public bool ShouldSerializeforce_composite() => __pbn__force_composite != null; + public void Resetforce_composite() => __pbn__force_composite = null; + private bool? __pbn__force_composite; + + [global::ProtoBuf.ProtoMember(23)] + public bool use_dynamic_refresh_rate_in_steam + { + get => __pbn__use_dynamic_refresh_rate_in_steam.GetValueOrDefault(); + set => __pbn__use_dynamic_refresh_rate_in_steam = value; + } + public bool ShouldSerializeuse_dynamic_refresh_rate_in_steam() => __pbn__use_dynamic_refresh_rate_in_steam != null; + public void Resetuse_dynamic_refresh_rate_in_steam() => __pbn__use_dynamic_refresh_rate_in_steam = null; + private bool? __pbn__use_dynamic_refresh_rate_in_steam; + + [global::ProtoBuf.ProtoMember(24)] + [global::System.ComponentModel.DefaultValue(ESplitScalingFilter.k_ESplitScalingFilter_Invalid)] + public ESplitScalingFilter split_scaling_filter + { + get => __pbn__split_scaling_filter ?? ESplitScalingFilter.k_ESplitScalingFilter_Invalid; + set => __pbn__split_scaling_filter = value; + } + public bool ShouldSerializesplit_scaling_filter() => __pbn__split_scaling_filter != null; + public void Resetsplit_scaling_filter() => __pbn__split_scaling_filter = null; + private ESplitScalingFilter? __pbn__split_scaling_filter; + + [global::ProtoBuf.ProtoMember(25)] + [global::System.ComponentModel.DefaultValue(ESplitScalingScaler.k_ESplitScalingScaler_Invalid)] + public ESplitScalingScaler split_scaling_scaler + { + get => __pbn__split_scaling_scaler ?? ESplitScalingScaler.k_ESplitScalingScaler_Invalid; + set => __pbn__split_scaling_scaler = value; + } + public bool ShouldSerializesplit_scaling_scaler() => __pbn__split_scaling_scaler != null; + public void Resetsplit_scaling_scaler() => __pbn__split_scaling_scaler = null; + private ESplitScalingScaler? __pbn__split_scaling_scaler; + } [global::ProtoBuf.ProtoContract()] @@ -2067,6 +2340,16 @@ public uint rtime_estimated_completion public void Resetrtime_estimated_completion() => __pbn__rtime_estimated_completion = null; private uint? __pbn__rtime_estimated_completion; + [global::ProtoBuf.ProtoMember(7)] + public int old_fw_workaround + { + get => __pbn__old_fw_workaround.GetValueOrDefault(); + set => __pbn__old_fw_workaround = value; + } + public bool ShouldSerializeold_fw_workaround() => __pbn__old_fw_workaround != null; + public void Resetold_fw_workaround() => __pbn__old_fw_workaround = null; + private int? __pbn__old_fw_workaround; + } [global::ProtoBuf.ProtoContract()] @@ -2536,6 +2819,291 @@ public int counter } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDisplayMode : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private int? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + public int width + { + get => __pbn__width.GetValueOrDefault(); + set => __pbn__width = value; + } + public bool ShouldSerializewidth() => __pbn__width != null; + public void Resetwidth() => __pbn__width = null; + private int? __pbn__width; + + [global::ProtoBuf.ProtoMember(3)] + public int height + { + get => __pbn__height.GetValueOrDefault(); + set => __pbn__height = value; + } + public bool ShouldSerializeheight() => __pbn__height != null; + public void Resetheight() => __pbn__height = null; + private int? __pbn__height; + + [global::ProtoBuf.ProtoMember(4)] + public int refresh_hz + { + get => __pbn__refresh_hz.GetValueOrDefault(); + set => __pbn__refresh_hz = value; + } + public bool ShouldSerializerefresh_hz() => __pbn__refresh_hz != null; + public void Resetrefresh_hz() => __pbn__refresh_hz = null; + private int? __pbn__refresh_hz; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDisplay : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private int? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string description + { + get => __pbn__description ?? ""; + set => __pbn__description = value; + } + public bool ShouldSerializedescription() => __pbn__description != null; + public void Resetdescription() => __pbn__description = null; + private string __pbn__description; + + [global::ProtoBuf.ProtoMember(4)] + public bool is_primary + { + get => __pbn__is_primary.GetValueOrDefault(); + set => __pbn__is_primary = value; + } + public bool ShouldSerializeis_primary() => __pbn__is_primary != null; + public void Resetis_primary() => __pbn__is_primary = null; + private bool? __pbn__is_primary; + + [global::ProtoBuf.ProtoMember(5)] + public bool is_enabled + { + get => __pbn__is_enabled.GetValueOrDefault(); + set => __pbn__is_enabled = value; + } + public bool ShouldSerializeis_enabled() => __pbn__is_enabled != null; + public void Resetis_enabled() => __pbn__is_enabled = null; + private bool? __pbn__is_enabled; + + [global::ProtoBuf.ProtoMember(6)] + public bool is_internal + { + get => __pbn__is_internal.GetValueOrDefault(); + set => __pbn__is_internal = value; + } + public bool ShouldSerializeis_internal() => __pbn__is_internal != null; + public void Resetis_internal() => __pbn__is_internal = null; + private bool? __pbn__is_internal; + + [global::ProtoBuf.ProtoMember(7)] + public bool has_mode_override + { + get => __pbn__has_mode_override.GetValueOrDefault(); + set => __pbn__has_mode_override = value; + } + public bool ShouldSerializehas_mode_override() => __pbn__has_mode_override != null; + public void Resethas_mode_override() => __pbn__has_mode_override = null; + private bool? __pbn__has_mode_override; + + [global::ProtoBuf.ProtoMember(8)] + public int width_mm + { + get => __pbn__width_mm.GetValueOrDefault(); + set => __pbn__width_mm = value; + } + public bool ShouldSerializewidth_mm() => __pbn__width_mm != null; + public void Resetwidth_mm() => __pbn__width_mm = null; + private int? __pbn__width_mm; + + [global::ProtoBuf.ProtoMember(9)] + public int height_mm + { + get => __pbn__height_mm.GetValueOrDefault(); + set => __pbn__height_mm = value; + } + public bool ShouldSerializeheight_mm() => __pbn__height_mm != null; + public void Resetheight_mm() => __pbn__height_mm = null; + private int? __pbn__height_mm; + + [global::ProtoBuf.ProtoMember(10)] + public int current_mode_id + { + get => __pbn__current_mode_id.GetValueOrDefault(); + set => __pbn__current_mode_id = value; + } + public bool ShouldSerializecurrent_mode_id() => __pbn__current_mode_id != null; + public void Resetcurrent_mode_id() => __pbn__current_mode_id = null; + private int? __pbn__current_mode_id; + + [global::ProtoBuf.ProtoMember(11)] + public global::System.Collections.Generic.List modes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(12)] + public int refresh_rate_min + { + get => __pbn__refresh_rate_min.GetValueOrDefault(); + set => __pbn__refresh_rate_min = value; + } + public bool ShouldSerializerefresh_rate_min() => __pbn__refresh_rate_min != null; + public void Resetrefresh_rate_min() => __pbn__refresh_rate_min = null; + private int? __pbn__refresh_rate_min; + + [global::ProtoBuf.ProtoMember(13)] + public int refresh_rate_max + { + get => __pbn__refresh_rate_max.GetValueOrDefault(); + set => __pbn__refresh_rate_max = value; + } + public bool ShouldSerializerefresh_rate_max() => __pbn__refresh_rate_max != null; + public void Resetrefresh_rate_max() => __pbn__refresh_rate_max = null; + private int? __pbn__refresh_rate_max; + + [global::ProtoBuf.ProtoMember(14)] + public bool is_vrr_capable + { + get => __pbn__is_vrr_capable.GetValueOrDefault(); + set => __pbn__is_vrr_capable = value; + } + public bool ShouldSerializeis_vrr_capable() => __pbn__is_vrr_capable != null; + public void Resetis_vrr_capable() => __pbn__is_vrr_capable = null; + private bool? __pbn__is_vrr_capable; + + [global::ProtoBuf.ProtoMember(15)] + public bool is_vrr_enabled + { + get => __pbn__is_vrr_enabled.GetValueOrDefault(); + set => __pbn__is_vrr_enabled = value; + } + public bool ShouldSerializeis_vrr_enabled() => __pbn__is_vrr_enabled != null; + public void Resetis_vrr_enabled() => __pbn__is_vrr_enabled = null; + private bool? __pbn__is_vrr_enabled; + + [global::ProtoBuf.ProtoMember(16)] + public bool is_hdr_capable + { + get => __pbn__is_hdr_capable.GetValueOrDefault(); + set => __pbn__is_hdr_capable = value; + } + public bool ShouldSerializeis_hdr_capable() => __pbn__is_hdr_capable != null; + public void Resetis_hdr_capable() => __pbn__is_hdr_capable = null; + private bool? __pbn__is_hdr_capable; + + [global::ProtoBuf.ProtoMember(17)] + public bool is_hdr_enabled + { + get => __pbn__is_hdr_enabled.GetValueOrDefault(); + set => __pbn__is_hdr_enabled = value; + } + public bool ShouldSerializeis_hdr_enabled() => __pbn__is_hdr_enabled != null; + public void Resetis_hdr_enabled() => __pbn__is_hdr_enabled = null; + private bool? __pbn__is_hdr_enabled; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDisplayManagerState : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 displays { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public bool is_mode_switching_supported + { + get => __pbn__is_mode_switching_supported.GetValueOrDefault(); + set => __pbn__is_mode_switching_supported = value; + } + public bool ShouldSerializeis_mode_switching_supported() => __pbn__is_mode_switching_supported != null; + public void Resetis_mode_switching_supported() => __pbn__is_mode_switching_supported = null; + private bool? __pbn__is_mode_switching_supported; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(ESystemDisplayCompatibilityMode.k_ESystemDisplayCompatibilityMode_Invalid)] + public ESystemDisplayCompatibilityMode compatibility_mode + { + get => __pbn__compatibility_mode ?? ESystemDisplayCompatibilityMode.k_ESystemDisplayCompatibilityMode_Invalid; + set => __pbn__compatibility_mode = value; + } + public bool ShouldSerializecompatibility_mode() => __pbn__compatibility_mode != null; + public void Resetcompatibility_mode() => __pbn__compatibility_mode = null; + private ESystemDisplayCompatibilityMode? __pbn__compatibility_mode; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSystemDisplayManagerSetMode : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 display_id + { + get => __pbn__display_id.GetValueOrDefault(); + set => __pbn__display_id = value; + } + public bool ShouldSerializedisplay_id() => __pbn__display_id != null; + public void Resetdisplay_id() => __pbn__display_id = null; + private int? __pbn__display_id; + + [global::ProtoBuf.ProtoMember(2)] + public int mode_id + { + get => __pbn__mode_id.GetValueOrDefault(); + set => __pbn__mode_id = value; + } + public bool ShouldSerializemode_id() => __pbn__mode_id != null; + public void Resetmode_id() => __pbn__mode_id = null; + private int? __pbn__mode_id; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgSystemManagerSettings : global::ProtoBuf.IExtensible { @@ -2845,6 +3413,17 @@ public EOSBranch branch public void Resetbranch() => __pbn__branch = null; private EOSBranch? __pbn__branch; + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string custom_branch + { + get => __pbn__custom_branch ?? ""; + set => __pbn__custom_branch = value; + } + public bool ShouldSerializecustom_branch() => __pbn__custom_branch != null; + public void Resetcustom_branch() => __pbn__custom_branch = null; + private string __pbn__custom_branch; + } [global::ProtoBuf.ProtoContract()] @@ -3040,6 +3619,16 @@ public EUpdaterState state [global::ProtoBuf.ProtoMember(4)] public global::System.Collections.Generic.List update_apply_results { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(5)] + public bool supports_os_updates + { + get => __pbn__supports_os_updates.GetValueOrDefault(); + set => __pbn__supports_os_updates = value; + } + public bool ShouldSerializesupports_os_updates() => __pbn__supports_os_updates != null; + public void Resetsupports_os_updates() => __pbn__supports_os_updates = null; + private bool? __pbn__supports_os_updates; + } [global::ProtoBuf.ProtoContract()] @@ -3315,6 +3904,36 @@ public partial class CMsgShortcutAppIds : global::ProtoBuf.IExtensible } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgMonitorInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 string selected_display_name { get; set; } + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List monitors { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class MonitorInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 string monitor_device_name { get; set; } + + [global::ProtoBuf.ProtoMember(2, IsRequired = true)] + public string monitor_display_name { get; set; } + + } + + } + [global::ProtoBuf.ProtoContract()] public enum ECloudPendingRemoteOperation { diff --git a/SteamKit2/SteamKit2/Base/Generated/Enums.cs b/SteamKit2/SteamKit2/Base/Generated/Enums.cs index 508c3a302..00e30ec83 100644 --- a/SteamKit2/SteamKit2/Base/Generated/Enums.cs +++ b/SteamKit2/SteamKit2/Base/Generated/Enums.cs @@ -106,6 +106,7 @@ public enum EProfileCustomizationType k_EProfileCustomizationTypeLoyaltyRewardReactions = 21, k_EProfileCustomizationTypeSingleArtworkShowcase = 22, k_EProfileCustomizationTypeAchievementsCompletionist = 23, + k_EProfileCustomizationTypeReplay = 24, } [global::ProtoBuf.ProtoContract()] @@ -251,6 +252,35 @@ public enum EScalingFilter k_EScalingFilter_NIS = 5, } + [global::ProtoBuf.ProtoContract()] + public enum ESplitScalingFilter + { + k_ESplitScalingFilter_Invalid = 0, + k_ESplitScalingFilter_Linear = 1, + k_ESplitScalingFilter_Nearest = 2, + k_ESplitScalingFilter_FSR = 3, + k_ESplitScalingFilter_NIS = 4, + } + + [global::ProtoBuf.ProtoContract()] + public enum ESplitScalingScaler + { + k_ESplitScalingScaler_Invalid = 0, + k_ESplitScalingScaler_Auto = 1, + k_ESplitScalingScaler_Integer = 2, + k_ESplitScalingScaler_Fit = 3, + k_ESplitScalingScaler_Fill = 4, + k_ESplitScalingScaler_Stretch = 5, + } + + [global::ProtoBuf.ProtoContract()] + public enum EHDRToneMapOperator + { + k_EHDRToneMapOperator_Invalid = 0, + k_EHDRToneMapOperator_Uncharted = 1, + k_EHDRToneMapOperator_Reinhard = 2, + } + [global::ProtoBuf.ProtoContract()] public enum ECPUGovernor { @@ -304,6 +334,24 @@ public enum EStorageBlockFileSystemType k_EStorageBlockFileSystemType_Ext4 = 3, } + [global::ProtoBuf.ProtoContract()] + public enum EStorageDriveMediaType + { + k_EStorageDriveMediaType_Invalid = 0, + k_EStorageDriveMediaType_Unknown = 1, + k_EStorageDriveMediaType_HDD = 2, + k_EStorageDriveMediaType_SSD = 3, + k_EStorageDriveMediaType_Removable = 4, + } + + [global::ProtoBuf.ProtoContract()] + public enum ESystemDisplayCompatibilityMode + { + k_ESystemDisplayCompatibilityMode_Invalid = 0, + k_ESystemDisplayCompatibilityMode_None = 1, + k_ESystemDisplayCompatibilityMode_MinimalBandwith = 2, + } + [global::ProtoBuf.ProtoContract()] public enum ESteamDeckCompatibilityCategory { @@ -350,6 +398,7 @@ public enum EOSBranch k_EOSBranch_Beta = 3, k_EOSBranch_BetaCandidate = 4, k_EOSBranch_Main = 5, + k_EOSBranch_Staging = 6, } [global::ProtoBuf.ProtoContract()] @@ -372,6 +421,7 @@ public enum ECommunityItemClass k_ECommunityItemClass_AvatarFrame = 14, k_ECommunityItemClass_AnimatedAvatar = 15, k_ECommunityItemClass_SteamDeckKeyboardSkin = 16, + k_ECommunityItemClass_SteamDeckStartupMovie = 17, } [global::ProtoBuf.ProtoContract()] @@ -418,6 +468,15 @@ public enum ESessionPersistence k_ESessionPersistence_Persistent = 1, } + [global::ProtoBuf.ProtoContract()] + public enum ENewSteamAnnouncementState + { + k_ENewSteamAnnouncementState_Invalid = 0, + k_ENewSteamAnnouncementState_AllRead = 1, + k_ENewSteamAnnouncementState_NewAnnouncement = 2, + k_ENewSteamAnnouncementState_FeaturedAnnouncement = 3, + } + } #pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs index 23e39a749..790f11ba3 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCClient.cs @@ -9889,6 +9889,9 @@ public EResponse result public void Resetresult() => __pbn__result = null; private EResponse? __pbn__result; + [global::ProtoBuf.ProtoMember(7)] + public CMsgStickerbookPage stickerbook_page { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class FeaturedHero : global::ProtoBuf.IExtensible { @@ -10049,6 +10052,9 @@ public enum Result { SUCCESS = 0, FAILURE = 1, + FAILURE_BAD_HERO1 = 2, + FAILURE_BAD_HERO2 = 3, + FAILURE_BAD_HERO3 = 4, } } @@ -14317,6 +14323,7 @@ public enum EResponse k_eTooBusy = 3, k_eNotAllowed = 4, k_eTimeout = 5, + k_eInternalSuccessNoChange = 6, } } @@ -14817,6 +14824,361 @@ public enum EResponse } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetHeroSticker : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint hero_id + { + get => __pbn__hero_id.GetValueOrDefault(); + set => __pbn__hero_id = value; + } + public bool ShouldSerializehero_id() => __pbn__hero_id != null; + public void Resethero_id() => __pbn__hero_id = null; + private uint? __pbn__hero_id; + + [global::ProtoBuf.ProtoMember(2)] + public ulong new_item_id + { + get => __pbn__new_item_id.GetValueOrDefault(); + set => __pbn__new_item_id = value; + } + public bool ShouldSerializenew_item_id() => __pbn__new_item_id != null; + public void Resetnew_item_id() => __pbn__new_item_id = null; + private ulong? __pbn__new_item_id; + + [global::ProtoBuf.ProtoMember(3)] + public ulong old_item_id + { + get => __pbn__old_item_id.GetValueOrDefault(); + set => __pbn__old_item_id = value; + } + public bool ShouldSerializeold_item_id() => __pbn__old_item_id != null; + public void Resetold_item_id() => __pbn__old_item_id = null; + private ulong? __pbn__old_item_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetHeroStickerResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 response + { + get => __pbn__response ?? EResponse.k_eInternalError; + set => __pbn__response = value; + } + public bool ShouldSerializeresponse() => __pbn__response != null; + public void Resetresponse() => __pbn__response = null; + private EResponse? __pbn__response; + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTimeout = 2, + k_eMissingItem = 3, + k_eTooBusy = 4, + k_eOldItemMismatch = 5, + k_eInvalidHero = 6, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCGetHeroStickers : global::ProtoBuf.IExtensible + { + private 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 CMsgClientToGCGetHeroStickersResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 response + { + get => __pbn__response ?? EResponse.k_eInternalError; + set => __pbn__response = value; + } + public bool ShouldSerializeresponse() => __pbn__response != null; + public void Resetresponse() => __pbn__response = null; + private EResponse? __pbn__response; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgStickerHeroes sticker_heroes { get; set; } + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTimeout = 2, + k_eTooBusy = 4, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetFavoritePage : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 page_num + { + get => __pbn__page_num.GetValueOrDefault(); + set => __pbn__page_num = value; + } + public bool ShouldSerializepage_num() => __pbn__page_num != null; + public void Resetpage_num() => __pbn__page_num = null; + private uint? __pbn__page_num; + + [global::ProtoBuf.ProtoMember(2)] + public bool clear + { + get => __pbn__clear.GetValueOrDefault(); + set => __pbn__clear = value; + } + public bool ShouldSerializeclear() => __pbn__clear != null; + public void Resetclear() => __pbn__clear = null; + private bool? __pbn__clear; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCSetFavoritePageResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 response + { + get => __pbn__response ?? EResponse.k_eInternalError; + set => __pbn__response = value; + } + public bool ShouldSerializeresponse() => __pbn__response != null; + public void Resetresponse() => __pbn__response = null; + private EResponse? __pbn__response; + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTimeout = 2, + k_eTooBusy = 4, + k_eInvalidPage = 5, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCClaimSwag : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue(EEvent.EVENT_ID_NONE)] + public EEvent event_id + { + get => __pbn__event_id ?? EEvent.EVENT_ID_NONE; + set => __pbn__event_id = value; + } + public bool ShouldSerializeevent_id() => __pbn__event_id != null; + public void Resetevent_id() => __pbn__event_id = null; + private EEvent? __pbn__event_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint action_id + { + get => __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 data + { + get => __pbn__data.GetValueOrDefault(); + set => __pbn__data = value; + } + public bool ShouldSerializedata() => __pbn__data != null; + public void Resetdata() => __pbn__data = null; + private uint? __pbn__data; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCClaimSwagResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 response + { + get => __pbn__response ?? EResponse.k_eInternalError; + set => __pbn__response = value; + } + public bool ShouldSerializeresponse() => __pbn__response != null; + public void Resetresponse() => __pbn__response = null; + private EResponse? __pbn__response; + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTimeout = 2, + k_eTooBusy = 4, + k_eAlreadyClaimed = 5, + k_eDisabled = 6, + k_eInvalidRequest = 7, + k_eUserNotEligible = 8, + k_eStorageError = 9, + k_eRewardDisabled = 10, + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCCollectorsCacheAvailableDataRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 contest_id + { + get => __pbn__contest_id.GetValueOrDefault(); + set => __pbn__contest_id = value; + } + public bool ShouldSerializecontest_id() => __pbn__contest_id != null; + public void Resetcontest_id() => __pbn__contest_id = null; + private uint? __pbn__contest_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToClientCollectorsCacheAvailableDataResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 votes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Vote : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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_def + { + get => __pbn__item_def.GetValueOrDefault(); + set => __pbn__item_def = value; + } + public bool ShouldSerializeitem_def() => __pbn__item_def != null; + public void Resetitem_def() => __pbn__item_def = null; + private uint? __pbn__item_def; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(EVoteType.k_eUp)] + public EVoteType vote_type + { + get => __pbn__vote_type ?? EVoteType.k_eUp; + set => __pbn__vote_type = value; + } + public bool ShouldSerializevote_type() => __pbn__vote_type != null; + public void Resetvote_type() => __pbn__vote_type = null; + private EVoteType? __pbn__vote_type; + + [global::ProtoBuf.ProtoContract()] + public enum EVoteType + { + k_eUp = 0, + k_eDown = 1, + } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCUploadMatchClip : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 CMatchClip match_clip { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToClientUploadMatchClipResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 response + { + get => __pbn__response ?? EResponse.k_eInternalError; + set => __pbn__response = value; + } + public bool ShouldSerializeresponse() => __pbn__response != null; + public void Resetresponse() => __pbn__response = null; + private EResponse? __pbn__response; + + [global::ProtoBuf.ProtoContract()] + public enum EResponse + { + k_eInternalError = 0, + k_eSuccess = 1, + k_eTimeout = 2, + k_eTooBusy = 4, + } + + } + [global::ProtoBuf.ProtoContract()] public enum CMsgDOTARequestMatches_SkillLevel { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs index 60b31366e..12fb0cd42 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommon.cs @@ -1705,14 +1705,14 @@ public ulong match_id private ulong? __pbn__match_id; [global::ProtoBuf.ProtoMember(2)] - public uint account_id + public uint player_account_id { - get => __pbn__account_id.GetValueOrDefault(); - set => __pbn__account_id = value; + get => __pbn__player_account_id.GetValueOrDefault(); + set => __pbn__player_account_id = value; } - public bool ShouldSerializeaccount_id() => __pbn__account_id != null; - public void Resetaccount_id() => __pbn__account_id = null; - private uint? __pbn__account_id; + public bool ShouldSerializeplayer_account_id() => __pbn__player_account_id != null; + public void Resetplayer_account_id() => __pbn__player_account_id = null; + private uint? __pbn__player_account_id; [global::ProtoBuf.ProtoMember(3)] public uint game_time_seconds @@ -1765,6 +1765,16 @@ public uint ability_id private uint? __pbn__ability_id; [global::ProtoBuf.ProtoMember(8)] + public uint camera_mode + { + get => __pbn__camera_mode.GetValueOrDefault(); + set => __pbn__camera_mode = value; + } + public bool ShouldSerializecamera_mode() => __pbn__camera_mode != null; + public void Resetcamera_mode() => __pbn__camera_mode = null; + private uint? __pbn__camera_mode; + + [global::ProtoBuf.ProtoMember(9)] [global::System.ComponentModel.DefaultValue("")] public string comment { @@ -1775,55 +1785,6 @@ public string comment public void Resetcomment() => __pbn__comment = null; private string __pbn__comment; - [global::ProtoBuf.ProtoMember(9)] - public ClipDetails clip_details { get; set; } - - [global::ProtoBuf.ProtoContract()] - public partial class ClipDetails : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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(CMatchClip.CameraType.INVALID)] - public CMatchClip.CameraType camera_type - { - get => __pbn__camera_type ?? CMatchClip.CameraType.INVALID; - set => __pbn__camera_type = value; - } - public bool ShouldSerializecamera_type() => __pbn__camera_type != null; - public void Resetcamera_type() => __pbn__camera_type = null; - private CMatchClip.CameraType? __pbn__camera_type; - - [global::ProtoBuf.ProtoMember(2)] - public byte[] camera_data - { - get => __pbn__camera_data; - set => __pbn__camera_data = value; - } - public bool ShouldSerializecamera_data() => __pbn__camera_data != null; - public void Resetcamera_data() => __pbn__camera_data = null; - private byte[] __pbn__camera_data; - - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List video_host_links { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(4)] - public global::System.Collections.Generic.List social_media_links { get; } = new global::System.Collections.Generic.List(); - - } - - [global::ProtoBuf.ProtoContract()] - public enum CameraType - { - INVALID = 0, - PLAYER_PERSPECTIVE = 1, - HERO_CHASE = 2, - BROADCASTER = 3, - USER_CAMERA = 4, - } - } [global::ProtoBuf.ProtoContract()] @@ -5113,6 +5074,7 @@ public enum EPredictionType Special = 4, YesNo = 5, QualifiersTeam = 6, + LastChanceTeam = 7, } [global::ProtoBuf.ProtoContract()] @@ -10208,6 +10170,77 @@ public partial class CMsgStickerbook : global::ProtoBuf.IExtensible [global::ProtoBuf.ProtoMember(2)] public CMsgStickerbookTeamPageOrderSequence team_page_order_sequence { get; set; } + [global::ProtoBuf.ProtoMember(3)] + public uint favorite_page_num + { + get => __pbn__favorite_page_num.GetValueOrDefault(); + set => __pbn__favorite_page_num = value; + } + public bool ShouldSerializefavorite_page_num() => __pbn__favorite_page_num != null; + public void Resetfavorite_page_num() => __pbn__favorite_page_num = null; + private uint? __pbn__favorite_page_num; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgStickerHero : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint hero_id + { + get => __pbn__hero_id.GetValueOrDefault(); + set => __pbn__hero_id = value; + } + public bool ShouldSerializehero_id() => __pbn__hero_id != null; + public void Resethero_id() => __pbn__hero_id = null; + private uint? __pbn__hero_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint item_def_id + { + get => __pbn__item_def_id.GetValueOrDefault(); + set => __pbn__item_def_id = value; + } + public bool ShouldSerializeitem_def_id() => __pbn__item_def_id != null; + public void Resetitem_def_id() => __pbn__item_def_id = null; + private uint? __pbn__item_def_id; + + [global::ProtoBuf.ProtoMember(3)] + public uint quality + { + get => __pbn__quality.GetValueOrDefault(); + set => __pbn__quality = value; + } + public bool ShouldSerializequality() => __pbn__quality != null; + public void Resetquality() => __pbn__quality = null; + private uint? __pbn__quality; + + [global::ProtoBuf.ProtoMember(4)] + public ulong source_item_id + { + get => __pbn__source_item_id.GetValueOrDefault(); + set => __pbn__source_item_id = value; + } + public bool ShouldSerializesource_item_id() => __pbn__source_item_id != null; + public void Resetsource_item_id() => __pbn__source_item_id = null; + private ulong? __pbn__source_item_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgStickerHeroes : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public global::System.Collections.Generic.List heroes { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -10322,6 +10355,7 @@ public enum EStickerbookAuditAction STICKERBOOK_AUDIT_DELETE_PAGE = 1, STICKERBOOK_AUDIT_STICK_STICKERS = 2, STICKERBOOK_AUDIT_REPLACE_STICKERS = 3, + STICKERBOOK_AUDIT_HERO_STICKER = 4, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonLobby.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonLobby.cs index 52feb0324..68325a7b3 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonLobby.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCCommonLobby.cs @@ -169,13 +169,23 @@ public uint message_id_end } [global::ProtoBuf.ProtoContract()] - public partial class PeriodicResourceValues : global::ProtoBuf.IExtensible + public partial class PeriodicResourceData : global::ProtoBuf.IExtensible { private global::ProtoBuf.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 periodic_resource_id + { + get => __pbn__periodic_resource_id.GetValueOrDefault(); + set => __pbn__periodic_resource_id = value; + } + public bool ShouldSerializeperiodic_resource_id() => __pbn__periodic_resource_id != null; + public void Resetperiodic_resource_id() => __pbn__periodic_resource_id = null; + private uint? __pbn__periodic_resource_id; + + [global::ProtoBuf.ProtoMember(2)] public uint remaining { get => __pbn__remaining.GetValueOrDefault(); @@ -185,7 +195,7 @@ public uint remaining public void Resetremaining() => __pbn__remaining = null; private uint? __pbn__remaining; - [global::ProtoBuf.ProtoMember(2)] + [global::ProtoBuf.ProtoMember(3)] public uint max { get => __pbn__max.GetValueOrDefault(); @@ -289,18 +299,6 @@ public ulong active_effects_mask [global::ProtoBuf.ProtoMember(16)] public CMsgLobbyPlayerPlusSubscriptionData plus_subscription_data { get; set; } - [global::ProtoBuf.ProtoMember(17)] - public CMsgLobbyEventPoints.PeriodicResourceValues wager_tokens { get; set; } - - [global::ProtoBuf.ProtoMember(18)] - public CMsgLobbyEventPoints.PeriodicResourceValues rank_wager_tokens { get; set; } - - [global::ProtoBuf.ProtoMember(19)] - public CMsgLobbyEventPoints.PeriodicResourceValues tip_tokens { get; set; } - - [global::ProtoBuf.ProtoMember(21)] - public CMsgLobbyEventPoints.PeriodicResourceValues periodic_point_adjustments { get; set; } - [global::ProtoBuf.ProtoMember(22)] public global::System.Collections.Generic.List unlocked_ping_wheel_message_ranges { get; } = new global::System.Collections.Generic.List(); @@ -314,9 +312,6 @@ public uint wager_streak public void Resetwager_streak() => __pbn__wager_streak = null; private uint? __pbn__wager_streak; - [global::ProtoBuf.ProtoMember(24)] - public CMsgLobbyEventPoints.PeriodicResourceValues bounties { get; set; } - [global::ProtoBuf.ProtoMember(25)] public global::System.Collections.Generic.List event_game_custom_actions { get; } = new global::System.Collections.Generic.List(); @@ -350,12 +345,12 @@ public uint teleport_fx_level public void Resetteleport_fx_level() => __pbn__teleport_fx_level = null; private uint? __pbn__teleport_fx_level; - [global::ProtoBuf.ProtoMember(29)] - public CMsgLobbyEventPoints.PeriodicResourceValues arcana_event_periodic_resource { get; set; } - [global::ProtoBuf.ProtoMember(30)] public global::System.Collections.Generic.List networked_event_actions { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(31)] + public global::System.Collections.Generic.List periodic_resources { get; } = new global::System.Collections.Generic.List(); + } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs index cadbbb9a6..b69f549c8 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCMsgId.cs @@ -320,6 +320,8 @@ public enum EDOTAGCMsg k_EMsgGCToClientPurchaseFilteredPlayerSlotResponse = 7687, k_EMsgClientToGCUpdateFilteredPlayerNote = 7688, k_EMsgGCToClientUpdateFilteredPlayerNoteResponse = 7689, + k_EMsgClientToGCClaimSwag = 7690, + k_EMsgGCToClientClaimSwagResponse = 7691, k_EMsgServerToGCLockCharmTrading = 8004, k_EMsgClientToGCPlayerStatsRequest = 8006, k_EMsgGCToClientPlayerStatsResponse = 8007, @@ -783,6 +785,8 @@ public enum EDOTAGCMsg k_EMsgClientToGCPlaceCollectionStickersResponse = 8834, k_EMsgClientToGCOrderStickerbookTeamPageRequest = 8835, k_EMsgClientToGCOrderStickerbookTeamPageResponse = 8836, + k_EMsgServerToGCGetStickerHeroes = 8837, + k_EMsgServerToGCGetStickerHeroesResponse = 8838, k_EMsgClientToGCCandyShopGetUserData = 8840, k_EMsgClientToGCCandyShopGetUserDataResponse = 8841, k_EMsgGCToClientCandyShopUserDataUpdated = 8842, @@ -792,8 +796,32 @@ public enum EDOTAGCMsg k_EMsgClientToGCCandyShopDoExchangeResponse = 8846, k_EMsgClientToGCCandyShopDoVariableExchange = 8847, k_EMsgClientToGCCandyShopDoVariableExchangeResponse = 8848, - k_EMsgClientToGCCandyShopRerollReward = 8849, - k_EMsgClientToGCCandyShopRerollRewardResponse = 8850, + k_EMsgClientToGCCandyShopRerollRewards = 8849, + k_EMsgClientToGCCandyShopRerollRewardsResponse = 8850, + k_EMsgClientToGCSetHeroSticker = 8851, + k_EMsgClientToGCSetHeroStickerResponse = 8852, + k_EMsgClientToGCGetHeroStickers = 8853, + k_EMsgClientToGCGetHeroStickersResponse = 8854, + k_EMsgClientToGCSetFavoritePage = 8855, + k_EMsgClientToGCSetFavoritePageResponse = 8856, + k_EMsgClientToGCCandyShopDevGrantCandy = 8857, + k_EMsgClientToGCCandyShopDevGrantCandyResponse = 8858, + k_EMsgClientToGCCandyShopDevClearInventory = 8859, + k_EMsgClientToGCCandyShopDevClearInventoryResponse = 8860, + k_EMsgClientToGCCandyShopOpenBags = 8861, + k_EMsgClientToGCCandyShopOpenBagsResponse = 8862, + k_EMsgClientToGCCandyShopDevGrantCandyBags = 8863, + k_EMsgClientToGCCandyShopDevGrantCandyBagsResponse = 8864, + k_EMsgClientToGCCandyShopDevShuffleExchange = 8865, + k_EMsgClientToGCCandyShopDevShuffleExchangeResponse = 8866, + k_EMsgClientToGCCandyShopDevGrantRerollCharges = 8867, + k_EMsgClientToGCCandyShopDevGrantRerollChargesResponse = 8868, + k_EMsgClientToGCCollectorsCacheAvailableDataRequest = 8871, + k_EMsgGCToClientCollectorsCacheAvailableDataResponse = 8872, + k_EMsgClientToGCUploadMatchClip = 8873, + k_EMsgGCToClientUploadMatchClipResponse = 8874, + k_EMsgGCToServerSetSteamLearnDisable = 8875, + k_EMsgGCToServerSetSteamLearnKeysChanged = 8876, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs index a2410ac9d..a0cb47fc3 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgGCServer.cs @@ -1556,14 +1556,14 @@ public uint teleports_used private uint? __pbn__teleports_used; [global::ProtoBuf.ProtoMember(56)] - public uint cavern_crawl_map_variant + public uint cavern_crawl_preferred_map_variant { - get => __pbn__cavern_crawl_map_variant.GetValueOrDefault(); - set => __pbn__cavern_crawl_map_variant = value; + get => __pbn__cavern_crawl_preferred_map_variant.GetValueOrDefault(); + set => __pbn__cavern_crawl_preferred_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; + public bool ShouldSerializecavern_crawl_preferred_map_variant() => __pbn__cavern_crawl_preferred_map_variant != null; + public void Resetcavern_crawl_preferred_map_variant() => __pbn__cavern_crawl_preferred_map_variant = null; + private uint? __pbn__cavern_crawl_preferred_map_variant; [global::ProtoBuf.ProtoMember(57)] public uint bounty_runes @@ -6519,14 +6519,14 @@ public uint account_id private uint? __pbn__account_id; [global::ProtoBuf.ProtoMember(3)] - public uint map_variant + public uint preferred_map_variant { - get => __pbn__map_variant.GetValueOrDefault(); - set => __pbn__map_variant = value; + get => __pbn__preferred_map_variant.GetValueOrDefault(); + set => __pbn__preferred_map_variant = value; } - public bool ShouldSerializemap_variant() => __pbn__map_variant != null; - public void Resetmap_variant() => __pbn__map_variant = null; - private uint? __pbn__map_variant; + public bool ShouldSerializepreferred_map_variant() => __pbn__preferred_map_variant != null; + public void Resetpreferred_map_variant() => __pbn__preferred_map_variant = null; + private uint? __pbn__preferred_map_variant; [global::ProtoBuf.ProtoMember(4)] public uint hero_id @@ -6709,6 +6709,16 @@ public bool result public void Resetresult() => __pbn__result = null; private bool? __pbn__result; + [global::ProtoBuf.ProtoMember(5)] + public uint map_variant + { + get => __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 potential_winnings { @@ -8449,6 +8459,514 @@ public partial class CMsgServerToGCReportCheerState : global::ProtoBuf.IExtensib } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgServerToGCGetStickerHeroes : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public global::System.Collections.Generic.List account_ids { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgServerToGCGetStickerHeroesResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public global::System.Collections.Generic.List players { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Player : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint account_id + { + get => __pbn__account_id.GetValueOrDefault(); + set => __pbn__account_id = value; + } + public bool ShouldSerializeaccount_id() => __pbn__account_id != null; + public void Resetaccount_id() => __pbn__account_id = null; + private uint? __pbn__account_id; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgStickerHeroes stickers { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToServerSetSteamLearnDisable : global::ProtoBuf.IExtensible + { + private 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 CMsgGCToServerSetSteamLearnKeysChanged : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 CMsgSteamLearnHMACKeys keys { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnMatchInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint average_mmr + { + get => __pbn__average_mmr.GetValueOrDefault(); + set => __pbn__average_mmr = value; + } + public bool ShouldSerializeaverage_mmr() => __pbn__average_mmr != null; + public void Resetaverage_mmr() => __pbn__average_mmr = null; + private uint? __pbn__average_mmr; + + [global::ProtoBuf.ProtoMember(2)] + public bool radiant_won + { + get => __pbn__radiant_won.GetValueOrDefault(); + set => __pbn__radiant_won = value; + } + public bool ShouldSerializeradiant_won() => __pbn__radiant_won != null; + public void Resetradiant_won() => __pbn__radiant_won = null; + private bool? __pbn__radiant_won; + + [global::ProtoBuf.ProtoMember(3)] + public uint duration + { + get => __pbn__duration.GetValueOrDefault(); + set => __pbn__duration = value; + } + public bool ShouldSerializeduration() => __pbn__duration != null; + public void Resetduration() => __pbn__duration = null; + private uint? __pbn__duration; + + [global::ProtoBuf.ProtoMember(4)] + public uint game_mode + { + get => __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(5)] + public uint lobby_type + { + get => __pbn__lobby_type.GetValueOrDefault(); + set => __pbn__lobby_type = value; + } + public bool ShouldSerializelobby_type() => __pbn__lobby_type != null; + public void Resetlobby_type() => __pbn__lobby_type = null; + private uint? __pbn__lobby_type; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnMatchHeroes : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 radiant_hero_ids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List dire_hero_ids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List radiant_lanes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List dire_lanes { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnMatchHero : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint hero_id + { + get => __pbn__hero_id.GetValueOrDefault(); + set => __pbn__hero_id = value; + } + public bool ShouldSerializehero_id() => __pbn__hero_id != null; + public void Resethero_id() => __pbn__hero_id = null; + private uint? __pbn__hero_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint lane + { + get => __pbn__lane.GetValueOrDefault(); + set => __pbn__lane = value; + } + public bool ShouldSerializelane() => __pbn__lane != null; + public void Resetlane() => __pbn__lane = null; + private uint? __pbn__lane; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List allied_hero_ids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List enemy_hero_ids { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnMatchState : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 float game_time + { + get => __pbn__game_time.GetValueOrDefault(); + set => __pbn__game_time = value; + } + public bool ShouldSerializegame_time() => __pbn__game_time != null; + public void Resetgame_time() => __pbn__game_time = null; + private float? __pbn__game_time; + + [global::ProtoBuf.ProtoMember(2)] + public TeamState radiant_state { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + public TeamState dire_state { get; set; } + + [global::ProtoBuf.ProtoContract()] + public partial class PlayerState : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint hero_id + { + get => __pbn__hero_id.GetValueOrDefault(); + set => __pbn__hero_id = value; + } + public bool ShouldSerializehero_id() => __pbn__hero_id != null; + public void Resethero_id() => __pbn__hero_id = null; + private uint? __pbn__hero_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint net_worth + { + get => __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 uint? __pbn__net_worth; + + [global::ProtoBuf.ProtoMember(3)] + public uint level + { + get => __pbn__level.GetValueOrDefault(); + set => __pbn__level = value; + } + public bool ShouldSerializelevel() => __pbn__level != null; + public void Resetlevel() => __pbn__level = null; + private uint? __pbn__level; + + [global::ProtoBuf.ProtoMember(4)] + public uint deaths + { + get => __pbn__deaths.GetValueOrDefault(); + set => __pbn__deaths = value; + } + public bool ShouldSerializedeaths() => __pbn__deaths != null; + public void Resetdeaths() => __pbn__deaths = null; + private uint? __pbn__deaths; + + [global::ProtoBuf.ProtoMember(5)] + public uint respawn_time + { + get => __pbn__respawn_time.GetValueOrDefault(); + set => __pbn__respawn_time = value; + } + public bool ShouldSerializerespawn_time() => __pbn__respawn_time != null; + public void Resetrespawn_time() => __pbn__respawn_time = null; + private uint? __pbn__respawn_time; + + [global::ProtoBuf.ProtoMember(6)] + public bool has_buyback + { + get => __pbn__has_buyback.GetValueOrDefault(); + set => __pbn__has_buyback = value; + } + public bool ShouldSerializehas_buyback() => __pbn__has_buyback != null; + public void Resethas_buyback() => __pbn__has_buyback = null; + private bool? __pbn__has_buyback; + + [global::ProtoBuf.ProtoMember(7)] + public bool has_aegis + { + get => __pbn__has_aegis.GetValueOrDefault(); + set => __pbn__has_aegis = value; + } + public bool ShouldSerializehas_aegis() => __pbn__has_aegis != null; + public void Resethas_aegis() => __pbn__has_aegis = null; + private bool? __pbn__has_aegis; + + [global::ProtoBuf.ProtoMember(8)] + public bool has_rapier + { + get => __pbn__has_rapier.GetValueOrDefault(); + set => __pbn__has_rapier = value; + } + public bool ShouldSerializehas_rapier() => __pbn__has_rapier != null; + public void Resethas_rapier() => __pbn__has_rapier = null; + private bool? __pbn__has_rapier; + + [global::ProtoBuf.ProtoMember(9)] + public uint distance + { + get => __pbn__distance.GetValueOrDefault(); + set => __pbn__distance = value; + } + public bool ShouldSerializedistance() => __pbn__distance != null; + public void Resetdistance() => __pbn__distance = null; + private uint? __pbn__distance; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class TeamState : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 + { + get => __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(2)] + public global::System.Collections.Generic.List player_states { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List tower_health_pct { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List barracks_health_pct { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public uint ancient_health_pct + { + get => __pbn__ancient_health_pct.GetValueOrDefault(); + set => __pbn__ancient_health_pct = value; + } + public bool ShouldSerializeancient_health_pct() => __pbn__ancient_health_pct != null; + public void Resetancient_health_pct() => __pbn__ancient_health_pct = null; + private uint? __pbn__ancient_health_pct; + + [global::ProtoBuf.ProtoMember(6)] + public uint glyph_cooldown + { + get => __pbn__glyph_cooldown.GetValueOrDefault(); + set => __pbn__glyph_cooldown = value; + } + public bool ShouldSerializeglyph_cooldown() => __pbn__glyph_cooldown != null; + public void Resetglyph_cooldown() => __pbn__glyph_cooldown = null; + private uint? __pbn__glyph_cooldown; + + [global::ProtoBuf.ProtoMember(7)] + public uint kills + { + get => __pbn__kills.GetValueOrDefault(); + set => __pbn__kills = value; + } + public bool ShouldSerializekills() => __pbn__kills != null; + public void Resetkills() => __pbn__kills = null; + private uint? __pbn__kills; + + [global::ProtoBuf.ProtoMember(8)] + public uint creep_distance_safe + { + get => __pbn__creep_distance_safe.GetValueOrDefault(); + set => __pbn__creep_distance_safe = value; + } + public bool ShouldSerializecreep_distance_safe() => __pbn__creep_distance_safe != null; + public void Resetcreep_distance_safe() => __pbn__creep_distance_safe = null; + private uint? __pbn__creep_distance_safe; + + [global::ProtoBuf.ProtoMember(9)] + public uint creep_distance_mid + { + get => __pbn__creep_distance_mid.GetValueOrDefault(); + set => __pbn__creep_distance_mid = value; + } + public bool ShouldSerializecreep_distance_mid() => __pbn__creep_distance_mid != null; + public void Resetcreep_distance_mid() => __pbn__creep_distance_mid = null; + private uint? __pbn__creep_distance_mid; + + [global::ProtoBuf.ProtoMember(10)] + public uint creep_distance_off + { + get => __pbn__creep_distance_off.GetValueOrDefault(); + set => __pbn__creep_distance_off = value; + } + public bool ShouldSerializecreep_distance_off() => __pbn__creep_distance_off != null; + public void Resetcreep_distance_off() => __pbn__creep_distance_off = null; + private uint? __pbn__creep_distance_off; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnItemPurchase : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 => __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 global::System.Collections.Generic.List inventory_items { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public uint gold + { + get => __pbn__gold.GetValueOrDefault(); + set => __pbn__gold = value; + } + public bool ShouldSerializegold() => __pbn__gold != null; + public void Resetgold() => __pbn__gold = null; + private uint? __pbn__gold; + + [global::ProtoBuf.ProtoMember(5)] + public uint net_worth + { + get => __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 uint? __pbn__net_worth; + + [global::ProtoBuf.ProtoMember(6)] + public uint is_radiant_team + { + get => __pbn__is_radiant_team.GetValueOrDefault(); + set => __pbn__is_radiant_team = value; + } + public bool ShouldSerializeis_radiant_team() => __pbn__is_radiant_team != null; + public void Resetis_radiant_team() => __pbn__is_radiant_team = null; + private uint? __pbn__is_radiant_team; + + [global::ProtoBuf.ProtoMember(7)] + public float game_time + { + get => __pbn__game_time.GetValueOrDefault(); + set => __pbn__game_time = value; + } + public bool ShouldSerializegame_time() => __pbn__game_time != null; + public void Resetgame_time() => __pbn__game_time = null; + private float? __pbn__game_time; + + [global::ProtoBuf.ProtoMember(8)] + public bool is_using_dota_plus + { + get => __pbn__is_using_dota_plus.GetValueOrDefault(); + set => __pbn__is_using_dota_plus = value; + } + public bool ShouldSerializeis_using_dota_plus() => __pbn__is_using_dota_plus != null; + public void Resetis_using_dota_plus() => __pbn__is_using_dota_plus = null; + private bool? __pbn__is_using_dota_plus; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnAbilitySkill : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 ability_id + { + get => __pbn__ability_id.GetValueOrDefault(); + set => __pbn__ability_id = value; + } + public bool ShouldSerializeability_id() => __pbn__ability_id != null; + public void Resetability_id() => __pbn__ability_id = null; + private uint? __pbn__ability_id; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List skilled_abilities { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public float game_time + { + get => __pbn__game_time.GetValueOrDefault(); + set => __pbn__game_time = value; + } + public bool ShouldSerializegame_time() => __pbn__game_time != null; + public void Resetgame_time() => __pbn__game_time = null; + private float? __pbn__game_time; + + [global::ProtoBuf.ProtoMember(4)] + public bool is_using_dota_plus + { + get => __pbn__is_using_dota_plus.GetValueOrDefault(); + set => __pbn__is_using_dota_plus = value; + } + public bool ShouldSerializeis_using_dota_plus() => __pbn__is_using_dota_plus != null; + public void Resetis_using_dota_plus() => __pbn__is_using_dota_plus = null; + private bool? __pbn__is_using_dota_plus; + + } + [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 ba84c9d5b..278ad589e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgMatchMetadata.cs @@ -633,6 +633,45 @@ public uint reason } + [global::ProtoBuf.ProtoContract()] + public partial class PeriodicResourceData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 periodic_resource_id + { + get => __pbn__periodic_resource_id.GetValueOrDefault(); + set => __pbn__periodic_resource_id = value; + } + public bool ShouldSerializeperiodic_resource_id() => __pbn__periodic_resource_id != null; + public void Resetperiodic_resource_id() => __pbn__periodic_resource_id = null; + private uint? __pbn__periodic_resource_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint remaining + { + get => __pbn__remaining.GetValueOrDefault(); + set => __pbn__remaining = value; + } + public bool ShouldSerializeremaining() => __pbn__remaining != null; + public void Resetremaining() => __pbn__remaining = null; + private uint? __pbn__remaining; + + [global::ProtoBuf.ProtoMember(3)] + public uint max + { + get => __pbn__max.GetValueOrDefault(); + set => __pbn__max = value; + } + public bool ShouldSerializemax() => __pbn__max != null; + public void Resetmax() => __pbn__max = null; + private uint? __pbn__max; + + } + [global::ProtoBuf.ProtoContract()] public partial class EventData : global::ProtoBuf.IExtensible { @@ -852,6 +891,9 @@ public bool cavern_crawl_half_credit public void Resetcavern_crawl_half_credit() => __pbn__cavern_crawl_half_credit = null; private bool? __pbn__cavern_crawl_half_credit; + [global::ProtoBuf.ProtoMember(26)] + public global::System.Collections.Generic.List periodic_resources { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -1339,6 +1381,26 @@ public uint team_slot [global::ProtoBuf.ProtoMember(53)] public CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress { get; set; } + [global::ProtoBuf.ProtoMember(54)] + public uint featured_hero_sticker_index + { + get => __pbn__featured_hero_sticker_index.GetValueOrDefault(); + set => __pbn__featured_hero_sticker_index = value; + } + public bool ShouldSerializefeatured_hero_sticker_index() => __pbn__featured_hero_sticker_index != null; + public void Resetfeatured_hero_sticker_index() => __pbn__featured_hero_sticker_index = null; + private uint? __pbn__featured_hero_sticker_index; + + [global::ProtoBuf.ProtoMember(55)] + public uint featured_hero_sticker_quality + { + get => __pbn__featured_hero_sticker_quality.GetValueOrDefault(); + set => __pbn__featured_hero_sticker_quality = value; + } + public bool ShouldSerializefeatured_hero_sticker_quality() => __pbn__featured_hero_sticker_quality != null; + public void Resetfeatured_hero_sticker_quality() => __pbn__featured_hero_sticker_quality = null; + private uint? __pbn__featured_hero_sticker_quality; + [global::ProtoBuf.ProtoContract()] public partial class ContractProgress : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs index 5d7db0a8d..8373de331 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/MsgSharedEnums.cs @@ -1027,6 +1027,16 @@ public bool will_reincarnate public void Resetwill_reincarnate() => __pbn__will_reincarnate = null; private bool? __pbn__will_reincarnate; + [global::ProtoBuf.ProtoMember(79)] + public bool uses_charges + { + get => __pbn__uses_charges.GetValueOrDefault(); + set => __pbn__uses_charges = value; + } + public bool ShouldSerializeuses_charges() => __pbn__uses_charges != null; + public void Resetuses_charges() => __pbn__uses_charges = null; + private bool? __pbn__uses_charges; + } [global::ProtoBuf.ProtoContract()] @@ -1089,14 +1099,14 @@ public uint audit_action private uint? __pbn__audit_action; [global::ProtoBuf.ProtoMember(6)] - public uint audit_data + public ulong audit_data { get => __pbn__audit_data.GetValueOrDefault(); set => __pbn__audit_data = value; } public bool ShouldSerializeaudit_data() => __pbn__audit_data != null; public void Resetaudit_data() => __pbn__audit_data = null; - private uint? __pbn__audit_data; + private ulong? __pbn__audit_data; } @@ -1211,6 +1221,8 @@ public enum EEvent EVENT_ID_INTERNATIONAL_2022 = 36, EVENT_ID_TEAM_2021_2022_TOUR3 = 37, EVENT_ID_TEAM_INTERNATIONAL_2022 = 38, + EVENT_ID_PERMANENT_GRANTS = 39, + EVENT_ID_TEAM_2023_TOUR1 = 41, } [global::ProtoBuf.ProtoContract()] @@ -1572,6 +1584,11 @@ public enum EBadgeType k_EBadgeType_TI8_Finals = 5, k_EBadgeType_TI8_AllEvent = 6, k_EBadgeType_TI10 = 7, + k_EBadgeType_TI11_PlayoffsDay1 = 8, + k_EBadgeType_TI11_PlayoffsDay2 = 9, + k_EBadgeType_TI11_PlayoffsDay3 = 10, + k_EBadgeType_TI11_PlayoffsDay4 = 11, + k_EBadgeType_TI11_FinalsWeekend = 12, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGC.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGC.cs index 1df51dfaa..af22b8e23 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGC.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGC.cs @@ -680,9 +680,10 @@ public partial class CSOEconItemAttribute : global::ProtoBuf.IExtensible => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue(65535)] public uint def_index { - get => __pbn__def_index.GetValueOrDefault(); + get => __pbn__def_index ?? 65535; set => __pbn__def_index = value; } public bool ShouldSerializedef_index() => __pbn__def_index != null; @@ -1429,9 +1430,10 @@ public ulong gem_item_id private ulong? __pbn__gem_item_id; [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(65535)] public uint socket_index { - get => __pbn__socket_index.GetValueOrDefault(); + get => __pbn__socket_index ?? 65535; set => __pbn__socket_index = value; } public bool ShouldSerializesocket_index() => __pbn__socket_index != null; @@ -1526,9 +1528,10 @@ public ulong item_item_id private ulong? __pbn__item_item_id; [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(65535)] public uint socket_index { - get => __pbn__socket_index.GetValueOrDefault(); + get => __pbn__socket_index ?? 65535; set => __pbn__socket_index = value; } public bool ShouldSerializesocket_index() => __pbn__socket_index != null; @@ -1906,6 +1909,67 @@ public string string_value } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientToGCAggregateMetrics : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 metrics { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class SingleMetric : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 metric_name + { + get => __pbn__metric_name ?? ""; + set => __pbn__metric_name = value; + } + public bool ShouldSerializemetric_name() => __pbn__metric_name != null; + public void Resetmetric_name() => __pbn__metric_name = null; + private string __pbn__metric_name; + + [global::ProtoBuf.ProtoMember(2)] + public uint metric_count + { + get => __pbn__metric_count.GetValueOrDefault(); + set => __pbn__metric_count = value; + } + public bool ShouldSerializemetric_count() => __pbn__metric_count != null; + public void Resetmetric_count() => __pbn__metric_count = null; + private uint? __pbn__metric_count; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCToClientAggregateMetricsBackoff : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 float upload_rate_modifier + { + get => __pbn__upload_rate_modifier.GetValueOrDefault(); + set => __pbn__upload_rate_modifier = value; + } + public bool ShouldSerializeupload_rate_modifier() => __pbn__upload_rate_modifier != null; + public void Resetupload_rate_modifier() => __pbn__upload_rate_modifier = null; + private float? __pbn__upload_rate_modifier; + + } + [global::ProtoBuf.ProtoContract()] public enum EGCBaseMsg { @@ -1931,6 +1995,8 @@ public enum EGCBaseMsg k_EMsgGCToClientApplyRemoteConVars = 4520, k_EMsgGCToServerApplyRemoteConVars = 4521, k_EMsgClientToGCIntegrityStatus = 4522, + k_EMsgClientToGCAggregateMetrics = 4523, + k_EMsgGCToClientAggregateMetricsBackoff = 4524, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs index b55d0b2b8..9909988aa 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgGCSDK.cs @@ -1330,6 +1330,9 @@ public bool is_banned_steam_china [global::ProtoBuf.ProtoMember(18)] public CExtraMsgBlock additional_welcome_msgs { get; set; } + [global::ProtoBuf.ProtoMember(19)] + public CMsgSteamLearnHMACKeys steam_learn_hmac_keys { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class Location : global::ProtoBuf.IExtensible { diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgSteamLearnSteamworks.cs b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgSteamLearnSteamworks.cs new file mode 100644 index 000000000..8ebad2812 --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/GC/Dota/SteamMsgSteamLearnSteamworks.cs @@ -0,0 +1,693 @@ +// +// This file was generated by a tool; you should avoid making direct changes. +// Consider using 'partial classes' to extend these types +// Input: steammessages_steamlearn.steamworkssdk.proto +// + +#region Designer generated code +#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +namespace SteamKit2.GC.Dota.Internal +{ + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnDataSourceDescObject : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 elements { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnDataSourceDescElement : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(ESteamLearnDataType.STEAMLEARN_DATATYPE_INVALID)] + public ESteamLearnDataType data_type + { + get => __pbn__data_type ?? ESteamLearnDataType.STEAMLEARN_DATATYPE_INVALID; + set => __pbn__data_type = value; + } + public bool ShouldSerializedata_type() => __pbn__data_type != null; + public void Resetdata_type() => __pbn__data_type = null; + private ESteamLearnDataType? __pbn__data_type; + + [global::ProtoBuf.ProtoMember(3)] + public CMsgSteamLearnDataSourceDescObject @object { get; set; } + + [global::ProtoBuf.ProtoMember(4)] + public uint count + { + get => __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.ProtoContract()] + public partial class CMsgSteamLearnDataSource : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint id + { + get => __pbn__id.GetValueOrDefault(); + set => __pbn__id = value; + } + public bool ShouldSerializeid() => __pbn__id != null; + public void Resetid() => __pbn__id = null; + private uint? __pbn__id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(3)] + public uint version + { + get => __pbn__version.GetValueOrDefault(); + set => __pbn__version = value; + } + public bool ShouldSerializeversion() => __pbn__version != null; + public void Resetversion() => __pbn__version = null; + private uint? __pbn__version; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string source_description + { + get => __pbn__source_description ?? ""; + set => __pbn__source_description = value; + } + public bool ShouldSerializesource_description() => __pbn__source_description != null; + public void Resetsource_description() => __pbn__source_description = null; + private string __pbn__source_description; + + [global::ProtoBuf.ProtoMember(5)] + public CMsgSteamLearnDataSourceDescObject structure { get; set; } + + [global::ProtoBuf.ProtoMember(6)] + public uint structure_crc + { + get => __pbn__structure_crc.GetValueOrDefault(); + set => __pbn__structure_crc = value; + } + public bool ShouldSerializestructure_crc() => __pbn__structure_crc != null; + public void Resetstructure_crc() => __pbn__structure_crc = null; + private uint? __pbn__structure_crc; + + [global::ProtoBuf.ProtoMember(7)] + public uint cache_duration_seconds + { + get => __pbn__cache_duration_seconds.GetValueOrDefault(); + set => __pbn__cache_duration_seconds = value; + } + public bool ShouldSerializecache_duration_seconds() => __pbn__cache_duration_seconds != null; + public void Resetcache_duration_seconds() => __pbn__cache_duration_seconds = null; + private uint? __pbn__cache_duration_seconds; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnDataObject : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 elements { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnDataElement : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(20)] + public global::System.Collections.Generic.List data_int32s { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(21)] + public global::System.Collections.Generic.List data_floats { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(22)] + public global::System.Collections.Generic.List data_bools { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(23)] + public global::System.Collections.Generic.List data_strings { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(24)] + public global::System.Collections.Generic.List data_objects { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 data_source_id + { + get => __pbn__data_source_id.GetValueOrDefault(); + set => __pbn__data_source_id = value; + } + public bool ShouldSerializedata_source_id() => __pbn__data_source_id != null; + public void Resetdata_source_id() => __pbn__data_source_id = null; + private uint? __pbn__data_source_id; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List keys { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public CMsgSteamLearnDataObject data_object { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnDataList : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 data { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_AccessData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 publisher_id + { + get => __pbn__publisher_id.GetValueOrDefault(); + set => __pbn__publisher_id = value; + } + public bool ShouldSerializepublisher_id() => __pbn__publisher_id != null; + public void Resetpublisher_id() => __pbn__publisher_id = null; + private uint? __pbn__publisher_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint timestamp + { + get => __pbn__timestamp.GetValueOrDefault(); + set => __pbn__timestamp = value; + } + public bool ShouldSerializetimestamp() => __pbn__timestamp != null; + public void Resettimestamp() => __pbn__timestamp = null; + private uint? __pbn__timestamp; + + [global::ProtoBuf.ProtoMember(3)] + public ulong random_value + { + get => __pbn__random_value.GetValueOrDefault(); + set => __pbn__random_value = value; + } + public bool ShouldSerializerandom_value() => __pbn__random_value != null; + public void Resetrandom_value() => __pbn__random_value = null; + private ulong? __pbn__random_value; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_RegisterDataSource_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 access_token + { + get => __pbn__access_token ?? ""; + set => __pbn__access_token = value; + } + public bool ShouldSerializeaccess_token() => __pbn__access_token != null; + public void Resetaccess_token() => __pbn__access_token = null; + private string __pbn__access_token; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgSteamLearn_AccessData access_data { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + public CMsgSteamLearnDataSource data_source { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_RegisterDataSource_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue(ESteammLearnRegisterDataSourceResult.STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR)] + public ESteammLearnRegisterDataSourceResult result + { + get => __pbn__result ?? ESteammLearnRegisterDataSourceResult.STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR; + set => __pbn__result = value; + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private ESteammLearnRegisterDataSourceResult? __pbn__result; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgSteamLearnDataSource data_source { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_CacheData_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 access_token + { + get => __pbn__access_token ?? ""; + set => __pbn__access_token = value; + } + public bool ShouldSerializeaccess_token() => __pbn__access_token != null; + public void Resetaccess_token() => __pbn__access_token = null; + private string __pbn__access_token; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgSteamLearn_AccessData access_data { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + public CMsgSteamLearnData data { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_CacheData_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue(ESteamLearnCacheDataResult.STEAMLEARN_CACHE_DATA_ERROR)] + public ESteamLearnCacheDataResult cache_data_result + { + get => __pbn__cache_data_result ?? ESteamLearnCacheDataResult.STEAMLEARN_CACHE_DATA_ERROR; + set => __pbn__cache_data_result = value; + } + public bool ShouldSerializecache_data_result() => __pbn__cache_data_result != null; + public void Resetcache_data_result() => __pbn__cache_data_result = null; + private ESteamLearnCacheDataResult? __pbn__cache_data_result; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_SnapshotProject_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 access_token + { + get => __pbn__access_token ?? ""; + set => __pbn__access_token = value; + } + public bool ShouldSerializeaccess_token() => __pbn__access_token != null; + public void Resetaccess_token() => __pbn__access_token = null; + private string __pbn__access_token; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgSteamLearn_AccessData access_data { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + public uint project_id + { + get => __pbn__project_id.GetValueOrDefault(); + set => __pbn__project_id = value; + } + public bool ShouldSerializeproject_id() => __pbn__project_id != null; + public void Resetproject_id() => __pbn__project_id = null; + private uint? __pbn__project_id; + + [global::ProtoBuf.ProtoMember(7)] + public uint published_version + { + get => __pbn__published_version.GetValueOrDefault(); + set => __pbn__published_version = value; + } + public bool ShouldSerializepublished_version() => __pbn__published_version != null; + public void Resetpublished_version() => __pbn__published_version = null; + private uint? __pbn__published_version; + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List keys { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5)] + public global::System.Collections.Generic.List data { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(6)] + public uint pending_data_limit_seconds + { + get => __pbn__pending_data_limit_seconds.GetValueOrDefault(); + set => __pbn__pending_data_limit_seconds = value; + } + public bool ShouldSerializepending_data_limit_seconds() => __pbn__pending_data_limit_seconds != null; + public void Resetpending_data_limit_seconds() => __pbn__pending_data_limit_seconds = null; + private uint? __pbn__pending_data_limit_seconds; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_SnapshotProject_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue(ESteamLearnSnapshotProjectResult.STEAMLEARN_SNAPSHOT_PROJECT_ERROR)] + public ESteamLearnSnapshotProjectResult snapshot_result + { + get => __pbn__snapshot_result ?? ESteamLearnSnapshotProjectResult.STEAMLEARN_SNAPSHOT_PROJECT_ERROR; + set => __pbn__snapshot_result = value; + } + public bool ShouldSerializesnapshot_result() => __pbn__snapshot_result != null; + public void Resetsnapshot_result() => __pbn__snapshot_result = null; + private ESteamLearnSnapshotProjectResult? __pbn__snapshot_result; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_BatchOperation_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 global::System.Collections.Generic.List cache_data_requests { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List snapshot_requests { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_BatchOperation_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 cache_data_responses { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List snapshot_responses { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearnHMACKeys : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 register_data_source_key + { + get => __pbn__register_data_source_key ?? ""; + set => __pbn__register_data_source_key = value; + } + public bool ShouldSerializeregister_data_source_key() => __pbn__register_data_source_key != null; + public void Resetregister_data_source_key() => __pbn__register_data_source_key = null; + private string __pbn__register_data_source_key; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List cache_data_keys { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List snapshot_project_keys { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class CacheDataKeys : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 data_source_id + { + get => __pbn__data_source_id.GetValueOrDefault(); + set => __pbn__data_source_id = value; + } + public bool ShouldSerializedata_source_id() => __pbn__data_source_id != null; + public void Resetdata_source_id() => __pbn__data_source_id = null; + private uint? __pbn__data_source_id; + + [global::ProtoBuf.ProtoMember(3)] + public uint version + { + get => __pbn__version.GetValueOrDefault(); + set => __pbn__version = value; + } + public bool ShouldSerializeversion() => __pbn__version != null; + public void Resetversion() => __pbn__version = null; + private uint? __pbn__version; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string key + { + get => __pbn__key ?? ""; + set => __pbn__key = value; + } + public bool ShouldSerializekey() => __pbn__key != null; + public void Resetkey() => __pbn__key = null; + private string __pbn__key; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class SnapshotProjectKeys : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 project_id + { + get => __pbn__project_id.GetValueOrDefault(); + set => __pbn__project_id = value; + } + public bool ShouldSerializeproject_id() => __pbn__project_id != null; + public void Resetproject_id() => __pbn__project_id = null; + private uint? __pbn__project_id; + + [global::ProtoBuf.ProtoMember(3)] + public uint published_version + { + get => __pbn__published_version.GetValueOrDefault(); + set => __pbn__published_version = value; + } + public bool ShouldSerializepublished_version() => __pbn__published_version != null; + public void Resetpublished_version() => __pbn__published_version = null; + private uint? __pbn__published_version; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string key + { + get => __pbn__key ?? ""; + set => __pbn__key = value; + } + public bool ShouldSerializekey() => __pbn__key != null; + public void Resetkey() => __pbn__key = null; + private string __pbn__key; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_GetHMACKeys_Request : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgSteamLearn_GetHMACKeys_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue(ESteamLearnGetHMACKeysResult.STEAMLEARN_GET_HMAC_KEYS_SUCCESS)] + public ESteamLearnGetHMACKeysResult result + { + get => __pbn__result ?? ESteamLearnGetHMACKeysResult.STEAMLEARN_GET_HMAC_KEYS_SUCCESS; + set => __pbn__result = value; + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private ESteamLearnGetHMACKeysResult? __pbn__result; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgSteamLearnHMACKeys keys { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public enum ESteamLearnDataType + { + STEAMLEARN_DATATYPE_INVALID = 0, + STEAMLEARN_DATATYPE_INT32 = 1, + STEAMLEARN_DATATYPE_FLOAT32 = 2, + STEAMLEARN_DATATYPE_BOOL = 3, + STEAMLEARN_DATATYPE_STRING = 4, + STEAMLEARN_DATATYPE_OBJECT = 5, + } + + [global::ProtoBuf.ProtoContract()] + public enum ESteammLearnRegisterDataSourceResult + { + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR = 0, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_SUCCESS_CREATED = 1, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_SUCCESS_FOUND = 2, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_GENERIC = 3, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_NAME = 4, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_VERSION = 5, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_DATA_CHANGED = 6, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_DATA_INVALID = 7, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_FORBIDDEN = 8, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_TIMESTAMP = 9, + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_DISABLED = 10, + } + + [global::ProtoBuf.ProtoContract()] + public enum ESteamLearnCacheDataResult + { + STEAMLEARN_CACHE_DATA_ERROR = 0, + STEAMLEARN_CACHE_DATA_SUCCESS = 1, + STEAMLEARN_CACHE_DATA_ERROR_UNKNOWN_DATA_SOURCE = 2, + STEAMLEARN_CACHE_DATA_ERROR_UNCACHED_DATA_SOURCE = 3, + STEAMLEARN_CACHE_DATA_ERROR_INVALID_KEYS = 4, + STEAMLEARN_CACHE_DATA_ERROR_FORBIDDEN = 5, + STEAMLEARN_CACHE_DATA_ERROR_INVALID_TIMESTAMP = 6, + STEAMLEARN_CACHE_DATA_DISABLED = 7, + } + + [global::ProtoBuf.ProtoContract()] + public enum ESteamLearnSnapshotProjectResult + { + STEAMLEARN_SNAPSHOT_PROJECT_ERROR = 0, + STEAMLEARN_SNAPSHOT_PROJECT_SUCCESS_STORED = 1, + STEAMLEARN_SNAPSHOT_PROJECT_SUCCESS_QUEUED = 2, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_PROJECT_ID = 3, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_UNKNOWN_DATA_SOURCE = 4, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_DATA_SOURCE_KEY = 5, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_MISSING_CACHE_DURATION = 6, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_NO_PUBLISHED_CONFIG = 7, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_FORBIDDEN = 8, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_TIMESTAMP = 9, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INTERNAL_DATA_SOURCE_ERROR = 10, + STEAMLEARN_SNAPSHOT_PROJECT_DISABLED = 11, + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_PUBLISHED_VERSION = 12, + } + + [global::ProtoBuf.ProtoContract()] + public enum ESteamLearnGetHMACKeysResult + { + STEAMLEARN_GET_HMAC_KEYS_SUCCESS = 0, + } + + public interface ISteamLearn + { + CMsgSteamLearn_RegisterDataSource_Response RegisterDataSource(CMsgSteamLearn_RegisterDataSource_Request request); + CMsgSteamLearn_CacheData_Response CacheData(CMsgSteamLearn_CacheData_Request request); + CMsgSteamLearn_SnapshotProject_Response SnapshotProject(CMsgSteamLearn_SnapshotProject_Request request); + CMsgSteamLearn_BatchOperation_Response BatchOperation(CMsgSteamLearn_BatchOperation_Request request); + CMsgSteamLearn_GetHMACKeys_Response GetHMACKeys(CMsgSteamLearn_GetHMACKeys_Request request); + } + +} + +#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +#endregion diff --git a/SteamKit2/SteamKit2/Base/Generated/GC/MsgBaseGC.cs b/SteamKit2/SteamKit2/Base/Generated/GC/MsgBaseGC.cs index 5896aca05..08808b6c5 100644 --- a/SteamKit2/SteamKit2/Base/Generated/GC/MsgBaseGC.cs +++ b/SteamKit2/SteamKit2/Base/Generated/GC/MsgBaseGC.cs @@ -9,6 +9,35 @@ namespace SteamKit2.GC.Internal { + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCRoutingProtoBufHeader : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 dst_gcid_queue + { + get => __pbn__dst_gcid_queue.GetValueOrDefault(); + set => __pbn__dst_gcid_queue = value; + } + public bool ShouldSerializedst_gcid_queue() => __pbn__dst_gcid_queue != null; + public void Resetdst_gcid_queue() => __pbn__dst_gcid_queue = null; + private ulong? __pbn__dst_gcid_queue; + + [global::ProtoBuf.ProtoMember(2)] + public uint dst_gc_dir_index + { + get => __pbn__dst_gc_dir_index.GetValueOrDefault(); + set => __pbn__dst_gc_dir_index = value; + } + public bool ShouldSerializedst_gc_dir_index() => __pbn__dst_gc_dir_index != null; + public void Resetdst_gc_dir_index() => __pbn__dst_gc_dir_index = null; + private uint? __pbn__dst_gc_dir_index; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgProtoBufHeader : global::ProtoBuf.IExtensible { @@ -79,6 +108,16 @@ public string target_job_name public void Resettarget_job_name() => __pbn__target_job_name = null; private string __pbn__target_job_name; + [global::ProtoBuf.ProtoMember(24)] + public int seq_num + { + get => __pbn__seq_num.GetValueOrDefault(); + set => __pbn__seq_num = value; + } + public bool ShouldSerializeseq_num() => __pbn__seq_num != null; + public void Resetseq_num() => __pbn__seq_num = null; + private int? __pbn__seq_num; + [global::ProtoBuf.ProtoMember(13)] [global::System.ComponentModel.DefaultValue(2)] public int eresult @@ -101,15 +140,187 @@ public string error_message public void Reseterror_message() => __pbn__error_message = null; private string __pbn__error_message; - [global::ProtoBuf.ProtoMember(15)] - public uint ip + [global::ProtoBuf.ProtoMember(16)] + public uint auth_account_flags { - get => __pbn__ip.GetValueOrDefault(); - set => __pbn__ip = value; + get => __pbn__auth_account_flags.GetValueOrDefault(); + set => __pbn__auth_account_flags = value; } - public bool ShouldSerializeip() => __pbn__ip != null; - public void Resetip() => __pbn__ip = null; - private uint? __pbn__ip; + public bool ShouldSerializeauth_account_flags() => __pbn__auth_account_flags != null; + public void Resetauth_account_flags() => __pbn__auth_account_flags = null; + private uint? __pbn__auth_account_flags; + + [global::ProtoBuf.ProtoMember(22)] + public uint token_source + { + get => __pbn__token_source.GetValueOrDefault(); + set => __pbn__token_source = value; + } + public bool ShouldSerializetoken_source() => __pbn__token_source != null; + public void Resettoken_source() => __pbn__token_source = null; + private uint? __pbn__token_source; + + [global::ProtoBuf.ProtoMember(23)] + public bool admin_spoofing_user + { + get => __pbn__admin_spoofing_user.GetValueOrDefault(); + set => __pbn__admin_spoofing_user = value; + } + public bool ShouldSerializeadmin_spoofing_user() => __pbn__admin_spoofing_user != null; + public void Resetadmin_spoofing_user() => __pbn__admin_spoofing_user = null; + private bool? __pbn__admin_spoofing_user; + + [global::ProtoBuf.ProtoMember(17)] + [global::System.ComponentModel.DefaultValue(1)] + public int transport_error + { + get => __pbn__transport_error ?? 1; + set => __pbn__transport_error = value; + } + public bool ShouldSerializetransport_error() => __pbn__transport_error != null; + public void Resettransport_error() => __pbn__transport_error = null; + private int? __pbn__transport_error; + + [global::ProtoBuf.ProtoMember(18)] + [global::System.ComponentModel.DefaultValue(typeof(ulong), "18446744073709551615")] + public ulong messageid + { + get => __pbn__messageid ?? 18446744073709551615; + set => __pbn__messageid = value; + } + public bool ShouldSerializemessageid() => __pbn__messageid != null; + public void Resetmessageid() => __pbn__messageid = null; + private ulong? __pbn__messageid; + + [global::ProtoBuf.ProtoMember(19)] + public uint publisher_group_id + { + get => __pbn__publisher_group_id.GetValueOrDefault(); + set => __pbn__publisher_group_id = value; + } + public bool ShouldSerializepublisher_group_id() => __pbn__publisher_group_id != null; + public void Resetpublisher_group_id() => __pbn__publisher_group_id = null; + private uint? __pbn__publisher_group_id; + + [global::ProtoBuf.ProtoMember(20)] + public uint sysid + { + get => __pbn__sysid.GetValueOrDefault(); + set => __pbn__sysid = value; + } + public bool ShouldSerializesysid() => __pbn__sysid != null; + public void Resetsysid() => __pbn__sysid = null; + private uint? __pbn__sysid; + + [global::ProtoBuf.ProtoMember(21)] + public ulong trace_tag + { + get => __pbn__trace_tag.GetValueOrDefault(); + set => __pbn__trace_tag = value; + } + public bool ShouldSerializetrace_tag() => __pbn__trace_tag != null; + public void Resettrace_tag() => __pbn__trace_tag = null; + private ulong? __pbn__trace_tag; + + [global::ProtoBuf.ProtoMember(25)] + public uint webapi_key_id + { + get => __pbn__webapi_key_id.GetValueOrDefault(); + set => __pbn__webapi_key_id = value; + } + public bool ShouldSerializewebapi_key_id() => __pbn__webapi_key_id != null; + public void Resetwebapi_key_id() => __pbn__webapi_key_id = null; + private uint? __pbn__webapi_key_id; + + [global::ProtoBuf.ProtoMember(26)] + public bool is_from_external_source + { + get => __pbn__is_from_external_source.GetValueOrDefault(); + set => __pbn__is_from_external_source = value; + } + public bool ShouldSerializeis_from_external_source() => __pbn__is_from_external_source != null; + public void Resetis_from_external_source() => __pbn__is_from_external_source = null; + private bool? __pbn__is_from_external_source; + + [global::ProtoBuf.ProtoMember(27)] + public global::System.Collections.Generic.List forward_to_sysid { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(28)] + public uint cm_sysid + { + get => __pbn__cm_sysid.GetValueOrDefault(); + set => __pbn__cm_sysid = value; + } + public bool ShouldSerializecm_sysid() => __pbn__cm_sysid != null; + public void Resetcm_sysid() => __pbn__cm_sysid = null; + private uint? __pbn__cm_sysid; + + [global::ProtoBuf.ProtoMember(31)] + [global::System.ComponentModel.DefaultValue(0)] + public uint launcher_type + { + get => __pbn__launcher_type ?? 0; + set => __pbn__launcher_type = value; + } + public bool ShouldSerializelauncher_type() => __pbn__launcher_type != null; + public void Resetlauncher_type() => __pbn__launcher_type = null; + private uint? __pbn__launcher_type; + + [global::ProtoBuf.ProtoMember(32)] + [global::System.ComponentModel.DefaultValue(0)] + public uint realm + { + get => __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(33)] + [global::System.ComponentModel.DefaultValue(-1)] + public int timeout_ms + { + get => __pbn__timeout_ms ?? -1; + set => __pbn__timeout_ms = value; + } + public bool ShouldSerializetimeout_ms() => __pbn__timeout_ms != null; + public void Resettimeout_ms() => __pbn__timeout_ms = null; + private int? __pbn__timeout_ms; + + [global::ProtoBuf.ProtoMember(34)] + [global::System.ComponentModel.DefaultValue("")] + public string debug_source + { + get => __pbn__debug_source ?? ""; + set => __pbn__debug_source = value; + } + public bool ShouldSerializedebug_source() => __pbn__debug_source != null; + public void Resetdebug_source() => __pbn__debug_source = null; + private string __pbn__debug_source; + + [global::ProtoBuf.ProtoMember(35)] + public uint debug_source_string_index + { + get => __pbn__debug_source_string_index.GetValueOrDefault(); + set => __pbn__debug_source_string_index = value; + } + public bool ShouldSerializedebug_source_string_index() => __pbn__debug_source_string_index != null; + public void Resetdebug_source_string_index() => __pbn__debug_source_string_index = null; + private uint? __pbn__debug_source_string_index; + + [global::ProtoBuf.ProtoMember(36)] + public ulong token_id + { + get => __pbn__token_id.GetValueOrDefault(); + set => __pbn__token_id = value; + } + public bool ShouldSerializetoken_id() => __pbn__token_id != null; + public void Resettoken_id() => __pbn__token_id = null; + private ulong? __pbn__token_id; + + [global::ProtoBuf.ProtoMember(37)] + public CMsgGCRoutingProtoBufHeader routing_gc { get; set; } [global::ProtoBuf.ProtoMember(200)] [global::System.ComponentModel.DefaultValue(GCProtoBufMsgSrc.GCProtoBufMsgSrc_Unspecified)] @@ -132,6 +343,26 @@ public uint gc_dir_index_source public void Resetgc_dir_index_source() => __pbn__gc_dir_index_source = null; private uint? __pbn__gc_dir_index_source; + [global::ProtoBuf.ProtoMember(15)] + public uint ip + { + get => __pbn__ip_addr.Is(15) ? __pbn__ip_addr.UInt32 : default(uint); + set => __pbn__ip_addr = new global::ProtoBuf.DiscriminatedUnion32Object(15, value); + } + public bool ShouldSerializeip() => __pbn__ip_addr.Is(15); + public void Resetip() => global::ProtoBuf.DiscriminatedUnion32Object.Reset(ref __pbn__ip_addr, 15); + + private global::ProtoBuf.DiscriminatedUnion32Object __pbn__ip_addr; + + [global::ProtoBuf.ProtoMember(29)] + public byte[] ip_v6 + { + get => __pbn__ip_addr.Is(29) ? ((byte[])__pbn__ip_addr.Object) : default(byte[]); + set => __pbn__ip_addr = new global::ProtoBuf.DiscriminatedUnion32Object(29, value); + } + public bool ShouldSerializeip_v6() => __pbn__ip_addr.Is(29); + public void Resetip_v6() => global::ProtoBuf.DiscriminatedUnion32Object.Reset(ref __pbn__ip_addr, 29); + } [global::ProtoBuf.ProtoContract()] @@ -142,6 +373,7 @@ public enum GCProtoBufMsgSrc GCProtoBufMsgSrc_FromSteamID = 2, GCProtoBufMsgSrc_FromGC = 3, GCProtoBufMsgSrc_ReplySystem = 4, + GCProtoBufMsgSrc_SpoofedSteamID = 5, } } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs b/SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs index 712488052..935484af0 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs @@ -102,6 +102,8 @@ public enum EMsg ExpectShellRestart = 336, HotFixProgress = 337, GMStatsForwardToAdminConnections = 338, + GMGetModifiedConVars = 339, + GMGetModifiedConVarsResponse = 340, BaseAIS = 400, AISRequestContentDescription = 402, AISUpdateAppInfo = 403, @@ -609,6 +611,9 @@ public enum EMsg GCHAppCheersReceived = 2242, GCHAppCheersGetAllowedTypes = 2243, GCHAppCheersGetAllowedTypesResponse = 2244, + GCHRoutingRulesFromGCHtoGM = 2245, + GCHRoutingRulesToGCHfromGM = 2246, + UpdateCMMessageRateRules = 2247, BaseP2P = 2500, P2PIntroducerMessage = 2502, BaseSM = 2900, @@ -1085,6 +1090,7 @@ public enum EMsg AMPerfectWorldPaymentResponse = 4422, AMECommPayPayment = 4423, AMECommPayPaymentResponse = 4424, + AMSetRemoteClientID = 4425, BasePSRange = 5000, PSCreateShoppingCart = 5001, PSCreateShoppingCartResponse = 5002, @@ -1223,6 +1229,8 @@ public enum EMsg ClientOGSWriteRow = 5494, ClientDRMTest = 5495, ClientDRMTestResult = 5496, + ClientStartPeerContentServer = 5497, + ClientStartPeerContentServerResponse = 5498, ClientServerUnavailable = 5500, ClientServersAvailable = 5501, ClientRegisterAuthTicketWithCM = 5502, @@ -1739,9 +1747,13 @@ public enum EMsg ClientServerTimestampResponse = 9803, ServiceMethodCallFromClientNonAuthed = 9804, ClientHello = 9805, + ClientEnableOrDisableDownloads = 9806, + ClientEnableOrDisableDownloadsResponse = 9807, ClientLANP2PBase = 9900, ClientLANP2PRequestChunk = 9900, ClientLANP2PRequestChunkResponse = 9901, + ClientPeerChunkRequest = 9902, + ClientPeerChunkResponse = 9903, ClientLANP2PMax = 9999, BaseWatchdogServer = 10000, NotifyWatchdog = 10000, diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgAccountHardware.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgAccountHardware.cs index 3eeb6a79b..a00ab8840 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgAccountHardware.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgAccountHardware.cs @@ -788,6 +788,57 @@ public partial class CAccountHardware_RegisterValveIndexComponent_Response : glo } + [global::ProtoBuf.ProtoContract()] + public partial class CAccountHardware_GetSteamDeckComponents_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 serial_number + { + get => __pbn__serial_number ?? ""; + set => __pbn__serial_number = value; + } + public bool ShouldSerializeserial_number() => __pbn__serial_number != null; + public void Resetserial_number() => __pbn__serial_number = null; + private string __pbn__serial_number; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string controller_code + { + get => __pbn__controller_code ?? ""; + set => __pbn__controller_code = value; + } + public bool ShouldSerializecontroller_code() => __pbn__controller_code != null; + public void Resetcontroller_code() => __pbn__controller_code = null; + private string __pbn__controller_code; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CAccountHardware_GetSteamDeckComponents_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string json_components + { + get => __pbn__json_components ?? ""; + set => __pbn__json_components = value; + } + public bool ShouldSerializejson_components() => __pbn__json_components != null; + public void Resetjson_components() => __pbn__json_components = null; + private string __pbn__json_components; + + } + [global::ProtoBuf.ProtoContract()] public enum EValveIndexComponent { @@ -809,6 +860,7 @@ public interface IAccountHardware CAccountHardware_GetPersonalizationFile_Response GetControllerPersonalizationFile(CAccountHardware_GetPersonalizationFile_Request request); CAccountHardware_VRCompatibilityCheck_Response VRCompatibilityCheck(CAccountHardware_VRCompatibilityCheck_Request request); CAccountHardware_RegisterValveIndexComponent_Response RegisterValveIndexComponent(CAccountHardware_RegisterValveIndexComponent_Request request); + CAccountHardware_GetSteamDeckComponents_Response GetSteamDeckComponents(CAccountHardware_GetSteamDeckComponents_Request request); } } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgAuth.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgAuth.cs index 1e025e1c9..327bcd9df 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgAuth.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgAuth.cs @@ -70,6 +70,57 @@ public ulong timestamp } + [global::ProtoBuf.ProtoContract()] + public partial class CAuthentication_DeviceDetails : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 device_friendly_name + { + get => __pbn__device_friendly_name ?? ""; + set => __pbn__device_friendly_name = value; + } + public bool ShouldSerializedevice_friendly_name() => __pbn__device_friendly_name != null; + public void Resetdevice_friendly_name() => __pbn__device_friendly_name = null; + private string __pbn__device_friendly_name; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(EAuthTokenPlatformType.k_EAuthTokenPlatformType_Unknown)] + public EAuthTokenPlatformType platform_type + { + get => __pbn__platform_type ?? EAuthTokenPlatformType.k_EAuthTokenPlatformType_Unknown; + set => __pbn__platform_type = value; + } + public bool ShouldSerializeplatform_type() => __pbn__platform_type != null; + public void Resetplatform_type() => __pbn__platform_type = null; + private EAuthTokenPlatformType? __pbn__platform_type; + + [global::ProtoBuf.ProtoMember(3)] + public int os_type + { + get => __pbn__os_type.GetValueOrDefault(); + set => __pbn__os_type = value; + } + public bool ShouldSerializeos_type() => __pbn__os_type != null; + public void Resetos_type() => __pbn__os_type = null; + private int? __pbn__os_type; + + [global::ProtoBuf.ProtoMember(4)] + public uint gaming_device_type + { + get => __pbn__gaming_device_type.GetValueOrDefault(); + set => __pbn__gaming_device_type = value; + } + public bool ShouldSerializegaming_device_type() => __pbn__gaming_device_type != null; + public void Resetgaming_device_type() => __pbn__gaming_device_type = null; + private uint? __pbn__gaming_device_type; + + } + [global::ProtoBuf.ProtoContract()] public partial class CAuthentication_BeginAuthSessionViaQR_Request : global::ProtoBuf.IExtensible { @@ -99,6 +150,20 @@ public EAuthTokenPlatformType platform_type public void Resetplatform_type() => __pbn__platform_type = null; private EAuthTokenPlatformType? __pbn__platform_type; + [global::ProtoBuf.ProtoMember(3)] + public CAuthentication_DeviceDetails device_details { get; set; } + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(@"Unknown")] + public string website_id + { + get => __pbn__website_id ?? @"Unknown"; + set => __pbn__website_id = value; + } + public bool ShouldSerializewebsite_id() => __pbn__website_id != null; + public void Resetwebsite_id() => __pbn__website_id = null; + private string __pbn__website_id; + } [global::ProtoBuf.ProtoContract()] @@ -288,6 +353,30 @@ public string website_id public void Resetwebsite_id() => __pbn__website_id = null; private string __pbn__website_id; + [global::ProtoBuf.ProtoMember(9)] + public CAuthentication_DeviceDetails device_details { get; set; } + + [global::ProtoBuf.ProtoMember(10)] + [global::System.ComponentModel.DefaultValue("")] + public string guard_data + { + get => __pbn__guard_data ?? ""; + set => __pbn__guard_data = value; + } + public bool ShouldSerializeguard_data() => __pbn__guard_data != null; + public void Resetguard_data() => __pbn__guard_data = null; + private string __pbn__guard_data; + + [global::ProtoBuf.ProtoMember(11)] + public uint language + { + get => __pbn__language.GetValueOrDefault(); + set => __pbn__language = value; + } + public bool ShouldSerializelanguage() => __pbn__language != null; + public void Resetlanguage() => __pbn__language = null; + private uint? __pbn__language; + } [global::ProtoBuf.ProtoContract()] @@ -351,6 +440,28 @@ public string weak_token public void Resetweak_token() => __pbn__weak_token = null; private string __pbn__weak_token; + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string agreement_session_url + { + get => __pbn__agreement_session_url ?? ""; + set => __pbn__agreement_session_url = value; + } + public bool ShouldSerializeagreement_session_url() => __pbn__agreement_session_url != null; + public void Resetagreement_session_url() => __pbn__agreement_session_url = null; + private string __pbn__agreement_session_url; + + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue("")] + public string extended_error_message + { + get => __pbn__extended_error_message ?? ""; + set => __pbn__extended_error_message = value; + } + public bool ShouldSerializeextended_error_message() => __pbn__extended_error_message != null; + public void Resetextended_error_message() => __pbn__extended_error_message = null; + private string __pbn__extended_error_message; + } [global::ProtoBuf.ProtoContract()] @@ -463,6 +574,28 @@ public string account_name public void Resetaccount_name() => __pbn__account_name = null; private string __pbn__account_name; + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string new_guard_data + { + get => __pbn__new_guard_data ?? ""; + set => __pbn__new_guard_data = value; + } + public bool ShouldSerializenew_guard_data() => __pbn__new_guard_data != null; + public void Resetnew_guard_data() => __pbn__new_guard_data = null; + private string __pbn__new_guard_data; + + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue("")] + public string agreement_session_url + { + get => __pbn__agreement_session_url ?? ""; + set => __pbn__agreement_session_url = value; + } + public bool ShouldSerializeagreement_session_url() => __pbn__agreement_session_url != null; + public void Resetagreement_session_url() => __pbn__agreement_session_url = null; + private string __pbn__agreement_session_url; + } [global::ProtoBuf.ProtoContract()] @@ -760,6 +893,17 @@ public partial class CAuthentication_UpdateAuthSessionWithSteamGuardCode_Respons global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string agreement_session_url + { + get => __pbn__agreement_session_url ?? ""; + set => __pbn__agreement_session_url = value; + } + public bool ShouldSerializeagreement_session_url() => __pbn__agreement_session_url != null; + public void Resetagreement_session_url() => __pbn__agreement_session_url = null; + private string __pbn__agreement_session_url; + } [global::ProtoBuf.ProtoContract()] @@ -812,6 +956,210 @@ public string access_token } + [global::ProtoBuf.ProtoContract()] + public partial class CAuthentication_RefreshToken_Enumerate_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.ProtoContract()] + public partial class CAuthentication_RefreshToken_Enumerate_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 refresh_tokens { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong requesting_token + { + get => __pbn__requesting_token.GetValueOrDefault(); + set => __pbn__requesting_token = value; + } + public bool ShouldSerializerequesting_token() => __pbn__requesting_token != null; + public void Resetrequesting_token() => __pbn__requesting_token = null; + private ulong? __pbn__requesting_token; + + [global::ProtoBuf.ProtoContract()] + public partial class TokenUsageEvent : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint time + { + get => __pbn__time.GetValueOrDefault(); + set => __pbn__time = value; + } + public bool ShouldSerializetime() => __pbn__time != null; + public void Resettime() => __pbn__time = null; + private uint? __pbn__time; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgIPAddress ip { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string locale + { + get => __pbn__locale ?? ""; + set => __pbn__locale = value; + } + public bool ShouldSerializelocale() => __pbn__locale != null; + public void Resetlocale() => __pbn__locale = null; + private string __pbn__locale; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string country + { + get => __pbn__country ?? ""; + set => __pbn__country = value; + } + public bool ShouldSerializecountry() => __pbn__country != null; + public void Resetcountry() => __pbn__country = null; + private string __pbn__country; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string state + { + get => __pbn__state ?? ""; + set => __pbn__state = value; + } + public bool ShouldSerializestate() => __pbn__state != null; + public void Resetstate() => __pbn__state = null; + private string __pbn__state; + + [global::ProtoBuf.ProtoMember(6)] + [global::System.ComponentModel.DefaultValue("")] + public string city + { + get => __pbn__city ?? ""; + set => __pbn__city = value; + } + public bool ShouldSerializecity() => __pbn__city != null; + public void Resetcity() => __pbn__city = null; + private string __pbn__city; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class RefreshTokenDescription : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 token_id + { + get => __pbn__token_id.GetValueOrDefault(); + set => __pbn__token_id = value; + } + public bool ShouldSerializetoken_id() => __pbn__token_id != null; + public void Resettoken_id() => __pbn__token_id = null; + private ulong? __pbn__token_id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string token_description + { + get => __pbn__token_description ?? ""; + set => __pbn__token_description = value; + } + public bool ShouldSerializetoken_description() => __pbn__token_description != null; + public void Resettoken_description() => __pbn__token_description = null; + private string __pbn__token_description; + + [global::ProtoBuf.ProtoMember(3)] + public uint time_updated + { + get => __pbn__time_updated.GetValueOrDefault(); + set => __pbn__time_updated = value; + } + public bool ShouldSerializetime_updated() => __pbn__time_updated != null; + public void Resettime_updated() => __pbn__time_updated = null; + private uint? __pbn__time_updated; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(EAuthTokenPlatformType.k_EAuthTokenPlatformType_Unknown)] + public EAuthTokenPlatformType platform_type + { + get => __pbn__platform_type ?? EAuthTokenPlatformType.k_EAuthTokenPlatformType_Unknown; + set => __pbn__platform_type = value; + } + public bool ShouldSerializeplatform_type() => __pbn__platform_type != null; + public void Resetplatform_type() => __pbn__platform_type = null; + private EAuthTokenPlatformType? __pbn__platform_type; + + [global::ProtoBuf.ProtoMember(5)] + public bool logged_in + { + get => __pbn__logged_in.GetValueOrDefault(); + set => __pbn__logged_in = value; + } + public bool ShouldSerializelogged_in() => __pbn__logged_in != null; + public void Resetlogged_in() => __pbn__logged_in = null; + private bool? __pbn__logged_in; + + [global::ProtoBuf.ProtoMember(6)] + public uint os_platform + { + get => __pbn__os_platform.GetValueOrDefault(); + set => __pbn__os_platform = value; + } + public bool ShouldSerializeos_platform() => __pbn__os_platform != null; + public void Resetos_platform() => __pbn__os_platform = null; + private uint? __pbn__os_platform; + + [global::ProtoBuf.ProtoMember(7)] + public uint auth_type + { + get => __pbn__auth_type.GetValueOrDefault(); + set => __pbn__auth_type = value; + } + public bool ShouldSerializeauth_type() => __pbn__auth_type != null; + public void Resetauth_type() => __pbn__auth_type = null; + private uint? __pbn__auth_type; + + [global::ProtoBuf.ProtoMember(8)] + public uint gaming_device_type + { + get => __pbn__gaming_device_type.GetValueOrDefault(); + set => __pbn__gaming_device_type = value; + } + public bool ShouldSerializegaming_device_type() => __pbn__gaming_device_type != null; + public void Resetgaming_device_type() => __pbn__gaming_device_type = null; + private uint? __pbn__gaming_device_type; + + [global::ProtoBuf.ProtoMember(9)] + public CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent first_seen { get; set; } + + [global::ProtoBuf.ProtoMember(10)] + public CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent last_seen { get; set; } + + [global::ProtoBuf.ProtoMember(11)] + public int os_type + { + get => __pbn__os_type.GetValueOrDefault(); + set => __pbn__os_type = value; + } + public bool ShouldSerializeos_type() => __pbn__os_type != null; + public void Resetos_type() => __pbn__os_type = null; + private int? __pbn__os_type; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CAuthentication_GetAuthSessionsForAccount_Request : global::ProtoBuf.IExtensible { @@ -905,6 +1253,65 @@ public string access_token } + [global::ProtoBuf.ProtoContract()] + public partial class CAuthentication_RefreshToken_Revoke_Request : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong token_id + { + get => __pbn__token_id.GetValueOrDefault(); + set => __pbn__token_id = value; + } + public bool ShouldSerializetoken_id() => __pbn__token_id != null; + public void Resettoken_id() => __pbn__token_id = null; + private ulong? __pbn__token_id; + + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get => __pbn__steamid.GetValueOrDefault(); + set => __pbn__steamid = value; + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(EAuthTokenRevokeAction.k_EAuthTokenRevokePermanent)] + public EAuthTokenRevokeAction revoke_action + { + get => __pbn__revoke_action ?? EAuthTokenRevokeAction.k_EAuthTokenRevokePermanent; + set => __pbn__revoke_action = value; + } + public bool ShouldSerializerevoke_action() => __pbn__revoke_action != null; + public void Resetrevoke_action() => __pbn__revoke_action = null; + private EAuthTokenRevokeAction? __pbn__revoke_action; + + [global::ProtoBuf.ProtoMember(4)] + public byte[] signature + { + get => __pbn__signature; + set => __pbn__signature = value; + } + public bool ShouldSerializesignature() => __pbn__signature != null; + public void Resetsignature() => __pbn__signature = null; + private byte[] __pbn__signature; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CAuthentication_RefreshToken_Revoke_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 CAuthenticationSupport_QueryRefreshTokensByAccount_Request : global::ProtoBuf.IExtensible { @@ -1004,6 +1411,107 @@ public ulong owner_steamid public void Resetowner_steamid() => __pbn__owner_steamid = null; private ulong? __pbn__owner_steamid; + [global::ProtoBuf.ProtoMember(7)] + public uint os_platform + { + get => __pbn__os_platform.GetValueOrDefault(); + set => __pbn__os_platform = value; + } + public bool ShouldSerializeos_platform() => __pbn__os_platform != null; + public void Resetos_platform() => __pbn__os_platform = null; + private uint? __pbn__os_platform; + + [global::ProtoBuf.ProtoMember(8)] + public int os_type + { + get => __pbn__os_type.GetValueOrDefault(); + set => __pbn__os_type = value; + } + public bool ShouldSerializeos_type() => __pbn__os_type != null; + public void Resetos_type() => __pbn__os_type = null; + private int? __pbn__os_type; + + [global::ProtoBuf.ProtoMember(9)] + public uint auth_type + { + get => __pbn__auth_type.GetValueOrDefault(); + set => __pbn__auth_type = value; + } + public bool ShouldSerializeauth_type() => __pbn__auth_type != null; + public void Resetauth_type() => __pbn__auth_type = null; + private uint? __pbn__auth_type; + + [global::ProtoBuf.ProtoMember(10)] + public uint gaming_device_type + { + get => __pbn__gaming_device_type.GetValueOrDefault(); + set => __pbn__gaming_device_type = value; + } + public bool ShouldSerializegaming_device_type() => __pbn__gaming_device_type != null; + public void Resetgaming_device_type() => __pbn__gaming_device_type = null; + private uint? __pbn__gaming_device_type; + + [global::ProtoBuf.ProtoMember(11)] + public TokenUsageEvent first_seen { get; set; } + + [global::ProtoBuf.ProtoMember(12)] + public TokenUsageEvent last_seen { get; set; } + + [global::ProtoBuf.ProtoContract()] + public partial class TokenUsageEvent : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint time + { + get => __pbn__time.GetValueOrDefault(); + set => __pbn__time = value; + } + public bool ShouldSerializetime() => __pbn__time != null; + public void Resettime() => __pbn__time = null; + private uint? __pbn__time; + + [global::ProtoBuf.ProtoMember(2)] + public CMsgIPAddress ip { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string country + { + get => __pbn__country ?? ""; + set => __pbn__country = value; + } + public bool ShouldSerializecountry() => __pbn__country != null; + public void Resetcountry() => __pbn__country = null; + private string __pbn__country; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string state + { + get => __pbn__state ?? ""; + set => __pbn__state = value; + } + public bool ShouldSerializestate() => __pbn__state != null; + public void Resetstate() => __pbn__state = null; + private string __pbn__state; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string city + { + get => __pbn__city ?? ""; + set => __pbn__city = value; + } + public bool ShouldSerializecity() => __pbn__city != null; + public void Resetcity() => __pbn__city = null; + private string __pbn__city; + + } + } [global::ProtoBuf.ProtoContract()] @@ -1016,6 +1524,16 @@ public partial class CAuthenticationSupport_QueryRefreshTokensByAccount_Response [global::ProtoBuf.ProtoMember(1)] public global::System.Collections.Generic.List refresh_tokens { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2)] + public int last_token_reset + { + get => __pbn__last_token_reset.GetValueOrDefault(); + set => __pbn__last_token_reset = value; + } + public bool ShouldSerializelast_token_reset() => __pbn__last_token_reset != null; + public void Resetlast_token_reset() => __pbn__last_token_reset = null; + private int? __pbn__last_token_reset; + } [global::ProtoBuf.ProtoContract()] @@ -1066,6 +1584,16 @@ public ulong token_id public void Resettoken_id() => __pbn__token_id = null; private ulong? __pbn__token_id; + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get => __pbn__steamid.GetValueOrDefault(); + set => __pbn__steamid = value; + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + } [global::ProtoBuf.ProtoContract()] @@ -1303,6 +1831,16 @@ public enum EAuthSessionSecurityHistory k_EAuthSessionSecurityHistory_NoPriorHistory = 2, } + [global::ProtoBuf.ProtoContract()] + public enum EAuthTokenRevokeAction + { + k_EAuthTokenRevokeLogout = 0, + k_EAuthTokenRevokePermanent = 1, + k_EAuthTokenRevokeReplaced = 2, + k_EAuthTokenRevokeSupport = 3, + k_EAuthTokenRevokeConsume = 4, + } + [global::ProtoBuf.ProtoContract()] public enum EAuthTokenState { @@ -1312,6 +1850,7 @@ public enum EAuthTokenState k_EAuthTokenState_Issued = 3, k_EAuthTokenState_Denied = 4, k_EAuthTokenState_LoggedOut = 5, + k_EAuthTokenState_Consumed = 6, k_EAuthTokenState_Revoked = 99, } @@ -1325,8 +1864,10 @@ public interface IAuthentication CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response UpdateAuthSessionWithMobileConfirmation(CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request request); CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response UpdateAuthSessionWithSteamGuardCode(CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request request); CAuthentication_AccessToken_GenerateForApp_Response GenerateAccessTokenForApp(CAuthentication_AccessToken_GenerateForApp_Request request); + CAuthentication_RefreshToken_Enumerate_Response EnumerateTokens(CAuthentication_RefreshToken_Enumerate_Request request); CAuthentication_GetAuthSessionsForAccount_Response GetAuthSessionsForAccount(CAuthentication_GetAuthSessionsForAccount_Request request); CAuthentication_MigrateMobileSession_Response MigrateMobileSession(CAuthentication_MigrateMobileSession_Request request); + CAuthentication_RefreshToken_Revoke_Response RevokeRefreshToken(CAuthentication_RefreshToken_Revoke_Request request); } public interface IAuthenticationSupport diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs index 8e296ce82..e2e50d683 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBase.cs @@ -60,6 +60,35 @@ public ulong bucket } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgGCRoutingProtoBufHeader : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 dst_gcid_queue + { + get => __pbn__dst_gcid_queue.GetValueOrDefault(); + set => __pbn__dst_gcid_queue = value; + } + public bool ShouldSerializedst_gcid_queue() => __pbn__dst_gcid_queue != null; + public void Resetdst_gcid_queue() => __pbn__dst_gcid_queue = null; + private ulong? __pbn__dst_gcid_queue; + + [global::ProtoBuf.ProtoMember(2)] + public uint dst_gc_dir_index + { + get => __pbn__dst_gc_dir_index.GetValueOrDefault(); + set => __pbn__dst_gc_dir_index = value; + } + public bool ShouldSerializedst_gc_dir_index() => __pbn__dst_gc_dir_index != null; + public void Resetdst_gc_dir_index() => __pbn__dst_gc_dir_index = null; + private uint? __pbn__dst_gc_dir_index; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMsgProtoBufHeader : global::ProtoBuf.IExtensible { @@ -341,6 +370,9 @@ public ulong token_id public void Resettoken_id() => __pbn__token_id = null; private ulong? __pbn__token_id; + [global::ProtoBuf.ProtoMember(37)] + public CMsgGCRoutingProtoBufHeader routing_gc { get; set; } + [global::ProtoBuf.ProtoMember(15)] public uint ip { @@ -489,6 +521,16 @@ public byte[] ticket public void Resetticket() => __pbn__ticket = null; private byte[] __pbn__ticket; + [global::ProtoBuf.ProtoMember(8)] + public byte[] server_secret + { + get => __pbn__server_secret; + set => __pbn__server_secret = value; + } + public bool ShouldSerializeserver_secret() => __pbn__server_secret != null; + public void Resetserver_secret() => __pbn__server_secret = null; + private byte[] __pbn__server_secret; + } [global::ProtoBuf.ProtoContract()] @@ -622,6 +664,29 @@ public uint app_type public void Resetapp_type() => __pbn__app_type = null; private uint? __pbn__app_type; + [global::ProtoBuf.ProtoMember(15)] + public bool has_adult_content_sex + { + get => __pbn__has_adult_content_sex.GetValueOrDefault(); + set => __pbn__has_adult_content_sex = value; + } + public bool ShouldSerializehas_adult_content_sex() => __pbn__has_adult_content_sex != null; + public void Resethas_adult_content_sex() => __pbn__has_adult_content_sex = null; + private bool? __pbn__has_adult_content_sex; + + [global::ProtoBuf.ProtoMember(16)] + public bool has_adult_content_violence + { + get => __pbn__has_adult_content_violence.GetValueOrDefault(); + set => __pbn__has_adult_content_violence = value; + } + public bool ShouldSerializehas_adult_content_violence() => __pbn__has_adult_content_violence != null; + public void Resethas_adult_content_violence() => __pbn__has_adult_content_violence = null; + private bool? __pbn__has_adult_content_violence; + + [global::ProtoBuf.ProtoMember(17)] + public global::System.Collections.Generic.List content_descriptorids { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -1285,6 +1350,16 @@ public EBanContentCheckResult ban_check_result public void Resetban_check_result() => __pbn__ban_check_result = null; private EBanContentCheckResult? __pbn__ban_check_result; + [global::ProtoBuf.ProtoMember(17)] + public bool banned + { + get => __pbn__banned.GetValueOrDefault(); + set => __pbn__banned = value; + } + public bool ShouldSerializebanned() => __pbn__banned != null; + public void Resetbanned() => __pbn__banned = null; + private bool? __pbn__banned; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs index 7623ec489..d4123341e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgBroadcast.cs @@ -1996,6 +1996,17 @@ public bool is_partner_chat_only public void Resetis_partner_chat_only() => __pbn__is_partner_chat_only = null; private bool? __pbn__is_partner_chat_only; + [global::ProtoBuf.ProtoMember(12)] + [global::System.ComponentModel.DefaultValue("")] + public string wordban_list + { + get => __pbn__wordban_list ?? ""; + set => __pbn__wordban_list = value; + } + public bool ShouldSerializewordban_list() => __pbn__wordban_list != null; + public void Resetwordban_list() => __pbn__wordban_list = null; + private string __pbn__wordban_list; + } [global::ProtoBuf.ProtoContract()] @@ -2166,6 +2177,17 @@ public bool is_partner_chat_only public void Resetis_partner_chat_only() => __pbn__is_partner_chat_only = null; private bool? __pbn__is_partner_chat_only; + [global::ProtoBuf.ProtoMember(13)] + [global::System.ComponentModel.DefaultValue("")] + public string wordban_list + { + get => __pbn__wordban_list ?? ""; + set => __pbn__wordban_list = value; + } + public bool ShouldSerializewordban_list() => __pbn__wordban_list != null; + public void Resetwordban_list() => __pbn__wordban_list = null; + private string __pbn__wordban_list; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientMetrics.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientMetrics.cs index 696c204c1..9963b6938 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientMetrics.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientMetrics.cs @@ -635,6 +635,56 @@ public bool proxied public void Resetproxied() => __pbn__proxied = null; private bool? __pbn__proxied; + [global::ProtoBuf.ProtoMember(8)] + public bool used_http2 + { + get => __pbn__used_http2.GetValueOrDefault(); + set => __pbn__used_http2 = value; + } + public bool ShouldSerializeused_http2() => __pbn__used_http2 != null; + public void Resetused_http2() => __pbn__used_http2 = null; + private bool? __pbn__used_http2; + + [global::ProtoBuf.ProtoMember(9)] + public uint cache_hits + { + get => __pbn__cache_hits.GetValueOrDefault(); + set => __pbn__cache_hits = value; + } + public bool ShouldSerializecache_hits() => __pbn__cache_hits != null; + public void Resetcache_hits() => __pbn__cache_hits = null; + private uint? __pbn__cache_hits; + + [global::ProtoBuf.ProtoMember(10)] + public uint cache_misses + { + get => __pbn__cache_misses.GetValueOrDefault(); + set => __pbn__cache_misses = value; + } + public bool ShouldSerializecache_misses() => __pbn__cache_misses != null; + public void Resetcache_misses() => __pbn__cache_misses = null; + private uint? __pbn__cache_misses; + + [global::ProtoBuf.ProtoMember(11)] + public ulong hit_bytes + { + get => __pbn__hit_bytes.GetValueOrDefault(); + set => __pbn__hit_bytes = value; + } + public bool ShouldSerializehit_bytes() => __pbn__hit_bytes != null; + public void Resethit_bytes() => __pbn__hit_bytes = null; + private ulong? __pbn__hit_bytes; + + [global::ProtoBuf.ProtoMember(12)] + public ulong miss_bytes + { + get => __pbn__miss_bytes.GetValueOrDefault(); + set => __pbn__miss_bytes = value; + } + public bool ShouldSerializemiss_bytes() => __pbn__miss_bytes != null; + public void Resetmiss_bytes() => __pbn__miss_bytes = null; + private ulong? __pbn__miss_bytes; + } } @@ -989,6 +1039,98 @@ public uint cell_id } + [global::ProtoBuf.ProtoContract()] + public partial class CClientMetrics_ReportClientArgs_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 client_args { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public bool gpu_webview_regkey_disabled + { + get => __pbn__gpu_webview_regkey_disabled.GetValueOrDefault(); + set => __pbn__gpu_webview_regkey_disabled = value; + } + public bool ShouldSerializegpu_webview_regkey_disabled() => __pbn__gpu_webview_regkey_disabled != null; + public void Resetgpu_webview_regkey_disabled() => __pbn__gpu_webview_regkey_disabled = null; + private bool? __pbn__gpu_webview_regkey_disabled; + + [global::ProtoBuf.ProtoMember(3)] + public bool suppress_gpu_chrome + { + get => __pbn__suppress_gpu_chrome.GetValueOrDefault(); + set => __pbn__suppress_gpu_chrome = value; + } + public bool ShouldSerializesuppress_gpu_chrome() => __pbn__suppress_gpu_chrome != null; + public void Resetsuppress_gpu_chrome() => __pbn__suppress_gpu_chrome = null; + private bool? __pbn__suppress_gpu_chrome; + + [global::ProtoBuf.ProtoMember(4)] + public bool browser_not_supported + { + get => __pbn__browser_not_supported.GetValueOrDefault(); + set => __pbn__browser_not_supported = value; + } + public bool ShouldSerializebrowser_not_supported() => __pbn__browser_not_supported != null; + public void Resetbrowser_not_supported() => __pbn__browser_not_supported = null; + private bool? __pbn__browser_not_supported; + + [global::ProtoBuf.ProtoMember(5)] + public bool hw_accel_video_regkey_disabled + { + get => __pbn__hw_accel_video_regkey_disabled.GetValueOrDefault(); + set => __pbn__hw_accel_video_regkey_disabled = value; + } + public bool ShouldSerializehw_accel_video_regkey_disabled() => __pbn__hw_accel_video_regkey_disabled != null; + public void Resethw_accel_video_regkey_disabled() => __pbn__hw_accel_video_regkey_disabled = null; + private bool? __pbn__hw_accel_video_regkey_disabled; + + [global::ProtoBuf.ProtoMember(6)] + public bool mini_mode_enabled + { + get => __pbn__mini_mode_enabled.GetValueOrDefault(); + set => __pbn__mini_mode_enabled = value; + } + public bool ShouldSerializemini_mode_enabled() => __pbn__mini_mode_enabled != null; + public void Resetmini_mode_enabled() => __pbn__mini_mode_enabled = null; + private bool? __pbn__mini_mode_enabled; + + [global::ProtoBuf.ProtoMember(7)] + public bool fps_counter_enabled + { + get => __pbn__fps_counter_enabled.GetValueOrDefault(); + set => __pbn__fps_counter_enabled = value; + } + public bool ShouldSerializefps_counter_enabled() => __pbn__fps_counter_enabled != null; + public void Resetfps_counter_enabled() => __pbn__fps_counter_enabled = null; + private bool? __pbn__fps_counter_enabled; + + [global::ProtoBuf.ProtoMember(8)] + public bool library_low_bandwidth_mode_enabled + { + get => __pbn__library_low_bandwidth_mode_enabled.GetValueOrDefault(); + set => __pbn__library_low_bandwidth_mode_enabled = value; + } + public bool ShouldSerializelibrary_low_bandwidth_mode_enabled() => __pbn__library_low_bandwidth_mode_enabled != null; + public void Resetlibrary_low_bandwidth_mode_enabled() => __pbn__library_low_bandwidth_mode_enabled = null; + private bool? __pbn__library_low_bandwidth_mode_enabled; + + [global::ProtoBuf.ProtoMember(9)] + public bool library_low_perf_mode_enabled + { + get => __pbn__library_low_perf_mode_enabled.GetValueOrDefault(); + set => __pbn__library_low_perf_mode_enabled = value; + } + public bool ShouldSerializelibrary_low_perf_mode_enabled() => __pbn__library_low_perf_mode_enabled != null; + public void Resetlibrary_low_perf_mode_enabled() => __pbn__library_low_perf_mode_enabled = null; + private bool? __pbn__library_low_perf_mode_enabled; + + } + [global::ProtoBuf.ProtoContract()] public enum ESteamPipeWorkType { @@ -1017,6 +1159,7 @@ public interface IClientMetrics NoResponse ClientContentValidationReport(CClientMetrics_ContentValidation_Notification request); NoResponse ClientCloudAppSyncStats(CClientMetrics_CloudAppSyncStats_Notification request); NoResponse ClientDownloadResponseCodeCounts(CClientMetrics_ContentDownloadResponse_Counts_Notification request); + NoResponse ReportClientArgs(CClientMetrics_ReportClientArgs_Notification request); } } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientNotificationTypes.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientNotificationTypes.cs index ec682f9f9..9a4e0ecb5 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientNotificationTypes.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientNotificationTypes.cs @@ -429,6 +429,17 @@ public uint notificationid public void Resetnotificationid() => __pbn__notificationid = null; private uint? __pbn__notificationid; + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string response_steamurl + { + get => __pbn__response_steamurl ?? ""; + set => __pbn__response_steamurl = value; + } + public bool ShouldSerializeresponse_steamurl() => __pbn__response_steamurl != null; + public void Resetresponse_steamurl() => __pbn__response_steamurl = null; + private string __pbn__response_steamurl; + } [global::ProtoBuf.ProtoContract()] @@ -692,35 +703,6 @@ public bool new_backpack_items } - [global::ProtoBuf.ProtoContract()] - public partial class CClientNotificationInboxStats : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 friend_invite_count - { - get => __pbn__friend_invite_count.GetValueOrDefault(); - set => __pbn__friend_invite_count = value; - } - public bool ShouldSerializefriend_invite_count() => __pbn__friend_invite_count != null; - public void Resetfriend_invite_count() => __pbn__friend_invite_count = null; - private uint? __pbn__friend_invite_count; - - [global::ProtoBuf.ProtoMember(2)] - public uint new_comment_count - { - get => __pbn__new_comment_count.GetValueOrDefault(); - set => __pbn__new_comment_count = value; - } - public bool ShouldSerializenew_comment_count() => __pbn__new_comment_count != null; - public void Resetnew_comment_count() => __pbn__new_comment_count = null; - private uint? __pbn__new_comment_count; - - } - [global::ProtoBuf.ProtoContract()] public partial class CClientNotificationHardwareSurveyPending : global::ProtoBuf.IExtensible { @@ -779,6 +761,64 @@ public string notification_type } + [global::ProtoBuf.ProtoContract()] + public partial class CClientNotificationDockUnsupportedFirmware : global::ProtoBuf.IExtensible + { + private 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 CClientNotificationPeerContentUpload : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string peer_name + { + get => __pbn__peer_name ?? ""; + set => __pbn__peer_name = value; + } + public bool ShouldSerializepeer_name() => __pbn__peer_name != null; + public void Resetpeer_name() => __pbn__peer_name = null; + private string __pbn__peer_name; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CClientNotificationCannotReadControllerGuideButton : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 controller_index + { + get => __pbn__controller_index.GetValueOrDefault(); + set => __pbn__controller_index = value; + } + public bool ShouldSerializecontroller_index() => __pbn__controller_index != null; + public void Resetcontroller_index() => __pbn__controller_index = null; + private int? __pbn__controller_index; + + } + [global::ProtoBuf.ProtoContract()] public enum EClientNotificationType { @@ -806,6 +846,9 @@ public enum EClientNotificationType k_EClientNotificationType_HardwareSurvey = 21, k_EClientNotificationType_LowDiskSpace = 22, k_EClientNotificationType_BatteryTemperature = 23, + k_EClientNotificationType_DockUnsupportedFirmware = 24, + k_EClientNotificationType_PeerContentUpload = 25, + k_EClientNotificationType_CannotReadControllerGuideButton = 26, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs index 9b7f63e48..a1e7e67ae 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer.cs @@ -562,6 +562,45 @@ public bool recent_reauthentication public void Resetrecent_reauthentication() => __pbn__recent_reauthentication = null; private bool? __pbn__recent_reauthentication; + [global::ProtoBuf.ProtoContract()] + public partial class ProcessInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 process_id + { + get => __pbn__process_id.GetValueOrDefault(); + set => __pbn__process_id = value; + } + public bool ShouldSerializeprocess_id() => __pbn__process_id != null; + public void Resetprocess_id() => __pbn__process_id = null; + private uint? __pbn__process_id; + + [global::ProtoBuf.ProtoMember(2)] + public uint process_id_parent + { + get => __pbn__process_id_parent.GetValueOrDefault(); + set => __pbn__process_id_parent = value; + } + public bool ShouldSerializeprocess_id_parent() => __pbn__process_id_parent != null; + public void Resetprocess_id_parent() => __pbn__process_id_parent = null; + private uint? __pbn__process_id_parent; + + [global::ProtoBuf.ProtoMember(3)] + public bool parent_is_steam + { + get => __pbn__parent_is_steam.GetValueOrDefault(); + set => __pbn__parent_is_steam = value; + } + public bool ShouldSerializeparent_is_steam() => __pbn__parent_is_steam != null; + public void Resetparent_is_steam() => __pbn__parent_is_steam = null; + private bool? __pbn__parent_is_steam; + + } + [global::ProtoBuf.ProtoContract()] public partial class GamePlayed : global::ProtoBuf.IExtensible { @@ -886,6 +925,9 @@ public uint dlc_context public void Resetdlc_context() => __pbn__dlc_context = null; private uint? __pbn__dlc_context; + [global::ProtoBuf.ProtoMember(32)] + public global::System.Collections.Generic.List process_id_list { get; } = new global::System.Collections.Generic.List(); + } } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs index c6c4a9181..3a2030f78 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServer2.cs @@ -1349,310 +1349,6 @@ public string betadescription } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientUpdateAppJobReport : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - public uint app_id - { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; - } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List depot_ids { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public uint app_state - { - get => __pbn__app_state.GetValueOrDefault(); - set => __pbn__app_state = value; - } - public bool ShouldSerializeapp_state() => __pbn__app_state != null; - public void Resetapp_state() => __pbn__app_state = null; - private uint? __pbn__app_state; - - [global::ProtoBuf.ProtoMember(4)] - public uint job_app_error - { - get => __pbn__job_app_error.GetValueOrDefault(); - set => __pbn__job_app_error = value; - } - public bool ShouldSerializejob_app_error() => __pbn__job_app_error != null; - public void Resetjob_app_error() => __pbn__job_app_error = null; - private uint? __pbn__job_app_error; - - [global::ProtoBuf.ProtoMember(5)] - [global::System.ComponentModel.DefaultValue("")] - public string error_details - { - get => __pbn__error_details ?? ""; - set => __pbn__error_details = value; - } - public bool ShouldSerializeerror_details() => __pbn__error_details != null; - public void Reseterror_details() => __pbn__error_details = null; - private string __pbn__error_details; - - [global::ProtoBuf.ProtoMember(6)] - public uint job_duration - { - get => __pbn__job_duration.GetValueOrDefault(); - set => __pbn__job_duration = value; - } - public bool ShouldSerializejob_duration() => __pbn__job_duration != null; - public void Resetjob_duration() => __pbn__job_duration = null; - private uint? __pbn__job_duration; - - [global::ProtoBuf.ProtoMember(7)] - public uint files_validation_failed - { - get => __pbn__files_validation_failed.GetValueOrDefault(); - set => __pbn__files_validation_failed = value; - } - public bool ShouldSerializefiles_validation_failed() => __pbn__files_validation_failed != null; - public void Resetfiles_validation_failed() => __pbn__files_validation_failed = null; - private uint? __pbn__files_validation_failed; - - [global::ProtoBuf.ProtoMember(8)] - public ulong job_bytes_downloaded - { - get => __pbn__job_bytes_downloaded.GetValueOrDefault(); - set => __pbn__job_bytes_downloaded = value; - } - public bool ShouldSerializejob_bytes_downloaded() => __pbn__job_bytes_downloaded != null; - public void Resetjob_bytes_downloaded() => __pbn__job_bytes_downloaded = null; - private ulong? __pbn__job_bytes_downloaded; - - [global::ProtoBuf.ProtoMember(9)] - public ulong job_bytes_staged - { - get => __pbn__job_bytes_staged.GetValueOrDefault(); - set => __pbn__job_bytes_staged = value; - } - public bool ShouldSerializejob_bytes_staged() => __pbn__job_bytes_staged != null; - public void Resetjob_bytes_staged() => __pbn__job_bytes_staged = null; - private ulong? __pbn__job_bytes_staged; - - [global::ProtoBuf.ProtoMember(10)] - public ulong bytes_comitted - { - get => __pbn__bytes_comitted.GetValueOrDefault(); - set => __pbn__bytes_comitted = value; - } - public bool ShouldSerializebytes_comitted() => __pbn__bytes_comitted != null; - public void Resetbytes_comitted() => __pbn__bytes_comitted = null; - private ulong? __pbn__bytes_comitted; - - [global::ProtoBuf.ProtoMember(11)] - public uint start_app_state - { - get => __pbn__start_app_state.GetValueOrDefault(); - set => __pbn__start_app_state = value; - } - public bool ShouldSerializestart_app_state() => __pbn__start_app_state != null; - public void Resetstart_app_state() => __pbn__start_app_state = null; - private uint? __pbn__start_app_state; - - [global::ProtoBuf.ProtoMember(12, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public ulong stats_machine_id - { - get => __pbn__stats_machine_id.GetValueOrDefault(); - set => __pbn__stats_machine_id = value; - } - public bool ShouldSerializestats_machine_id() => __pbn__stats_machine_id != null; - public void Resetstats_machine_id() => __pbn__stats_machine_id = null; - private ulong? __pbn__stats_machine_id; - - [global::ProtoBuf.ProtoMember(13)] - [global::System.ComponentModel.DefaultValue("")] - public string branch_name - { - get => __pbn__branch_name ?? ""; - set => __pbn__branch_name = value; - } - public bool ShouldSerializebranch_name() => __pbn__branch_name != null; - public void Resetbranch_name() => __pbn__branch_name = null; - private string __pbn__branch_name; - - [global::ProtoBuf.ProtoMember(14)] - public ulong total_bytes_downloaded - { - get => __pbn__total_bytes_downloaded.GetValueOrDefault(); - set => __pbn__total_bytes_downloaded = value; - } - public bool ShouldSerializetotal_bytes_downloaded() => __pbn__total_bytes_downloaded != null; - public void Resettotal_bytes_downloaded() => __pbn__total_bytes_downloaded = null; - private ulong? __pbn__total_bytes_downloaded; - - [global::ProtoBuf.ProtoMember(15)] - public ulong total_bytes_staged - { - get => __pbn__total_bytes_staged.GetValueOrDefault(); - set => __pbn__total_bytes_staged = value; - } - public bool ShouldSerializetotal_bytes_staged() => __pbn__total_bytes_staged != null; - public void Resettotal_bytes_staged() => __pbn__total_bytes_staged = null; - private ulong? __pbn__total_bytes_staged; - - [global::ProtoBuf.ProtoMember(16)] - public ulong total_bytes_restored - { - get => __pbn__total_bytes_restored.GetValueOrDefault(); - set => __pbn__total_bytes_restored = value; - } - public bool ShouldSerializetotal_bytes_restored() => __pbn__total_bytes_restored != null; - public void Resettotal_bytes_restored() => __pbn__total_bytes_restored = null; - private ulong? __pbn__total_bytes_restored; - - [global::ProtoBuf.ProtoMember(17)] - public bool is_borrowed - { - get => __pbn__is_borrowed.GetValueOrDefault(); - set => __pbn__is_borrowed = value; - } - public bool ShouldSerializeis_borrowed() => __pbn__is_borrowed != null; - public void Resetis_borrowed() => __pbn__is_borrowed = null; - private bool? __pbn__is_borrowed; - - [global::ProtoBuf.ProtoMember(18)] - public bool is_free_weekend - { - get => __pbn__is_free_weekend.GetValueOrDefault(); - set => __pbn__is_free_weekend = value; - } - public bool ShouldSerializeis_free_weekend() => __pbn__is_free_weekend != null; - public void Resetis_free_weekend() => __pbn__is_free_weekend = null; - private bool? __pbn__is_free_weekend; - - [global::ProtoBuf.ProtoMember(19)] - public ulong total_bytes_legacy - { - get => __pbn__total_bytes_legacy.GetValueOrDefault(); - set => __pbn__total_bytes_legacy = value; - } - public bool ShouldSerializetotal_bytes_legacy() => __pbn__total_bytes_legacy != null; - public void Resettotal_bytes_legacy() => __pbn__total_bytes_legacy = null; - private ulong? __pbn__total_bytes_legacy; - - [global::ProtoBuf.ProtoMember(20)] - public ulong total_bytes_patched - { - get => __pbn__total_bytes_patched.GetValueOrDefault(); - set => __pbn__total_bytes_patched = value; - } - public bool ShouldSerializetotal_bytes_patched() => __pbn__total_bytes_patched != null; - public void Resettotal_bytes_patched() => __pbn__total_bytes_patched = null; - private ulong? __pbn__total_bytes_patched; - - [global::ProtoBuf.ProtoMember(21)] - public ulong total_bytes_saved - { - get => __pbn__total_bytes_saved.GetValueOrDefault(); - set => __pbn__total_bytes_saved = value; - } - public bool ShouldSerializetotal_bytes_saved() => __pbn__total_bytes_saved != null; - public void Resettotal_bytes_saved() => __pbn__total_bytes_saved = null; - private ulong? __pbn__total_bytes_saved; - - [global::ProtoBuf.ProtoMember(22)] - public uint cell_id - { - get => __pbn__cell_id.GetValueOrDefault(); - set => __pbn__cell_id = value; - } - public bool ShouldSerializecell_id() => __pbn__cell_id != null; - public void Resetcell_id() => __pbn__cell_id = null; - private uint? __pbn__cell_id; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientDPContentStatsReport : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 stats_machine_id - { - get => __pbn__stats_machine_id.GetValueOrDefault(); - set => __pbn__stats_machine_id = value; - } - public bool ShouldSerializestats_machine_id() => __pbn__stats_machine_id != null; - public void Resetstats_machine_id() => __pbn__stats_machine_id = null; - private ulong? __pbn__stats_machine_id; - - [global::ProtoBuf.ProtoMember(2)] - [global::System.ComponentModel.DefaultValue("")] - public string country_code - { - get => __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(3)] - public int os_type - { - get => __pbn__os_type.GetValueOrDefault(); - set => __pbn__os_type = value; - } - public bool ShouldSerializeos_type() => __pbn__os_type != null; - public void Resetos_type() => __pbn__os_type = null; - private int? __pbn__os_type; - - [global::ProtoBuf.ProtoMember(4)] - public int language - { - get => __pbn__language.GetValueOrDefault(); - set => __pbn__language = value; - } - public bool ShouldSerializelanguage() => __pbn__language != null; - public void Resetlanguage() => __pbn__language = null; - private int? __pbn__language; - - [global::ProtoBuf.ProtoMember(5)] - public uint num_install_folders - { - get => __pbn__num_install_folders.GetValueOrDefault(); - set => __pbn__num_install_folders = value; - } - public bool ShouldSerializenum_install_folders() => __pbn__num_install_folders != null; - public void Resetnum_install_folders() => __pbn__num_install_folders = null; - private uint? __pbn__num_install_folders; - - [global::ProtoBuf.ProtoMember(6)] - public uint num_installed_games - { - get => __pbn__num_installed_games.GetValueOrDefault(); - set => __pbn__num_installed_games = value; - } - public bool ShouldSerializenum_installed_games() => __pbn__num_installed_games != null; - public void Resetnum_installed_games() => __pbn__num_installed_games = null; - private uint? __pbn__num_installed_games; - - [global::ProtoBuf.ProtoMember(7)] - public ulong size_installed_games - { - get => __pbn__size_installed_games.GetValueOrDefault(); - set => __pbn__size_installed_games = value; - } - public bool ShouldSerializesize_installed_games() => __pbn__size_installed_games != null; - public void Resetsize_installed_games() => __pbn__size_installed_games = null; - private ulong? __pbn__size_installed_games; - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientGetCDNAuthTokenResponse : global::ProtoBuf.IExtensible { @@ -3325,16 +3021,6 @@ public bool password_or_secretqa_change_requires_code public void Resetpassword_or_secretqa_change_requires_code() => __pbn__password_or_secretqa_change_requires_code = null; private bool? __pbn__password_or_secretqa_change_requires_code; - [global::ProtoBuf.ProtoMember(6)] - public bool remind_user_about_email - { - get => __pbn__remind_user_about_email.GetValueOrDefault(); - set => __pbn__remind_user_about_email = value; - } - public bool ShouldSerializeremind_user_about_email() => __pbn__remind_user_about_email != null; - public void Resetremind_user_about_email() => __pbn__remind_user_about_email = null; - private bool? __pbn__remind_user_about_email; - } [global::ProtoBuf.ProtoContract()] @@ -4748,16 +4434,46 @@ public uint last_callcomplete_delta } [global::ProtoBuf.ProtoContract()] - public partial class CMsgAMUnlockStreaming : global::ProtoBuf.IExtensible + public partial class CMsgAMUnlockH264 : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + [global::ProtoBuf.ProtoMember(2)] + public int platform + { + get => __pbn__platform.GetValueOrDefault(); + set => __pbn__platform = value; + } + public bool ShouldSerializeplatform() => __pbn__platform != null; + public void Resetplatform() => __pbn__platform = null; + private int? __pbn__platform; + + [global::ProtoBuf.ProtoMember(3)] + public int reason + { + get => __pbn__reason.GetValueOrDefault(); + set => __pbn__reason = value; + } + public bool ShouldSerializereason() => __pbn__reason != null; + public void Resetreason() => __pbn__reason = null; + private int? __pbn__reason; + } [global::ProtoBuf.ProtoContract()] - public partial class CMsgAMUnlockStreamingResponse : global::ProtoBuf.IExtensible + public partial class CMsgAMUnlockH264Response : global::ProtoBuf.IExtensible { private global::ProtoBuf.IExtension __pbn__extensionData; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) @@ -4786,35 +4502,6 @@ public byte[] encryption_key } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgAMUnlockHEVC : global::ProtoBuf.IExtensible - { - private 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 CMsgAMUnlockHEVCResponse : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - [global::System.ComponentModel.DefaultValue(2)] - public int eresult - { - get => __pbn__eresult ?? 2; - set => __pbn__eresult = value; - } - public bool ShouldSerializeeresult() => __pbn__eresult != null; - public void Reseteresult() => __pbn__eresult = null; - private int? __pbn__eresult; - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientPlayingSessionState : global::ProtoBuf.IExtensible { @@ -4991,6 +4678,84 @@ public uint badge_level } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientStartPeerContentServer : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get => __pbn__steamid.GetValueOrDefault(); + set => __pbn__steamid = value; + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong client_remote_id + { + get => __pbn__client_remote_id.GetValueOrDefault(); + set => __pbn__client_remote_id = value; + } + public bool ShouldSerializeclient_remote_id() => __pbn__client_remote_id != null; + public void Resetclient_remote_id() => __pbn__client_remote_id = null; + private ulong? __pbn__client_remote_id; + + [global::ProtoBuf.ProtoMember(3)] + public uint app_id + { + get => __pbn__app_id.GetValueOrDefault(); + set => __pbn__app_id = value; + } + public bool ShouldSerializeapp_id() => __pbn__app_id != null; + public void Resetapp_id() => __pbn__app_id = null; + private uint? __pbn__app_id; + + [global::ProtoBuf.ProtoMember(4)] + public uint current_build_id + { + get => __pbn__current_build_id.GetValueOrDefault(); + set => __pbn__current_build_id = value; + } + public bool ShouldSerializecurrent_build_id() => __pbn__current_build_id != null; + public void Resetcurrent_build_id() => __pbn__current_build_id = null; + private uint? __pbn__current_build_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientStartPeerContentServerResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 => __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 uint server_port + { + get => __pbn__server_port.GetValueOrDefault(); + set => __pbn__server_port = value; + } + public bool ShouldSerializeserver_port() => __pbn__server_port != null; + public void Resetserver_port() => __pbn__server_port = null; + private uint? __pbn__server_port; + + } + } #pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerAppInfo.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerAppInfo.cs index f686b821b..368ba2710 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerAppInfo.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerAppInfo.cs @@ -125,188 +125,6 @@ public uint section_flags } - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientAppInfoResponse : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 apps { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List apps_unknown { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public uint apps_pending - { - get => __pbn__apps_pending.GetValueOrDefault(); - set => __pbn__apps_pending = value; - } - public bool ShouldSerializeapps_pending() => __pbn__apps_pending != null; - public void Resetapps_pending() => __pbn__apps_pending = null; - private uint? __pbn__apps_pending; - - [global::ProtoBuf.ProtoContract()] - public partial class App : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - public uint app_id - { - get => __pbn__app_id.GetValueOrDefault(); - set => __pbn__app_id = value; - } - public bool ShouldSerializeapp_id() => __pbn__app_id != null; - public void Resetapp_id() => __pbn__app_id = null; - private uint? __pbn__app_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint change_number - { - get => __pbn__change_number.GetValueOrDefault(); - set => __pbn__change_number = value; - } - public bool ShouldSerializechange_number() => __pbn__change_number != null; - public void Resetchange_number() => __pbn__change_number = null; - private uint? __pbn__change_number; - - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List
sections { get; } = new global::System.Collections.Generic.List
(); - - [global::ProtoBuf.ProtoContract()] - public partial class Section : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 section_id - { - get => __pbn__section_id.GetValueOrDefault(); - set => __pbn__section_id = value; - } - public bool ShouldSerializesection_id() => __pbn__section_id != null; - public void Resetsection_id() => __pbn__section_id = null; - private uint? __pbn__section_id; - - [global::ProtoBuf.ProtoMember(2)] - public byte[] section_kv - { - get => __pbn__section_kv; - set => __pbn__section_kv = value; - } - public bool ShouldSerializesection_kv() => __pbn__section_kv != null; - public void Resetsection_kv() => __pbn__section_kv = null; - private byte[] __pbn__section_kv; - - } - - } - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientPackageInfoRequest : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 package_ids { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(2)] - public bool meta_data_only - { - get => __pbn__meta_data_only.GetValueOrDefault(); - set => __pbn__meta_data_only = value; - } - public bool ShouldSerializemeta_data_only() => __pbn__meta_data_only != null; - public void Resetmeta_data_only() => __pbn__meta_data_only = null; - private bool? __pbn__meta_data_only; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CMsgClientPackageInfoResponse : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 packages { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(2)] - public global::System.Collections.Generic.List packages_unknown { get; } = new global::System.Collections.Generic.List(); - - [global::ProtoBuf.ProtoMember(3)] - public uint packages_pending - { - get => __pbn__packages_pending.GetValueOrDefault(); - set => __pbn__packages_pending = value; - } - public bool ShouldSerializepackages_pending() => __pbn__packages_pending != null; - public void Resetpackages_pending() => __pbn__packages_pending = null; - private uint? __pbn__packages_pending; - - [global::ProtoBuf.ProtoContract()] - public partial class Package : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.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 package_id - { - get => __pbn__package_id.GetValueOrDefault(); - set => __pbn__package_id = value; - } - public bool ShouldSerializepackage_id() => __pbn__package_id != null; - public void Resetpackage_id() => __pbn__package_id = null; - private uint? __pbn__package_id; - - [global::ProtoBuf.ProtoMember(2)] - public uint change_number - { - get => __pbn__change_number.GetValueOrDefault(); - set => __pbn__change_number = value; - } - public bool ShouldSerializechange_number() => __pbn__change_number != null; - public void Resetchange_number() => __pbn__change_number = null; - private uint? __pbn__change_number; - - [global::ProtoBuf.ProtoMember(3)] - public byte[] sha - { - get => __pbn__sha; - set => __pbn__sha = value; - } - public bool ShouldSerializesha() => __pbn__sha != null; - public void Resetsha() => __pbn__sha = null; - private byte[] __pbn__sha; - - [global::ProtoBuf.ProtoMember(4)] - public byte[] buffer - { - get => __pbn__buffer; - set => __pbn__buffer = value; - } - public bool ShouldSerializebuffer() => __pbn__buffer != null; - public void Resetbuffer() => __pbn__buffer = null; - private byte[] __pbn__buffer; - - } - - } - [global::ProtoBuf.ProtoContract()] public partial class CMsgClientPICSChangesSinceRequest : global::ProtoBuf.IExtensible { @@ -543,14 +361,24 @@ public uint num_prev_failed private uint? __pbn__num_prev_failed; [global::ProtoBuf.ProtoMember(5)] - public uint supports_package_tokens + public uint OBSOLETE_supports_package_tokens + { + get => __pbn__OBSOLETE_supports_package_tokens.GetValueOrDefault(); + set => __pbn__OBSOLETE_supports_package_tokens = value; + } + public bool ShouldSerializeOBSOLETE_supports_package_tokens() => __pbn__OBSOLETE_supports_package_tokens != null; + public void ResetOBSOLETE_supports_package_tokens() => __pbn__OBSOLETE_supports_package_tokens = null; + private uint? __pbn__OBSOLETE_supports_package_tokens; + + [global::ProtoBuf.ProtoMember(6)] + public uint sequence_number { - get => __pbn__supports_package_tokens.GetValueOrDefault(); - set => __pbn__supports_package_tokens = value; + get => __pbn__sequence_number.GetValueOrDefault(); + set => __pbn__sequence_number = 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; + public bool ShouldSerializesequence_number() => __pbn__sequence_number != null; + public void Resetsequence_number() => __pbn__sequence_number = null; + private uint? __pbn__sequence_number; [global::ProtoBuf.ProtoContract()] public partial class AppInfo : global::ProtoBuf.IExtensible diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs index 7828387c8..6b7d32df9 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerLogin.cs @@ -714,6 +714,26 @@ public string access_token public void Resetaccess_token() => __pbn__access_token = null; private string __pbn__access_token; + [global::ProtoBuf.ProtoMember(109)] + public bool is_chrome_os + { + get => __pbn__is_chrome_os.GetValueOrDefault(); + set => __pbn__is_chrome_os = value; + } + public bool ShouldSerializeis_chrome_os() => __pbn__is_chrome_os != null; + public void Resetis_chrome_os() => __pbn__is_chrome_os = null; + private bool? __pbn__is_chrome_os; + + [global::ProtoBuf.ProtoMember(110)] + public bool is_tesla + { + get => __pbn__is_tesla.GetValueOrDefault(); + set => __pbn__is_tesla = value; + } + public bool ShouldSerializeis_tesla() => __pbn__is_tesla != null; + public void Resetis_tesla() => __pbn__is_tesla = null; + private bool? __pbn__is_tesla; + } [global::ProtoBuf.ProtoContract()] @@ -1194,16 +1214,6 @@ public string facebook_name public void Resetfacebook_name() => __pbn__facebook_name = null; private string __pbn__facebook_name; - [global::ProtoBuf.ProtoMember(14)] - public bool steamguard_notify_newmachines - { - get => __pbn__steamguard_notify_newmachines.GetValueOrDefault(); - set => __pbn__steamguard_notify_newmachines = value; - } - public bool ShouldSerializesteamguard_notify_newmachines() => __pbn__steamguard_notify_newmachines != null; - public void Resetsteamguard_notify_newmachines() => __pbn__steamguard_notify_newmachines = null; - private bool? __pbn__steamguard_notify_newmachines; - [global::ProtoBuf.ProtoMember(15)] [global::System.ComponentModel.DefaultValue("")] public string steamguard_machine_name_user_chosen diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerUDS.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerUDS.cs index a6c81b95a..0694b9d2b 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerUDS.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgClientServerUDS.cs @@ -173,16 +173,6 @@ public uint package_version public void Resetpackage_version() => __pbn__package_version = null; private uint? __pbn__package_version; - [global::ProtoBuf.ProtoMember(8)] - public uint protocol_version - { - get => __pbn__protocol_version.GetValueOrDefault(); - set => __pbn__protocol_version = value; - } - public bool ShouldSerializeprotocol_version() => __pbn__protocol_version != null; - public void Resetprotocol_version() => __pbn__protocol_version = null; - private uint? __pbn__protocol_version; - [global::ProtoBuf.ProtoMember(2)] [global::System.ComponentModel.DefaultValue("")] public string os @@ -227,6 +217,9 @@ public string ip_private public void Resetip_private() => __pbn__ip_private = null; private string __pbn__ip_private; + [global::ProtoBuf.ProtoMember(6)] + public global::System.Collections.Generic.List games_running { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(7)] public ulong bytes_available { @@ -237,8 +230,25 @@ public ulong bytes_available public void Resetbytes_available() => __pbn__bytes_available = null; private ulong? __pbn__bytes_available; - [global::ProtoBuf.ProtoMember(6)] - public global::System.Collections.Generic.List games_running { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(8)] + public uint protocol_version + { + get => __pbn__protocol_version.GetValueOrDefault(); + set => __pbn__protocol_version = value; + } + public bool ShouldSerializeprotocol_version() => __pbn__protocol_version != null; + public void Resetprotocol_version() => __pbn__protocol_version = null; + private uint? __pbn__protocol_version; + + [global::ProtoBuf.ProtoMember(9)] + public uint clientcomm_version + { + get => __pbn__clientcomm_version.GetValueOrDefault(); + set => __pbn__clientcomm_version = value; + } + public bool ShouldSerializeclientcomm_version() => __pbn__clientcomm_version != null; + public void Resetclientcomm_version() => __pbn__clientcomm_version = null; + private uint? __pbn__clientcomm_version; [global::ProtoBuf.ProtoContract()] public partial class Game : global::ProtoBuf.IExtensible @@ -349,6 +359,16 @@ public bool comics public void Resetcomics() => __pbn__comics = null; private bool? __pbn__comics; + [global::ProtoBuf.ProtoMember(7)] + public bool include_client_info + { + get => __pbn__include_client_info.GetValueOrDefault(); + set => __pbn__include_client_info = value; + } + public bool ShouldSerializeinclude_client_info() => __pbn__include_client_info != null; + public void Resetinclude_client_info() => __pbn__include_client_info = null; + private bool? __pbn__include_client_info; + } [global::ProtoBuf.ProtoContract()] @@ -371,6 +391,9 @@ public ulong bytes_available public void Resetbytes_available() => __pbn__bytes_available = null; private ulong? __pbn__bytes_available; + [global::ProtoBuf.ProtoMember(3)] + public CMsgClientGetClientDetailsResponse client_info { get; set; } + [global::ProtoBuf.ProtoContract()] public partial class App : global::ProtoBuf.IExtensible { @@ -451,14 +474,14 @@ public ulong bytes_downloaded private ulong? __pbn__bytes_downloaded; [global::ProtoBuf.ProtoMember(7)] - public ulong bytes_needed + public ulong bytes_to_download { - get => __pbn__bytes_needed.GetValueOrDefault(); - set => __pbn__bytes_needed = value; + get => __pbn__bytes_to_download.GetValueOrDefault(); + set => __pbn__bytes_to_download = value; } - public bool ShouldSerializebytes_needed() => __pbn__bytes_needed != null; - public void Resetbytes_needed() => __pbn__bytes_needed = null; - private ulong? __pbn__bytes_needed; + public bool ShouldSerializebytes_to_download() => __pbn__bytes_to_download != null; + public void Resetbytes_to_download() => __pbn__bytes_to_download = null; + private ulong? __pbn__bytes_to_download; [global::ProtoBuf.ProtoMember(8)] public uint bytes_download_rate @@ -470,6 +493,9 @@ public uint bytes_download_rate public void Resetbytes_download_rate() => __pbn__bytes_download_rate = null; private uint? __pbn__bytes_download_rate; + [global::ProtoBuf.ProtoMember(9)] + public global::System.Collections.Generic.List dlcs { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(11)] public bool download_paused { @@ -520,8 +546,95 @@ public bool available_on_platform public void Resetavailable_on_platform() => __pbn__available_on_platform = null; private bool? __pbn__available_on_platform; - [global::ProtoBuf.ProtoMember(9)] - public global::System.Collections.Generic.List dlcs { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(16)] + public ulong bytes_staged + { + get => __pbn__bytes_staged.GetValueOrDefault(); + set => __pbn__bytes_staged = value; + } + public bool ShouldSerializebytes_staged() => __pbn__bytes_staged != null; + public void Resetbytes_staged() => __pbn__bytes_staged = null; + private ulong? __pbn__bytes_staged; + + [global::ProtoBuf.ProtoMember(17)] + public ulong bytes_to_stage + { + get => __pbn__bytes_to_stage.GetValueOrDefault(); + set => __pbn__bytes_to_stage = value; + } + public bool ShouldSerializebytes_to_stage() => __pbn__bytes_to_stage != null; + public void Resetbytes_to_stage() => __pbn__bytes_to_stage = null; + private ulong? __pbn__bytes_to_stage; + + [global::ProtoBuf.ProtoMember(18)] + public ulong bytes_required + { + get => __pbn__bytes_required.GetValueOrDefault(); + set => __pbn__bytes_required = value; + } + public bool ShouldSerializebytes_required() => __pbn__bytes_required != null; + public void Resetbytes_required() => __pbn__bytes_required = null; + private ulong? __pbn__bytes_required; + + [global::ProtoBuf.ProtoMember(19)] + public uint source_buildid + { + get => __pbn__source_buildid.GetValueOrDefault(); + set => __pbn__source_buildid = value; + } + public bool ShouldSerializesource_buildid() => __pbn__source_buildid != null; + public void Resetsource_buildid() => __pbn__source_buildid = null; + private uint? __pbn__source_buildid; + + [global::ProtoBuf.ProtoMember(20)] + public uint target_buildid + { + get => __pbn__target_buildid.GetValueOrDefault(); + set => __pbn__target_buildid = value; + } + public bool ShouldSerializetarget_buildid() => __pbn__target_buildid != null; + public void Resettarget_buildid() => __pbn__target_buildid = null; + private uint? __pbn__target_buildid; + + [global::ProtoBuf.ProtoMember(21)] + public uint estimated_seconds_remaining + { + get => __pbn__estimated_seconds_remaining.GetValueOrDefault(); + set => __pbn__estimated_seconds_remaining = value; + } + public bool ShouldSerializeestimated_seconds_remaining() => __pbn__estimated_seconds_remaining != null; + public void Resetestimated_seconds_remaining() => __pbn__estimated_seconds_remaining = null; + private uint? __pbn__estimated_seconds_remaining; + + [global::ProtoBuf.ProtoMember(22)] + public int queue_position + { + get => __pbn__queue_position.GetValueOrDefault(); + set => __pbn__queue_position = value; + } + public bool ShouldSerializequeue_position() => __pbn__queue_position != null; + public void Resetqueue_position() => __pbn__queue_position = null; + private int? __pbn__queue_position; + + [global::ProtoBuf.ProtoMember(23)] + public bool uninstalling + { + get => __pbn__uninstalling.GetValueOrDefault(); + set => __pbn__uninstalling = value; + } + public bool ShouldSerializeuninstalling() => __pbn__uninstalling != null; + public void Resetuninstalling() => __pbn__uninstalling = null; + private bool? __pbn__uninstalling; + + [global::ProtoBuf.ProtoMember(24)] + public uint rt_time_scheduled + { + get => __pbn__rt_time_scheduled.GetValueOrDefault(); + set => __pbn__rt_time_scheduled = value; + } + public bool ShouldSerializert_time_scheduled() => __pbn__rt_time_scheduled != null; + public void Resetrt_time_scheduled() => __pbn__rt_time_scheduled = null; + private uint? __pbn__rt_time_scheduled; [global::ProtoBuf.ProtoContract()] public partial class DLC : global::ProtoBuf.IExtensible @@ -680,6 +793,44 @@ public uint result } + [global::ProtoBuf.ProtoContract()] + public partial class CMsgClientEnableOrDisableDownloads : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 => __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 partial class CMsgClientEnableOrDisableDownloadsResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 => __pbn__result.GetValueOrDefault(); + set => __pbn__result = value; + } + public bool ShouldSerializeresult() => __pbn__result != null; + public void Resetresult() => __pbn__result = null; + private uint? __pbn__result; + + } + } #pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgContentHubs.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgContentHubs.cs new file mode 100644 index 000000000..2bdc1d3b9 --- /dev/null +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgContentHubs.cs @@ -0,0 +1,196 @@ +// +// This file was generated by a tool; you should avoid making direct changes. +// Consider using 'partial classes' to extend these types +// Input: contenthubs.proto +// + +#region Designer generated code +#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +namespace SteamKit2.Internal +{ + + [global::ProtoBuf.ProtoContract()] + public partial class CStorePageFilter : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 SalePageFilter sale_filter { get; set; } + + [global::ProtoBuf.ProtoMember(2)] + public ContentHubFilter content_hub_filter { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List store_filters { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class SalePageFilter : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 sale_tagid + { + get => __pbn__sale_tagid.GetValueOrDefault(); + set => __pbn__sale_tagid = value; + } + public bool ShouldSerializesale_tagid() => __pbn__sale_tagid != null; + public void Resetsale_tagid() => __pbn__sale_tagid = null; + private uint? __pbn__sale_tagid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class ContentHubFilter : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 hub_type + { + get => __pbn__hub_type ?? ""; + set => __pbn__hub_type = value; + } + public bool ShouldSerializehub_type() => __pbn__hub_type != null; + public void Resethub_type() => __pbn__hub_type = null; + private string __pbn__hub_type; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string hub_category + { + get => __pbn__hub_category ?? ""; + set => __pbn__hub_category = value; + } + public bool ShouldSerializehub_category() => __pbn__hub_category != null; + public void Resethub_category() => __pbn__hub_category = null; + private string __pbn__hub_category; + + [global::ProtoBuf.ProtoMember(3)] + public uint hub_tagid + { + get => __pbn__hub_tagid.GetValueOrDefault(); + set => __pbn__hub_tagid = value; + } + public bool ShouldSerializehub_tagid() => __pbn__hub_tagid != null; + public void Resethub_tagid() => __pbn__hub_tagid = null; + private uint? __pbn__hub_tagid; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue(EContentHubDiscountFilterType.k_EContentHubDiscountFilterType_None)] + public EContentHubDiscountFilterType discount_filter + { + get => __pbn__discount_filter ?? EContentHubDiscountFilterType.k_EContentHubDiscountFilterType_None; + set => __pbn__discount_filter = value; + } + public bool ShouldSerializediscount_filter() => __pbn__discount_filter != null; + public void Resetdiscount_filter() => __pbn__discount_filter = null; + private EContentHubDiscountFilterType? __pbn__discount_filter; + + [global::ProtoBuf.ProtoMember(5)] + public OptInInfo optin { get; set; } + + [global::ProtoBuf.ProtoContract()] + public partial class OptInInfo : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(2)] + public uint optin_tagid + { + get => __pbn__optin_tagid.GetValueOrDefault(); + set => __pbn__optin_tagid = value; + } + public bool ShouldSerializeoptin_tagid() => __pbn__optin_tagid != null; + public void Resetoptin_tagid() => __pbn__optin_tagid = null; + private uint? __pbn__optin_tagid; + + [global::ProtoBuf.ProtoMember(3)] + public uint prune_tagid + { + get => __pbn__prune_tagid.GetValueOrDefault(); + set => __pbn__prune_tagid = value; + } + public bool ShouldSerializeprune_tagid() => __pbn__prune_tagid != null; + public void Resetprune_tagid() => __pbn__prune_tagid = null; + private uint? __pbn__prune_tagid; + + [global::ProtoBuf.ProtoMember(4)] + public bool optin_only + { + get => __pbn__optin_only.GetValueOrDefault(); + set => __pbn__optin_only = value; + } + public bool ShouldSerializeoptin_only() => __pbn__optin_only != null; + public void Resetoptin_only() => __pbn__optin_only = null; + private bool? __pbn__optin_only; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class StoreFilter : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 filter_json + { + get => __pbn__filter_json ?? ""; + set => __pbn__filter_json = value; + } + public bool ShouldSerializefilter_json() => __pbn__filter_json != null; + public void Resetfilter_json() => __pbn__filter_json = null; + private string __pbn__filter_json; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string cache_key + { + get => __pbn__cache_key ?? ""; + set => __pbn__cache_key = value; + } + public bool ShouldSerializecache_key() => __pbn__cache_key != null; + public void Resetcache_key() => __pbn__cache_key = null; + private string __pbn__cache_key; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public enum EContentHubDiscountFilterType + { + k_EContentHubDiscountFilterType_None = 0, + k_EContentHubDiscountFilterType_DiscountsOnly = 1, + k_EContentHubDiscountFilterType_PrioritizeDiscounts = 2, + } + +} + +#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +#endregion diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgContentSystem.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgContentSystem.cs index ab9bb867d..3a76b86f7 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgContentSystem.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgContentSystem.cs @@ -460,12 +460,162 @@ public ulong manifest_request_code } + [global::ProtoBuf.ProtoContract()] + public partial class CContentServerDirectory_GetCDNAuthToken_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 depot_id + { + get => __pbn__depot_id.GetValueOrDefault(); + set => __pbn__depot_id = value; + } + public bool ShouldSerializedepot_id() => __pbn__depot_id != null; + public void Resetdepot_id() => __pbn__depot_id = null; + private uint? __pbn__depot_id; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string host_name + { + get => __pbn__host_name ?? ""; + set => __pbn__host_name = value; + } + public bool ShouldSerializehost_name() => __pbn__host_name != null; + public void Resethost_name() => __pbn__host_name = null; + private string __pbn__host_name; + + [global::ProtoBuf.ProtoMember(3)] + public uint app_id + { + get => __pbn__app_id.GetValueOrDefault(); + set => __pbn__app_id = value; + } + public bool ShouldSerializeapp_id() => __pbn__app_id != null; + public void Resetapp_id() => __pbn__app_id = null; + private uint? __pbn__app_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CContentServerDirectory_GetCDNAuthToken_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string token + { + get => __pbn__token ?? ""; + set => __pbn__token = value; + } + public bool ShouldSerializetoken() => __pbn__token != null; + public void Resettoken() => __pbn__token = null; + private string __pbn__token; + + [global::ProtoBuf.ProtoMember(2)] + public uint expiration_time + { + get => __pbn__expiration_time.GetValueOrDefault(); + set => __pbn__expiration_time = value; + } + public bool ShouldSerializeexpiration_time() => __pbn__expiration_time != null; + public void Resetexpiration_time() => __pbn__expiration_time = null; + private uint? __pbn__expiration_time; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CContentServerDirectory_RequestPeerContentServer_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 remote_client_id + { + get => __pbn__remote_client_id.GetValueOrDefault(); + set => __pbn__remote_client_id = value; + } + public bool ShouldSerializeremote_client_id() => __pbn__remote_client_id != null; + public void Resetremote_client_id() => __pbn__remote_client_id = null; + private ulong? __pbn__remote_client_id; + + [global::ProtoBuf.ProtoMember(2)] + public ulong steamid + { + get => __pbn__steamid.GetValueOrDefault(); + set => __pbn__steamid = value; + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + + [global::ProtoBuf.ProtoMember(3)] + public ulong server_remote_client_id + { + get => __pbn__server_remote_client_id.GetValueOrDefault(); + set => __pbn__server_remote_client_id = value; + } + public bool ShouldSerializeserver_remote_client_id() => __pbn__server_remote_client_id != null; + public void Resetserver_remote_client_id() => __pbn__server_remote_client_id = null; + private ulong? __pbn__server_remote_client_id; + + [global::ProtoBuf.ProtoMember(4)] + public uint app_id + { + get => __pbn__app_id.GetValueOrDefault(); + set => __pbn__app_id = value; + } + public bool ShouldSerializeapp_id() => __pbn__app_id != null; + public void Resetapp_id() => __pbn__app_id = null; + private uint? __pbn__app_id; + + [global::ProtoBuf.ProtoMember(5)] + public uint current_build_id + { + get => __pbn__current_build_id.GetValueOrDefault(); + set => __pbn__current_build_id = value; + } + public bool ShouldSerializecurrent_build_id() => __pbn__current_build_id != null; + public void Resetcurrent_build_id() => __pbn__current_build_id = null; + private uint? __pbn__current_build_id; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CContentServerDirectory_RequestPeerContentServer_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 server_port + { + get => __pbn__server_port.GetValueOrDefault(); + set => __pbn__server_port = value; + } + public bool ShouldSerializeserver_port() => __pbn__server_port != null; + public void Resetserver_port() => __pbn__server_port = null; + private uint? __pbn__server_port; + + } + public interface IContentServerDirectory { CContentServerDirectory_GetServersForSteamPipe_Response GetServersForSteamPipe(CContentServerDirectory_GetServersForSteamPipe_Request request); CContentServerDirectory_GetDepotPatchInfo_Response GetDepotPatchInfo(CContentServerDirectory_GetDepotPatchInfo_Request request); CContentServerDirectory_GetClientUpdateHosts_Response GetClientUpdateHosts(CContentServerDirectory_GetClientUpdateHosts_Request request); CContentServerDirectory_GetManifestRequestCode_Response GetManifestRequestCode(CContentServerDirectory_GetManifestRequestCode_Request request); + CContentServerDirectory_GetCDNAuthToken_Response GetCDNAuthToken(CContentServerDirectory_GetCDNAuthToken_Request request); + CContentServerDirectory_RequestPeerContentServer_Response RequestPeerContentServer(CContentServerDirectory_RequestPeerContentServer_Request request); } } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs index fc4d6370b..fb401d3d4 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgCredentials.cs @@ -76,17 +76,6 @@ public partial class CCredentials_GetSteamGuardDetails_Request : global::ProtoBu 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(true)] - public bool include_new_authentications - { - get => __pbn__include_new_authentications ?? true; - set => __pbn__include_new_authentications = value; - } - public bool ShouldSerializeinclude_new_authentications() => __pbn__include_new_authentications != null; - public void Resetinclude_new_authentications() => __pbn__include_new_authentications = null; - private bool? __pbn__include_new_authentications; - [global::ProtoBuf.ProtoMember(2)] [global::System.ComponentModel.DefaultValue("")] public string webcookie @@ -150,9 +139,6 @@ public uint timestamp_steamguard_enabled public void Resettimestamp_steamguard_enabled() => __pbn__timestamp_steamguard_enabled = null; private uint? __pbn__timestamp_steamguard_enabled; - [global::ProtoBuf.ProtoMember(3)] - public global::System.Collections.Generic.List deprecated_newauthentication { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(4)] [global::System.ComponentModel.DefaultValue("")] public string deprecated_machine_name_userchosen @@ -227,90 +213,6 @@ public bool is_phone_verified public void Resetis_phone_verified() => __pbn__is_phone_verified = null; private bool? __pbn__is_phone_verified; - [global::ProtoBuf.ProtoContract()] - public partial class NewAuthentication : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] - public uint timestamp_steamguard_enabled - { - get => __pbn__timestamp_steamguard_enabled.GetValueOrDefault(); - set => __pbn__timestamp_steamguard_enabled = value; - } - public bool ShouldSerializetimestamp_steamguard_enabled() => __pbn__timestamp_steamguard_enabled != null; - public void Resettimestamp_steamguard_enabled() => __pbn__timestamp_steamguard_enabled = null; - private uint? __pbn__timestamp_steamguard_enabled; - - [global::ProtoBuf.ProtoMember(2)] - public bool is_web_cookie - { - get => __pbn__is_web_cookie.GetValueOrDefault(); - set => __pbn__is_web_cookie = value; - } - public bool ShouldSerializeis_web_cookie() => __pbn__is_web_cookie != null; - public void Resetis_web_cookie() => __pbn__is_web_cookie = null; - private bool? __pbn__is_web_cookie; - - [global::ProtoBuf.ProtoMember(3)] - public int deprecated_ipaddress - { - get => __pbn__deprecated_ipaddress.GetValueOrDefault(); - set => __pbn__deprecated_ipaddress = value; - } - public bool ShouldSerializedeprecated_ipaddress() => __pbn__deprecated_ipaddress != null; - public void Resetdeprecated_ipaddress() => __pbn__deprecated_ipaddress = null; - private int? __pbn__deprecated_ipaddress; - - [global::ProtoBuf.ProtoMember(4)] - [global::System.ComponentModel.DefaultValue("")] - public string geoloc_info - { - get => __pbn__geoloc_info ?? ""; - set => __pbn__geoloc_info = value; - } - public bool ShouldSerializegeoloc_info() => __pbn__geoloc_info != null; - public void Resetgeoloc_info() => __pbn__geoloc_info = null; - private string __pbn__geoloc_info; - - [global::ProtoBuf.ProtoMember(5)] - public bool is_remembered - { - get => __pbn__is_remembered.GetValueOrDefault(); - set => __pbn__is_remembered = value; - } - public bool ShouldSerializeis_remembered() => __pbn__is_remembered != null; - public void Resetis_remembered() => __pbn__is_remembered = null; - private bool? __pbn__is_remembered; - - [global::ProtoBuf.ProtoMember(6)] - [global::System.ComponentModel.DefaultValue("")] - public string machine_name_user_supplied - { - get => __pbn__machine_name_user_supplied ?? ""; - set => __pbn__machine_name_user_supplied = value; - } - public bool ShouldSerializemachine_name_user_supplied() => __pbn__machine_name_user_supplied != null; - public void Resetmachine_name_user_supplied() => __pbn__machine_name_user_supplied = null; - private string __pbn__machine_name_user_supplied; - - [global::ProtoBuf.ProtoMember(7)] - public int status - { - get => __pbn__status.GetValueOrDefault(); - set => __pbn__status = value; - } - public bool ShouldSerializestatus() => __pbn__status != null; - public void Resetstatus() => __pbn__status = null; - private int? __pbn__status; - - [global::ProtoBuf.ProtoMember(8)] - public CMsgIPAddress ip_address { get; set; } - - } - [global::ProtoBuf.ProtoContract()] public partial class SessionData : global::ProtoBuf.IExtensible { @@ -359,9 +261,6 @@ public bool authentication_exists_from_geoloc_before_mintime public void Resetauthentication_exists_from_geoloc_before_mintime() => __pbn__authentication_exists_from_geoloc_before_mintime = null; private bool? __pbn__authentication_exists_from_geoloc_before_mintime; - [global::ProtoBuf.ProtoMember(5)] - public global::System.Collections.Generic.List newauthentication { get; } = new global::System.Collections.Generic.List(); - [global::ProtoBuf.ProtoMember(6)] public bool authentication_exists_from_same_ip_before_mintime { @@ -397,44 +296,6 @@ public string public_ip_address } - [global::ProtoBuf.ProtoContract()] - public partial class CCredentials_NewMachineNotificationDialog_Request : global::ProtoBuf.IExtensible - { - private global::ProtoBuf.IExtension __pbn__extensionData; - global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) - => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); - - [global::ProtoBuf.ProtoMember(1)] - public bool is_approved - { - get => __pbn__is_approved.GetValueOrDefault(); - set => __pbn__is_approved = value; - } - public bool ShouldSerializeis_approved() => __pbn__is_approved != null; - public void Resetis_approved() => __pbn__is_approved = null; - private bool? __pbn__is_approved; - - [global::ProtoBuf.ProtoMember(2)] - public bool is_wizard_complete - { - get => __pbn__is_wizard_complete.GetValueOrDefault(); - set => __pbn__is_wizard_complete = value; - } - public bool ShouldSerializeis_wizard_complete() => __pbn__is_wizard_complete != null; - public void Resetis_wizard_complete() => __pbn__is_wizard_complete = null; - private bool? __pbn__is_wizard_complete; - - } - - [global::ProtoBuf.ProtoContract()] - public partial class CCredentials_NewMachineNotificationDialog_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 CCredentials_ValidateEmailAddress_Request : global::ProtoBuf.IExtensible { @@ -713,7 +574,6 @@ public interface ICredentials { CCredentials_TestAvailablePassword_Response TestAvailablePassword(CCredentials_TestAvailablePassword_Request request); CCredentials_GetSteamGuardDetails_Response GetSteamGuardDetails(CCredentials_GetSteamGuardDetails_Request request); - CCredentials_NewMachineNotificationDialog_Response NewMachineNotificationDialogResult(CCredentials_NewMachineNotificationDialog_Request request); CCredentials_ValidateEmailAddress_Response ValidateEmailAddress(CCredentials_ValidateEmailAddress_Request request); CCredentials_SteamGuardPhishingReport_Response SteamGuardPhishingReport(CCredentials_SteamGuardPhishingReport_Request request); CCredentials_LastCredentialChangeTime_Response GetCredentialChangeTimeDetails(CCredentials_LastCredentialChangeTime_Request request); diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs index e03d5c997..56e80cc5e 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDataPublisher.cs @@ -302,16 +302,6 @@ public bool is_free_weekend public void Resetis_free_weekend() => __pbn__is_free_weekend = null; private bool? __pbn__is_free_weekend; - [global::ProtoBuf.ProtoMember(19)] - public ulong total_bytes_legacy - { - get => __pbn__total_bytes_legacy.GetValueOrDefault(); - set => __pbn__total_bytes_legacy = value; - } - public bool ShouldSerializetotal_bytes_legacy() => __pbn__total_bytes_legacy != null; - public void Resettotal_bytes_legacy() => __pbn__total_bytes_legacy = null; - private ulong? __pbn__total_bytes_legacy; - [global::ProtoBuf.ProtoMember(20)] public ulong total_bytes_patched { diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgDeviceAuth.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDeviceAuth.cs index fa29efd0b..ea90dab55 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgDeviceAuth.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgDeviceAuth.cs @@ -643,6 +643,26 @@ public bool is_used public void Resetis_used() => __pbn__is_used = null; private bool? __pbn__is_used; + [global::ProtoBuf.ProtoMember(6)] + public uint time_removed + { + get => __pbn__time_removed.GetValueOrDefault(); + set => __pbn__time_removed = value; + } + public bool ShouldSerializetime_removed() => __pbn__time_removed != null; + public void Resettime_removed() => __pbn__time_removed = null; + private uint? __pbn__time_removed; + + [global::ProtoBuf.ProtoMember(7)] + public uint time_first + { + get => __pbn__time_first.GetValueOrDefault(); + set => __pbn__time_first = value; + } + public bool ShouldSerializetime_first() => __pbn__time_first != null; + public void Resettime_first() => __pbn__time_first = null; + private uint? __pbn__time_first; + } } @@ -745,6 +765,16 @@ public ulong steamid public void Resetsteamid() => __pbn__steamid = null; private ulong? __pbn__steamid; + [global::ProtoBuf.ProtoMember(2)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgMarketingMessages.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgMarketingMessages.cs index 2ba6d7285..92f936325 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgMarketingMessages.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgMarketingMessages.cs @@ -277,6 +277,28 @@ public string creator_name public void Resetcreator_name() => __pbn__creator_name = null; private string __pbn__creator_name; + [global::ProtoBuf.ProtoMember(24)] + [global::System.ComponentModel.DefaultValue("")] + public string template_vars_json + { + get => __pbn__template_vars_json ?? ""; + set => __pbn__template_vars_json = value; + } + public bool ShouldSerializetemplate_vars_json() => __pbn__template_vars_json != null; + public void Resettemplate_vars_json() => __pbn__template_vars_json = null; + private string __pbn__template_vars_json; + + [global::ProtoBuf.ProtoMember(25)] + [global::System.ComponentModel.DefaultValue("")] + public string additional_restrictions_json + { + get => __pbn__additional_restrictions_json ?? ""; + set => __pbn__additional_restrictions_json = value; + } + public bool ShouldSerializeadditional_restrictions_json() => __pbn__additional_restrictions_json != null; + public void Resetadditional_restrictions_json() => __pbn__additional_restrictions_json = null; + private string __pbn__additional_restrictions_json; + } [global::ProtoBuf.ProtoContract()] @@ -481,6 +503,85 @@ public bool already_seen } + [global::ProtoBuf.ProtoContract()] + public partial class CMarketingMessages_DoesUserHavePendingMarketingMessages_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(2)] + [global::System.ComponentModel.DefaultValue("")] + public string country_code + { + get => __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(3)] + public int elanguage + { + get => __pbn__elanguage.GetValueOrDefault(); + set => __pbn__elanguage = value; + } + public bool ShouldSerializeelanguage() => __pbn__elanguage != null; + public void Resetelanguage() => __pbn__elanguage = null; + private int? __pbn__elanguage; + + [global::ProtoBuf.ProtoMember(4)] + public int operating_system + { + get => __pbn__operating_system.GetValueOrDefault(); + set => __pbn__operating_system = value; + } + public bool ShouldSerializeoperating_system() => __pbn__operating_system != null; + public void Resetoperating_system() => __pbn__operating_system = null; + private int? __pbn__operating_system; + + [global::ProtoBuf.ProtoMember(5)] + public int client_package_version + { + get => __pbn__client_package_version.GetValueOrDefault(); + set => __pbn__client_package_version = value; + } + public bool ShouldSerializeclient_package_version() => __pbn__client_package_version != null; + public void Resetclient_package_version() => __pbn__client_package_version = null; + private int? __pbn__client_package_version; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CMarketingMessages_DoesUserHavePendingMarketingMessages_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public bool has_pending_messages + { + get => __pbn__has_pending_messages.GetValueOrDefault(); + set => __pbn__has_pending_messages = value; + } + public bool ShouldSerializehas_pending_messages() => __pbn__has_pending_messages != null; + public void Resethas_pending_messages() => __pbn__has_pending_messages = null; + private bool? __pbn__has_pending_messages; + + [global::ProtoBuf.ProtoMember(2)] + public int pending_message_count + { + get => __pbn__pending_message_count.GetValueOrDefault(); + set => __pbn__pending_message_count = value; + } + public bool ShouldSerializepending_message_count() => __pbn__pending_message_count != null; + public void Resetpending_message_count() => __pbn__pending_message_count = null; + private int? __pbn__pending_message_count; + + } + [global::ProtoBuf.ProtoContract()] public partial class CMarketingMessages_GetDisplayMarketingMessage_Request : global::ProtoBuf.IExtensible { @@ -578,6 +679,16 @@ public partial class CMarketingMessages_CreateMarketingMessage_Request : global: [global::ProtoBuf.ProtoMember(1)] public CMarketingMessageProto message { get; set; } + [global::ProtoBuf.ProtoMember(2)] + public bool from_json + { + get => __pbn__from_json.GetValueOrDefault(); + set => __pbn__from_json = value; + } + public bool ShouldSerializefrom_json() => __pbn__from_json != null; + public void Resetfrom_json() => __pbn__from_json = null; + private bool? __pbn__from_json; + } [global::ProtoBuf.ProtoContract()] @@ -619,6 +730,16 @@ public ulong gid [global::ProtoBuf.ProtoMember(2)] public CMarketingMessageProto message { get; set; } + [global::ProtoBuf.ProtoMember(3)] + public bool from_json + { + get => __pbn__from_json.GetValueOrDefault(); + set => __pbn__from_json = value; + } + public bool ShouldSerializefrom_json() => __pbn__from_json != null; + public void Resetfrom_json() => __pbn__from_json = null; + private bool? __pbn__from_json; + } [global::ProtoBuf.ProtoContract()] @@ -772,7 +893,9 @@ public interface IMarketingMessages { CMarketingMessages_GetActiveMarketingMessages_Response GetActiveMarketingMessages(CMarketingMessages_GetActiveMarketingMessages_Request request); CMarketingMessages_GetMarketingMessagesForUser_Response GetMarketingMessagesForUser(CMarketingMessages_GetMarketingMessagesForUser_Request request); + CMarketingMessages_DoesUserHavePendingMarketingMessages_Response DoesUserHavePendingMarketingMessages(CMarketingMessages_DoesUserHavePendingMarketingMessages_Request request); CMarketingMessages_GetDisplayMarketingMessage_Response GetDisplayMarketingMessage(CMarketingMessages_GetDisplayMarketingMessage_Request request); + CMarketingMessages_GetDisplayMarketingMessage_Response GetDisplayMarketingMessageAdmin(CMarketingMessages_GetDisplayMarketingMessage_Request request); NoResponse MarkMessageSeen(CMarketingMessages_MarkMessageSeen_Notification request); CMarketingMessages_GetMarketingMessage_Response GetMarketingMessage(CMarketingMessages_GetMarketingMessage_Request request); CMarketingMessages_CreateMarketingMessage_Response CreateMarketingMessage(CMarketingMessages_CreateMarketingMessage_Request request); diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPartnerApps.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPartnerApps.cs index 09d8262ee..9b0e509b3 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPartnerApps.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPartnerApps.cs @@ -293,6 +293,16 @@ public partial class CPartnerApps_FinishUploadDepot_Response : global::ProtoBuf. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + [global::ProtoBuf.ProtoMember(1)] + public ulong build_routing_id + { + get => __pbn__build_routing_id.GetValueOrDefault(); + set => __pbn__build_routing_id = value; + } + public bool ShouldSerializebuild_routing_id() => __pbn__build_routing_id != null; + public void Resetbuild_routing_id() => __pbn__build_routing_id = null; + private ulong? __pbn__build_routing_id; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs index d6165946e..131ab85ac 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPlayer.cs @@ -317,6 +317,19 @@ public bool has_dlc public void Resethas_dlc() => __pbn__has_dlc = null; private bool? __pbn__has_dlc; + [global::ProtoBuf.ProtoMember(17)] + public bool has_leaderboards + { + get => __pbn__has_leaderboards.GetValueOrDefault(); + set => __pbn__has_leaderboards = value; + } + public bool ShouldSerializehas_leaderboards() => __pbn__has_leaderboards != null; + public void Resethas_leaderboards() => __pbn__has_leaderboards = null; + private bool? __pbn__has_leaderboards; + + [global::ProtoBuf.ProtoMember(18)] + public global::System.Collections.Generic.List content_descriptorids { get; } = new global::System.Collections.Generic.List(); + } } @@ -775,6 +788,40 @@ public uint equipped_flags public void Resetequipped_flags() => __pbn__equipped_flags = null; private uint? __pbn__equipped_flags; + [global::ProtoBuf.ProtoMember(15)] + public global::System.Collections.Generic.List profile_colors { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class ProfileColor : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 style_name + { + get => __pbn__style_name ?? ""; + set => __pbn__style_name = value; + } + public bool ShouldSerializestyle_name() => __pbn__style_name != null; + public void Resetstyle_name() => __pbn__style_name = null; + private string __pbn__style_name; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string color + { + get => __pbn__color ?? ""; + set => __pbn__color = value; + } + public bool ShouldSerializecolor() => __pbn__color != null; + public void Resetcolor() => __pbn__color = null; + private string __pbn__color; + + } + } [global::ProtoBuf.ProtoContract()] @@ -1145,6 +1192,9 @@ public partial class CPlayer_GetProfileItemsOwned_Response : global::ProtoBuf.IE [global::ProtoBuf.ProtoMember(6)] public global::System.Collections.Generic.List steam_deck_keyboard_skins { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(7)] + public global::System.Collections.Generic.List steam_deck_startup_movies { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] @@ -1333,6 +1383,187 @@ public uint appid } + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_GetTopAchievementsForGames_Request : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public ulong steamid + { + get => __pbn__steamid.GetValueOrDefault(); + set => __pbn__steamid = value; + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string language + { + get => __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(3)] + public uint max_achievements + { + get => __pbn__max_achievements.GetValueOrDefault(); + set => __pbn__max_achievements = value; + } + public bool ShouldSerializemax_achievements() => __pbn__max_achievements != null; + public void Resetmax_achievements() => __pbn__max_achievements = null; + private uint? __pbn__max_achievements; + + [global::ProtoBuf.ProtoMember(4)] + public global::System.Collections.Generic.List appids { get; } = new global::System.Collections.Generic.List(); + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_GetTopAchievementsForGames_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 games { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Achievement : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint statid + { + get => __pbn__statid.GetValueOrDefault(); + set => __pbn__statid = value; + } + public bool ShouldSerializestatid() => __pbn__statid != null; + public void Resetstatid() => __pbn__statid = null; + private uint? __pbn__statid; + + [global::ProtoBuf.ProtoMember(2)] + public uint bit + { + get => __pbn__bit.GetValueOrDefault(); + set => __pbn__bit = value; + } + public bool ShouldSerializebit() => __pbn__bit != null; + public void Resetbit() => __pbn__bit = null; + private uint? __pbn__bit; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string name + { + get => __pbn__name ?? ""; + set => __pbn__name = value; + } + public bool ShouldSerializename() => __pbn__name != null; + public void Resetname() => __pbn__name = null; + private string __pbn__name; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string desc + { + get => __pbn__desc ?? ""; + set => __pbn__desc = value; + } + public bool ShouldSerializedesc() => __pbn__desc != null; + public void Resetdesc() => __pbn__desc = null; + private string __pbn__desc; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string icon + { + get => __pbn__icon ?? ""; + set => __pbn__icon = value; + } + public bool ShouldSerializeicon() => __pbn__icon != null; + public void Reseticon() => __pbn__icon = null; + private string __pbn__icon; + + [global::ProtoBuf.ProtoMember(6)] + [global::System.ComponentModel.DefaultValue("")] + public string icon_gray + { + get => __pbn__icon_gray ?? ""; + set => __pbn__icon_gray = value; + } + public bool ShouldSerializeicon_gray() => __pbn__icon_gray != null; + public void Reseticon_gray() => __pbn__icon_gray = null; + private string __pbn__icon_gray; + + [global::ProtoBuf.ProtoMember(7)] + public bool hidden + { + get => __pbn__hidden.GetValueOrDefault(); + set => __pbn__hidden = value; + } + public bool ShouldSerializehidden() => __pbn__hidden != null; + public void Resethidden() => __pbn__hidden = null; + private bool? __pbn__hidden; + + [global::ProtoBuf.ProtoMember(8)] + [global::System.ComponentModel.DefaultValue("")] + public string player_percent_unlocked + { + get => __pbn__player_percent_unlocked ?? ""; + set => __pbn__player_percent_unlocked = value; + } + public bool ShouldSerializeplayer_percent_unlocked() => __pbn__player_percent_unlocked != null; + public void Resetplayer_percent_unlocked() => __pbn__player_percent_unlocked = null; + private string __pbn__player_percent_unlocked; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class Game : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + [global::ProtoBuf.ProtoMember(2)] + public uint total_achievements + { + get => __pbn__total_achievements.GetValueOrDefault(); + set => __pbn__total_achievements = value; + } + public bool ShouldSerializetotal_achievements() => __pbn__total_achievements != null; + public void Resettotal_achievements() => __pbn__total_achievements = null; + private uint? __pbn__total_achievements; + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List achievements { get; } = new global::System.Collections.Generic.List(); + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CPlayer_GetAchievementsProgress_Request : global::ProtoBuf.IExtensible { @@ -1447,6 +1678,133 @@ public uint cache_time } + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_GetGameAchievements_Request : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string language + { + get => __pbn__language ?? ""; + set => __pbn__language = value; + } + public bool ShouldSerializelanguage() => __pbn__language != null; + public void Resetlanguage() => __pbn__language = null; + private string __pbn__language; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_GetGameAchievements_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 achievements { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class Achievement : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + [global::System.ComponentModel.DefaultValue("")] + public string internal_name + { + get => __pbn__internal_name ?? ""; + set => __pbn__internal_name = value; + } + public bool ShouldSerializeinternal_name() => __pbn__internal_name != null; + public void Resetinternal_name() => __pbn__internal_name = null; + private string __pbn__internal_name; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue("")] + public string localized_name + { + get => __pbn__localized_name ?? ""; + set => __pbn__localized_name = value; + } + public bool ShouldSerializelocalized_name() => __pbn__localized_name != null; + public void Resetlocalized_name() => __pbn__localized_name = null; + private string __pbn__localized_name; + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string localized_desc + { + get => __pbn__localized_desc ?? ""; + set => __pbn__localized_desc = value; + } + public bool ShouldSerializelocalized_desc() => __pbn__localized_desc != null; + public void Resetlocalized_desc() => __pbn__localized_desc = null; + private string __pbn__localized_desc; + + [global::ProtoBuf.ProtoMember(4)] + [global::System.ComponentModel.DefaultValue("")] + public string icon + { + get => __pbn__icon ?? ""; + set => __pbn__icon = value; + } + public bool ShouldSerializeicon() => __pbn__icon != null; + public void Reseticon() => __pbn__icon = null; + private string __pbn__icon; + + [global::ProtoBuf.ProtoMember(5)] + [global::System.ComponentModel.DefaultValue("")] + public string icon_gray + { + get => __pbn__icon_gray ?? ""; + set => __pbn__icon_gray = value; + } + public bool ShouldSerializeicon_gray() => __pbn__icon_gray != null; + public void Reseticon_gray() => __pbn__icon_gray = null; + private string __pbn__icon_gray; + + [global::ProtoBuf.ProtoMember(6)] + public bool hidden + { + get => __pbn__hidden.GetValueOrDefault(); + set => __pbn__hidden = value; + } + public bool ShouldSerializehidden() => __pbn__hidden != null; + public void Resethidden() => __pbn__hidden = null; + private bool? __pbn__hidden; + + [global::ProtoBuf.ProtoMember(7)] + [global::System.ComponentModel.DefaultValue("")] + public string player_percent_unlocked + { + get => __pbn__player_percent_unlocked ?? ""; + set => __pbn__player_percent_unlocked = value; + } + public bool ShouldSerializeplayer_percent_unlocked() => __pbn__player_percent_unlocked != null; + public void Resetplayer_percent_unlocked() => __pbn__player_percent_unlocked = null; + private string __pbn__player_percent_unlocked; + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CPlayer_GetFavoriteBadge_Request : global::ProtoBuf.IExtensible { @@ -1762,6 +2120,16 @@ public EBanContentCheckResult ban_check_result public void Resetban_check_result() => __pbn__ban_check_result = null; private EBanContentCheckResult? __pbn__ban_check_result; + [global::ProtoBuf.ProtoMember(14)] + public uint replay_year + { + get => __pbn__replay_year.GetValueOrDefault(); + set => __pbn__replay_year = value; + } + public bool ShouldSerializereplay_year() => __pbn__replay_year != null; + public void Resetreplay_year() => __pbn__replay_year = null; + private uint? __pbn__replay_year; + } [global::ProtoBuf.ProtoContract()] @@ -3151,14 +3519,15 @@ public partial class CPlayer_GetNewSteamAnnouncementState_Response : global::Pro => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); [global::ProtoBuf.ProtoMember(1)] - public int state + [global::System.ComponentModel.DefaultValue(ENewSteamAnnouncementState.k_ENewSteamAnnouncementState_Invalid)] + public ENewSteamAnnouncementState state { - get => __pbn__state.GetValueOrDefault(); + get => __pbn__state ?? ENewSteamAnnouncementState.k_ENewSteamAnnouncementState_Invalid; set => __pbn__state = value; } public bool ShouldSerializestate() => __pbn__state != null; public void Resetstate() => __pbn__state = null; - private int? __pbn__state; + private ENewSteamAnnouncementState? __pbn__state; [global::ProtoBuf.ProtoMember(2)] [global::System.ComponentModel.DefaultValue("")] @@ -3440,6 +3809,76 @@ public bool block_minors } + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_RecordDisconnectedPlaytime_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(3)] + public global::System.Collections.Generic.List play_sessions { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class PlayHistory : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + [global::ProtoBuf.ProtoMember(2)] + public uint session_time_start + { + get => __pbn__session_time_start.GetValueOrDefault(); + set => __pbn__session_time_start = value; + } + public bool ShouldSerializesession_time_start() => __pbn__session_time_start != null; + public void Resetsession_time_start() => __pbn__session_time_start = null; + private uint? __pbn__session_time_start; + + [global::ProtoBuf.ProtoMember(3)] + public uint seconds + { + get => __pbn__seconds.GetValueOrDefault(); + set => __pbn__seconds = value; + } + public bool ShouldSerializeseconds() => __pbn__seconds != null; + public void Resetseconds() => __pbn__seconds = null; + private uint? __pbn__seconds; + + [global::ProtoBuf.ProtoMember(4)] + public bool offline + { + get => __pbn__offline.GetValueOrDefault(); + set => __pbn__offline = value; + } + public bool ShouldSerializeoffline() => __pbn__offline != null; + public void Resetoffline() => __pbn__offline = null; + private bool? __pbn__offline; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPlayer_RecordDisconnectedPlaytime_Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + } + [global::ProtoBuf.ProtoContract()] public partial class CPlayer_LastPlayedTimes_Notification : global::ProtoBuf.IExtensible { @@ -3519,14 +3958,15 @@ public partial class CPlayer_NewSteamAnnouncementState_Notification : global::Pr => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); [global::ProtoBuf.ProtoMember(1)] - public int state + [global::System.ComponentModel.DefaultValue(ENewSteamAnnouncementState.k_ENewSteamAnnouncementState_Invalid)] + public ENewSteamAnnouncementState state { - get => __pbn__state.GetValueOrDefault(); + get => __pbn__state ?? ENewSteamAnnouncementState.k_ENewSteamAnnouncementState_Invalid; set => __pbn__state = value; } public bool ShouldSerializestate() => __pbn__state != null; public void Resetstate() => __pbn__state = null; - private int? __pbn__state; + private ENewSteamAnnouncementState? __pbn__state; [global::ProtoBuf.ProtoMember(2)] [global::System.ComponentModel.DefaultValue("")] @@ -3687,7 +4127,9 @@ public interface IPlayer CPlayer_GetProfileItemsEquipped_Response GetProfileItemsEquipped(CPlayer_GetProfileItemsEquipped_Request request); CPlayer_SetEquippedProfileItemFlags_Response SetEquippedProfileItemFlags(CPlayer_SetEquippedProfileItemFlags_Request request); CPlayer_GetEmoticonList_Response GetEmoticonList(CPlayer_GetEmoticonList_Request request); + CPlayer_GetTopAchievementsForGames_Response GetTopAchievementsForGames(CPlayer_GetTopAchievementsForGames_Request request); CPlayer_GetAchievementsProgress_Response GetAchievementsProgress(CPlayer_GetAchievementsProgress_Request request); + CPlayer_GetGameAchievements_Response GetGameAchievements(CPlayer_GetGameAchievements_Request request); CPlayer_GetFavoriteBadge_Response GetFavoriteBadge(CPlayer_GetFavoriteBadge_Request request); CPlayer_SetFavoriteBadge_Response SetFavoriteBadge(CPlayer_SetFavoriteBadge_Request request); CPlayer_GetProfileCustomization_Response GetProfileCustomization(CPlayer_GetProfileCustomization_Request request); @@ -3715,6 +4157,7 @@ public interface IPlayer CPlayer_UpdateSteamAnnouncementLastRead_Response UpdateSteamAnnouncementLastRead(CPlayer_UpdateSteamAnnouncementLastRead_Request request); CPlayer_GetPrivacySettings_Response GetPrivacySettings(CPlayer_GetPrivacySettings_Request request); CPlayer_GetDurationControl_Response GetDurationControl(CPlayer_GetDurationControl_Request request); + CPlayer_RecordDisconnectedPlaytime_Response RecordDisconnectedPlaytime(CPlayer_RecordDisconnectedPlaytime_Request request); } public interface IPlayerClient diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs index e4bbb7f4b..935dc266d 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgPublishedFile.cs @@ -3401,6 +3401,101 @@ public uint relationship } + [global::ProtoBuf.ProtoContract()] + public partial class CPublishedFile_GetAppRelationshipsBatched_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 global::System.Collections.Generic.List publishedfileids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public uint filter_relationship + { + get => __pbn__filter_relationship.GetValueOrDefault(); + set => __pbn__filter_relationship = value; + } + public bool ShouldSerializefilter_relationship() => __pbn__filter_relationship != null; + public void Resetfilter_relationship() => __pbn__filter_relationship = null; + private uint? __pbn__filter_relationship; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CPublishedFile_GetAppRelationshipsBatched_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 relationships { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class AppRelationship : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + [global::ProtoBuf.ProtoMember(2)] + public uint relationship + { + get => __pbn__relationship.GetValueOrDefault(); + set => __pbn__relationship = value; + } + public bool ShouldSerializerelationship() => __pbn__relationship != null; + public void Resetrelationship() => __pbn__relationship = null; + private uint? __pbn__relationship; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class PublishedFileAppRelationship : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 publishedfileid + { + get => __pbn__publishedfileid.GetValueOrDefault(); + set => __pbn__publishedfileid = value; + } + public bool ShouldSerializepublishedfileid() => __pbn__publishedfileid != null; + public void Resetpublishedfileid() => __pbn__publishedfileid = null; + private ulong? __pbn__publishedfileid; + + [global::ProtoBuf.ProtoMember(2)] + public uint result + { + get => __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(3)] + public global::System.Collections.Generic.List app_relationships { get; } = new global::System.Collections.Generic.List(); + + } + + } + [global::ProtoBuf.ProtoContract()] public partial class CPublishedFile_StartPlaytimeTracking_Request : global::ProtoBuf.IExtensible { @@ -4024,6 +4119,7 @@ public interface IPublishedFile CPublishedFile_AddAppRelationship_Response AddAppRelationship(CPublishedFile_AddAppRelationship_Request request); CPublishedFile_RemoveAppRelationship_Response RemoveAppRelationship(CPublishedFile_RemoveAppRelationship_Request request); CPublishedFile_GetAppRelationships_Response GetAppRelationships(CPublishedFile_GetAppRelationships_Request request); + CPublishedFile_GetAppRelationshipsBatched_Response GetAppRelationshipsBatched(CPublishedFile_GetAppRelationshipsBatched_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); diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgRemoteClientDiscovery.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgRemoteClientDiscovery.cs index f03331288..c202085cc 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgRemoteClientDiscovery.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgRemoteClientDiscovery.cs @@ -1008,6 +1008,7 @@ public enum ERemoteClientService k_ERemoteClientServiceGameStreaming = 2, k_ERemoteClientServiceSiteLicense = 4, k_ERemoteClientServiceContentCache = 8, + k_ERemoteClientServiceContentServer = 16, } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgRemoteClientMessages.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgRemoteClientMessages.cs index fee453c75..14e69a354 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgRemoteClientMessages.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgRemoteClientMessages.cs @@ -304,6 +304,16 @@ public ulong steamid public void Resetsteamid() => __pbn__steamid = null; private ulong? __pbn__steamid; + [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong remote_client_id + { + get => __pbn__remote_client_id.GetValueOrDefault(); + set => __pbn__remote_client_id = value; + } + public bool ShouldSerializeremote_client_id() => __pbn__remote_client_id != null; + public void Resetremote_client_id() => __pbn__remote_client_id = null; + private ulong? __pbn__remote_client_id; + } [global::ProtoBuf.ProtoContract()] diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgStore.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgStore.cs index 68c02d1f8..d89dd02be 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgStore.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgStore.cs @@ -674,6 +674,9 @@ public bool debug_get_solr_query public void Resetdebug_get_solr_query() => __pbn__debug_get_solr_query = null; private bool? __pbn__debug_get_solr_query; + [global::ProtoBuf.ProtoMember(12)] + public CStorePageFilter store_page_filter { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -761,6 +764,9 @@ public EStoreDiscoveryQueueType queue_type public void Resetqueue_type() => __pbn__queue_type = null; private EStoreDiscoveryQueueType? __pbn__queue_type; + [global::ProtoBuf.ProtoMember(2)] + public CStorePageFilter store_page_filter { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -814,6 +820,9 @@ public uint appid public void Resetappid() => __pbn__appid = null; private uint? __pbn__appid; + [global::ProtoBuf.ProtoMember(3)] + public CStorePageFilter store_page_filter { get; set; } + } [global::ProtoBuf.ProtoContract()] @@ -1019,6 +1028,51 @@ public uint experimental_cohort } + [global::ProtoBuf.ProtoContract()] + public partial class CStore_GetDiscoveryQueueSkippedApps_Request : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)] + public ulong steamid + { + get => __pbn__steamid.GetValueOrDefault(); + set => __pbn__steamid = value; + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + + [global::ProtoBuf.ProtoMember(2)] + [global::System.ComponentModel.DefaultValue(EStoreDiscoveryQueueType.k_EStoreDiscoveryQueueTypeNew)] + public EStoreDiscoveryQueueType queue_type + { + get => __pbn__queue_type ?? EStoreDiscoveryQueueType.k_EStoreDiscoveryQueueTypeNew; + set => __pbn__queue_type = value; + } + public bool ShouldSerializequeue_type() => __pbn__queue_type != null; + public void Resetqueue_type() => __pbn__queue_type = null; + private EStoreDiscoveryQueueType? __pbn__queue_type; + + [global::ProtoBuf.ProtoMember(3)] + public CStorePageFilter store_page_filter { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CStore_GetDiscoveryQueueSkippedApps_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 appids { get; } = new global::System.Collections.Generic.List(); + + } + [global::ProtoBuf.ProtoContract()] public partial class CStore_GetStorePreferences_Request : global::ProtoBuf.IExtensible { @@ -1085,26 +1139,6 @@ public bool platform_linux public void Resetplatform_linux() => __pbn__platform_linux = null; private bool? __pbn__platform_linux; - [global::ProtoBuf.ProtoMember(6)] - public bool hide_adult_content_violence - { - get => __pbn__hide_adult_content_violence.GetValueOrDefault(); - set => __pbn__hide_adult_content_violence = value; - } - public bool ShouldSerializehide_adult_content_violence() => __pbn__hide_adult_content_violence != null; - public void Resethide_adult_content_violence() => __pbn__hide_adult_content_violence = null; - private bool? __pbn__hide_adult_content_violence; - - [global::ProtoBuf.ProtoMember(7)] - public bool hide_adult_content_sex - { - get => __pbn__hide_adult_content_sex.GetValueOrDefault(); - set => __pbn__hide_adult_content_sex = value; - } - public bool ShouldSerializehide_adult_content_sex() => __pbn__hide_adult_content_sex != null; - public void Resethide_adult_content_sex() => __pbn__hide_adult_content_sex = null; - private bool? __pbn__hide_adult_content_sex; - [global::ProtoBuf.ProtoMember(8)] public uint timestamp_updated { @@ -1157,6 +1191,17 @@ public EProvideDeckFeedbackPreference provide_deck_feedback public void Resetprovide_deck_feedback() => __pbn__provide_deck_feedback = null; private EProvideDeckFeedbackPreference? __pbn__provide_deck_feedback; + [global::ProtoBuf.ProtoMember(13)] + [global::System.ComponentModel.DefaultValue("")] + public string additional_languages + { + get => __pbn__additional_languages ?? ""; + set => __pbn__additional_languages = value; + } + public bool ShouldSerializeadditional_languages() => __pbn__additional_languages != null; + public void Resetadditional_languages() => __pbn__additional_languages = null; + private string __pbn__additional_languages; + } [global::ProtoBuf.ProtoContract()] @@ -1505,6 +1550,7 @@ public interface IStore CStore_GetDiscoveryQueueSettings_Response GetDiscoveryQueueSettings(CStore_GetDiscoveryQueueSettings_Request request); CStore_SkipDiscoveryQueueItem_Response SkipDiscoveryQueueItem(CStore_SkipDiscoveryQueueItem_Request request); CStore_GetUserGameInterestState_Response GetUserGameInterestState(CStore_GetUserGameInterestState_Request request); + CStore_GetDiscoveryQueueSkippedApps_Response GetDiscoveryQueueSkippedApps(CStore_GetDiscoveryQueueSkippedApps_Request request); CStore_GetStorePreferences_Response GetStorePreferences(CStore_GetStorePreferences_Request request); CStore_GetTrendingAppsAmongFriends_Response GetTrendingAppsAmongFriends(CStore_GetTrendingAppsAmongFriends_Request request); CSteamDeckCompatibility_SetFeedback_Response SetCompatibilityFeedback(CSteamDeckCompatibility_SetFeedback_Request request); diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgStoreBrowse.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgStoreBrowse.cs index 1cc68508c..a1bf266e2 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgStoreBrowse.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgStoreBrowse.cs @@ -46,6 +46,26 @@ public uint bundleid public void Resetbundleid() => __pbn__bundleid = null; private uint? __pbn__bundleid; + [global::ProtoBuf.ProtoMember(4)] + public uint tagid + { + get => __pbn__tagid.GetValueOrDefault(); + set => __pbn__tagid = value; + } + public bool ShouldSerializetagid() => __pbn__tagid != null; + public void Resettagid() => __pbn__tagid = null; + private uint? __pbn__tagid; + + [global::ProtoBuf.ProtoMember(5)] + public uint creatorid + { + get => __pbn__creatorid.GetValueOrDefault(); + set => __pbn__creatorid = value; + } + public bool ShouldSerializecreatorid() => __pbn__creatorid != null; + public void Resetcreatorid() => __pbn__creatorid = null; + private uint? __pbn__creatorid; + } [global::ProtoBuf.ProtoContract()] @@ -515,6 +535,16 @@ public string store_url_path_override [global::ProtoBuf.ProtoMember(54)] public FreeWeekend free_weekend { get; set; } + [global::ProtoBuf.ProtoMember(55)] + public bool unlisted + { + get => __pbn__unlisted.GetValueOrDefault(); + set => __pbn__unlisted = value; + } + public bool ShouldSerializeunlisted() => __pbn__unlisted != null; + public void Resetunlisted() => __pbn__unlisted = null; + private bool? __pbn__unlisted; + [global::ProtoBuf.ProtoContract()] public partial class RelatedItems : global::ProtoBuf.IExtensible { @@ -1705,6 +1735,240 @@ public bool show_in_search } + [global::ProtoBuf.ProtoContract()] + public partial class CStoreBrowse_GetDLCForApps_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 StoreBrowseContext context { get; set; } + + [global::ProtoBuf.ProtoMember(2)] + public CStorePageFilter store_page_filter { get; set; } + + [global::ProtoBuf.ProtoMember(3)] + public global::System.Collections.Generic.List appids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4)] + public ulong steamid + { + get => __pbn__steamid.GetValueOrDefault(); + set => __pbn__steamid = value; + } + public bool ShouldSerializesteamid() => __pbn__steamid != null; + public void Resetsteamid() => __pbn__steamid = null; + private ulong? __pbn__steamid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CStoreBrowse_GetDLCForApps_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 dlc_data { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List playtime { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class DLCData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + [global::ProtoBuf.ProtoMember(2)] + public uint parentappid + { + get => __pbn__parentappid.GetValueOrDefault(); + set => __pbn__parentappid = value; + } + public bool ShouldSerializeparentappid() => __pbn__parentappid != null; + public void Resetparentappid() => __pbn__parentappid = null; + private uint? __pbn__parentappid; + + [global::ProtoBuf.ProtoMember(3)] + public uint release_date + { + get => __pbn__release_date.GetValueOrDefault(); + set => __pbn__release_date = value; + } + public bool ShouldSerializerelease_date() => __pbn__release_date != null; + public void Resetrelease_date() => __pbn__release_date = null; + private uint? __pbn__release_date; + + [global::ProtoBuf.ProtoMember(4)] + public bool coming_soon + { + get => __pbn__coming_soon.GetValueOrDefault(); + set => __pbn__coming_soon = value; + } + public bool ShouldSerializecoming_soon() => __pbn__coming_soon != null; + public void Resetcoming_soon() => __pbn__coming_soon = null; + private bool? __pbn__coming_soon; + + [global::ProtoBuf.ProtoMember(5)] + public long price + { + get => __pbn__price.GetValueOrDefault(); + set => __pbn__price = value; + } + public bool ShouldSerializeprice() => __pbn__price != null; + public void Resetprice() => __pbn__price = null; + private long? __pbn__price; + + [global::ProtoBuf.ProtoMember(6)] + public uint discount + { + get => __pbn__discount.GetValueOrDefault(); + set => __pbn__discount = value; + } + public bool ShouldSerializediscount() => __pbn__discount != null; + public void Resetdiscount() => __pbn__discount = null; + private uint? __pbn__discount; + + [global::ProtoBuf.ProtoMember(7)] + public bool free + { + get => __pbn__free.GetValueOrDefault(); + set => __pbn__free = value; + } + public bool ShouldSerializefree() => __pbn__free != null; + public void Resetfree() => __pbn__free = null; + private bool? __pbn__free; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class PlaytimeForApp : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1)] + public uint appid + { + get => __pbn__appid.GetValueOrDefault(); + set => __pbn__appid = value; + } + public bool ShouldSerializeappid() => __pbn__appid != null; + public void Resetappid() => __pbn__appid = null; + private uint? __pbn__appid; + + [global::ProtoBuf.ProtoMember(2)] + public uint playtime + { + get => __pbn__playtime.GetValueOrDefault(); + set => __pbn__playtime = value; + } + public bool ShouldSerializeplaytime() => __pbn__playtime != null; + public void Resetplaytime() => __pbn__playtime = null; + private uint? __pbn__playtime; + + [global::ProtoBuf.ProtoMember(3)] + public uint last_played + { + get => __pbn__last_played.GetValueOrDefault(); + set => __pbn__last_played = value; + } + public bool ShouldSerializelast_played() => __pbn__last_played != null; + public void Resetlast_played() => __pbn__last_played = null; + private uint? __pbn__last_played; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CStoreBrowse_GetDLCForAppsSolr_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 StoreBrowseContext context { get; set; } + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List appids { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue("")] + public string flavor + { + get => __pbn__flavor ?? ""; + set => __pbn__flavor = value; + } + public bool ShouldSerializeflavor() => __pbn__flavor != null; + public void Resetflavor() => __pbn__flavor = null; + private string __pbn__flavor; + + [global::ProtoBuf.ProtoMember(4)] + public uint count + { + get => __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(5)] + public CStorePageFilter store_page_filter { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CStoreBrowse_GetDLCForAppsSolr_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 dlc_lists { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class DLCList : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.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 parent_appid + { + get => __pbn__parent_appid.GetValueOrDefault(); + set => __pbn__parent_appid = value; + } + public bool ShouldSerializeparent_appid() => __pbn__parent_appid != null; + public void Resetparent_appid() => __pbn__parent_appid = null; + private uint? __pbn__parent_appid; + + [global::ProtoBuf.ProtoMember(2)] + public global::System.Collections.Generic.List dlc_appids { get; } = new global::System.Collections.Generic.List(); + + } + + } + [global::ProtoBuf.ProtoContract()] public enum EStoreItemType { @@ -1713,6 +1977,8 @@ public enum EStoreItemType k_EStoreItemType_Package = 1, k_EStoreItemType_Bundle = 2, k_EStoreItemType_Mtx = 3, + k_EStoreItemType_Tag = 4, + k_EStoreItemType_Creator = 5, } [global::ProtoBuf.ProtoContract()] @@ -1765,6 +2031,8 @@ public interface IStoreBrowse { CStoreBrowse_GetItems_Response GetItems(CStoreBrowse_GetItems_Request request); CStoreBrowse_GetStoreCategories_Response GetStoreCategories(CStoreBrowse_GetStoreCategories_Request request); + CStoreBrowse_GetDLCForApps_Response GetDLCForApps(CStoreBrowse_GetDLCForApps_Request request); + CStoreBrowse_GetDLCForAppsSolr_Response GetDLCForAppsSolr(CStoreBrowse_GetDLCForAppsSolr_Request request); } } diff --git a/SteamKit2/SteamKit2/Base/Generated/SteamMsgTwoFactor.cs b/SteamKit2/SteamKit2/Base/Generated/SteamMsgTwoFactor.cs index 99800fb05..067d7bd3f 100644 --- a/SteamKit2/SteamKit2/Base/Generated/SteamMsgTwoFactor.cs +++ b/SteamKit2/SteamKit2/Base/Generated/SteamMsgTwoFactor.cs @@ -168,6 +168,16 @@ public uint time_transferred public void Resettime_transferred() => __pbn__time_transferred = null; private uint? __pbn__time_transferred; + [global::ProtoBuf.ProtoMember(14)] + public uint version + { + get => __pbn__version.GetValueOrDefault(); + set => __pbn__version = value; + } + public bool ShouldSerializeversion() => __pbn__version != null; + public void Resetversion() => __pbn__version = null; + private uint? __pbn__version; + } [global::ProtoBuf.ProtoContract()] @@ -832,6 +842,17 @@ public bool generate_new_token public void Resetgenerate_new_token() => __pbn__generate_new_token = null; private bool? __pbn__generate_new_token; + [global::ProtoBuf.ProtoMember(3)] + [global::System.ComponentModel.DefaultValue(1)] + public uint version + { + get => __pbn__version ?? 1; + set => __pbn__version = value; + } + public bool ShouldSerializeversion() => __pbn__version != null; + public void Resetversion() => __pbn__version = null; + private uint? __pbn__version; + } [global::ProtoBuf.ProtoContract()]