From a016c7cdd483ea7a9ef04b2a7e3385abf18cab93 Mon Sep 17 00:00:00 2001 From: LossyDragon Date: Mon, 30 Sep 2024 22:20:06 -0500 Subject: [PATCH 1/2] Update protobufs and steamd --- .../steamuser/callback/LoggedOnCallback.kt | 6 +- .../steamclient/encrypted_app_ticket.proto | 10 +- .../protobufs/steamclient/enums.proto | 80 +- .../steammessages_auth.steamclient.proto | 9 + .../steamclient/steammessages_base.proto | 498 +++---- .../steammessages_chat.steamclient.proto | 1215 +++++++++-------- .../steammessages_clientserver.proto | 540 ++++---- .../steammessages_clientserver_2.proto | 842 ++++++------ .../steammessages_clientserver_appinfo.proto | 12 + .../steammessages_clientserver_friends.proto | 339 ++--- .../steammessages_clientserver_login.proto | 230 ++-- .../steammessages_clientserver_mms.proto | 9 + .../steammessages_clientserver_ucm.proto | 10 + .../steammessages_clientserver_uds.proto | 16 + ...mmessages_friendmessages.steamclient.proto | 170 +-- .../steammessages_inventory.steamclient.proto | 3 +- .../steammessages_parental.steamclient.proto | 67 +- .../steammessages_parental_objects.proto | 73 + .../steammessages_player.steamclient.proto | 6 + ...ges_remoteclient_service.steamclient.proto | 3 + ...ssages_remoteclient_service_messages.proto | 63 + ...eammessages_unified_base.steamclient.proto | 28 +- .../in/dragonbra/javasteam/enums.steamd | 1 - 23 files changed, 2222 insertions(+), 2008 deletions(-) create mode 100644 src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental_objects.proto diff --git a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamuser/callback/LoggedOnCallback.kt b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamuser/callback/LoggedOnCallback.kt index e6096b3a..5912fbb7 100644 --- a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamuser/callback/LoggedOnCallback.kt +++ b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamuser/callback/LoggedOnCallback.kt @@ -8,7 +8,7 @@ import `in`.dragonbra.javasteam.enums.EAccountFlags import `in`.dragonbra.javasteam.enums.EResult import `in`.dragonbra.javasteam.generated.MsgClientLogOnResponse import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverLogin.CMsgClientLogonResponse -import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesParentalSteamclient +import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesParentalObjects.ParentalSettings import `in`.dragonbra.javasteam.steam.handlers.steamuser.LogOnDetails import `in`.dragonbra.javasteam.steam.handlers.steamuser.SteamUser import `in`.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg @@ -123,7 +123,7 @@ class LoggedOnCallback : CallbackMsg { /** * Gets the Steam parental settings. */ - var parentalSettings: SteammessagesParentalSteamclient.ParentalSettings? = null + var parentalSettings: ParentalSettings? = null constructor(packetMsg: IPacketMsg) { if (!packetMsg.isProto) { @@ -167,7 +167,7 @@ class LoggedOnCallback : CallbackMsg { resp.parentalSettings?.let { try { - parentalSettings = SteammessagesParentalSteamclient.ParentalSettings.parseFrom(it) + parentalSettings = ParentalSettings.parseFrom(it) } catch (e: InvalidProtocolBufferException) { e.printStackTrace() } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/encrypted_app_ticket.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/encrypted_app_ticket.proto index 5b89015b..494621c8 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/encrypted_app_ticket.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/encrypted_app_ticket.proto @@ -4,9 +4,9 @@ option optimize_for = SPEED; option java_generic_services = false; message EncryptedAppTicket { - optional uint32 ticket_version_no = 1; - optional uint32 crc_encryptedticket = 2; - optional uint32 cb_encrypteduserdata = 3; - optional uint32 cb_encrypted_appownershipticket = 4; - optional bytes encrypted_ticket = 5; + optional uint32 ticket_version_no = 1; + optional uint32 crc_encryptedticket = 2; + optional uint32 cb_encrypteduserdata = 3; + optional uint32 cb_encrypted_appownershipticket = 4; + optional bytes encrypted_ticket = 5; } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/enums.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/enums.proto index e723c7c5..3abdf9d7 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/enums.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/enums.proto @@ -144,6 +144,12 @@ enum EColorGamutLabelSet { k_ColorGamutLabelSet_Native_sRGB_Boosted = 2; } +enum EWindowStackingOrder { + k_EWindowStackingOrder_Invalid = 0; + k_EWindowStackingOrder_Top = 1; + k_EWindowStackingOrder_Bottom = 2; +} + enum EBluetoothDeviceType { k_BluetoothDeviceType_Invalid = 0; k_BluetoothDeviceType_Unknown = 1; @@ -296,6 +302,7 @@ enum EUpdaterState { k_EUpdaterState_Applying = 5; k_EUpdaterState_ClientRestartPending = 6; k_EUpdaterState_SystemRestartPending = 7; + k_EUpdaterState_RollBack = 8; } enum EStorageBlockContentType { @@ -370,8 +377,10 @@ enum EOSBranch { k_EOSBranch_ReleaseCandidate = 2; k_EOSBranch_Beta = 3; k_EOSBranch_BetaCandidate = 4; - k_EOSBranch_Main = 5; - k_EOSBranch_Staging = 6; + k_EOSBranch_Preview = 5; + k_EOSBranch_PreviewCandidate = 6; + k_EOSBranch_Main = 7; + k_EOSBranch_Staging = 8; } enum ECommunityItemClass { @@ -438,6 +447,18 @@ enum ENewSteamAnnouncementState { k_ENewSteamAnnouncementState_FeaturedAnnouncement = 3; } +enum EForumType { + k_EForumType_Invalid = 0; + k_EForumType_General = 1; + k_EForumType_ReportedPosts = 2; + k_EForumType_Workshop = 3; + k_EForumType_PublishedFile = 4; + k_EForumType_Trading = 5; + k_EForumType_PlayTest = 6; + k_EForumType_Event = 7; + k_EForumType_Max = 8; +} + enum ECommentThreadType { k_ECommentThreadTypeInvalid = 0; k_ECommentThreadTypeScreenshot_Deprecated = 1; @@ -486,6 +507,7 @@ enum ECompromiseDetectionType { k_ECompromiseDetectionType_None = 0; k_ECompromiseDetectionType_TradeEvent = 1; k_ECompromiseDetectionType_ApiCallRate = 2; + k_ECompromiseDetectionType_Manual = 3; } enum EAsyncGameSessionUserState { @@ -500,3 +522,57 @@ enum EAsyncGameSessionUserVisibility { k_EAsyncGameSessionUserVisibilitySessionListOnly = 1; k_EAsyncGameSessionUserVisibilityDismissed = 2; } + +enum EGameRecordingType { + k_EGameRecordingType_Unknown = 0; + k_EGameRecordingType_NotRecording = 1; + k_EGameRecordingType_ManualRecording = 2; + k_EGameRecordingType_BackgroundRecording = 3; + k_EGameRecordingType_Clip = 4; +} + +enum EProtoAppType { + k_EAppTypeInvalid = 0; + k_EAppTypeGame = 1; + k_EAppTypeApplication = 2; + k_EAppTypeTool = 4; + k_EAppTypeDemo = 8; + k_EAppTypeDeprected = 16; + k_EAppTypeDLC = 32; + k_EAppTypeGuide = 64; + k_EAppTypeDriver = 128; + k_EAppTypeConfig = 256; + k_EAppTypeHardware = 512; + k_EAppTypeFranchise = 1024; + k_EAppTypeVideo = 2048; + k_EAppTypePlugin = 4096; + k_EAppTypeMusicAlbum = 8192; + k_EAppTypeSeries = 16384; + k_EAppTypeComic = 32768; + k_EAppTypeBeta = 65536; + k_EAppTypeShortcut = 1073741824; + k_EAppTypeDepotOnly = -2147483648; +} + +enum EWindowsUpdateInstallationImpact { + k_EWindowsUpdateInstallationImpact_Unknown = -1; + k_EWindowsUpdateInstallationImpact_Normal = 0; + k_EWindowsUpdateInstallationImpact_Minor = 1; + k_EWindowsUpdateInstallationImpact_ExclusiveHandling = 2; +} + +enum EWindowsUpdateRebootBehavior { + k_EWindowsUpdateRebootBehavior_Unknown = -1; + k_EWindowsUpdateRebootBehavior_NeverNeedsReboot = 0; + k_EWindowsUpdateRebootBehavior_AlwaysNeedsReboot = 1; + k_EWindowsUpdateRebootBehavior_MightNeedReboot = 2; +} + +enum EExternalSaleEventType { + k_EExternalSaleEventType_Unknown = 0; + k_EExternalSaleEventType_Publisher = 1; + k_EExternalSaleEventType_Showcase = 2; + k_EExternalSaleEventType_Region = 3; + k_EExternalSaleEventType_Theme = 4; + k_EExternalSaleEventType_Franchise = 5; +} diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_auth.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_auth.steamclient.proto index b585a5c7..d2e82b02 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_auth.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_auth.steamclient.proto @@ -36,6 +36,14 @@ enum ETokenRenewalType { k_ETokenRenewalType_Allow = 1; } +enum EAuthenticationType { + k_EAuthenticationType_Unknown = 0; + k_EAuthenticationType_Password = 1; + k_EAuthenticationType_QR = 2; + k_EAuthenticationType_AccountCreation = 3; + k_EAuthenticationType_GuestAccount = 4; +} + enum EAuthTokenRevokeAction { k_EAuthTokenRevokeLogout = 0; k_EAuthTokenRevokePermanent = 1; @@ -219,6 +227,7 @@ message CAuthentication_RefreshToken_Enumerate_Response { optional .CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent first_seen = 9; optional .CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent last_seen = 10; optional int32 os_type = 11; + optional .EAuthenticationType authentication_type = 12 [default = k_EAuthenticationType_Unknown]; } repeated .CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription refresh_tokens = 1; diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_base.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_base.proto index 5ded3fa9..dad8fcd5 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_base.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_base.proto @@ -7,331 +7,331 @@ option java_generic_services = false; option (force_php_generation) = true; extend .google.protobuf.MessageOptions { - optional int32 msgpool_soft_limit = 50000 [default = 32]; - optional int32 msgpool_hard_limit = 50001 [default = 384]; + optional int32 msgpool_soft_limit = 50000 [default = 32]; + optional int32 msgpool_hard_limit = 50001 [default = 384]; } extend .google.protobuf.FileOptions { - optional bool force_php_generation = 50000 [default = false]; + optional bool force_php_generation = 50000 [default = false]; } extend .google.protobuf.FieldOptions { - optional bool php_output_always_number = 50020 [default = false]; - optional bool allow_field_named_steam_id = 50024 [default = false]; + optional bool php_output_always_number = 50020 [default = false]; + optional bool allow_field_named_steam_id = 50024 [default = false]; } enum EBanContentCheckResult { - k_EBanContentCheckResult_NotScanned = 0; - k_EBanContentCheckResult_Reset = 1; - k_EBanContentCheckResult_NeedsChecking = 2; - k_EBanContentCheckResult_VeryUnlikely = 5; - k_EBanContentCheckResult_Unlikely = 30; - k_EBanContentCheckResult_Possible = 50; - k_EBanContentCheckResult_Likely = 75; - k_EBanContentCheckResult_VeryLikely = 100; + k_EBanContentCheckResult_NotScanned = 0; + k_EBanContentCheckResult_Reset = 1; + k_EBanContentCheckResult_NeedsChecking = 2; + k_EBanContentCheckResult_VeryUnlikely = 5; + k_EBanContentCheckResult_Unlikely = 30; + k_EBanContentCheckResult_Possible = 50; + k_EBanContentCheckResult_Likely = 75; + k_EBanContentCheckResult_VeryLikely = 100; } enum EProtoClanEventType { - k_EClanOtherEvent = 1; - k_EClanGameEvent = 2; - k_EClanPartyEvent = 3; - k_EClanMeetingEvent = 4; - k_EClanSpecialCauseEvent = 5; - k_EClanMusicAndArtsEvent = 6; - k_EClanSportsEvent = 7; - k_EClanTripEvent = 8; - k_EClanChatEvent = 9; - k_EClanGameReleaseEvent = 10; - k_EClanBroadcastEvent = 11; - k_EClanSmallUpdateEvent = 12; - k_EClanPreAnnounceMajorUpdateEvent = 13; - k_EClanMajorUpdateEvent = 14; - k_EClanDLCReleaseEvent = 15; - k_EClanFutureReleaseEvent = 16; - k_EClanESportTournamentStreamEvent = 17; - k_EClanDevStreamEvent = 18; - k_EClanFamousStreamEvent = 19; - k_EClanGameSalesEvent = 20; - k_EClanGameItemSalesEvent = 21; - k_EClanInGameBonusXPEvent = 22; - k_EClanInGameLootEvent = 23; - k_EClanInGamePerksEvent = 24; - k_EClanInGameChallengeEvent = 25; - k_EClanInGameContestEvent = 26; - k_EClanIRLEvent = 27; - k_EClanNewsEvent = 28; - k_EClanBetaReleaseEvent = 29; - k_EClanInGameContentReleaseEvent = 30; - k_EClanFreeTrial = 31; - k_EClanSeasonRelease = 32; - k_EClanSeasonUpdate = 33; - k_EClanCrosspostEvent = 34; - k_EClanInGameEventGeneral = 35; + k_EClanOtherEvent = 1; + k_EClanGameEvent = 2; + k_EClanPartyEvent = 3; + k_EClanMeetingEvent = 4; + k_EClanSpecialCauseEvent = 5; + k_EClanMusicAndArtsEvent = 6; + k_EClanSportsEvent = 7; + k_EClanTripEvent = 8; + k_EClanChatEvent = 9; + k_EClanGameReleaseEvent = 10; + k_EClanBroadcastEvent = 11; + k_EClanSmallUpdateEvent = 12; + k_EClanPreAnnounceMajorUpdateEvent = 13; + k_EClanMajorUpdateEvent = 14; + k_EClanDLCReleaseEvent = 15; + k_EClanFutureReleaseEvent = 16; + k_EClanESportTournamentStreamEvent = 17; + k_EClanDevStreamEvent = 18; + k_EClanFamousStreamEvent = 19; + k_EClanGameSalesEvent = 20; + k_EClanGameItemSalesEvent = 21; + k_EClanInGameBonusXPEvent = 22; + k_EClanInGameLootEvent = 23; + k_EClanInGamePerksEvent = 24; + k_EClanInGameChallengeEvent = 25; + k_EClanInGameContestEvent = 26; + k_EClanIRLEvent = 27; + k_EClanNewsEvent = 28; + k_EClanBetaReleaseEvent = 29; + k_EClanInGameContentReleaseEvent = 30; + k_EClanFreeTrial = 31; + k_EClanSeasonRelease = 32; + k_EClanSeasonUpdate = 33; + k_EClanCrosspostEvent = 34; + k_EClanInGameEventGeneral = 35; } enum PartnerEventNotificationType { - k_EEventStart = 0; - k_EEventBroadcastStart = 1; - k_EEventMatchStart = 2; - k_EEventPartnerMaxType = 3; + k_EEventStart = 0; + k_EEventBroadcastStart = 1; + k_EEventMatchStart = 2; + k_EEventPartnerMaxType = 3; } message CMsgIPAddress { - oneof ip { - fixed32 v4 = 1; - bytes v6 = 2; - } + oneof ip { + fixed32 v4 = 1; + bytes v6 = 2; + } } message CMsgIPAddressBucket { - optional .CMsgIPAddress original_ip_address = 1; - optional fixed64 bucket = 2; + optional .CMsgIPAddress original_ip_address = 1; + optional fixed64 bucket = 2; } message CMsgGCRoutingProtoBufHeader { - optional uint64 dst_gcid_queue = 1; - optional uint32 dst_gc_dir_index = 2; + optional uint64 dst_gcid_queue = 1; + optional uint32 dst_gc_dir_index = 2; } message CMsgProtoBufHeader { - enum ESessionDisposition { - k_ESessionDispositionNormal = 0; - k_ESessionDispositionDisconnect = 1; - } + enum ESessionDisposition { + k_ESessionDispositionNormal = 0; + k_ESessionDispositionDisconnect = 1; + } - optional fixed64 steamid = 1; - optional int32 client_sessionid = 2; - optional uint32 routing_appid = 3; - optional fixed64 jobid_source = 10 [default = 18446744073709551615]; - optional fixed64 jobid_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 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 .CMsgProtoBufHeader.ESessionDisposition session_disposition = 38 [default = k_ESessionDispositionNormal]; - optional string wg_token = 39; - optional string webui_auth_key = 40; - repeated int32 exclude_client_sessionids = 41; + optional fixed64 steamid = 1; + optional int32 client_sessionid = 2; + optional uint32 routing_appid = 3; + optional fixed64 jobid_source = 10 [default = 18446744073709551615]; + optional fixed64 jobid_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 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 .CMsgProtoBufHeader.ESessionDisposition session_disposition = 38 [default = k_ESessionDispositionNormal]; + optional string wg_token = 39; + optional string webui_auth_key = 40; + repeated int32 exclude_client_sessionids = 41; - oneof ip_addr { - uint32 ip = 15; - bytes ip_v6 = 29; - } + oneof ip_addr { + uint32 ip = 15; + bytes ip_v6 = 29; + } } message CMsgMulti { - optional uint32 size_unzipped = 1; - optional bytes message_body = 2; + optional uint32 size_unzipped = 1; + optional bytes message_body = 2; } message CMsgProtobufWrapped { - optional bytes message_body = 1; + optional bytes message_body = 1; } message CMsgAuthTicket { - optional uint32 estate = 1; - optional uint32 eresult = 2 [default = 2]; - optional fixed64 steamid = 3; - optional fixed64 gameid = 4; - optional uint32 h_steam_pipe = 5; - optional uint32 ticket_crc = 6; - optional bytes ticket = 7; - optional bytes server_secret = 8; - optional uint32 ticket_type = 9; + optional uint32 estate = 1; + optional uint32 eresult = 2 [default = 2]; + optional fixed64 steamid = 3; + optional fixed64 gameid = 4; + optional uint32 h_steam_pipe = 5; + optional uint32 ticket_crc = 6; + optional bytes ticket = 7; + optional bytes server_secret = 8; + optional uint32 ticket_type = 9; } message CCDDBAppDetailCommon { - optional uint32 appid = 1; - optional string name = 2; - optional string icon = 3; - optional bool tool = 6; - optional bool demo = 7; - optional bool media = 8; - optional bool community_visible_stats = 9; - optional string friendly_name = 10; - optional string propagation = 11; - optional bool has_adult_content = 12; - optional bool is_visible_in_steam_china = 13; - optional uint32 app_type = 14; - optional bool has_adult_content_sex = 15; - optional bool has_adult_content_violence = 16; - repeated uint32 content_descriptorids = 17; + optional uint32 appid = 1; + optional string name = 2; + optional string icon = 3; + optional bool tool = 6; + optional bool demo = 7; + optional bool media = 8; + optional bool community_visible_stats = 9; + optional string friendly_name = 10; + optional string propagation = 11; + optional bool has_adult_content = 12; + optional bool is_visible_in_steam_china = 13; + optional uint32 app_type = 14; + optional bool has_adult_content_sex = 15; + optional bool has_adult_content_violence = 16; + repeated uint32 content_descriptorids = 17; } message CMsgAppRights { - optional bool edit_info = 1; - optional bool publish = 2; - optional bool view_error_data = 3; - optional bool download = 4; - optional bool upload_cdkeys = 5; - optional bool generate_cdkeys = 6; - optional bool view_financials = 7; - optional bool manage_ceg = 8; - optional bool manage_signing = 9; - optional bool manage_cdkeys = 10; - optional bool edit_marketing = 11; - optional bool economy_support = 12; - optional bool economy_support_supervisor = 13; - optional bool manage_pricing = 14; - optional bool broadcast_live = 15; - optional bool view_marketing_traffic = 16; - optional bool edit_store_display_content = 17; + optional bool edit_info = 1; + optional bool publish = 2; + optional bool view_error_data = 3; + optional bool download = 4; + optional bool upload_cdkeys = 5; + optional bool generate_cdkeys = 6; + optional bool view_financials = 7; + optional bool manage_ceg = 8; + optional bool manage_signing = 9; + optional bool manage_cdkeys = 10; + optional bool edit_marketing = 11; + optional bool economy_support = 12; + optional bool economy_support_supervisor = 13; + optional bool manage_pricing = 14; + optional bool broadcast_live = 15; + optional bool view_marketing_traffic = 16; + optional bool edit_store_display_content = 17; } message CCuratorPreferences { - optional uint32 supported_languages = 1; - optional bool platform_windows = 2; - optional bool platform_mac = 3; - optional bool platform_linux = 4; - optional bool vr_content = 5; - optional bool adult_content_violence = 6; - optional bool adult_content_sex = 7; - optional uint32 timestamp_updated = 8; - repeated uint32 tagids_curated = 9; - repeated uint32 tagids_filtered = 10; - optional string website_title = 11; - optional string website_url = 12; - optional string discussion_url = 13; - optional bool show_broadcast = 14; + optional uint32 supported_languages = 1; + optional bool platform_windows = 2; + optional bool platform_mac = 3; + optional bool platform_linux = 4; + optional bool vr_content = 5; + optional bool adult_content_violence = 6; + optional bool adult_content_sex = 7; + optional uint32 timestamp_updated = 8; + repeated uint32 tagids_curated = 9; + repeated uint32 tagids_filtered = 10; + optional string website_title = 11; + optional string website_url = 12; + optional string discussion_url = 13; + optional bool show_broadcast = 14; } message CLocalizationToken { - optional uint32 language = 1; - optional string localized_string = 2; + optional uint32 language = 1; + optional string localized_string = 2; } message CClanEventUserNewsTuple { - optional uint32 clanid = 1; - optional fixed64 event_gid = 2; - optional fixed64 announcement_gid = 3; - optional uint32 rtime_start = 4; - optional uint32 rtime_end = 5; - optional uint32 priority_score = 6; - optional uint32 type = 7; - optional uint32 clamp_range_slot = 8; - optional uint32 appid = 9; - optional uint32 rtime32_last_modified = 10; + optional uint32 clanid = 1; + optional fixed64 event_gid = 2; + optional fixed64 announcement_gid = 3; + optional uint32 rtime_start = 4; + optional uint32 rtime_end = 5; + optional uint32 priority_score = 6; + optional uint32 type = 7; + optional uint32 clamp_range_slot = 8; + optional uint32 appid = 9; + optional uint32 rtime32_last_modified = 10; } message CClanMatchEventByRange { - optional uint32 rtime_before = 1; - optional uint32 rtime_after = 2; - optional uint32 qualified = 3; - repeated .CClanEventUserNewsTuple events = 4; + optional uint32 rtime_before = 1; + optional uint32 rtime_after = 2; + optional uint32 qualified = 3; + repeated .CClanEventUserNewsTuple events = 4; } message CCommunity_ClanAnnouncementInfo { - optional uint64 gid = 1; - optional uint64 clanid = 2; - optional uint64 posterid = 3; - optional string headline = 4; - optional uint32 posttime = 5; - optional uint32 updatetime = 6; - optional string body = 7; - optional int32 commentcount = 8; - repeated string tags = 9; - optional int32 language = 10; - optional bool hidden = 11; - optional fixed64 forum_topic_id = 12; - optional fixed64 event_gid = 13; - optional int32 voteupcount = 14; - optional int32 votedowncount = 15; - optional .EBanContentCheckResult ban_check_result = 16 [default = k_EBanContentCheckResult_NotScanned]; - optional bool banned = 17; + optional uint64 gid = 1; + optional uint64 clanid = 2; + optional uint64 posterid = 3; + optional string headline = 4; + optional uint32 posttime = 5; + optional uint32 updatetime = 6; + optional string body = 7; + optional int32 commentcount = 8; + repeated string tags = 9; + optional int32 language = 10; + optional bool hidden = 11; + optional fixed64 forum_topic_id = 12; + optional fixed64 event_gid = 13; + optional int32 voteupcount = 14; + optional int32 votedowncount = 15; + optional .EBanContentCheckResult ban_check_result = 16 [default = k_EBanContentCheckResult_NotScanned]; + optional bool banned = 17; } message CClanEventData { - optional fixed64 gid = 1; - optional fixed64 clan_steamid = 2; - optional string event_name = 3; - optional .EProtoClanEventType event_type = 4 [default = k_EClanOtherEvent]; - optional uint32 appid = 5; - optional string server_address = 6; - optional string server_password = 7; - optional uint32 rtime32_start_time = 8; - optional uint32 rtime32_end_time = 9; - optional int32 comment_count = 10; - optional fixed64 creator_steamid = 11; - optional fixed64 last_update_steamid = 12; - optional string event_notes = 13; - optional string jsondata = 14; - optional .CCommunity_ClanAnnouncementInfo announcement_body = 15; - optional bool published = 16; - optional bool hidden = 17; - optional uint32 rtime32_visibility_start = 18; - optional uint32 rtime32_visibility_end = 19; - optional uint32 broadcaster_accountid = 20; - optional uint32 follower_count = 21; - optional uint32 ignore_count = 22; - optional fixed64 forum_topic_id = 23; - optional uint32 rtime32_last_modified = 24; - optional fixed64 news_post_gid = 25; - optional uint32 rtime_mod_reviewed = 26; - optional uint32 featured_app_tagid = 27; - repeated uint32 referenced_appids = 28; - optional uint32 build_id = 29; - optional string build_branch = 30; + optional fixed64 gid = 1; + optional fixed64 clan_steamid = 2; + optional string event_name = 3; + optional .EProtoClanEventType event_type = 4 [default = k_EClanOtherEvent]; + optional uint32 appid = 5; + optional string server_address = 6; + optional string server_password = 7; + optional uint32 rtime32_start_time = 8; + optional uint32 rtime32_end_time = 9; + optional int32 comment_count = 10; + optional fixed64 creator_steamid = 11; + optional fixed64 last_update_steamid = 12; + optional string event_notes = 13; + optional string jsondata = 14; + optional .CCommunity_ClanAnnouncementInfo announcement_body = 15; + optional bool published = 16; + optional bool hidden = 17; + optional uint32 rtime32_visibility_start = 18; + optional uint32 rtime32_visibility_end = 19; + optional uint32 broadcaster_accountid = 20; + optional uint32 follower_count = 21; + optional uint32 ignore_count = 22; + optional fixed64 forum_topic_id = 23; + optional uint32 rtime32_last_modified = 24; + optional fixed64 news_post_gid = 25; + optional uint32 rtime_mod_reviewed = 26; + optional uint32 featured_app_tagid = 27; + repeated uint32 referenced_appids = 28; + optional uint32 build_id = 29; + optional string build_branch = 30; } message CBilling_Address { - optional string first_name = 1; - optional string last_name = 2; - optional string address1 = 3; - optional string address2 = 4; - optional string city = 5; - optional string us_state = 6; - optional string country_code = 7; - optional string postcode = 8; - optional int32 zip_plus4 = 9; - optional string phone = 10; + optional string first_name = 1; + optional string last_name = 2; + optional string address1 = 3; + optional string address2 = 4; + optional string city = 5; + optional string us_state = 6; + optional string country_code = 7; + optional string postcode = 8; + optional int32 zip_plus4 = 9; + optional string phone = 10; } message CPackageReservationStatus { - optional uint32 packageid = 1; - optional int32 reservation_state = 2; - optional int32 queue_position = 3; - optional int32 total_queue_size = 4; - optional string reservation_country_code = 5; - optional bool expired = 6; - optional uint32 time_expires = 7; - optional uint32 time_reserved = 8; - optional uint32 rtime_estimated_notification = 9; - optional string notificaton_token = 10; + optional uint32 packageid = 1; + optional int32 reservation_state = 2; + optional int32 queue_position = 3; + optional int32 total_queue_size = 4; + optional string reservation_country_code = 5; + optional bool expired = 6; + optional uint32 time_expires = 7; + optional uint32 time_reserved = 8; + optional uint32 rtime_estimated_notification = 9; + optional string notificaton_token = 10; } message CMsgKeyValuePair { - optional string name = 1; - optional string value = 2; + optional string name = 1; + optional string value = 2; } message CMsgKeyValueSet { - repeated .CMsgKeyValuePair pairs = 1; + repeated .CMsgKeyValuePair pairs = 1; } message UserContentDescriptorPreferences { - message ContentDescriptor { - optional uint32 content_descriptorid = 1; - optional uint32 timestamp_added = 2; - } + message ContentDescriptor { + optional uint32 content_descriptorid = 1; + optional uint32 timestamp_added = 2; + } - repeated .UserContentDescriptorPreferences.ContentDescriptor content_descriptors_to_exclude = 1; + repeated .UserContentDescriptorPreferences.ContentDescriptor content_descriptors_to_exclude = 1; } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_chat.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_chat.steamclient.proto index 05ccaa39..5ccfeadf 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_chat.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_chat.steamclient.proto @@ -7,61 +7,61 @@ option optimize_for = SPEED; option java_generic_services = false; enum EChatRoomJoinState { - k_EChatRoomJoinState_Default = 0; - k_EChatRoomJoinState_None = 1; - k_EChatRoomJoinState_Joined = 2; - k_EChatRoomJoinState_TestInvalid = 99; + k_EChatRoomJoinState_Default = 0; + k_EChatRoomJoinState_None = 1; + k_EChatRoomJoinState_Joined = 2; + k_EChatRoomJoinState_TestInvalid = 99; } enum EChatRoomGroupRank { - k_EChatRoomGroupRank_Default = 0; - k_EChatRoomGroupRank_Viewer = 10; - k_EChatRoomGroupRank_Guest = 15; - k_EChatRoomGroupRank_Member = 20; - k_EChatRoomGroupRank_Moderator = 30; - k_EChatRoomGroupRank_Officer = 40; - k_EChatRoomGroupRank_Owner = 50; - k_EChatRoomGroupRank_TestInvalid = 99; + k_EChatRoomGroupRank_Default = 0; + k_EChatRoomGroupRank_Viewer = 10; + k_EChatRoomGroupRank_Guest = 15; + k_EChatRoomGroupRank_Member = 20; + k_EChatRoomGroupRank_Moderator = 30; + k_EChatRoomGroupRank_Officer = 40; + k_EChatRoomGroupRank_Owner = 50; + k_EChatRoomGroupRank_TestInvalid = 99; } enum EChatRoomNotificationLevel { - k_EChatroomNotificationLevel_Invalid = 0; - k_EChatroomNotificationLevel_None = 1; - k_EChatroomNotificationLevel_MentionMe = 2; - k_EChatroomNotificationLevel_MentionAll = 3; - k_EChatroomNotificationLevel_AllMessages = 4; + k_EChatroomNotificationLevel_Invalid = 0; + k_EChatroomNotificationLevel_None = 1; + k_EChatroomNotificationLevel_MentionMe = 2; + k_EChatroomNotificationLevel_MentionAll = 3; + k_EChatroomNotificationLevel_AllMessages = 4; } enum EChatRoomServerMessage { - k_EChatRoomServerMsg_Invalid = 0; - k_EChatRoomServerMsg_RenameChatRoom = 1; - k_EChatRoomServerMsg_Joined = 2; - k_EChatRoomServerMsg_Parted = 3; - k_EChatRoomServerMsg_Kicked = 4; - k_EChatRoomServerMsg_Invited = 5; - k_EChatRoomServerMsg_InviteDismissed = 8; - k_EChatRoomServerMsg_ChatRoomTaglineChanged = 9; - k_EChatRoomServerMsg_ChatRoomAvatarChanged = 10; - k_EChatRoomServerMsg_AppCustom = 11; + k_EChatRoomServerMsg_Invalid = 0; + k_EChatRoomServerMsg_RenameChatRoom = 1; + k_EChatRoomServerMsg_Joined = 2; + k_EChatRoomServerMsg_Parted = 3; + k_EChatRoomServerMsg_Kicked = 4; + k_EChatRoomServerMsg_Invited = 5; + k_EChatRoomServerMsg_InviteDismissed = 8; + k_EChatRoomServerMsg_ChatRoomTaglineChanged = 9; + k_EChatRoomServerMsg_ChatRoomAvatarChanged = 10; + k_EChatRoomServerMsg_AppCustom = 11; } enum EChatRoomMessageReactionType { - k_EChatRoomMessageReactionType_Invalid = 0; - k_EChatRoomMessageReactionType_Emoticon = 1; - k_EChatRoomMessageReactionType_Sticker = 2; + k_EChatRoomMessageReactionType_Invalid = 0; + k_EChatRoomMessageReactionType_Emoticon = 1; + k_EChatRoomMessageReactionType_Sticker = 2; } enum EChatRoomMemberStateChange { - k_EChatRoomMemberStateChange_Invalid = 0; - k_EChatRoomMemberStateChange_Joined = 1; - k_EChatRoomMemberStateChange_Parted = 2; - k_EChatRoomMemberStateChange_Kicked = 3; - k_EChatRoomMemberStateChange_Invited = 4; - k_EChatRoomMemberStateChange_RankChanged = 7; - k_EChatRoomMemberStateChange_InviteDismissed = 8; - k_EChatRoomMemberStateChange_Muted = 9; - k_EChatRoomMemberStateChange_Banned = 10; - k_EChatRoomMemberStateChange_RolesChanged = 12; + k_EChatRoomMemberStateChange_Invalid = 0; + k_EChatRoomMemberStateChange_Joined = 1; + k_EChatRoomMemberStateChange_Parted = 2; + k_EChatRoomMemberStateChange_Kicked = 3; + k_EChatRoomMemberStateChange_Invited = 4; + k_EChatRoomMemberStateChange_RankChanged = 7; + k_EChatRoomMemberStateChange_InviteDismissed = 8; + k_EChatRoomMemberStateChange_Muted = 9; + k_EChatRoomMemberStateChange_Banned = 10; + k_EChatRoomMemberStateChange_RolesChanged = 12; } message CChat_RequestFriendPersonaStates_Request { @@ -71,1002 +71,1003 @@ message CChat_RequestFriendPersonaStates_Response { } message CChatRoom_CreateChatRoomGroup_Request { - optional fixed64 steamid_partner = 1; - optional fixed64 steamid_invited = 2; - optional string name = 3; - repeated fixed64 steamid_invitees = 4; - optional uint32 watching_broadcast_accountid = 6; - optional uint64 watching_broadcast_channel_id = 7; + optional fixed64 steamid_partner = 1; + optional fixed64 steamid_invited = 2; + optional string name = 3; + repeated fixed64 steamid_invitees = 4; + optional uint32 watching_broadcast_accountid = 6; + optional uint64 watching_broadcast_channel_id = 7; } message CChatRole { - optional uint64 role_id = 1; - optional string name = 2; - optional uint32 ordinal = 3; + optional uint64 role_id = 1; + optional string name = 2; + optional uint32 ordinal = 3; } message CChatRoleActions { - optional uint64 role_id = 1; - optional bool can_create_rename_delete_channel = 2; - optional bool can_kick = 3; - optional bool can_ban = 4; - optional bool can_invite = 5; - optional bool can_change_tagline_avatar_name = 6; - optional bool can_chat = 7; - optional bool can_view_history = 8; - optional bool can_change_group_roles = 9; - optional bool can_change_user_roles = 10; - optional bool can_mention_all = 11; - optional bool can_set_watching_broadcast = 12; + optional uint64 role_id = 1; + optional bool can_create_rename_delete_channel = 2; + optional bool can_kick = 3; + optional bool can_ban = 4; + optional bool can_invite = 5; + optional bool can_change_tagline_avatar_name = 6; + optional bool can_chat = 7; + optional bool can_view_history = 8; + optional bool can_change_group_roles = 9; + optional bool can_change_user_roles = 10; + optional bool can_mention_all = 11; + optional bool can_set_watching_broadcast = 12; } message CChatPartyBeacon { - optional uint32 app_id = 1; - optional fixed64 steamid_owner = 2; - optional fixed64 beacon_id = 3; - optional string game_metadata = 4; + optional uint32 app_id = 1; + optional fixed64 steamid_owner = 2; + optional fixed64 beacon_id = 3; + optional string game_metadata = 4; } message CChatRoomGroupHeaderState { - optional uint64 chat_group_id = 1; - optional string chat_name = 2; - optional uint32 clanid = 13; - optional uint32 accountid_owner = 14; - optional uint32 appid = 21; - optional string tagline = 15; - optional bytes avatar_sha = 16; - optional uint64 default_role_id = 17; - repeated .CChatRole roles = 18; - repeated .CChatRoleActions role_actions = 19; - optional uint32 watching_broadcast_accountid = 20; - repeated .CChatPartyBeacon party_beacons = 22; - optional uint64 watching_broadcast_channel_id = 23; - optional uint64 active_minigame_id = 24; - optional string avatar_ugc_url = 25; - optional bool disabled = 26; + optional uint64 chat_group_id = 1; + optional string chat_name = 2; + optional uint32 clanid = 13; + optional uint32 accountid_owner = 14; + optional uint32 appid = 21; + optional string tagline = 15; + optional bytes avatar_sha = 16; + optional uint64 default_role_id = 17; + repeated .CChatRole roles = 18; + repeated .CChatRoleActions role_actions = 19; + optional uint32 watching_broadcast_accountid = 20; + repeated .CChatPartyBeacon party_beacons = 22; + optional uint64 watching_broadcast_channel_id = 23; + optional uint64 active_minigame_id = 24; + optional string avatar_ugc_url = 25; + optional bool disabled = 26; } message CChatRoomMember { - optional uint32 accountid = 1; - optional .EChatRoomJoinState state = 3 [default = k_EChatRoomJoinState_Default]; - optional .EChatRoomGroupRank rank = 4 [default = k_EChatRoomGroupRank_Default]; - optional uint32 time_kick_expire = 6; - repeated uint64 role_ids = 7; + optional uint32 accountid = 1; + optional .EChatRoomJoinState state = 3 [default = k_EChatRoomJoinState_Default]; + optional .EChatRoomGroupRank rank = 4 [default = k_EChatRoomGroupRank_Default]; + optional uint32 time_kick_expire = 6; + repeated uint64 role_ids = 7; } message CChatRoomState { - optional uint64 chat_id = 1; - optional string chat_name = 2; - optional bool voice_allowed = 3; - repeated uint32 members_in_voice = 4; - optional uint32 time_last_message = 5; - optional uint32 sort_order = 6; - optional string last_message = 7; - optional uint32 accountid_last_message = 8; + optional uint64 chat_id = 1; + optional string chat_name = 2; + optional bool voice_allowed = 3; + repeated uint32 members_in_voice = 4; + optional uint32 time_last_message = 5; + optional uint32 sort_order = 6; + optional string last_message = 7; + optional uint32 accountid_last_message = 8; } message CChatRoomGroupState { - optional .CChatRoomGroupHeaderState header_state = 1; - repeated .CChatRoomMember members = 2; - optional uint64 default_chat_id = 4; - repeated .CChatRoomState chat_rooms = 5; - repeated .CChatRoomMember kicked = 7; + optional .CChatRoomGroupHeaderState header_state = 1; + repeated .CChatRoomMember members = 2; + optional uint64 default_chat_id = 4; + repeated .CChatRoomState chat_rooms = 5; + repeated .CChatRoomMember kicked = 7; } message CUserChatRoomState { - optional uint64 chat_id = 1; - optional uint32 time_joined = 2; - optional uint32 time_last_ack = 3; - optional .EChatRoomNotificationLevel desktop_notification_level = 4 [default = k_EChatroomNotificationLevel_Invalid]; - optional .EChatRoomNotificationLevel mobile_notification_level = 5 [default = k_EChatroomNotificationLevel_Invalid]; - optional uint32 time_last_mention = 6; - optional bool unread_indicator_muted = 7 [default = false]; - optional uint32 time_first_unread = 8; + optional uint64 chat_id = 1; + optional uint32 time_joined = 2; + optional uint32 time_last_ack = 3; + optional .EChatRoomNotificationLevel desktop_notification_level = 4 [default = k_EChatroomNotificationLevel_Invalid]; + optional .EChatRoomNotificationLevel mobile_notification_level = 5 [default = k_EChatroomNotificationLevel_Invalid]; + optional uint32 time_last_mention = 6; + optional bool unread_indicator_muted = 7 [default = false]; + optional uint32 time_first_unread = 8; } message CUserChatRoomGroupState { - optional uint64 chat_group_id = 1; - optional uint32 time_joined = 2; - repeated .CUserChatRoomState user_chat_room_state = 3; - optional .EChatRoomNotificationLevel desktop_notification_level = 4 [default = k_EChatroomNotificationLevel_Invalid]; - optional .EChatRoomNotificationLevel mobile_notification_level = 5 [default = k_EChatroomNotificationLevel_Invalid]; - optional uint32 time_last_group_ack = 6; - optional bool unread_indicator_muted = 7 [default = false]; + optional uint64 chat_group_id = 1; + optional uint32 time_joined = 2; + repeated .CUserChatRoomState user_chat_room_state = 3; + optional .EChatRoomNotificationLevel desktop_notification_level = 4 [default = k_EChatroomNotificationLevel_Invalid]; + optional .EChatRoomNotificationLevel mobile_notification_level = 5 [default = k_EChatroomNotificationLevel_Invalid]; + optional uint32 time_last_group_ack = 6; + optional bool unread_indicator_muted = 7 [default = false]; } message CChatRoom_CreateChatRoomGroup_Response { - optional uint64 chat_group_id = 1; - optional .CChatRoomGroupState state = 2; - optional .CUserChatRoomGroupState user_chat_state = 3; + optional uint64 chat_group_id = 1; + optional .CChatRoomGroupState state = 2; + optional .CUserChatRoomGroupState user_chat_state = 3; } message CChatRoom_SaveChatRoomGroup_Request { - optional uint64 chat_group_id = 1; - optional string name = 2; + optional uint64 chat_group_id = 1; + optional string name = 2; } message CChatRoom_SaveChatRoomGroup_Response { } message CChatRoom_RenameChatRoomGroup_Request { - optional uint64 chat_group_id = 1; - optional string name = 2; + optional uint64 chat_group_id = 1; + optional string name = 2; } message CChatRoom_RenameChatRoomGroup_Response { - optional string name = 1; + optional string name = 1; } message CChatRoom_SetChatRoomGroupTagline_Request { - optional uint64 chat_group_id = 1; - optional string tagline = 2; + optional uint64 chat_group_id = 1; + optional string tagline = 2; } message CChatRoom_SetChatRoomGroupTagline_Response { } message CChatRoom_SetChatRoomGroupAvatar_Request { - optional uint64 chat_group_id = 1; - optional bytes avatar_sha = 2; + optional uint64 chat_group_id = 1; + optional bytes avatar_sha = 2; } message CChatRoom_SetChatRoomGroupAvatar_Response { } message CChatRoom_SetChatRoomGroupWatchingBroadcast_Request { - optional uint64 chat_group_id = 1; - optional uint32 watching_broadcast_accountid = 2; - optional uint64 watching_broadcast_channel_id = 3; + optional uint64 chat_group_id = 1; + optional uint32 watching_broadcast_accountid = 2; + optional uint64 watching_broadcast_channel_id = 3; } message CChatRoom_SetChatRoomGroupWatchingBroadcast_Response { } message CChatRoom_JoinMiniGameForChatRoomGroup_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; } message CChatRoom_JoinMiniGameForChatRoomGroup_Response { - optional uint64 minigame_id = 1; + optional uint64 minigame_id = 1; } message CChatRoom_EndMiniGameForChatRoomGroup_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional uint64 minigame_id = 3; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional uint64 minigame_id = 3; } message CChatRoom_EndMiniGameForChatRoomGroup_Response { } message CChatRoom_MuteUser_Request { - optional uint64 chat_group_id = 1; - optional fixed64 steamid = 2; - optional int32 expiration = 3; + optional uint64 chat_group_id = 1; + optional fixed64 steamid = 2; + optional int32 expiration = 3; } message CChatRoom_MuteUser_Response { } message CChatRoom_KickUser_Request { - optional uint64 chat_group_id = 1; - optional fixed64 steamid = 2; - optional int32 expiration = 3; + optional uint64 chat_group_id = 1; + optional fixed64 steamid = 2; + optional int32 expiration = 3; } message CChatRoom_KickUser_Response { } message CChatRoom_SetUserBanState_Request { - optional uint64 chat_group_id = 1; - optional fixed64 steamid = 2; - optional bool ban_state = 3; + optional uint64 chat_group_id = 1; + optional fixed64 steamid = 2; + optional bool ban_state = 3; } message CChatRoom_SetUserBanState_Response { } message CChatRoom_RevokeInvite_Request { - optional uint64 chat_group_id = 1; - optional fixed64 steamid = 2; + optional uint64 chat_group_id = 1; + optional fixed64 steamid = 2; } message CChatRoom_RevokeInvite_Response { } message CChatRoom_CreateRole_Request { - optional uint64 chat_group_id = 1; - optional string name = 2; + optional uint64 chat_group_id = 1; + optional string name = 2; } message CChatRoom_CreateRole_Response { - optional .CChatRoleActions actions = 2; + optional .CChatRoleActions actions = 2; } message CChatRoom_GetRoles_Request { - optional uint64 chat_group_id = 1; + optional uint64 chat_group_id = 1; } message CChatRoom_GetRoles_Response { - repeated .CChatRole roles = 1; + repeated .CChatRole roles = 1; } message CChatRoom_RenameRole_Request { - optional uint64 chat_group_id = 1; - optional uint64 role_id = 2; - optional string name = 3; + optional uint64 chat_group_id = 1; + optional uint64 role_id = 2; + optional string name = 3; } message CChatRoom_RenameRole_Response { } message CChatRoom_ReorderRole_Request { - optional uint64 chat_group_id = 1; - optional uint64 role_id = 2; - optional uint32 ordinal = 3; + optional uint64 chat_group_id = 1; + optional uint64 role_id = 2; + optional uint32 ordinal = 3; } message CChatRoom_ReorderRole_Response { } message CChatRoom_DeleteRole_Request { - optional uint64 chat_group_id = 1; - optional uint64 role_id = 2; + optional uint64 chat_group_id = 1; + optional uint64 role_id = 2; } message CChatRoom_DeleteRole_Response { } message CChatRoom_GetRoleActions_Request { - optional uint64 chat_group_id = 1; - optional uint64 role_id = 2; + optional uint64 chat_group_id = 1; + optional uint64 role_id = 2; } message CChatRoom_GetRoleActions_Response { - repeated .CChatRoleActions actions = 1; + repeated .CChatRoleActions actions = 1; } message CChatRoom_ReplaceRoleActions_Request { - optional uint64 chat_group_id = 1; - optional uint64 role_id = 2; - optional .CChatRoleActions actions = 4; + optional uint64 chat_group_id = 1; + optional uint64 role_id = 2; + optional .CChatRoleActions actions = 4; } message CChatRoom_ReplaceRoleActions_Response { } message CChatRoom_AddRoleToUser_Request { - optional uint64 chat_group_id = 1; - optional uint64 role_id = 3; - optional fixed64 steamid = 4; + optional uint64 chat_group_id = 1; + optional uint64 role_id = 3; + optional fixed64 steamid = 4; } message CChatRoom_AddRoleToUser_Response { } message CChatRoom_GetRolesForUser_Request { - optional uint64 chat_group_id = 1; - optional fixed64 steamid = 3; + optional uint64 chat_group_id = 1; + optional fixed64 steamid = 3; } message CChatRoom_GetRolesForUser_Response { - repeated uint64 role_ids = 1; + repeated uint64 role_ids = 1; } message CChatRoom_DeleteRoleFromUser_Request { - optional uint64 chat_group_id = 1; - optional uint64 role_id = 3; - optional fixed64 steamid = 4; + optional uint64 chat_group_id = 1; + optional uint64 role_id = 3; + optional fixed64 steamid = 4; } message CChatRoom_DeleteRoleFromUser_Response { } message CChatRoom_JoinChatRoomGroup_Request { - optional uint64 chat_group_id = 1; - optional string invite_code = 2; - optional uint64 chat_id = 3; + optional uint64 chat_group_id = 1; + optional string invite_code = 2; + optional uint64 chat_id = 3; } message CChatRoom_JoinChatRoomGroup_Response { - optional .CChatRoomGroupState state = 1; - optional .CUserChatRoomGroupState user_chat_state = 3; - optional uint64 join_chat_id = 4; - optional uint32 time_expire = 5; + optional .CChatRoomGroupState state = 1; + optional .CUserChatRoomGroupState user_chat_state = 3; + optional uint64 join_chat_id = 4; + optional uint32 time_expire = 5; } message CChatRoom_InviteFriendToChatRoomGroup_Request { - optional uint64 chat_group_id = 1; - optional fixed64 steamid = 2; - optional uint64 chat_id = 3; - optional bool skip_friendsui_check = 4; + optional uint64 chat_group_id = 1; + optional fixed64 steamid = 2; + optional uint64 chat_id = 3; + optional bool skip_friendsui_check = 4; } message CChatRoom_InviteFriendToChatRoomGroup_Response { } message CChatRoom_LeaveChatRoomGroup_Request { - optional uint64 chat_group_id = 1; + optional uint64 chat_group_id = 1; } message CChatRoom_LeaveChatRoomGroup_Response { } message CChatRoom_CreateChatRoom_Request { - optional uint64 chat_group_id = 1; - optional string name = 2; - optional bool allow_voice = 3; + optional uint64 chat_group_id = 1; + optional string name = 2; + optional bool allow_voice = 3; } message CChatRoom_CreateChatRoom_Response { - optional .CChatRoomState chat_room = 1; + optional .CChatRoomState chat_room = 1; } message CChatRoom_DeleteChatRoom_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; } message CChatRoom_DeleteChatRoom_Response { } message CChatRoom_RenameChatRoom_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional string name = 3; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional string name = 3; } message CChatRoom_RenameChatRoom_Response { } message CChatRoom_ReorderChatRoom_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional uint64 move_after_chat_id = 3; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional uint64 move_after_chat_id = 3; } message CChatRoom_ReorderChatRoom_Response { } message CChatRoom_SendChatMessage_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional string message = 3; - optional bool echo_to_sender = 4; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional string message = 3; + optional bool echo_to_sender = 4; } message CChatRoom_SendChatMessage_Response { - optional string modified_message = 1; - optional uint32 server_timestamp = 2; - optional uint32 ordinal = 3; - optional string message_without_bb_code = 4; + optional string modified_message = 1; + optional uint32 server_timestamp = 2; + optional uint32 ordinal = 3; + optional string message_without_bb_code = 4; } message CChatRoom_JoinVoiceChat_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; } message CChatRoom_JoinVoiceChat_Response { - optional uint64 voice_chatid = 1; + optional uint64 voice_chatid = 1; } message CChatRoom_LeaveVoiceChat_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; } message CChatRoom_LeaveVoiceChat_Response { } message CChatRoom_GetMessageHistory_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional uint32 last_time = 3; - optional uint32 last_ordinal = 4; - optional uint32 start_time = 5; - optional uint32 start_ordinal = 6; - optional uint32 max_count = 7; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional uint32 last_time = 3; + optional uint32 last_ordinal = 4; + optional uint32 start_time = 5; + optional uint32 start_ordinal = 6; + optional uint32 max_count = 7; } message ServerMessage { - optional .EChatRoomServerMessage message = 1 [default = k_EChatRoomServerMsg_Invalid]; - optional string string_param = 2; - optional uint32 accountid_param = 3; + optional .EChatRoomServerMessage message = 1 [default = k_EChatRoomServerMsg_Invalid]; + optional string string_param = 2; + optional uint32 accountid_param = 3; } message CChatRoom_GetMessageHistory_Response { - message ChatMessage { - message MessageReaction { - optional .EChatRoomMessageReactionType reaction_type = 1 [default = k_EChatRoomMessageReactionType_Invalid]; - optional string reaction = 2; - optional uint32 num_reactors = 3; - optional bool has_user_reacted = 4; - } - - optional uint32 sender = 1; - optional uint32 server_timestamp = 2; - optional string message = 3; - optional uint32 ordinal = 4; - optional .ServerMessage server_message = 5; - optional bool deleted = 6; - repeated .CChatRoom_GetMessageHistory_Response.ChatMessage.MessageReaction reactions = 7; + message ChatMessage { + message MessageReaction { + optional .EChatRoomMessageReactionType reaction_type = 1 [default = k_EChatRoomMessageReactionType_Invalid]; + optional string reaction = 2; + optional uint32 num_reactors = 3; + optional bool has_user_reacted = 4; } - repeated .CChatRoom_GetMessageHistory_Response.ChatMessage messages = 1; - optional bool more_available = 4; + optional uint32 sender = 1; + optional uint32 server_timestamp = 2; + optional string message = 3; + optional uint32 ordinal = 4; + optional .ServerMessage server_message = 5; + optional bool deleted = 6; + repeated .CChatRoom_GetMessageHistory_Response.ChatMessage.MessageReaction reactions = 7; + } + + repeated .CChatRoom_GetMessageHistory_Response.ChatMessage messages = 1; + optional bool more_available = 4; } message CChatRoom_GetMyChatRoomGroups_Request { } message CChatRoom_GetChatRoomGroupSummary_Response { - optional uint64 chat_group_id = 1; - optional string chat_group_name = 2; - optional uint32 active_member_count = 3; - optional uint32 active_voice_member_count = 4; - optional uint64 default_chat_id = 5; - repeated .CChatRoomState chat_rooms = 6; - optional uint32 clanid = 7; - optional string chat_group_tagline = 8; - optional uint32 accountid_owner = 9; - repeated uint32 top_members = 10; - optional bytes chat_group_avatar_sha = 11; - optional .EChatRoomGroupRank rank = 12 [default = k_EChatRoomGroupRank_Default]; - optional uint64 default_role_id = 13; - repeated uint64 role_ids = 14; - repeated .CChatRoleActions role_actions = 15; - optional uint32 watching_broadcast_accountid = 16; - optional uint32 appid = 17; - repeated .CChatPartyBeacon party_beacons = 18; - optional uint64 watching_broadcast_channel_id = 19; - optional uint64 active_minigame_id = 20; - optional string avatar_ugc_url = 21; - optional bool disabled = 22; + optional uint64 chat_group_id = 1; + optional string chat_group_name = 2; + optional uint32 active_member_count = 3; + optional uint32 active_voice_member_count = 4; + optional uint64 default_chat_id = 5; + repeated .CChatRoomState chat_rooms = 6; + optional uint32 clanid = 7; + optional string chat_group_tagline = 8; + optional uint32 accountid_owner = 9; + repeated uint32 top_members = 10; + optional bytes chat_group_avatar_sha = 11; + optional .EChatRoomGroupRank rank = 12 [default = k_EChatRoomGroupRank_Default]; + optional uint64 default_role_id = 13; + repeated uint64 role_ids = 14; + repeated .CChatRoleActions role_actions = 15; + optional uint32 watching_broadcast_accountid = 16; + optional uint32 appid = 17; + repeated .CChatPartyBeacon party_beacons = 18; + optional uint64 watching_broadcast_channel_id = 19; + optional uint64 active_minigame_id = 20; + optional string avatar_ugc_url = 21; + optional bool disabled = 22; } message CChatRoomSummaryPair { - optional .CUserChatRoomGroupState user_chat_group_state = 1; - optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 2; + optional .CUserChatRoomGroupState user_chat_group_state = 1; + optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 2; } message CChatRoom_GetMyChatRoomGroups_Response { - repeated .CChatRoomSummaryPair chat_room_groups = 1; + repeated .CChatRoomSummaryPair chat_room_groups = 1; } message CChatRoom_GetChatRoomGroupState_Request { - optional uint64 chat_group_id = 1; + optional uint64 chat_group_id = 1; } message CChatRoom_GetChatRoomGroupState_Response { - optional .CChatRoomGroupState state = 1; + optional .CChatRoomGroupState state = 1; } message CChatRoom_GetChatRoomGroupSummary_Request { - optional uint64 chat_group_id = 1; + optional uint64 chat_group_id = 1; } message CChatRoom_SetAppChatRoomGroupForceActive_Request { - optional uint64 chat_group_id = 1; - optional uint32 requesting_app_id = 2; + optional uint64 chat_group_id = 1; + optional uint32 requesting_app_id = 2; } message CChatRoom_SetAppChatRoomGroupForceActive_Response { - optional uint32 result = 1; - repeated uint32 accounts_in_channel = 2; + optional uint32 result = 1; + repeated uint32 accounts_in_channel = 2; } message CChatRoom_SetAppChatRoomGroupStopForceActive_Notification { - optional uint64 chat_group_id = 1; - optional uint32 requesting_app_id = 2; + optional uint64 chat_group_id = 1; + optional uint32 requesting_app_id = 2; } message CChatRoom_AckChatMessage_Notification { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional uint32 timestamp = 3; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional uint32 timestamp = 3; } message CChatRoom_CreateInviteLink_Request { - optional uint64 chat_group_id = 1; - optional uint32 seconds_valid = 2; - optional uint64 chat_id = 3; + optional uint64 chat_group_id = 1; + optional uint32 seconds_valid = 2; + optional uint64 chat_id = 3; } message CChatRoom_CreateInviteLink_Response { - optional string invite_code = 1; - optional uint32 seconds_valid = 2; + optional string invite_code = 1; + optional uint32 seconds_valid = 2; } message CChatRoom_GetInviteLinkInfo_Request { - optional string invite_code = 1; + optional string invite_code = 1; } message CChatRoom_GetInviteLinkInfo_Response { - optional fixed64 steamid_sender = 3; - optional uint32 time_expires = 4; - optional uint64 chat_id = 6; - optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 8; - optional .CUserChatRoomGroupState user_chat_group_state = 9; - optional uint32 time_kick_expire = 10; - optional bool banned = 11; + optional fixed64 steamid_sender = 3; + optional uint32 time_expires = 4; + optional uint64 chat_id = 6; + optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 8; + optional .CUserChatRoomGroupState user_chat_group_state = 9; + optional uint32 time_kick_expire = 10; + optional bool banned = 11; } message CChatRoom_GetInviteInfo_Request { - optional fixed64 steamid_invitee = 1; - optional uint64 chat_group_id = 2; - optional uint64 chat_id = 3; - optional string invite_code = 4; + optional fixed64 steamid_invitee = 1; + optional uint64 chat_group_id = 2; + optional uint64 chat_id = 3; + optional string invite_code = 4; } message CChatRoom_GetInviteInfo_Response { - optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 1; - optional uint32 time_kick_expire = 2; - optional bool banned = 3; + optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 1; + optional uint32 time_kick_expire = 2; + optional bool banned = 3; } message CChatRoom_GetInviteLinksForGroup_Request { - optional uint64 chat_group_id = 1; + optional uint64 chat_group_id = 1; } message CChatRoom_GetInviteLinksForGroup_Response { - message LinkInfo { - optional string invite_code = 1; - optional fixed64 steamid_creator = 2; - optional uint32 time_expires = 3; - optional uint64 chat_id = 4; - } + message LinkInfo { + optional string invite_code = 1; + optional fixed64 steamid_creator = 2; + optional uint32 time_expires = 3; + optional uint64 chat_id = 4; + } - repeated .CChatRoom_GetInviteLinksForGroup_Response.LinkInfo invite_links = 1; + repeated .CChatRoom_GetInviteLinksForGroup_Response.LinkInfo invite_links = 1; } message CChatRoom_GetBanList_Request { - optional uint64 chat_group_id = 1; + optional uint64 chat_group_id = 1; } message CChatRoom_GetBanList_Response { - message BanInfo { - optional uint32 accountid = 1; - optional uint32 accountid_actor = 2; - optional uint32 time_banned = 3; - optional string ban_reason = 4; - } + message BanInfo { + optional uint32 accountid = 1; + optional uint32 accountid_actor = 2; + optional uint32 time_banned = 3; + optional string ban_reason = 4; + } - repeated .CChatRoom_GetBanList_Response.BanInfo bans = 1; + repeated .CChatRoom_GetBanList_Response.BanInfo bans = 1; } message CChatRoom_GetInviteList_Request { - optional uint64 chat_group_id = 1; + optional uint64 chat_group_id = 1; } message CChatRoomGroupInvite { - optional uint32 accountid = 1; - optional uint32 accountid_actor = 2; - optional uint32 time_invited = 3; + optional uint32 accountid = 1; + optional uint32 accountid_actor = 2; + optional uint32 time_invited = 3; } message CChatRoom_GetInviteList_Response { - repeated .CChatRoomGroupInvite invites = 1; + repeated .CChatRoomGroupInvite invites = 1; } message CChatRoom_DeleteInviteLink_Request { - optional uint64 chat_group_id = 1; - optional string invite_code = 2; + optional uint64 chat_group_id = 1; + optional string invite_code = 2; } message CChatRoom_DeleteInviteLink_Response { } message CChatRoom_SetSessionActiveChatRoomGroups_Request { - repeated uint64 chat_group_ids = 1; - repeated uint64 chat_groups_data_requested = 2; - optional int32 virtualize_members_threshold = 3; + repeated uint64 chat_group_ids = 1; + repeated uint64 chat_groups_data_requested = 2; + optional int32 virtualize_members_threshold = 3; } message CChatRoom_SetSessionActiveChatRoomGroups_Response { - repeated .CChatRoomGroupState chat_states = 1; - repeated uint64 virtualize_members_chat_group_ids = 2; + repeated .CChatRoomGroupState chat_states = 1; + repeated uint64 virtualize_members_chat_group_ids = 2; } message CChatRoom_SetUserChatGroupPreferences_Request { - message ChatGroupPreferences { - optional .EChatRoomNotificationLevel desktop_notification_level = 1 [default = k_EChatroomNotificationLevel_Invalid]; - optional .EChatRoomNotificationLevel mobile_notification_level = 2 [default = k_EChatroomNotificationLevel_Invalid]; - optional bool unread_indicator_muted = 3; - } + message ChatGroupPreferences { + optional .EChatRoomNotificationLevel desktop_notification_level = 1 [default = k_EChatroomNotificationLevel_Invalid]; + optional .EChatRoomNotificationLevel mobile_notification_level = 2 [default = k_EChatroomNotificationLevel_Invalid]; + optional bool unread_indicator_muted = 3; + } - message ChatRoomPreferences { - optional uint64 chat_id = 1; - optional .EChatRoomNotificationLevel desktop_notification_level = 2 [default = k_EChatroomNotificationLevel_Invalid]; - optional .EChatRoomNotificationLevel mobile_notification_level = 3 [default = k_EChatroomNotificationLevel_Invalid]; - optional bool unread_indicator_muted = 4; - } + message ChatRoomPreferences { + optional uint64 chat_id = 1; + optional .EChatRoomNotificationLevel desktop_notification_level = 2 [default = k_EChatroomNotificationLevel_Invalid]; + optional .EChatRoomNotificationLevel mobile_notification_level = 3 [default = k_EChatroomNotificationLevel_Invalid]; + optional bool unread_indicator_muted = 4; + } - optional uint64 chat_group_id = 1; - optional .CChatRoom_SetUserChatGroupPreferences_Request.ChatGroupPreferences chat_group_preferences = 2; - repeated .CChatRoom_SetUserChatGroupPreferences_Request.ChatRoomPreferences chat_room_preferences = 3; + optional uint64 chat_group_id = 1; + optional .CChatRoom_SetUserChatGroupPreferences_Request.ChatGroupPreferences chat_group_preferences = 2; + repeated .CChatRoom_SetUserChatGroupPreferences_Request.ChatRoomPreferences chat_room_preferences = 3; } message CChatRoom_SetUserChatGroupPreferences_Response { } message CChatRoom_DeleteChatMessages_Request { - message Message { - optional uint32 server_timestamp = 1; - optional uint32 ordinal = 2; - } + message Message { + optional uint32 server_timestamp = 1; + optional uint32 ordinal = 2; + } - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - repeated .CChatRoom_DeleteChatMessages_Request.Message messages = 3; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + repeated .CChatRoom_DeleteChatMessages_Request.Message messages = 3; } message CChatRoom_DeleteChatMessages_Response { } message CChatRoom_UpdateMemberListView_Notification { - optional uint64 chat_group_id = 1; - optional uint64 view_id = 2; - optional int32 start = 3; - optional int32 end = 4; - optional int32 client_changenumber = 5; - optional bool delete_view = 6; - repeated int32 persona_subscribe_accountids = 7; - repeated int32 persona_unsubscribe_accountids = 8; + optional uint64 chat_group_id = 1; + optional uint64 view_id = 2; + optional int32 start = 3; + optional int32 end = 4; + optional int32 client_changenumber = 5; + optional bool delete_view = 6; + repeated int32 persona_subscribe_accountids = 7; + repeated int32 persona_unsubscribe_accountids = 8; } message CChatRoom_SearchMembers_Request { - optional uint64 chat_group_id = 1; - optional uint64 search_id = 2; - optional string search_text = 3; - optional int32 max_results = 4; + optional uint64 chat_group_id = 1; + optional uint64 search_id = 2; + optional string search_text = 3; + optional int32 max_results = 4; } message CChatRoom_SearchMembers_Response { - message MemberMatch { - optional int32 accountid = 1; - optional .CMsgClientPersonaState.Friend persona = 2; - } + message MemberMatch { + optional int32 accountid = 1; + optional .CMsgClientPersonaState.Friend persona = 2; + } - repeated .CChatRoom_SearchMembers_Response.MemberMatch matching_members = 1; - optional uint32 status_flags = 2; + repeated .CChatRoom_SearchMembers_Response.MemberMatch matching_members = 1; + optional uint32 status_flags = 2; } message CChatRoom_UpdateMessageReaction_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional uint32 server_timestamp = 3; - optional uint32 ordinal = 4; - optional .EChatRoomMessageReactionType reaction_type = 5 [default = k_EChatRoomMessageReactionType_Invalid]; - optional string reaction = 6; - optional bool is_add = 7; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional uint32 server_timestamp = 3; + optional uint32 ordinal = 4; + optional .EChatRoomMessageReactionType reaction_type = 5 [default = k_EChatRoomMessageReactionType_Invalid]; + optional string reaction = 6; + optional bool is_add = 7; } message CChatRoom_UpdateMessageReaction_Response { - optional uint32 num_reactors = 1; + optional uint32 num_reactors = 1; } message CChatRoom_GetMessageReactionReactors_Request { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional uint32 server_timestamp = 3; - optional uint32 ordinal = 4; - optional .EChatRoomMessageReactionType reaction_type = 5 [default = k_EChatRoomMessageReactionType_Invalid]; - optional string reaction = 6; - optional uint32 limit = 7; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional uint32 server_timestamp = 3; + optional uint32 ordinal = 4; + optional .EChatRoomMessageReactionType reaction_type = 5 [default = k_EChatRoomMessageReactionType_Invalid]; + optional string reaction = 6; + optional uint32 limit = 7; } message CChatRoom_GetMessageReactionReactors_Response { - repeated uint32 reactors = 1; + repeated uint32 reactors = 1; } message CClanChatRooms_GetClanChatRoomInfo_Request { - optional fixed64 steamid = 1; - optional bool autocreate = 2 [default = true]; + optional fixed64 steamid = 1; + optional bool autocreate = 2 [default = true]; } message CClanChatRooms_GetClanChatRoomInfo_Response { - optional .CChatRoom_GetChatRoomGroupSummary_Response chat_group_summary = 1; + optional .CChatRoom_GetChatRoomGroupSummary_Response chat_group_summary = 1; } message CClanChatRooms_SetClanChatRoomPrivate_Request { - optional fixed64 steamid = 1; - optional bool chat_room_private = 2; + optional fixed64 steamid = 1; + optional bool chat_room_private = 2; } message CClanChatRooms_SetClanChatRoomPrivate_Response { - optional bool chat_room_private = 1; + optional bool chat_room_private = 1; } message CChatMentions { - optional bool mention_all = 1; - optional bool mention_here = 2; - repeated uint32 mention_accountids = 3; + optional bool mention_all = 1; + optional bool mention_here = 2; + repeated uint32 mention_accountids = 3; } message CChatRoom_IncomingChatMessage_Notification { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional fixed64 steamid_sender = 3; - optional string message = 4; - optional uint32 timestamp = 5; - optional .CChatMentions mentions = 6; - optional uint32 ordinal = 7; - optional .ServerMessage server_message = 8; - optional string message_no_bbcode = 9; - optional string chat_name = 10; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional fixed64 steamid_sender = 3; + optional string message = 4; + optional uint32 timestamp = 5; + optional .CChatMentions mentions = 6; + optional uint32 ordinal = 7; + optional .ServerMessage server_message = 8; + optional string message_no_bbcode = 9; + optional string chat_name = 10; + optional string notification_key = 11; } message CChatRoom_ChatMessageModified_Notification { - message ChatMessage { - optional uint32 server_timestamp = 1; - optional uint32 ordinal = 2; - optional bool deleted = 3; - } + message ChatMessage { + optional uint32 server_timestamp = 1; + optional uint32 ordinal = 2; + optional bool deleted = 3; + } - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - repeated .CChatRoom_ChatMessageModified_Notification.ChatMessage messages = 3; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + repeated .CChatRoom_ChatMessageModified_Notification.ChatMessage messages = 3; } message CChatRoom_MemberStateChange_Notification { - optional uint64 chat_group_id = 1; - optional .CChatRoomMember member = 2; - optional .EChatRoomMemberStateChange change = 3 [default = k_EChatRoomMemberStateChange_Invalid]; + optional uint64 chat_group_id = 1; + optional .CChatRoomMember member = 2; + optional .EChatRoomMemberStateChange change = 3 [default = k_EChatRoomMemberStateChange_Invalid]; } message CChatRoom_ChatRoomHeaderState_Notification { - optional .CChatRoomGroupHeaderState header_state = 1; + optional .CChatRoomGroupHeaderState header_state = 1; } message CChatRoom_ChatRoomGroupRoomsChange_Notification { - optional uint64 chat_group_id = 1; - optional uint64 default_chat_id = 2; - repeated .CChatRoomState chat_rooms = 3; + optional uint64 chat_group_id = 1; + optional uint64 default_chat_id = 2; + repeated .CChatRoomState chat_rooms = 3; } message CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification { - optional uint64 chat_id = 1; - optional uint64 chat_group_id = 2; + optional uint64 chat_id = 1; + optional uint64 chat_group_id = 2; } message ChatRoomClient_NotifyChatGroupUserStateChanged_Notification { - optional uint64 chat_group_id = 1; - optional .CUserChatRoomGroupState user_chat_group_state = 2; - optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 3; - optional .EChatRoomMemberStateChange user_action = 4 [default = k_EChatRoomMemberStateChange_Invalid]; + optional uint64 chat_group_id = 1; + optional .CUserChatRoomGroupState user_chat_group_state = 2; + optional .CChatRoom_GetChatRoomGroupSummary_Response group_summary = 3; + optional .EChatRoomMemberStateChange user_action = 4 [default = k_EChatRoomMemberStateChange_Invalid]; } message ChatRoomClient_NotifyChatRoomDisconnect_Notification { - repeated uint64 chat_group_ids = 1; + repeated uint64 chat_group_ids = 1; } message CChatRoomMemberListView { - optional int32 start = 3; - optional int32 end = 4; - optional int32 total_count = 5; - optional int32 client_changenumber = 6; - optional int32 server_changenumber = 7; + optional int32 start = 3; + optional int32 end = 4; + optional int32 total_count = 5; + optional int32 client_changenumber = 6; + optional int32 server_changenumber = 7; } message CChatRoomMemberSummaryCounts { - optional int32 ingame = 1; - optional int32 online = 2; - optional int32 offline = 3; + optional int32 ingame = 1; + optional int32 online = 2; + optional int32 offline = 3; } message CChatRoomClient_MemberListViewUpdated_Notification { - message MemberListViewEntry { - optional int32 rank = 1; - optional uint32 accountid = 2; - optional .CMsgClientPersonaState.Friend persona = 3; - } + message MemberListViewEntry { + optional int32 rank = 1; + optional uint32 accountid = 2; + optional .CMsgClientPersonaState.Friend persona = 3; + } - optional uint64 chat_group_id = 1; - optional uint64 view_id = 2; - optional .CChatRoomMemberListView view = 3; - repeated .CChatRoomClient_MemberListViewUpdated_Notification.MemberListViewEntry members = 4; - optional uint32 status_flags = 5; - optional .CChatRoomMemberSummaryCounts member_summary = 6; - repeated .CMsgClientPersonaState.Friend subscribed_personas = 7; + optional uint64 chat_group_id = 1; + optional uint64 view_id = 2; + optional .CChatRoomMemberListView view = 3; + repeated .CChatRoomClient_MemberListViewUpdated_Notification.MemberListViewEntry members = 4; + optional uint32 status_flags = 5; + optional .CChatRoomMemberSummaryCounts member_summary = 6; + repeated .CMsgClientPersonaState.Friend subscribed_personas = 7; } message CChatRoom_MessageReaction_Notification { - optional uint64 chat_group_id = 1; - optional uint64 chat_id = 2; - optional uint32 server_timestamp = 3; - optional uint32 ordinal = 4; - optional fixed64 reactor = 5; - optional .EChatRoomMessageReactionType reaction_type = 6 [default = k_EChatRoomMessageReactionType_Invalid]; - optional string reaction = 7; - optional bool is_add = 8; + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional uint32 server_timestamp = 3; + optional uint32 ordinal = 4; + optional fixed64 reactor = 5; + optional .EChatRoomMessageReactionType reaction_type = 6 [default = k_EChatRoomMessageReactionType_Invalid]; + optional string reaction = 7; + optional bool is_add = 8; } message CChatUsability_ClientUsabilityMetrics_Notification { - message Settings { - optional bool notifications_show_ingame = 1; - optional bool notifications_show_online = 2; - optional bool notifications_show_message = 3; - optional bool notifications_events_and_announcements = 4; - optional bool sounds_play_ingame = 5; - optional bool sounds_play_online = 6; - optional bool sounds_play_message = 7; - optional bool sounds_events_and_announcements = 8; - optional bool always_new_chat_window = 9; - optional bool force_alphabetic_friend_sorting = 10; - optional int32 chat_flash_mode = 11; - optional bool remember_open_chats = 12; - optional bool compact_quick_access = 13; - optional bool compact_friends_list = 14; - optional bool notifications_show_chat_room_notification = 15; - optional bool sounds_play_chat_room_notification = 16; - optional bool hide_offline_friends_in_tag_groups = 17; - optional bool hide_categorized_friends = 18; - optional bool categorize_in_game_friends_by_game = 19; - optional int32 chat_font_size = 20; - optional bool use24hour_clock = 21; - optional bool do_not_disturb_mode = 22; - optional bool disable_embed_inlining = 23; - optional bool sign_into_friends = 24; - optional bool animated_avatars = 25; - } - - message VoiceSettings { - optional float voice_input_gain = 1; - optional float voice_output_gain = 2; - optional int32 noise_gate_level = 3; - optional bool voice_use_echo_cancellation = 4; - optional bool voice_use_noise_cancellation = 5; - optional bool voice_use_auto_gain_control = 6; - optional bool selected_non_default_mic = 7; - optional bool selected_non_default_output = 8; - optional bool push_to_talk_enabled = 9; - optional bool push_to_mute_enabled = 10; - optional bool play_ptt_sounds = 11; - } - - message UIState { - message CategoryCollapseState { - optional bool in_game_collapsed = 1; - optional bool online_collapsed = 2; - optional bool offline_collapsed = 3; - optional int32 game_groups_collapsed = 4; - optional int32 categories_collapsed = 5; - } - - optional int32 friends_list_height = 1; - optional int32 friends_list_width = 2; - optional bool friends_list_docked = 3; - optional bool friends_list_collapsed = 4; - optional int32 friends_list_group_chats_height = 5; - optional bool friends_list_visible = 6; - optional int32 chat_popups_opened = 7; - optional int32 group_chat_tabs_opened = 8; - optional int32 friend_chat_tabs_opened = 9; - optional int32 chat_window_width = 10; - optional int32 chat_window_height = 11; - optional .CChatUsability_ClientUsabilityMetrics_Notification.UIState.CategoryCollapseState category_collapse = 12; - optional int32 group_chat_left_col_collapsed = 13; - optional int32 group_chat_right_col_collapsed = 14; - optional bool in_one_on_one_voice_chat = 15; - optional bool in_group_voice_chat = 16; - } - - message Metrics { - optional int32 friends_count = 1; - optional int32 friends_category_count = 2; - optional int32 friends_categorized_count = 3; - optional int32 friends_online_count = 4; - optional int32 friends_in_game_count = 5; - optional int32 friends_in_game_singleton_count = 6; - optional int32 game_group_count = 7; - optional int32 friends_favorite_count = 8; - optional int32 group_chat_count = 9; - optional int32 group_chat_favorite_count = 10; + message Settings { + optional bool notifications_show_ingame = 1; + optional bool notifications_show_online = 2; + optional bool notifications_show_message = 3; + optional bool notifications_events_and_announcements = 4; + optional bool sounds_play_ingame = 5; + optional bool sounds_play_online = 6; + optional bool sounds_play_message = 7; + optional bool sounds_events_and_announcements = 8; + optional bool always_new_chat_window = 9; + optional bool force_alphabetic_friend_sorting = 10; + optional int32 chat_flash_mode = 11; + optional bool remember_open_chats = 12; + optional bool compact_quick_access = 13; + optional bool compact_friends_list = 14; + optional bool notifications_show_chat_room_notification = 15; + optional bool sounds_play_chat_room_notification = 16; + optional bool hide_offline_friends_in_tag_groups = 17; + optional bool hide_categorized_friends = 18; + optional bool categorize_in_game_friends_by_game = 19; + optional int32 chat_font_size = 20; + optional bool use24hour_clock = 21; + optional bool do_not_disturb_mode = 22; + optional bool disable_embed_inlining = 23; + optional bool sign_into_friends = 24; + optional bool animated_avatars = 25; + } + + message VoiceSettings { + optional float voice_input_gain = 1; + optional float voice_output_gain = 2; + optional int32 noise_gate_level = 3; + optional bool voice_use_echo_cancellation = 4; + optional bool voice_use_noise_cancellation = 5; + optional bool voice_use_auto_gain_control = 6; + optional bool selected_non_default_mic = 7; + optional bool selected_non_default_output = 8; + optional bool push_to_talk_enabled = 9; + optional bool push_to_mute_enabled = 10; + optional bool play_ptt_sounds = 11; + } + + message UIState { + message CategoryCollapseState { + optional bool in_game_collapsed = 1; + optional bool online_collapsed = 2; + optional bool offline_collapsed = 3; + optional int32 game_groups_collapsed = 4; + optional int32 categories_collapsed = 5; } - optional uint32 metrics_run_id = 1; - optional uint32 client_build = 2; - optional uint32 metrics_version = 3; - optional bool in_web = 4; - optional .CChatUsability_ClientUsabilityMetrics_Notification.Settings settings = 10; - optional .CChatUsability_ClientUsabilityMetrics_Notification.VoiceSettings voice_settings = 11; - optional .CChatUsability_ClientUsabilityMetrics_Notification.UIState ui_state = 12; - optional .CChatUsability_ClientUsabilityMetrics_Notification.Metrics metrics = 13; + optional int32 friends_list_height = 1; + optional int32 friends_list_width = 2; + optional bool friends_list_docked = 3; + optional bool friends_list_collapsed = 4; + optional int32 friends_list_group_chats_height = 5; + optional bool friends_list_visible = 6; + optional int32 chat_popups_opened = 7; + optional int32 group_chat_tabs_opened = 8; + optional int32 friend_chat_tabs_opened = 9; + optional int32 chat_window_width = 10; + optional int32 chat_window_height = 11; + optional .CChatUsability_ClientUsabilityMetrics_Notification.UIState.CategoryCollapseState category_collapse = 12; + optional int32 group_chat_left_col_collapsed = 13; + optional int32 group_chat_right_col_collapsed = 14; + optional bool in_one_on_one_voice_chat = 15; + optional bool in_group_voice_chat = 16; + } + + message Metrics { + optional int32 friends_count = 1; + optional int32 friends_category_count = 2; + optional int32 friends_categorized_count = 3; + optional int32 friends_online_count = 4; + optional int32 friends_in_game_count = 5; + optional int32 friends_in_game_singleton_count = 6; + optional int32 game_group_count = 7; + optional int32 friends_favorite_count = 8; + optional int32 group_chat_count = 9; + optional int32 group_chat_favorite_count = 10; + } + + optional uint32 metrics_run_id = 1; + optional uint32 client_build = 2; + optional uint32 metrics_version = 3; + optional bool in_web = 4; + optional .CChatUsability_ClientUsabilityMetrics_Notification.Settings settings = 10; + optional .CChatUsability_ClientUsabilityMetrics_Notification.VoiceSettings voice_settings = 11; + optional .CChatUsability_ClientUsabilityMetrics_Notification.UIState ui_state = 12; + optional .CChatUsability_ClientUsabilityMetrics_Notification.Metrics metrics = 13; } message CChatUsability_RequestClientUsabilityMetrics_Notification { - optional uint32 metrics_run_id = 1; + optional uint32 metrics_run_id = 1; } service Chat { - rpc RequestFriendPersonaStates (.CChat_RequestFriendPersonaStates_Request) returns (.CChat_RequestFriendPersonaStates_Response); + rpc RequestFriendPersonaStates (.CChat_RequestFriendPersonaStates_Request) returns (.CChat_RequestFriendPersonaStates_Response); } service ChatRoom { - rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response); - rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response); - rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response); - rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response); - rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response); - rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response); - rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response); - rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response); - rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response); - rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response); - rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response); - rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response); - rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response); - rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response); - rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response); - rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response); - rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response); - rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response); - rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response); - rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response); - rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response); - rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response); - rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response); - rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response); - rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response); - rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response); - rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response); - rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response); - rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response); - rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response); - rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response); - rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response); - rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response); - rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response); - rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response); - rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response); - rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response); - rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse); - rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse); - rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response); - rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response); - rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response); - rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response); - rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response); - rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response); - rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response); - rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response); - rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response); - rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response); - rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse); - rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response); - rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response); - rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response); + rpc CreateChatRoomGroup (.CChatRoom_CreateChatRoomGroup_Request) returns (.CChatRoom_CreateChatRoomGroup_Response); + rpc SaveChatRoomGroup (.CChatRoom_SaveChatRoomGroup_Request) returns (.CChatRoom_SaveChatRoomGroup_Response); + rpc RenameChatRoomGroup (.CChatRoom_RenameChatRoomGroup_Request) returns (.CChatRoom_RenameChatRoomGroup_Response); + rpc SetChatRoomGroupTagline (.CChatRoom_SetChatRoomGroupTagline_Request) returns (.CChatRoom_SetChatRoomGroupTagline_Response); + rpc SetChatRoomGroupAvatar (.CChatRoom_SetChatRoomGroupAvatar_Request) returns (.CChatRoom_SetChatRoomGroupAvatar_Response); + rpc SetChatRoomGroupWatchingBroadcast (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Request) returns (.CChatRoom_SetChatRoomGroupWatchingBroadcast_Response); + rpc JoinMiniGameForChatRoomGroup (.CChatRoom_JoinMiniGameForChatRoomGroup_Request) returns (.CChatRoom_JoinMiniGameForChatRoomGroup_Response); + rpc EndMiniGameForChatRoomGroup (.CChatRoom_EndMiniGameForChatRoomGroup_Request) returns (.CChatRoom_EndMiniGameForChatRoomGroup_Response); + rpc MuteUserInGroup (.CChatRoom_MuteUser_Request) returns (.CChatRoom_MuteUser_Response); + rpc KickUserFromGroup (.CChatRoom_KickUser_Request) returns (.CChatRoom_KickUser_Response); + rpc SetUserBanState (.CChatRoom_SetUserBanState_Request) returns (.CChatRoom_SetUserBanState_Response); + rpc RevokeInviteToGroup (.CChatRoom_RevokeInvite_Request) returns (.CChatRoom_RevokeInvite_Response); + rpc CreateRole (.CChatRoom_CreateRole_Request) returns (.CChatRoom_CreateRole_Response); + rpc GetRoles (.CChatRoom_GetRoles_Request) returns (.CChatRoom_GetRoles_Response); + rpc RenameRole (.CChatRoom_RenameRole_Request) returns (.CChatRoom_RenameRole_Response); + rpc ReorderRole (.CChatRoom_ReorderRole_Request) returns (.CChatRoom_ReorderRole_Response); + rpc DeleteRole (.CChatRoom_DeleteRole_Request) returns (.CChatRoom_DeleteRole_Response); + rpc GetRoleActions (.CChatRoom_GetRoleActions_Request) returns (.CChatRoom_GetRoleActions_Response); + rpc ReplaceRoleActions (.CChatRoom_ReplaceRoleActions_Request) returns (.CChatRoom_ReplaceRoleActions_Response); + rpc AddRoleToUser (.CChatRoom_AddRoleToUser_Request) returns (.CChatRoom_AddRoleToUser_Response); + rpc GetRolesForUser (.CChatRoom_GetRolesForUser_Request) returns (.CChatRoom_GetRolesForUser_Response); + rpc DeleteRoleFromUser (.CChatRoom_DeleteRoleFromUser_Request) returns (.CChatRoom_DeleteRoleFromUser_Response); + rpc JoinChatRoomGroup (.CChatRoom_JoinChatRoomGroup_Request) returns (.CChatRoom_JoinChatRoomGroup_Response); + rpc InviteFriendToChatRoomGroup (.CChatRoom_InviteFriendToChatRoomGroup_Request) returns (.CChatRoom_InviteFriendToChatRoomGroup_Response); + rpc LeaveChatRoomGroup (.CChatRoom_LeaveChatRoomGroup_Request) returns (.CChatRoom_LeaveChatRoomGroup_Response); + rpc CreateChatRoom (.CChatRoom_CreateChatRoom_Request) returns (.CChatRoom_CreateChatRoom_Response); + rpc DeleteChatRoom (.CChatRoom_DeleteChatRoom_Request) returns (.CChatRoom_DeleteChatRoom_Response); + rpc RenameChatRoom (.CChatRoom_RenameChatRoom_Request) returns (.CChatRoom_RenameChatRoom_Response); + rpc ReorderChatRoom (.CChatRoom_ReorderChatRoom_Request) returns (.CChatRoom_ReorderChatRoom_Response); + rpc SendChatMessage (.CChatRoom_SendChatMessage_Request) returns (.CChatRoom_SendChatMessage_Response); + rpc JoinVoiceChat (.CChatRoom_JoinVoiceChat_Request) returns (.CChatRoom_JoinVoiceChat_Response); + rpc LeaveVoiceChat (.CChatRoom_LeaveVoiceChat_Request) returns (.CChatRoom_LeaveVoiceChat_Response); + rpc GetMessageHistory (.CChatRoom_GetMessageHistory_Request) returns (.CChatRoom_GetMessageHistory_Response); + rpc GetMyChatRoomGroups (.CChatRoom_GetMyChatRoomGroups_Request) returns (.CChatRoom_GetMyChatRoomGroups_Response); + rpc GetChatRoomGroupState (.CChatRoom_GetChatRoomGroupState_Request) returns (.CChatRoom_GetChatRoomGroupState_Response); + rpc GetChatRoomGroupSummary (.CChatRoom_GetChatRoomGroupSummary_Request) returns (.CChatRoom_GetChatRoomGroupSummary_Response); + rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response); + rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse); + rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse); + rpc CreateInviteLink (.CChatRoom_CreateInviteLink_Request) returns (.CChatRoom_CreateInviteLink_Response); + rpc GetInviteLinkInfo (.CChatRoom_GetInviteLinkInfo_Request) returns (.CChatRoom_GetInviteLinkInfo_Response); + rpc GetInviteInfo (.CChatRoom_GetInviteInfo_Request) returns (.CChatRoom_GetInviteInfo_Response); + rpc GetInviteLinksForGroup (.CChatRoom_GetInviteLinksForGroup_Request) returns (.CChatRoom_GetInviteLinksForGroup_Response); + rpc GetBanList (.CChatRoom_GetBanList_Request) returns (.CChatRoom_GetBanList_Response); + rpc GetInviteList (.CChatRoom_GetInviteList_Request) returns (.CChatRoom_GetInviteList_Response); + rpc DeleteInviteLink (.CChatRoom_DeleteInviteLink_Request) returns (.CChatRoom_DeleteInviteLink_Response); + rpc SetSessionActiveChatRoomGroups (.CChatRoom_SetSessionActiveChatRoomGroups_Request) returns (.CChatRoom_SetSessionActiveChatRoomGroups_Response); + rpc SetUserChatGroupPreferences (.CChatRoom_SetUserChatGroupPreferences_Request) returns (.CChatRoom_SetUserChatGroupPreferences_Response); + rpc DeleteChatMessages (.CChatRoom_DeleteChatMessages_Request) returns (.CChatRoom_DeleteChatMessages_Response); + rpc UpdateMemberListView (.CChatRoom_UpdateMemberListView_Notification) returns (.NoResponse); + rpc SearchMembers (.CChatRoom_SearchMembers_Request) returns (.CChatRoom_SearchMembers_Response); + rpc UpdateMessageReaction (.CChatRoom_UpdateMessageReaction_Request) returns (.CChatRoom_UpdateMessageReaction_Response); + rpc GetMessageReactionReactors (.CChatRoom_GetMessageReactionReactors_Request) returns (.CChatRoom_GetMessageReactionReactors_Response); } service ClanChatRooms { - rpc GetClanChatRoomInfo (.CClanChatRooms_GetClanChatRoomInfo_Request) returns (.CClanChatRooms_GetClanChatRoomInfo_Response); - rpc SetClanChatRoomPrivate (.CClanChatRooms_SetClanChatRoomPrivate_Request) returns (.CClanChatRooms_SetClanChatRoomPrivate_Response); + rpc GetClanChatRoomInfo (.CClanChatRooms_GetClanChatRoomInfo_Request) returns (.CClanChatRooms_GetClanChatRoomInfo_Response); + rpc SetClanChatRoomPrivate (.CClanChatRooms_SetClanChatRoomPrivate_Request) returns (.CClanChatRooms_SetClanChatRoomPrivate_Response); } service ChatRoomClient { - option (service_execution_site) = k_EProtoExecutionSiteSteamClient; + option (service_execution_site) = k_EProtoExecutionSiteSteamClient; - rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse); - rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse); - rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse); - rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse); - rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse); - rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse); - rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse); - rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse); - rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse); - rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse); - rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse); + rpc NotifyIncomingChatMessage (.CChatRoom_IncomingChatMessage_Notification) returns (.NoResponse); + rpc NotifyChatMessageModified (.CChatRoom_ChatMessageModified_Notification) returns (.NoResponse); + rpc NotifyMemberStateChange (.CChatRoom_MemberStateChange_Notification) returns (.NoResponse); + rpc NotifyChatRoomHeaderStateChange (.CChatRoom_ChatRoomHeaderState_Notification) returns (.NoResponse); + rpc NotifyChatRoomGroupRoomsChange (.CChatRoom_ChatRoomGroupRoomsChange_Notification) returns (.NoResponse); + rpc NotifyShouldRejoinChatRoomVoiceChat (.CChatRoom_NotifyShouldRejoinChatRoomVoiceChat_Notification) returns (.NoResponse); + rpc NotifyChatGroupUserStateChanged (.ChatRoomClient_NotifyChatGroupUserStateChanged_Notification) returns (.NoResponse); + rpc NotifyAckChatMessageEcho (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse); + rpc NotifyChatRoomDisconnect (.ChatRoomClient_NotifyChatRoomDisconnect_Notification) returns (.NoResponse); + rpc NotifyMemberListViewUpdated (.CChatRoomClient_MemberListViewUpdated_Notification) returns (.NoResponse); + rpc NotifyMessageReaction (.CChatRoom_MessageReaction_Notification) returns (.NoResponse); } service ChatUsability { - rpc NotifyClientUsabilityMetrics (.CChatUsability_ClientUsabilityMetrics_Notification) returns (.NoResponse); + rpc NotifyClientUsabilityMetrics (.CChatUsability_ClientUsabilityMetrics_Notification) returns (.NoResponse); } service ChatUsabilityClient { - option (service_execution_site) = k_EProtoExecutionSiteSteamClient; + option (service_execution_site) = k_EProtoExecutionSiteSteamClient; - rpc NotifyRequestClientUsabilityMetrics (.CChatUsability_RequestClientUsabilityMetrics_Notification) returns (.NoResponse); + rpc NotifyRequestClientUsabilityMetrics (.CChatUsability_RequestClientUsabilityMetrics_Notification) returns (.NoResponse); } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver.proto index 0567ded0..f7a00eed 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver.proto @@ -7,388 +7,388 @@ option optimize_for = SPEED; option java_generic_services = false; message CMsgClientRegisterAuthTicketWithCM { - optional uint32 protocol_version = 1; - optional bytes ticket = 3; - optional uint64 client_instance_id = 4; + optional uint32 protocol_version = 1; + optional bytes ticket = 3; + optional uint64 client_instance_id = 4; } message CMsgClientTicketAuthComplete { - optional fixed64 steam_id = 1; - optional fixed64 game_id = 2; - optional uint32 estate = 3; - optional uint32 eauth_session_response = 4; - optional bytes DEPRECATED_ticket = 5; - optional uint32 ticket_crc = 6; - optional uint32 ticket_sequence = 7; - optional fixed64 owner_steam_id = 8; + optional fixed64 steam_id = 1; + optional fixed64 game_id = 2; + optional uint32 estate = 3; + optional uint32 eauth_session_response = 4; + optional bytes DEPRECATED_ticket = 5; + optional uint32 ticket_crc = 6; + optional uint32 ticket_sequence = 7; + optional fixed64 owner_steam_id = 8; } message CMsgClientCMList { - repeated uint32 cm_addresses = 1; - repeated uint32 cm_ports = 2; - repeated string cm_websocket_addresses = 3; - optional uint32 percent_default_to_websocket = 4; + repeated uint32 cm_addresses = 1; + repeated uint32 cm_ports = 2; + repeated string cm_websocket_addresses = 3; + optional uint32 percent_default_to_websocket = 4; } message CMsgClientP2PConnectionInfo { - optional fixed64 steam_id_dest = 1; - optional fixed64 steam_id_src = 2; - optional uint32 app_id = 3; - optional bytes candidate = 4; - optional fixed64 legacy_connection_id_src = 5; - optional bytes rendezvous = 6; + optional fixed64 steam_id_dest = 1; + optional fixed64 steam_id_src = 2; + optional uint32 app_id = 3; + optional bytes candidate = 4; + optional fixed64 legacy_connection_id_src = 5; + optional bytes rendezvous = 6; } message CMsgClientP2PConnectionFailInfo { - optional fixed64 steam_id_dest = 1; - optional fixed64 steam_id_src = 2; - optional uint32 app_id = 3; - optional uint32 ep2p_session_error = 4; - optional fixed64 connection_id_dest = 5; - optional uint32 close_reason = 7; - optional string close_message = 8; + optional fixed64 steam_id_dest = 1; + optional fixed64 steam_id_src = 2; + optional uint32 app_id = 3; + optional uint32 ep2p_session_error = 4; + optional fixed64 connection_id_dest = 5; + optional uint32 close_reason = 7; + optional string close_message = 8; } message CMsgClientNetworkingCertRequest { - optional bytes key_data = 2; - optional uint32 app_id = 3; + optional bytes key_data = 2; + optional uint32 app_id = 3; } message CMsgClientNetworkingCertReply { - optional bytes cert = 4; - optional fixed64 ca_key_id = 5; - optional bytes ca_signature = 6; + optional bytes cert = 4; + optional fixed64 ca_key_id = 5; + optional bytes ca_signature = 6; } message CMsgClientNetworkingMobileCertRequest { - optional uint32 app_id = 1; + optional uint32 app_id = 1; } message CMsgClientNetworkingMobileCertReply { - optional string encoded_cert = 1; + optional string encoded_cert = 1; } message CMsgClientGetAppOwnershipTicket { - optional uint32 app_id = 1; + optional uint32 app_id = 1; } message CMsgClientGetAppOwnershipTicketResponse { - optional uint32 eresult = 1 [default = 2]; - optional uint32 app_id = 2; - optional bytes ticket = 3; + optional uint32 eresult = 1 [default = 2]; + optional uint32 app_id = 2; + optional bytes ticket = 3; } message CMsgClientSessionToken { - optional uint64 token = 1; + optional uint64 token = 1; } message CMsgClientGameConnectTokens { - optional uint32 max_tokens_to_keep = 1 [default = 10]; - repeated bytes tokens = 2; + optional uint32 max_tokens_to_keep = 1 [default = 10]; + repeated bytes tokens = 2; } message CMsgClientGamesPlayed { - message ProcessInfo { - optional uint32 process_id = 1; - optional uint32 process_id_parent = 2; - optional bool parent_is_steam = 3; - } - - message GamePlayed { - optional uint64 steam_id_gs = 1; - optional fixed64 game_id = 2; - optional uint32 deprecated_game_ip_address = 3; - optional uint32 game_port = 4; - optional bool is_secure = 5; - optional bytes token = 6; - optional string game_extra_info = 7; - optional bytes game_data_blob = 8; - optional uint32 process_id = 9; - optional uint32 streaming_provider_id = 10; - optional uint32 game_flags = 11; - optional uint32 owner_id = 12; - optional string vr_hmd_vendor = 13; - optional string vr_hmd_model = 14; - optional uint32 launch_option_type = 15 [default = 0]; - optional int32 primary_controller_type = 16 [default = -1]; - optional string primary_steam_controller_serial = 17; - optional uint32 total_steam_controller_count = 18 [default = 0]; - optional uint32 total_non_steam_controller_count = 19 [default = 0]; - optional uint64 controller_workshop_file_id = 20 [default = 0]; - optional uint32 launch_source = 21 [default = 0]; - optional uint32 vr_hmd_runtime = 22; - optional .CMsgIPAddress game_ip_address = 23; - optional uint32 controller_connection_type = 24 [default = 0]; - optional int32 game_os_platform = 25; - optional uint32 game_build_id = 26; - optional uint32 compat_tool_id = 27 [default = 0]; - optional string compat_tool_cmd = 28; - optional uint32 compat_tool_build_id = 29; - optional string beta_name = 30; - optional uint32 dlc_context = 31; - repeated .CMsgClientGamesPlayed.ProcessInfo process_id_list = 32; - } - - repeated .CMsgClientGamesPlayed.GamePlayed games_played = 1; - optional uint32 client_os_type = 2; - optional uint32 cloud_gaming_platform = 3; - optional bool recent_reauthentication = 4; + message ProcessInfo { + optional uint32 process_id = 1; + optional uint32 process_id_parent = 2; + optional bool parent_is_steam = 3; + } + + message GamePlayed { + optional uint64 steam_id_gs = 1; + optional fixed64 game_id = 2; + optional uint32 deprecated_game_ip_address = 3; + optional uint32 game_port = 4; + optional bool is_secure = 5; + optional bytes token = 6; + optional string game_extra_info = 7; + optional bytes game_data_blob = 8; + optional uint32 process_id = 9; + optional uint32 streaming_provider_id = 10; + optional uint32 game_flags = 11; + optional uint32 owner_id = 12; + optional string vr_hmd_vendor = 13; + optional string vr_hmd_model = 14; + optional uint32 launch_option_type = 15 [default = 0]; + optional int32 primary_controller_type = 16 [default = -1]; + optional string primary_steam_controller_serial = 17; + optional uint32 total_steam_controller_count = 18 [default = 0]; + optional uint32 total_non_steam_controller_count = 19 [default = 0]; + optional uint64 controller_workshop_file_id = 20 [default = 0]; + optional uint32 launch_source = 21 [default = 0]; + optional uint32 vr_hmd_runtime = 22; + optional .CMsgIPAddress game_ip_address = 23; + optional uint32 controller_connection_type = 24 [default = 0]; + optional int32 game_os_platform = 25; + optional uint32 game_build_id = 26; + optional uint32 compat_tool_id = 27 [default = 0]; + optional string compat_tool_cmd = 28; + optional uint32 compat_tool_build_id = 29; + optional string beta_name = 30; + optional uint32 dlc_context = 31; + repeated .CMsgClientGamesPlayed.ProcessInfo process_id_list = 32; + } + + repeated .CMsgClientGamesPlayed.GamePlayed games_played = 1; + optional uint32 client_os_type = 2; + optional uint32 cloud_gaming_platform = 3; + optional bool recent_reauthentication = 4; } message CMsgGSApprove { - optional fixed64 steam_id = 1; - optional fixed64 owner_steam_id = 2; + optional fixed64 steam_id = 1; + optional fixed64 owner_steam_id = 2; } message CMsgGSDeny { - optional fixed64 steam_id = 1; - optional int32 edeny_reason = 2; - optional string deny_string = 3; + optional fixed64 steam_id = 1; + optional int32 edeny_reason = 2; + optional string deny_string = 3; } message CMsgGSKick { - optional fixed64 steam_id = 1; - optional int32 edeny_reason = 2; + optional fixed64 steam_id = 1; + optional int32 edeny_reason = 2; } message CMsgClientAuthList { - optional uint32 tokens_left = 1; - optional uint32 last_request_seq = 2; - optional uint32 last_request_seq_from_server = 3; - repeated .CMsgAuthTicket tickets = 4; - repeated uint32 app_ids = 5; - optional uint32 message_sequence = 6; - optional bool filtered = 7; + optional uint32 tokens_left = 1; + optional uint32 last_request_seq = 2; + optional uint32 last_request_seq_from_server = 3; + repeated .CMsgAuthTicket tickets = 4; + repeated uint32 app_ids = 5; + optional uint32 message_sequence = 6; + optional bool filtered = 7; } message CMsgClientAuthListAck { - repeated uint32 ticket_crc = 1; - repeated uint32 app_ids = 2; - optional uint32 message_sequence = 3; + repeated uint32 ticket_crc = 1; + repeated uint32 app_ids = 2; + optional uint32 message_sequence = 3; } message CMsgClientLicenseList { - message License { - optional uint32 package_id = 1; - optional fixed32 time_created = 2; - optional fixed32 time_next_process = 3; - optional int32 minute_limit = 4; - optional int32 minutes_used = 5; - optional uint32 payment_method = 6; - optional uint32 flags = 7; - optional string purchase_country_code = 8; - optional uint32 license_type = 9; - optional int32 territory_code = 10; - optional int32 change_number = 11; - optional uint32 owner_id = 12; - optional uint32 initial_period = 13; - optional uint32 initial_time_unit = 14; - optional uint32 renewal_period = 15; - optional uint32 renewal_time_unit = 16; - optional uint64 access_token = 17; - optional uint32 master_package_id = 18; - } - - optional int32 eresult = 1 [default = 2]; - repeated .CMsgClientLicenseList.License licenses = 2; + message License { + optional uint32 package_id = 1; + optional fixed32 time_created = 2; + optional fixed32 time_next_process = 3; + optional int32 minute_limit = 4; + optional int32 minutes_used = 5; + optional uint32 payment_method = 6; + optional uint32 flags = 7; + optional string purchase_country_code = 8; + optional uint32 license_type = 9; + optional int32 territory_code = 10; + optional int32 change_number = 11; + optional uint32 owner_id = 12; + optional uint32 initial_period = 13; + optional uint32 initial_time_unit = 14; + optional uint32 renewal_period = 15; + optional uint32 renewal_time_unit = 16; + optional uint64 access_token = 17; + optional uint32 master_package_id = 18; + } + + optional int32 eresult = 1 [default = 2]; + repeated .CMsgClientLicenseList.License licenses = 2; } message CMsgClientIsLimitedAccount { - optional bool bis_limited_account = 1; - optional bool bis_community_banned = 2; - optional bool bis_locked_account = 3; - optional bool bis_limited_account_allowed_to_invite_friends = 4; + optional bool bis_limited_account = 1; + optional bool bis_community_banned = 2; + optional bool bis_locked_account = 3; + optional bool bis_limited_account_allowed_to_invite_friends = 4; } message CMsgClientRequestedClientStats { - message StatsToSend { - optional uint32 client_stat = 1; - optional uint32 stat_aggregate_method = 2; - } + message StatsToSend { + optional uint32 client_stat = 1; + optional uint32 stat_aggregate_method = 2; + } - repeated .CMsgClientRequestedClientStats.StatsToSend stats_to_send = 1; + repeated .CMsgClientRequestedClientStats.StatsToSend stats_to_send = 1; } message CMsgClientStat2 { - message StatDetail { - optional uint32 client_stat = 1; - optional int64 ll_value = 2; - optional uint32 time_of_day = 3; - optional uint32 cell_id = 4; - optional uint32 depot_id = 5; - optional uint32 app_id = 6; - } + message StatDetail { + optional uint32 client_stat = 1; + optional int64 ll_value = 2; + optional uint32 time_of_day = 3; + optional uint32 cell_id = 4; + optional uint32 depot_id = 5; + optional uint32 app_id = 6; + } - repeated .CMsgClientStat2.StatDetail stat_detail = 1; + repeated .CMsgClientStat2.StatDetail stat_detail = 1; } message CMsgClientInviteToGame { - optional fixed64 steam_id_dest = 1; - optional fixed64 steam_id_src = 2; - optional string connect_string = 3; - optional string remote_play = 4; + optional fixed64 steam_id_dest = 1; + optional fixed64 steam_id_src = 2; + optional string connect_string = 3; + optional string remote_play = 4; } message CMsgClientChatInvite { - optional fixed64 steam_id_invited = 1; - optional fixed64 steam_id_chat = 2; - optional fixed64 steam_id_patron = 3; - optional int32 chatroom_type = 4; - optional fixed64 steam_id_friend_chat = 5; - optional string chat_name = 6; - optional fixed64 game_id = 7; + optional fixed64 steam_id_invited = 1; + optional fixed64 steam_id_chat = 2; + optional fixed64 steam_id_patron = 3; + optional int32 chatroom_type = 4; + optional fixed64 steam_id_friend_chat = 5; + optional string chat_name = 6; + optional fixed64 game_id = 7; } message CMsgClientConnectionStats { - message Stats_Logon { - optional int32 connect_attempts = 1; - optional int32 connect_successes = 2; - optional int32 connect_failures = 3; - optional int32 connections_dropped = 4; - optional uint32 seconds_running = 5; - optional uint32 msec_tologonthistime = 6; - optional uint32 count_bad_cms = 7; - optional bool no_udp_connectivity = 8; - optional bool no_tcp_connectivity = 9; - optional bool no_websocket_443_connectivity = 10; - optional bool no_websocket_non_443_connectivity = 11; - } - - message Stats_UDP { - optional uint64 pkts_sent = 1; - optional uint64 bytes_sent = 2; - optional uint64 pkts_recv = 3; - optional uint64 pkts_processed = 4; - optional uint64 bytes_recv = 5; - } - - message Stats_VConn { - optional uint32 connections_udp = 1; - optional uint32 connections_tcp = 2; - optional .CMsgClientConnectionStats.Stats_UDP stats_udp = 3; - optional uint64 pkts_abandoned = 4; - optional uint64 conn_req_received = 5; - optional uint64 pkts_resent = 6; - optional uint64 msgs_sent = 7; - optional uint64 msgs_sent_failed = 8; - optional uint64 msgs_recv = 9; - optional uint64 datagrams_sent = 10; - optional uint64 datagrams_recv = 11; - optional uint64 bad_pkts_recv = 12; - optional uint64 unknown_conn_pkts_recv = 13; - optional uint64 missed_pkts_recv = 14; - optional uint64 dup_pkts_recv = 15; - optional uint64 failed_connect_challenges = 16; - optional uint32 micro_sec_avg_latency = 17; - optional uint32 micro_sec_min_latency = 18; - optional uint32 micro_sec_max_latency = 19; - } - - optional .CMsgClientConnectionStats.Stats_Logon stats_logon = 1; - optional .CMsgClientConnectionStats.Stats_VConn stats_vconn = 2; + message Stats_Logon { + optional int32 connect_attempts = 1; + optional int32 connect_successes = 2; + optional int32 connect_failures = 3; + optional int32 connections_dropped = 4; + optional uint32 seconds_running = 5; + optional uint32 msec_tologonthistime = 6; + optional uint32 count_bad_cms = 7; + optional bool no_udp_connectivity = 8; + optional bool no_tcp_connectivity = 9; + optional bool no_websocket_443_connectivity = 10; + optional bool no_websocket_non_443_connectivity = 11; + } + + message Stats_UDP { + optional uint64 pkts_sent = 1; + optional uint64 bytes_sent = 2; + optional uint64 pkts_recv = 3; + optional uint64 pkts_processed = 4; + optional uint64 bytes_recv = 5; + } + + message Stats_VConn { + optional uint32 connections_udp = 1; + optional uint32 connections_tcp = 2; + optional .CMsgClientConnectionStats.Stats_UDP stats_udp = 3; + optional uint64 pkts_abandoned = 4; + optional uint64 conn_req_received = 5; + optional uint64 pkts_resent = 6; + optional uint64 msgs_sent = 7; + optional uint64 msgs_sent_failed = 8; + optional uint64 msgs_recv = 9; + optional uint64 datagrams_sent = 10; + optional uint64 datagrams_recv = 11; + optional uint64 bad_pkts_recv = 12; + optional uint64 unknown_conn_pkts_recv = 13; + optional uint64 missed_pkts_recv = 14; + optional uint64 dup_pkts_recv = 15; + optional uint64 failed_connect_challenges = 16; + optional uint32 micro_sec_avg_latency = 17; + optional uint32 micro_sec_min_latency = 18; + optional uint32 micro_sec_max_latency = 19; + } + + optional .CMsgClientConnectionStats.Stats_Logon stats_logon = 1; + optional .CMsgClientConnectionStats.Stats_VConn stats_vconn = 2; } message CMsgClientServersAvailable { - message Server_Types_Available { - optional uint32 server = 1; - optional bool changed = 2; - } + message Server_Types_Available { + optional uint32 server = 1; + optional bool changed = 2; + } - repeated .CMsgClientServersAvailable.Server_Types_Available server_types_available = 1; - optional uint32 server_type_for_auth_services = 2; + repeated .CMsgClientServersAvailable.Server_Types_Available server_types_available = 1; + optional uint32 server_type_for_auth_services = 2; } message CMsgClientReportOverlayDetourFailure { - repeated string failure_strings = 1; + repeated string failure_strings = 1; } message CMsgClientRequestEncryptedAppTicket { - optional uint32 app_id = 1; - optional bytes userdata = 2; + optional uint32 app_id = 1; + optional bytes userdata = 2; } message CMsgClientRequestEncryptedAppTicketResponse { - optional uint32 app_id = 1; - optional int32 eresult = 2 [default = 2]; - optional .EncryptedAppTicket encrypted_app_ticket = 3; + optional uint32 app_id = 1; + optional int32 eresult = 2 [default = 2]; + optional .EncryptedAppTicket encrypted_app_ticket = 3; } message CMsgClientWalletInfoUpdate { - optional bool has_wallet = 1; - optional int32 balance = 2; - optional int32 currency = 3; - optional int32 balance_delayed = 4; - optional int64 balance64 = 5 [(php_output_always_number) = true]; - optional int64 balance64_delayed = 6 [(php_output_always_number) = true]; - optional int32 realm = 7; + optional bool has_wallet = 1; + optional int32 balance = 2; + optional int32 currency = 3; + optional int32 balance_delayed = 4; + optional int64 balance64 = 5 [(php_output_always_number) = true]; + optional int64 balance64_delayed = 6 [(php_output_always_number) = true]; + optional int32 realm = 7; } message CMsgClientAMGetClanOfficers { - optional fixed64 steamid_clan = 1; + optional fixed64 steamid_clan = 1; } message CMsgClientAMGetClanOfficersResponse { - optional int32 eresult = 1 [default = 2]; - optional fixed64 steamid_clan = 2; - optional int32 officer_count = 3; + optional int32 eresult = 1 [default = 2]; + optional fixed64 steamid_clan = 2; + optional int32 officer_count = 3; } message CMsgClientAMGetPersonaNameHistory { - message IdInstance { - optional fixed64 steamid = 1; - } + message IdInstance { + optional fixed64 steamid = 1; + } - optional int32 id_count = 1; - repeated .CMsgClientAMGetPersonaNameHistory.IdInstance Ids = 2; + optional int32 id_count = 1; + repeated .CMsgClientAMGetPersonaNameHistory.IdInstance Ids = 2; } message CMsgClientAMGetPersonaNameHistoryResponse { - message NameTableInstance { - message NameInstance { - optional fixed32 name_since = 1; - optional string name = 2; - } + message NameTableInstance { + message NameInstance { + optional fixed32 name_since = 1; + optional string name = 2; + } - optional int32 eresult = 1 [default = 2]; - optional fixed64 steamid = 2; - repeated .CMsgClientAMGetPersonaNameHistoryResponse.NameTableInstance.NameInstance names = 3; - } + optional int32 eresult = 1 [default = 2]; + optional fixed64 steamid = 2; + repeated .CMsgClientAMGetPersonaNameHistoryResponse.NameTableInstance.NameInstance names = 3; + } - repeated .CMsgClientAMGetPersonaNameHistoryResponse.NameTableInstance responses = 2; + repeated .CMsgClientAMGetPersonaNameHistoryResponse.NameTableInstance responses = 2; } message CMsgClientDeregisterWithServer { - optional uint32 eservertype = 1; - optional uint32 app_id = 2; + optional uint32 eservertype = 1; + optional uint32 app_id = 2; } message CMsgClientClanState { - message NameInfo { - optional string clan_name = 1; - optional bytes sha_avatar = 2; - } - - message UserCounts { - optional uint32 members = 1; - optional uint32 online = 2; - optional uint32 chatting = 3; - optional uint32 in_game = 4; - optional uint32 chat_room_members = 5; - } - - message Event { - optional fixed64 gid = 1; - optional uint32 event_time = 2; - optional string headline = 3; - optional fixed64 game_id = 4; - optional bool just_posted = 5; - } - - optional fixed64 steamid_clan = 1; - optional uint32 clan_account_flags = 3; - optional .CMsgClientClanState.NameInfo name_info = 4; - optional .CMsgClientClanState.UserCounts user_counts = 5; - repeated .CMsgClientClanState.Event events = 6; - repeated .CMsgClientClanState.Event announcements = 7; - optional bool chat_room_private = 8; + message NameInfo { + optional string clan_name = 1; + optional bytes sha_avatar = 2; + } + + message UserCounts { + optional uint32 members = 1; + optional uint32 online = 2; + optional uint32 chatting = 3; + optional uint32 in_game = 4; + optional uint32 chat_room_members = 5; + } + + message Event { + optional fixed64 gid = 1; + optional uint32 event_time = 2; + optional string headline = 3; + optional fixed64 game_id = 4; + optional bool just_posted = 5; + } + + optional fixed64 steamid_clan = 1; + optional uint32 clan_account_flags = 3; + optional .CMsgClientClanState.NameInfo name_info = 4; + optional .CMsgClientClanState.UserCounts user_counts = 5; + repeated .CMsgClientClanState.Event events = 6; + repeated .CMsgClientClanState.Event announcements = 7; + optional bool chat_room_private = 8; } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_2.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_2.proto index 69838042..5afc1715 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_2.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_2.proto @@ -6,768 +6,768 @@ option optimize_for = SPEED; option java_generic_services = false; message CMsgClientUpdateUserGameInfo { - optional fixed64 steamid_idgs = 1; - optional fixed64 gameid = 2; - optional uint32 game_ip = 3; - optional uint32 game_port = 4; - optional bytes token = 5; + optional fixed64 steamid_idgs = 1; + optional fixed64 gameid = 2; + optional uint32 game_ip = 3; + optional uint32 game_port = 4; + optional bytes token = 5; } message CMsgClientRichPresenceUpload { - optional bytes rich_presence_kv = 1; - repeated fixed64 steamid_broadcast = 2; + optional bytes rich_presence_kv = 1; + repeated fixed64 steamid_broadcast = 2; } message CMsgClientRichPresenceRequest { - repeated fixed64 steamid_request = 1; + repeated fixed64 steamid_request = 1; } message CMsgClientRichPresenceInfo { - message RichPresence { - optional fixed64 steamid_user = 1; - optional bytes rich_presence_kv = 2; - } + message RichPresence { + optional fixed64 steamid_user = 1; + optional bytes rich_presence_kv = 2; + } - repeated .CMsgClientRichPresenceInfo.RichPresence rich_presence = 1; + repeated .CMsgClientRichPresenceInfo.RichPresence rich_presence = 1; } message CMsgClientCheckFileSignature { - optional uint32 app_id = 1; + optional uint32 app_id = 1; } message CMsgClientCheckFileSignatureResponse { - optional uint32 app_id = 1; - optional uint32 pid = 2; - optional uint32 eresult = 3; - optional string filename = 4; - optional uint32 esignatureresult = 5; - optional bytes sha_file = 6; - optional bytes signatureheader = 7; - optional uint32 filesize = 8; - optional uint32 getlasterror = 9; - optional uint32 evalvesignaturecheckdetail = 10; + optional uint32 app_id = 1; + optional uint32 pid = 2; + optional uint32 eresult = 3; + optional string filename = 4; + optional uint32 esignatureresult = 5; + optional bytes sha_file = 6; + optional bytes signatureheader = 7; + optional uint32 filesize = 8; + optional uint32 getlasterror = 9; + optional uint32 evalvesignaturecheckdetail = 10; } message CMsgClientReadMachineAuth { - optional string filename = 1; - optional uint32 offset = 2; - optional uint32 cubtoread = 3; + optional string filename = 1; + optional uint32 offset = 2; + optional uint32 cubtoread = 3; } message CMsgClientReadMachineAuthResponse { - optional string filename = 1; - optional uint32 eresult = 2; - optional uint32 filesize = 3; - optional bytes sha_file = 4; - optional uint32 getlasterror = 5; - optional uint32 offset = 6; - optional uint32 cubread = 7; - optional bytes bytes_read = 8; - optional string filename_sentry = 9; + optional string filename = 1; + optional uint32 eresult = 2; + optional uint32 filesize = 3; + optional bytes sha_file = 4; + optional uint32 getlasterror = 5; + optional uint32 offset = 6; + optional uint32 cubread = 7; + optional bytes bytes_read = 8; + optional string filename_sentry = 9; } message CMsgClientUpdateMachineAuth { - optional string filename = 1; - optional uint32 offset = 2; - optional uint32 cubtowrite = 3; - optional bytes bytes = 4; - optional uint32 otp_type = 5; - optional string otp_identifier = 6; - optional bytes otp_sharedsecret = 7; - optional uint32 otp_timedrift = 8; + optional string filename = 1; + optional uint32 offset = 2; + optional uint32 cubtowrite = 3; + optional bytes bytes = 4; + optional uint32 otp_type = 5; + optional string otp_identifier = 6; + optional bytes otp_sharedsecret = 7; + optional uint32 otp_timedrift = 8; } message CMsgClientUpdateMachineAuthResponse { - optional string filename = 1; - optional uint32 eresult = 2; - optional uint32 filesize = 3; - optional bytes sha_file = 4; - optional uint32 getlasterror = 5; - optional uint32 offset = 6; - optional uint32 cubwrote = 7; - optional int32 otp_type = 8; - optional uint32 otp_value = 9; - optional string otp_identifier = 10; + optional string filename = 1; + optional uint32 eresult = 2; + optional uint32 filesize = 3; + optional bytes sha_file = 4; + optional uint32 getlasterror = 5; + optional uint32 offset = 6; + optional uint32 cubwrote = 7; + optional int32 otp_type = 8; + optional uint32 otp_value = 9; + optional string otp_identifier = 10; } message CMsgClientRequestMachineAuth { - optional string filename = 1; - optional uint32 eresult_sentryfile = 2; - optional uint32 filesize = 3; - optional bytes sha_sentryfile = 4; - optional int32 lock_account_action = 6; - optional uint32 otp_type = 7; - optional string otp_identifier = 8; - optional bytes otp_sharedsecret = 9; - optional uint32 otp_value = 10; - optional string machine_name = 11; - optional string machine_name_userchosen = 12; + optional string filename = 1; + optional uint32 eresult_sentryfile = 2; + optional uint32 filesize = 3; + optional bytes sha_sentryfile = 4; + optional int32 lock_account_action = 6; + optional uint32 otp_type = 7; + optional string otp_identifier = 8; + optional bytes otp_sharedsecret = 9; + optional uint32 otp_value = 10; + optional string machine_name = 11; + optional string machine_name_userchosen = 12; } message CMsgClientRequestMachineAuthResponse { - optional uint32 eresult = 1; + optional uint32 eresult = 1; } message CMsgClientRegisterKey { - optional string key = 1; + optional string key = 1; } message CMsgClientPurchaseResponse { - optional int32 eresult = 1 [default = 2]; - optional int32 purchase_result_details = 2; - optional bytes purchase_receipt_info = 3; + optional int32 eresult = 1 [default = 2]; + optional int32 purchase_result_details = 2; + optional bytes purchase_receipt_info = 3; } message CMsgClientActivateOEMLicense { - optional string bios_manufacturer = 1; - optional string bios_serialnumber = 2; - optional bytes license_file = 3; - optional string mainboard_manufacturer = 4; - optional string mainboard_product = 5; - optional string mainboard_serialnumber = 6; + optional string bios_manufacturer = 1; + optional string bios_serialnumber = 2; + optional bytes license_file = 3; + optional string mainboard_manufacturer = 4; + optional string mainboard_product = 5; + optional string mainboard_serialnumber = 6; } message CMsgClientRegisterOEMMachine { - optional bytes oem_register_file = 1; + optional bytes oem_register_file = 1; } message CMsgClientRegisterOEMMachineResponse { - optional uint32 eresult = 1; + optional uint32 eresult = 1; } message CMsgClientPurchaseWithMachineID { - optional uint32 package_id = 1; - optional bytes machine_info = 2; + optional uint32 package_id = 1; + optional bytes machine_info = 2; } message CMsgTrading_InitiateTradeRequest { - optional uint32 trade_request_id = 1; - optional uint64 other_steamid = 2; - optional string other_name = 3; + optional uint32 trade_request_id = 1; + optional uint64 other_steamid = 2; + optional string other_name = 3; } message CMsgTrading_InitiateTradeResponse { - optional uint32 response = 1; - optional uint32 trade_request_id = 2; - optional uint64 other_steamid = 3; - optional uint32 steamguard_required_days = 4; - optional uint32 new_device_cooldown_days = 5; - optional uint32 default_password_reset_probation_days = 6; - optional uint32 password_reset_probation_days = 7; - optional uint32 default_email_change_probation_days = 8; - optional uint32 email_change_probation_days = 9; + optional uint32 response = 1; + optional uint32 trade_request_id = 2; + optional uint64 other_steamid = 3; + optional uint32 steamguard_required_days = 4; + optional uint32 new_device_cooldown_days = 5; + optional uint32 default_password_reset_probation_days = 6; + optional uint32 password_reset_probation_days = 7; + optional uint32 default_email_change_probation_days = 8; + optional uint32 email_change_probation_days = 9; } message CMsgTrading_CancelTradeRequest { - optional uint64 other_steamid = 1; + optional uint64 other_steamid = 1; } message CMsgTrading_StartSession { - optional uint64 other_steamid = 1; + optional uint64 other_steamid = 1; } message CMsgClientGetCDNAuthToken { - optional uint32 depot_id = 1; - optional string host_name = 2; - optional uint32 app_id = 3; + optional uint32 depot_id = 1; + optional string host_name = 2; + optional uint32 app_id = 3; } message CMsgClientGetDepotDecryptionKey { - optional uint32 depot_id = 1; - optional uint32 app_id = 2; + optional uint32 depot_id = 1; + optional uint32 app_id = 2; } message CMsgClientGetDepotDecryptionKeyResponse { - optional int32 eresult = 1 [default = 2]; - optional uint32 depot_id = 2; - optional bytes depot_encryption_key = 3; + optional int32 eresult = 1 [default = 2]; + optional uint32 depot_id = 2; + optional bytes depot_encryption_key = 3; } message CMsgClientCheckAppBetaPassword { - optional uint32 app_id = 1; - optional string betapassword = 2; - optional int32 language = 3; + optional uint32 app_id = 1; + optional string betapassword = 2; + optional int32 language = 3; } message CMsgClientCheckAppBetaPasswordResponse { - message BetaPassword { - optional string betaname = 1; - optional string betapassword = 2; - optional string betadescription = 3; - } + message BetaPassword { + optional string betaname = 1; + optional string betapassword = 2; + optional string betadescription = 3; + } - optional int32 eresult = 1 [default = 2]; - repeated .CMsgClientCheckAppBetaPasswordResponse.BetaPassword betapasswords = 4; + optional int32 eresult = 1 [default = 2]; + repeated .CMsgClientCheckAppBetaPasswordResponse.BetaPassword betapasswords = 4; } message CMsgClientGetCDNAuthTokenResponse { - optional uint32 eresult = 1 [default = 2]; - optional string token = 2; - optional uint32 expiration_time = 3; + optional uint32 eresult = 1 [default = 2]; + optional string token = 2; + optional uint32 expiration_time = 3; } message CMsgDownloadRateStatistics { - message StatsInfo { - optional uint32 source_type = 1; - optional uint32 source_id = 2; - optional uint32 seconds = 3; - optional uint64 bytes = 4; - optional string host_name = 5; - optional uint64 microseconds = 6; - optional bool used_ipv6 = 7; - optional bool proxied = 8; - } - - optional uint32 cell_id = 1; - repeated .CMsgDownloadRateStatistics.StatsInfo stats = 2; - optional uint32 throttling_kbps = 3; - optional uint32 steam_realm = 4; + message StatsInfo { + optional uint32 source_type = 1; + optional uint32 source_id = 2; + optional uint32 seconds = 3; + optional uint64 bytes = 4; + optional string host_name = 5; + optional uint64 microseconds = 6; + optional bool used_ipv6 = 7; + optional bool proxied = 8; + } + + optional uint32 cell_id = 1; + repeated .CMsgDownloadRateStatistics.StatsInfo stats = 2; + optional uint32 throttling_kbps = 3; + optional uint32 steam_realm = 4; } message CMsgClientRequestAccountData { - optional string account_or_email = 1; - optional uint32 action = 2; + optional string account_or_email = 1; + optional uint32 action = 2; } message CMsgClientRequestAccountDataResponse { - optional uint32 action = 1; - optional uint32 eresult = 2; - optional string account_name = 3; - optional uint32 ct_matches = 4; - optional string account_name_suggestion1 = 5; - optional string account_name_suggestion2 = 6; - optional string account_name_suggestion3 = 7; + optional uint32 action = 1; + optional uint32 eresult = 2; + optional string account_name = 3; + optional uint32 ct_matches = 4; + optional string account_name_suggestion1 = 5; + optional string account_name_suggestion2 = 6; + optional string account_name_suggestion3 = 7; } message CMsgClientUGSGetGlobalStats { - optional uint64 gameid = 1; - optional uint32 history_days_requested = 2; - optional fixed32 time_last_requested = 3; - optional uint32 first_day_cached = 4; - optional uint32 days_cached = 5; + optional uint64 gameid = 1; + optional uint32 history_days_requested = 2; + optional fixed32 time_last_requested = 3; + optional uint32 first_day_cached = 4; + optional uint32 days_cached = 5; } message CMsgClientUGSGetGlobalStatsResponse { - message Day { - message Stat { - optional int32 stat_id = 1; - optional int64 data = 2; - } + message Day { + message Stat { + optional int32 stat_id = 1; + optional int64 data = 2; + } - optional uint32 day_id = 1; - repeated .CMsgClientUGSGetGlobalStatsResponse.Day.Stat stats = 2; - } + optional uint32 day_id = 1; + repeated .CMsgClientUGSGetGlobalStatsResponse.Day.Stat stats = 2; + } - optional int32 eresult = 1 [default = 2]; - optional fixed32 timestamp = 2; - optional int32 day_current = 3; - repeated .CMsgClientUGSGetGlobalStatsResponse.Day days = 4; + optional int32 eresult = 1 [default = 2]; + optional fixed32 timestamp = 2; + optional int32 day_current = 3; + repeated .CMsgClientUGSGetGlobalStatsResponse.Day days = 4; } message CMsgClientRedeemGuestPass { - optional fixed64 guest_pass_id = 1; + optional fixed64 guest_pass_id = 1; } message CMsgClientRedeemGuestPassResponse { - optional uint32 eresult = 1 [default = 2]; - optional uint32 package_id = 2; - optional uint32 must_own_appid = 3; + optional uint32 eresult = 1 [default = 2]; + optional uint32 package_id = 2; + optional uint32 must_own_appid = 3; } message CMsgClientGetClanActivityCounts { - repeated uint64 steamid_clans = 1; + repeated uint64 steamid_clans = 1; } message CMsgClientGetClanActivityCountsResponse { - optional uint32 eresult = 1 [default = 2]; + optional uint32 eresult = 1 [default = 2]; } message CMsgClientOGSReportString { - optional bool accumulated = 1; - optional uint64 sessionid = 2; - optional int32 severity = 3; - optional string formatter = 4; - optional bytes varargs = 5; + optional bool accumulated = 1; + optional uint64 sessionid = 2; + optional int32 severity = 3; + optional string formatter = 4; + optional bytes varargs = 5; } message CMsgClientOGSReportBug { - optional uint64 sessionid = 1; - optional string bugtext = 2; - optional bytes screenshot = 3; + optional uint64 sessionid = 1; + optional string bugtext = 2; + optional bytes screenshot = 3; } message CMsgClientSentLogs { } message CMsgGCClient { - optional uint32 appid = 1; - optional uint32 msgtype = 2; - optional bytes payload = 3; - optional fixed64 steamid = 4; - optional string gcname = 5; - optional uint32 ip = 6; + optional uint32 appid = 1; + optional uint32 msgtype = 2; + optional bytes payload = 3; + optional fixed64 steamid = 4; + optional string gcname = 5; + optional uint32 ip = 6; } message CMsgClientRequestFreeLicense { - repeated uint32 appids = 2; + repeated uint32 appids = 2; } message CMsgClientRequestFreeLicenseResponse { - optional uint32 eresult = 1 [default = 2]; - repeated uint32 granted_packageids = 2; - repeated uint32 granted_appids = 3; + optional uint32 eresult = 1 [default = 2]; + repeated uint32 granted_packageids = 2; + repeated uint32 granted_appids = 3; } message CMsgDRMDownloadRequestWithCrashData { - optional uint32 download_flags = 1; - optional uint32 download_types_known = 2; - optional bytes guid_drm = 3; - optional bytes guid_split = 4; - optional bytes guid_merge = 5; - optional string module_name = 6; - optional string module_path = 7; - optional bytes crash_data = 8; + optional uint32 download_flags = 1; + optional uint32 download_types_known = 2; + optional bytes guid_drm = 3; + optional bytes guid_split = 4; + optional bytes guid_merge = 5; + optional string module_name = 6; + optional string module_path = 7; + optional bytes crash_data = 8; } message CMsgDRMDownloadResponse { - optional uint32 eresult = 1 [default = 2]; - optional uint32 app_id = 2; - optional uint32 blob_download_type = 3; - optional bytes merge_guid = 4; - optional uint32 download_file_dfs_ip = 5; - optional uint32 download_file_dfs_port = 6; - optional string download_file_url = 7; - optional string module_path = 8; + optional uint32 eresult = 1 [default = 2]; + optional uint32 app_id = 2; + optional uint32 blob_download_type = 3; + optional bytes merge_guid = 4; + optional uint32 download_file_dfs_ip = 5; + optional uint32 download_file_dfs_port = 6; + optional string download_file_url = 7; + optional string module_path = 8; } message CMsgDRMFinalResult { - optional uint32 eResult = 1 [default = 2]; - optional uint32 app_id = 2; - optional uint32 blob_download_type = 3; - optional uint32 error_detail = 4; - optional bytes merge_guid = 5; - optional uint32 download_file_dfs_ip = 6; - optional uint32 download_file_dfs_port = 7; - optional string download_file_url = 8; + optional uint32 eResult = 1 [default = 2]; + optional uint32 app_id = 2; + optional uint32 blob_download_type = 3; + optional uint32 error_detail = 4; + optional bytes merge_guid = 5; + optional uint32 download_file_dfs_ip = 6; + optional uint32 download_file_dfs_port = 7; + optional string download_file_url = 8; } message CMsgClientDPCheckSpecialSurvey { - optional uint32 survey_id = 1; + optional uint32 survey_id = 1; } message CMsgClientDPCheckSpecialSurveyResponse { - optional uint32 eResult = 1 [default = 2]; - optional uint32 state = 2; - optional string name = 3; - optional string custom_url = 4; - optional bool include_software = 5; - optional bytes token = 6; + optional uint32 eResult = 1 [default = 2]; + optional uint32 state = 2; + optional string name = 3; + optional string custom_url = 4; + optional bool include_software = 5; + optional bytes token = 6; } message CMsgClientDPSendSpecialSurveyResponse { - optional uint32 survey_id = 1; - optional bytes data = 2; + optional uint32 survey_id = 1; + optional bytes data = 2; } message CMsgClientDPSendSpecialSurveyResponseReply { - optional uint32 eResult = 1 [default = 2]; - optional bytes token = 2; + optional uint32 eResult = 1 [default = 2]; + optional bytes token = 2; } message CMsgClientRequestForgottenPasswordEmail { - optional string account_name = 1; - optional string password_tried = 2; + optional string account_name = 1; + optional string password_tried = 2; } message CMsgClientRequestForgottenPasswordEmailResponse { - optional uint32 eResult = 1; - optional bool use_secret_question = 2; + optional uint32 eResult = 1; + optional bool use_secret_question = 2; } message CMsgClientItemAnnouncements { - message UnseenItem { - optional uint32 appid = 1; - optional uint64 context_id = 2; - optional uint64 asset_id = 3; - optional uint64 amount = 4; - optional fixed32 rtime32_gained = 5; - optional uint32 source_appid = 6; - } + message UnseenItem { + optional uint32 appid = 1; + optional uint64 context_id = 2; + optional uint64 asset_id = 3; + optional uint64 amount = 4; + optional fixed32 rtime32_gained = 5; + optional uint32 source_appid = 6; + } - optional uint32 count_new_items = 1; - repeated .CMsgClientItemAnnouncements.UnseenItem unseen_items = 2; + optional uint32 count_new_items = 1; + repeated .CMsgClientItemAnnouncements.UnseenItem unseen_items = 2; } message CMsgClientRequestItemAnnouncements { } message CMsgClientUserNotifications { - message Notification { - optional uint32 user_notification_type = 1; - optional uint32 count = 2; - } + message Notification { + optional uint32 user_notification_type = 1; + optional uint32 count = 2; + } - repeated .CMsgClientUserNotifications.Notification notifications = 1; + repeated .CMsgClientUserNotifications.Notification notifications = 1; } message CMsgClientCommentNotifications { - optional uint32 count_new_comments = 1; - optional uint32 count_new_comments_owner = 2; - optional uint32 count_new_comments_subscriptions = 3; + optional uint32 count_new_comments = 1; + optional uint32 count_new_comments_owner = 2; + optional uint32 count_new_comments_subscriptions = 3; } message CMsgClientRequestCommentNotifications { } message CMsgClientOfflineMessageNotification { - optional uint32 offline_messages = 1; - repeated uint32 friends_with_offline_messages = 2; + optional uint32 offline_messages = 1; + repeated uint32 friends_with_offline_messages = 2; } message CMsgClientRequestOfflineMessageCount { } message CMsgClientChatGetFriendMessageHistory { - optional fixed64 steamid = 1; + optional fixed64 steamid = 1; } message CMsgClientChatGetFriendMessageHistoryResponse { - message FriendMessage { - optional uint32 accountid = 1; - optional uint32 timestamp = 2; - optional string message = 3; - optional bool unread = 4; - } + message FriendMessage { + optional uint32 accountid = 1; + optional uint32 timestamp = 2; + optional string message = 3; + optional bool unread = 4; + } - optional fixed64 steamid = 1; - optional uint32 success = 2; - repeated .CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage messages = 3; + optional fixed64 steamid = 1; + optional uint32 success = 2; + repeated .CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage messages = 3; } message CMsgClientChatGetFriendMessageHistoryForOfflineMessages { } message CMsgClientFSGetFriendsSteamLevels { - repeated uint32 accountids = 1; + repeated uint32 accountids = 1; } message CMsgClientFSGetFriendsSteamLevelsResponse { - message Friend { - optional uint32 accountid = 1; - optional uint32 level = 2; - } + message Friend { + optional uint32 accountid = 1; + optional uint32 level = 2; + } - repeated .CMsgClientFSGetFriendsSteamLevelsResponse.Friend friends = 1; + repeated .CMsgClientFSGetFriendsSteamLevelsResponse.Friend friends = 1; } message CMsgClientEmailAddrInfo { - optional string email_address = 1; - optional bool email_is_validated = 2; - optional bool email_validation_changed = 3; - optional bool credential_change_requires_code = 4; - optional bool password_or_secretqa_change_requires_code = 5; + optional string email_address = 1; + optional bool email_is_validated = 2; + optional bool email_validation_changed = 3; + optional bool credential_change_requires_code = 4; + optional bool password_or_secretqa_change_requires_code = 5; } message CMsgCREItemVoteSummary { - message PublishedFileId { - optional fixed64 published_file_id = 1; - } + message PublishedFileId { + optional fixed64 published_file_id = 1; + } - repeated .CMsgCREItemVoteSummary.PublishedFileId published_file_ids = 1; + repeated .CMsgCREItemVoteSummary.PublishedFileId published_file_ids = 1; } message CMsgCREItemVoteSummaryResponse { - message ItemVoteSummary { - optional fixed64 published_file_id = 1; - optional int32 votes_for = 2; - optional int32 votes_against = 3; - optional int32 reports = 4; - optional float score = 5; - } + message ItemVoteSummary { + optional fixed64 published_file_id = 1; + optional int32 votes_for = 2; + optional int32 votes_against = 3; + optional int32 reports = 4; + optional float score = 5; + } - optional int32 eresult = 1 [default = 2]; - repeated .CMsgCREItemVoteSummaryResponse.ItemVoteSummary item_vote_summaries = 2; + optional int32 eresult = 1 [default = 2]; + repeated .CMsgCREItemVoteSummaryResponse.ItemVoteSummary item_vote_summaries = 2; } message CMsgCREUpdateUserPublishedItemVote { - optional fixed64 published_file_id = 1; - optional bool vote_up = 2; + optional fixed64 published_file_id = 1; + optional bool vote_up = 2; } message CMsgCREUpdateUserPublishedItemVoteResponse { - optional int32 eresult = 1 [default = 2]; + optional int32 eresult = 1 [default = 2]; } message CMsgCREGetUserPublishedItemVoteDetails { - message PublishedFileId { - optional fixed64 published_file_id = 1; - } + message PublishedFileId { + optional fixed64 published_file_id = 1; + } - repeated .CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId published_file_ids = 1; + repeated .CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId published_file_ids = 1; } message CMsgCREGetUserPublishedItemVoteDetailsResponse { - message UserItemVoteDetail { - optional fixed64 published_file_id = 1; - optional int32 vote = 2 [default = 0]; - } + message UserItemVoteDetail { + optional fixed64 published_file_id = 1; + optional int32 vote = 2 [default = 0]; + } - optional int32 eresult = 1 [default = 2]; - repeated .CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail user_item_vote_details = 2; + optional int32 eresult = 1 [default = 2]; + repeated .CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail user_item_vote_details = 2; } message CMsgFSGetFollowerCount { - optional fixed64 steam_id = 1; + optional fixed64 steam_id = 1; } message CMsgFSGetFollowerCountResponse { - optional int32 eresult = 1 [default = 2]; - optional int32 count = 2 [default = 0]; + optional int32 eresult = 1 [default = 2]; + optional int32 count = 2 [default = 0]; } message CMsgFSGetIsFollowing { - optional fixed64 steam_id = 1; + optional fixed64 steam_id = 1; } message CMsgFSGetIsFollowingResponse { - optional int32 eresult = 1 [default = 2]; - optional bool is_following = 2 [default = false]; + optional int32 eresult = 1 [default = 2]; + optional bool is_following = 2 [default = false]; } message CMsgFSEnumerateFollowingList { - optional uint32 start_index = 1; + optional uint32 start_index = 1; } message CMsgFSEnumerateFollowingListResponse { - optional int32 eresult = 1 [default = 2]; - optional int32 total_results = 2; - repeated fixed64 steam_ids = 3; + optional int32 eresult = 1 [default = 2]; + optional int32 total_results = 2; + repeated fixed64 steam_ids = 3; } message CMsgDPGetNumberOfCurrentPlayers { - optional uint32 appid = 1; + optional uint32 appid = 1; } message CMsgDPGetNumberOfCurrentPlayersResponse { - optional int32 eresult = 1 [default = 2]; - optional int32 player_count = 2; + optional int32 eresult = 1 [default = 2]; + optional int32 player_count = 2; } message CMsgClientFriendUserStatusPublished { - optional fixed64 friend_steamid = 1; - optional uint32 appid = 2; - optional string status_text = 3; + optional fixed64 friend_steamid = 1; + optional uint32 appid = 2; + optional string status_text = 3; } message CMsgClientServiceMethodLegacy { - optional string method_name = 1; - optional bytes serialized_method = 2; - optional bool is_notification = 3; + optional string method_name = 1; + optional bytes serialized_method = 2; + optional bool is_notification = 3; } message CMsgClientServiceMethodLegacyResponse { - optional string method_name = 1; - optional bytes serialized_method_response = 2; + optional string method_name = 1; + optional bytes serialized_method_response = 2; } message CMsgClientUIMode { - optional uint32 uimode = 1; - optional uint32 chat_mode = 2; + optional uint32 uimode = 1; + optional uint32 chat_mode = 2; } message CMsgClientVanityURLChangedNotification { - optional string vanity_url = 1; + optional string vanity_url = 1; } message CMsgClientAuthorizeLocalDeviceRequest { - optional string device_description = 1; - optional uint32 owner_account_id = 2; - optional uint64 local_device_token = 3; + optional string device_description = 1; + optional uint32 owner_account_id = 2; + optional uint64 local_device_token = 3; } message CMsgClientAuthorizeLocalDevice { - optional int32 eresult = 1 [default = 2]; - optional uint32 owner_account_id = 2; - optional uint64 authed_device_token = 3; + optional int32 eresult = 1 [default = 2]; + optional uint32 owner_account_id = 2; + optional uint64 authed_device_token = 3; } message CMsgClientAuthorizeLocalDeviceNotification { - optional int32 eresult = 1 [default = 2]; - optional uint32 owner_account_id = 2; - optional uint64 local_device_token = 3; + optional int32 eresult = 1 [default = 2]; + optional uint32 owner_account_id = 2; + optional uint64 local_device_token = 3; } message CMsgClientDeauthorizeDeviceRequest { - optional uint32 deauthorization_account_id = 1; - optional uint64 deauthorization_device_token = 2; + optional uint32 deauthorization_account_id = 1; + optional uint64 deauthorization_device_token = 2; } message CMsgClientDeauthorizeDevice { - optional int32 eresult = 1 [default = 2]; - optional uint32 deauthorization_account_id = 2; + optional int32 eresult = 1 [default = 2]; + optional uint32 deauthorization_account_id = 2; } message CMsgClientUseLocalDeviceAuthorizations { - message DeviceToken { - optional uint32 owner_account_id = 1; - optional uint64 token_id = 2; - } + message DeviceToken { + optional uint32 owner_account_id = 1; + optional uint64 token_id = 2; + } - repeated uint32 authorization_account_id = 1; - repeated .CMsgClientUseLocalDeviceAuthorizations.DeviceToken device_tokens = 2; + repeated uint32 authorization_account_id = 1; + repeated .CMsgClientUseLocalDeviceAuthorizations.DeviceToken device_tokens = 2; } message CMsgClientGetAuthorizedDevices { } message CMsgClientGetAuthorizedDevicesResponse { - message AuthorizedDevice { - optional uint64 auth_device_token = 1; - optional string device_name = 2; - optional uint32 last_access_time = 3; - optional uint32 borrower_id = 4; - optional bool is_pending = 5; - optional uint32 app_played = 6; - } + message AuthorizedDevice { + optional uint64 auth_device_token = 1; + optional string device_name = 2; + optional uint32 last_access_time = 3; + optional uint32 borrower_id = 4; + optional bool is_pending = 5; + optional uint32 app_played = 6; + } - optional int32 eresult = 1 [default = 2]; - repeated .CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice authorized_device = 2; + optional int32 eresult = 1 [default = 2]; + repeated .CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice authorized_device = 2; } message CMsgClientSharedLibraryLockStatus { - message LockedLibrary { - optional uint32 owner_id = 1; - optional uint32 locked_by = 2; - } + message LockedLibrary { + optional uint32 owner_id = 1; + optional uint32 locked_by = 2; + } - repeated .CMsgClientSharedLibraryLockStatus.LockedLibrary locked_library = 1; - optional uint32 own_library_locked_by = 2; + repeated .CMsgClientSharedLibraryLockStatus.LockedLibrary locked_library = 1; + optional uint32 own_library_locked_by = 2; } message CMsgClientSharedLibraryStopPlaying { - message StopApp { - optional uint32 app_id = 1; - optional uint32 owner_id = 2; - } + message StopApp { + optional uint32 app_id = 1; + optional uint32 owner_id = 2; + } - optional int32 seconds_left = 1; - repeated .CMsgClientSharedLibraryStopPlaying.StopApp stop_apps = 2; + optional int32 seconds_left = 1; + repeated .CMsgClientSharedLibraryStopPlaying.StopApp stop_apps = 2; } message CMsgClientServiceCall { - optional bytes sysid_routing = 1; - optional uint32 call_handle = 2; - optional uint32 module_crc = 3; - optional bytes module_hash = 4; - optional uint32 function_id = 5; - optional uint32 cub_output_max = 6; - optional uint32 flags = 7; - optional bytes callparameter = 8; - optional bool ping_only = 9; - optional uint32 max_outstanding_calls = 10; - optional uint32 app_id = 11; + optional bytes sysid_routing = 1; + optional uint32 call_handle = 2; + optional uint32 module_crc = 3; + optional bytes module_hash = 4; + optional uint32 function_id = 5; + optional uint32 cub_output_max = 6; + optional uint32 flags = 7; + optional bytes callparameter = 8; + optional bool ping_only = 9; + optional uint32 max_outstanding_calls = 10; + optional uint32 app_id = 11; } message CMsgClientServiceModule { - optional uint32 module_crc = 1; - optional bytes module_hash = 2; - optional bytes module_content = 3; + optional uint32 module_crc = 1; + optional bytes module_hash = 2; + optional bytes module_content = 3; } message CMsgClientServiceCallResponse { - optional bytes sysid_routing = 1; - optional uint32 call_handle = 2; - optional uint32 module_crc = 3; - optional bytes module_hash = 4; - optional uint32 ecallresult = 5; - optional bytes result_content = 6; - optional bytes os_version_info = 7; - optional bytes system_info = 8; - optional fixed64 load_address = 9; - optional bytes exception_record = 10; - optional bytes portable_os_version_info = 11; - optional bytes portable_system_info = 12; - optional bool was_converted = 13; - optional uint32 internal_result = 14; - optional uint32 current_count = 15; - optional uint32 last_call_handle = 16; - optional uint32 last_call_module_crc = 17; - optional bytes last_call_sysid_routing = 18; - optional uint32 last_ecallresult = 19; - optional uint32 last_callissue_delta = 20; - optional uint32 last_callcomplete_delta = 21; + optional bytes sysid_routing = 1; + optional uint32 call_handle = 2; + optional uint32 module_crc = 3; + optional bytes module_hash = 4; + optional uint32 ecallresult = 5; + optional bytes result_content = 6; + optional bytes os_version_info = 7; + optional bytes system_info = 8; + optional fixed64 load_address = 9; + optional bytes exception_record = 10; + optional bytes portable_os_version_info = 11; + optional bytes portable_system_info = 12; + optional bool was_converted = 13; + optional uint32 internal_result = 14; + optional uint32 current_count = 15; + optional uint32 last_call_handle = 16; + optional uint32 last_call_module_crc = 17; + optional bytes last_call_sysid_routing = 18; + optional uint32 last_ecallresult = 19; + optional uint32 last_callissue_delta = 20; + optional uint32 last_callcomplete_delta = 21; } message CMsgAMUnlockH264 { - optional uint32 appid = 1; - optional int32 platform = 2; - optional int32 reason = 3; + optional uint32 appid = 1; + optional int32 platform = 2; + optional int32 reason = 3; } message CMsgAMUnlockH264Response { - optional int32 eresult = 1 [default = 2]; - optional bytes encryption_key = 2; + optional int32 eresult = 1 [default = 2]; + optional bytes encryption_key = 2; } message CMsgClientPlayingSessionState { - optional bool playing_blocked = 2; - optional uint32 playing_app = 3; + optional bool playing_blocked = 2; + optional uint32 playing_app = 3; } message CMsgClientKickPlayingSession { - optional bool only_stop_game = 1; + optional bool only_stop_game = 1; } message CMsgClientVoiceCallPreAuthorize { - optional fixed64 caller_steamid = 1; - optional fixed64 receiver_steamid = 2; - optional int32 caller_id = 3; - optional bool hangup = 4; + optional fixed64 caller_steamid = 1; + optional fixed64 receiver_steamid = 2; + optional int32 caller_id = 3; + optional bool hangup = 4; } message CMsgClientVoiceCallPreAuthorizeResponse { - optional fixed64 caller_steamid = 1; - optional fixed64 receiver_steamid = 2; - optional int32 eresult = 3 [default = 2]; - optional int32 caller_id = 4; + optional fixed64 caller_steamid = 1; + optional fixed64 receiver_steamid = 2; + optional int32 eresult = 3 [default = 2]; + optional int32 caller_id = 4; } message CMsgBadgeCraftedNotification { - optional uint32 appid = 1; - optional uint32 badge_level = 2; + optional uint32 appid = 1; + optional uint32 badge_level = 2; } message CMsgClientStartPeerContentServer { - optional fixed64 steamid = 1; - optional fixed64 client_remote_id = 2; - optional uint32 app_id = 3; - optional uint32 current_build_id = 4; + optional fixed64 steamid = 1; + optional fixed64 client_remote_id = 2; + optional uint32 app_id = 3; + optional uint32 current_build_id = 4; } message CMsgClientStartPeerContentServerResponse { - optional uint32 result = 1; - optional uint32 server_port = 2; - repeated uint32 installed_depots = 3; - optional uint64 access_token = 4; + optional uint32 result = 1; + optional uint32 server_port = 2; + repeated uint32 installed_depots = 3; + optional uint64 access_token = 4; } message CMsgClientGetPeerContentInfo { - optional fixed64 steamid = 1; - optional fixed64 client_remote_id = 2; - optional bool owned_games_visible = 3; + optional fixed64 steamid = 1; + optional fixed64 client_remote_id = 2; + optional bool owned_games_visible = 3; } message CMsgClientGetPeerContentInfoResponse { - optional uint32 result = 1; - repeated uint32 apps = 2; + optional uint32 result = 1; + repeated uint32 apps = 2; } message CMsgClientPendingGameLaunch { - optional uint32 app_id = 1; + optional uint32 app_id = 1; } message CMsgClientPendingGameLaunchResponse { - optional int32 eresult = 1 [default = 2]; - optional uint32 app_id = 2; - optional string envkey = 3; + optional int32 eresult = 1 [default = 2]; + optional uint32 app_id = 2; + optional string envkey = 3; } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_appinfo.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_appinfo.proto index a3522b53..52b39510 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_appinfo.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_appinfo.proto @@ -131,3 +131,15 @@ message CMsgClientPICSAccessTokenResponse { repeated .CMsgClientPICSAccessTokenResponse.AppToken app_access_tokens = 3; repeated uint32 app_denied_tokens = 4; } + +message CMsgClientPICSPrivateBetaRequest { + optional uint32 appid = 1; + optional uint64 access_token = 2; + optional string beta_name = 3; + optional bytes password_hash = 4; +} + +message CMsgClientPICSPrivateBetaResponse { + optional int32 eresult = 1 [default = 2]; + optional bytes depot_section = 2; +} diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_friends.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_friends.proto index 097a499d..ae427968 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_friends.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_friends.proto @@ -6,257 +6,258 @@ option optimize_for = SPEED; option java_generic_services = false; message CMsgClientFriendMsg { - optional fixed64 steamid = 1; - optional int32 chat_entry_type = 2; - optional bytes message = 3; - optional fixed32 rtime32_server_timestamp = 4; - optional bool echo_to_sender = 5; + optional fixed64 steamid = 1; + optional int32 chat_entry_type = 2; + optional bytes message = 3; + optional fixed32 rtime32_server_timestamp = 4; + optional bool echo_to_sender = 5; } message CMsgClientFriendMsgIncoming { - optional fixed64 steamid_from = 1; - optional int32 chat_entry_type = 2; - optional bool from_limited_account = 3; - optional bytes message = 4; - optional fixed32 rtime32_server_timestamp = 5; + optional fixed64 steamid_from = 1; + optional int32 chat_entry_type = 2; + optional bool from_limited_account = 3; + optional bytes message = 4; + optional fixed32 rtime32_server_timestamp = 5; } message CMsgClientAddFriend { - optional fixed64 steamid_to_add = 1; - optional string accountname_or_email_to_add = 2; + optional fixed64 steamid_to_add = 1; + optional string accountname_or_email_to_add = 2; } message CMsgClientAddFriendResponse { - optional int32 eresult = 1 [default = 2]; - optional fixed64 steam_id_added = 2; - optional string persona_name_added = 3; + optional int32 eresult = 1 [default = 2]; + optional fixed64 steam_id_added = 2; + optional string persona_name_added = 3; } message CMsgClientRemoveFriend { - optional fixed64 friendid = 1; + optional fixed64 friendid = 1; } message CMsgClientHideFriend { - optional fixed64 friendid = 1; - optional bool hide = 2; + optional fixed64 friendid = 1; + optional bool hide = 2; } message CMsgClientFriendsList { - message Friend { - optional fixed64 ulfriendid = 1; - optional uint32 efriendrelationship = 2; - } - - optional bool bincremental = 1; - repeated .CMsgClientFriendsList.Friend friends = 2; - optional uint32 max_friend_count = 3; - optional uint32 active_friend_count = 4; - optional bool friends_limit_hit = 5; + message Friend { + optional fixed64 ulfriendid = 1; + optional uint32 efriendrelationship = 2; + } + + optional bool bincremental = 1; + repeated .CMsgClientFriendsList.Friend friends = 2; + optional uint32 max_friend_count = 3; + optional uint32 active_friend_count = 4; + optional bool friends_limit_hit = 5; } message CMsgClientFriendsGroupsList { - message FriendGroup { - optional int32 nGroupID = 1; - optional string strGroupName = 2; - } - - message FriendGroupsMembership { - optional fixed64 ulSteamID = 1; - optional int32 nGroupID = 2; - } - - optional bool bremoval = 1; - optional bool bincremental = 2; - repeated .CMsgClientFriendsGroupsList.FriendGroup friendGroups = 3; - repeated .CMsgClientFriendsGroupsList.FriendGroupsMembership memberships = 4; + message FriendGroup { + optional int32 nGroupID = 1; + optional string strGroupName = 2; + } + + message FriendGroupsMembership { + optional fixed64 ulSteamID = 1; + optional int32 nGroupID = 2; + } + + optional bool bremoval = 1; + optional bool bincremental = 2; + repeated .CMsgClientFriendsGroupsList.FriendGroup friendGroups = 3; + repeated .CMsgClientFriendsGroupsList.FriendGroupsMembership memberships = 4; } message CMsgClientPlayerNicknameList { - message PlayerNickname { - optional fixed64 steamid = 1; - optional string nickname = 3; - } - - optional bool removal = 1; - optional bool incremental = 2; - repeated .CMsgClientPlayerNicknameList.PlayerNickname nicknames = 3; + message PlayerNickname { + optional fixed64 steamid = 1; + optional string nickname = 3; + } + + optional bool removal = 1; + optional bool incremental = 2; + repeated .CMsgClientPlayerNicknameList.PlayerNickname nicknames = 3; } message CMsgClientSetPlayerNickname { - optional fixed64 steamid = 1; - optional string nickname = 2; + optional fixed64 steamid = 1; + optional string nickname = 2; } message CMsgClientSetPlayerNicknameResponse { - optional uint32 eresult = 1; + optional uint32 eresult = 1; } message CMsgClientRequestFriendData { - optional uint32 persona_state_requested = 1; - repeated fixed64 friends = 2; + optional uint32 persona_state_requested = 1; + repeated fixed64 friends = 2; } message CMsgClientChangeStatus { - optional uint32 persona_state = 1; - optional string player_name = 2; - optional bool is_auto_generated_name = 3; - optional bool high_priority = 4; - optional bool persona_set_by_user = 5; - optional uint32 persona_state_flags = 6 [default = 0]; - optional bool need_persona_response = 7; - optional bool is_client_idle = 8; + optional uint32 persona_state = 1; + optional string player_name = 2; + optional bool is_auto_generated_name = 3; + optional bool high_priority = 4; + optional bool persona_set_by_user = 5; + optional uint32 persona_state_flags = 6 [default = 0]; + optional bool need_persona_response = 7; + optional bool is_client_idle = 8; } message CMsgPersonaChangeResponse { - optional uint32 result = 1; - optional string player_name = 2; + optional uint32 result = 1; + optional string player_name = 2; } message CMsgClientPersonaState { - message Friend { - message ClanData { - optional uint32 ogg_app_id = 1; - optional uint64 chat_group_id = 2; - } - - message KV { - optional string key = 1; - optional string value = 2; - } - - optional fixed64 friendid = 1; - optional uint32 persona_state = 2; - optional uint32 game_played_app_id = 3; - optional uint32 game_server_ip = 4; - optional uint32 game_server_port = 5; - optional uint32 persona_state_flags = 6; - optional uint32 online_session_instances = 7; - optional bool persona_set_by_user = 10; - optional string player_name = 15; - optional uint32 query_port = 20; - optional fixed64 steamid_source = 25; - optional bytes avatar_hash = 31; - optional uint32 last_logoff = 45; - optional uint32 last_logon = 46; - optional uint32 last_seen_online = 47; - optional uint32 clan_rank = 50; - optional string game_name = 55; - optional fixed64 gameid = 56; - optional bytes game_data_blob = 60; - optional .CMsgClientPersonaState.Friend.ClanData clan_data = 64; - optional string clan_tag = 65; - repeated .CMsgClientPersonaState.Friend.KV rich_presence = 71; - optional fixed64 broadcast_id = 72; - optional fixed64 game_lobby_id = 73; - optional uint32 watching_broadcast_accountid = 74; - optional uint32 watching_broadcast_appid = 75; - optional uint32 watching_broadcast_viewers = 76; - optional string watching_broadcast_title = 77; - optional bool is_community_banned = 78; - optional bool player_name_pending_review = 79; - optional bool avatar_pending_review = 80; - } - - optional uint32 status_flags = 1; - repeated .CMsgClientPersonaState.Friend friends = 2; + message Friend { + message ClanData { + optional uint32 ogg_app_id = 1; + optional uint64 chat_group_id = 2; + } + + message KV { + optional string key = 1; + optional string value = 2; + } + + optional fixed64 friendid = 1; + optional uint32 persona_state = 2; + optional uint32 game_played_app_id = 3; + optional uint32 game_server_ip = 4; + optional uint32 game_server_port = 5; + optional uint32 persona_state_flags = 6; + optional uint32 online_session_instances = 7; + optional bool persona_set_by_user = 10; + optional string player_name = 15; + optional uint32 query_port = 20; + optional fixed64 steamid_source = 25; + optional bytes avatar_hash = 31; + optional uint32 last_logoff = 45; + optional uint32 last_logon = 46; + optional uint32 last_seen_online = 47; + optional uint32 clan_rank = 50; + optional string game_name = 55; + optional fixed64 gameid = 56; + optional bytes game_data_blob = 60; + optional .CMsgClientPersonaState.Friend.ClanData clan_data = 64; + optional string clan_tag = 65; + repeated .CMsgClientPersonaState.Friend.KV rich_presence = 71; + optional fixed64 broadcast_id = 72; + optional fixed64 game_lobby_id = 73; + optional uint32 watching_broadcast_accountid = 74; + optional uint32 watching_broadcast_appid = 75; + optional uint32 watching_broadcast_viewers = 76; + optional string watching_broadcast_title = 77; + optional bool is_community_banned = 78; + optional bool player_name_pending_review = 79; + optional bool avatar_pending_review = 80; + optional bool on_steam_deck = 81; + } + + optional uint32 status_flags = 1; + repeated .CMsgClientPersonaState.Friend friends = 2; } message CMsgClientFriendProfileInfo { - optional fixed64 steamid_friend = 1; + optional fixed64 steamid_friend = 1; } message CMsgClientFriendProfileInfoResponse { - optional int32 eresult = 1 [default = 2]; - optional fixed64 steamid_friend = 2; - optional uint32 time_created = 3; - optional string real_name = 4; - optional string city_name = 5; - optional string state_name = 6; - optional string country_name = 7; - optional string headline = 8; - optional string summary = 9; + optional int32 eresult = 1 [default = 2]; + optional fixed64 steamid_friend = 2; + optional uint32 time_created = 3; + optional string real_name = 4; + optional string city_name = 5; + optional string state_name = 6; + optional string country_name = 7; + optional string headline = 8; + optional string summary = 9; } message CMsgClientCreateFriendsGroup { - optional fixed64 steamid = 1; - optional string groupname = 2; - repeated fixed64 steamid_friends = 3; + optional fixed64 steamid = 1; + optional string groupname = 2; + repeated fixed64 steamid_friends = 3; } message CMsgClientCreateFriendsGroupResponse { - optional uint32 eresult = 1; - optional int32 groupid = 2; + optional uint32 eresult = 1; + optional int32 groupid = 2; } message CMsgClientDeleteFriendsGroup { - optional fixed64 steamid = 1; - optional int32 groupid = 2; + optional fixed64 steamid = 1; + optional int32 groupid = 2; } message CMsgClientDeleteFriendsGroupResponse { - optional uint32 eresult = 1; + optional uint32 eresult = 1; } message CMsgClientManageFriendsGroup { - optional int32 groupid = 1; - optional string groupname = 2; - repeated fixed64 steamid_friends_added = 3; - repeated fixed64 steamid_friends_removed = 4; + optional int32 groupid = 1; + optional string groupname = 2; + repeated fixed64 steamid_friends_added = 3; + repeated fixed64 steamid_friends_removed = 4; } message CMsgClientManageFriendsGroupResponse { - optional uint32 eresult = 1; + optional uint32 eresult = 1; } message CMsgClientAddFriendToGroup { - optional int32 groupid = 1; - optional fixed64 steamiduser = 2; + optional int32 groupid = 1; + optional fixed64 steamiduser = 2; } message CMsgClientAddFriendToGroupResponse { - optional uint32 eresult = 1; + optional uint32 eresult = 1; } message CMsgClientRemoveFriendFromGroup { - optional int32 groupid = 1; - optional fixed64 steamiduser = 2; + optional int32 groupid = 1; + optional fixed64 steamiduser = 2; } message CMsgClientRemoveFriendFromGroupResponse { - optional uint32 eresult = 1; + optional uint32 eresult = 1; } message CMsgClientGetEmoticonList { } message CMsgClientEmoticonList { - message Emoticon { - optional string name = 1; - optional int32 count = 2; - optional uint32 time_last_used = 3; - optional uint32 use_count = 4; - optional uint32 time_received = 5; - optional uint32 appid = 6; - } - - message Sticker { - optional string name = 1; - optional int32 count = 2; - optional uint32 time_received = 3; - optional uint32 appid = 4; - optional uint32 time_last_used = 5; - optional uint32 use_count = 6; - } - - message Effect { - optional string name = 1; - optional int32 count = 2; - optional uint32 time_received = 3; - optional bool infinite_use = 4; - optional uint32 appid = 5; - } - - repeated .CMsgClientEmoticonList.Emoticon emoticons = 1; - repeated .CMsgClientEmoticonList.Sticker stickers = 2; - repeated .CMsgClientEmoticonList.Effect effects = 3; + message Emoticon { + optional string name = 1; + optional int32 count = 2; + optional uint32 time_last_used = 3; + optional uint32 use_count = 4; + optional uint32 time_received = 5; + optional uint32 appid = 6; + } + + message Sticker { + optional string name = 1; + optional int32 count = 2; + optional uint32 time_received = 3; + optional uint32 appid = 4; + optional uint32 time_last_used = 5; + optional uint32 use_count = 6; + } + + message Effect { + optional string name = 1; + optional int32 count = 2; + optional uint32 time_received = 3; + optional bool infinite_use = 4; + optional uint32 appid = 5; + } + + repeated .CMsgClientEmoticonList.Emoticon emoticons = 1; + repeated .CMsgClientEmoticonList.Sticker stickers = 2; + repeated .CMsgClientEmoticonList.Effect effects = 3; } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_login.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_login.proto index 43fc9b10..930e73da 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_login.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_login.proto @@ -6,164 +6,164 @@ option optimize_for = SPEED; option java_generic_services = false; message CMsgClientHeartBeat { - optional bool send_reply = 1; + optional bool send_reply = 1; } message CMsgClientServerTimestampRequest { - optional uint64 client_request_timestamp = 1; + optional uint64 client_request_timestamp = 1; } message CMsgClientServerTimestampResponse { - optional uint64 client_request_timestamp = 1; - optional uint64 server_timestamp_ms = 2; + optional uint64 client_request_timestamp = 1; + optional uint64 server_timestamp_ms = 2; } message CMsgClientSecret { - optional uint32 version = 1; - optional uint32 appid = 2; - optional uint32 deviceid = 3; - optional fixed64 nonce = 4; - optional bytes hmac = 5; + optional uint32 version = 1; + optional uint32 appid = 2; + optional uint32 deviceid = 3; + optional fixed64 nonce = 4; + optional bytes hmac = 5; } message CMsgClientHello { - optional uint32 protocol_version = 1; + optional uint32 protocol_version = 1; } message CMsgClientLogon { - optional uint32 protocol_version = 1; - optional uint32 deprecated_obfustucated_private_ip = 2; - optional uint32 cell_id = 3; - optional uint32 last_session_id = 4; - optional uint32 client_package_version = 5; - optional string client_language = 6; - optional uint32 client_os_type = 7; - optional bool should_remember_password = 8 [default = false]; - optional string wine_version = 9; - optional uint32 deprecated_10 = 10; - optional .CMsgIPAddress obfuscated_private_ip = 11; - optional uint32 deprecated_public_ip = 20; - optional uint32 qos_level = 21; - optional fixed64 client_supplied_steam_id = 22; - optional .CMsgIPAddress public_ip = 23; - optional bytes machine_id = 30; - optional uint32 launcher_type = 31 [default = 0]; - optional uint32 ui_mode = 32 [default = 0]; - optional uint32 chat_mode = 33 [default = 0]; - optional bytes steam2_auth_ticket = 41; - optional string email_address = 42; - optional fixed32 rtime32_account_creation = 43; - optional string account_name = 50; - optional string password = 51; - optional string game_server_token = 52; - optional string login_key = 60; - optional bool was_converted_deprecated_msg = 70 [default = false]; - optional string anon_user_target_account_name = 80; - optional fixed64 resolved_user_steam_id = 81; - optional int32 eresult_sentryfile = 82; - optional bytes sha_sentryfile = 83; - optional string auth_code = 84; - optional int32 otp_type = 85; - optional uint32 otp_value = 86; - optional string otp_identifier = 87; - optional bool steam2_ticket_request = 88; - optional bytes sony_psn_ticket = 90; - optional string sony_psn_service_id = 91; - optional bool create_new_psn_linked_account_if_needed = 92 [default = false]; - optional string sony_psn_name = 93; - optional int32 game_server_app_id = 94; - optional bool steamguard_dont_remember_computer = 95; - optional string machine_name = 96; - optional string machine_name_userchosen = 97; - optional string country_override = 98; - optional bool is_steam_box = 99; - optional uint64 client_instance_id = 100; - optional string two_factor_code = 101; - optional bool supports_rate_limit_response = 102; - optional string web_logon_nonce = 103; - optional int32 priority_reason = 104; - optional .CMsgClientSecret embedded_client_secret = 105; - optional bool disable_partner_autogrants = 106; - optional bool is_steam_deck = 107; - optional string access_token = 108; - optional bool is_chrome_os = 109; - optional bool is_tesla = 110; + optional uint32 protocol_version = 1; + optional uint32 deprecated_obfustucated_private_ip = 2; + optional uint32 cell_id = 3; + optional uint32 last_session_id = 4; + optional uint32 client_package_version = 5; + optional string client_language = 6; + optional uint32 client_os_type = 7; + optional bool should_remember_password = 8 [default = false]; + optional string wine_version = 9; + optional uint32 deprecated_10 = 10; + optional .CMsgIPAddress obfuscated_private_ip = 11; + optional uint32 deprecated_public_ip = 20; + optional uint32 qos_level = 21; + optional fixed64 client_supplied_steam_id = 22; + optional .CMsgIPAddress public_ip = 23; + optional bytes machine_id = 30; + optional uint32 launcher_type = 31 [default = 0]; + optional uint32 ui_mode = 32 [default = 0]; + optional uint32 chat_mode = 33 [default = 0]; + optional bytes steam2_auth_ticket = 41; + optional string email_address = 42; + optional fixed32 rtime32_account_creation = 43; + optional string account_name = 50; + optional string password = 51; + optional string game_server_token = 52; + optional string login_key = 60; + optional bool was_converted_deprecated_msg = 70 [default = false]; + optional string anon_user_target_account_name = 80; + optional fixed64 resolved_user_steam_id = 81; + optional int32 eresult_sentryfile = 82; + optional bytes sha_sentryfile = 83; + optional string auth_code = 84; + optional int32 otp_type = 85; + optional uint32 otp_value = 86; + optional string otp_identifier = 87; + optional bool steam2_ticket_request = 88; + optional bytes sony_psn_ticket = 90; + optional string sony_psn_service_id = 91; + optional bool create_new_psn_linked_account_if_needed = 92 [default = false]; + optional string sony_psn_name = 93; + optional int32 game_server_app_id = 94; + optional bool steamguard_dont_remember_computer = 95; + optional string machine_name = 96; + optional string machine_name_userchosen = 97; + optional string country_override = 98; + optional bool is_steam_box = 99; + optional uint64 client_instance_id = 100; + optional string two_factor_code = 101; + optional bool supports_rate_limit_response = 102; + optional string web_logon_nonce = 103; + optional int32 priority_reason = 104; + optional .CMsgClientSecret embedded_client_secret = 105; + optional bool disable_partner_autogrants = 106; + optional bool is_steam_deck = 107; + optional string access_token = 108; + optional bool is_chrome_os = 109; + optional bool is_tesla = 110; } message CMsgClientLogonResponse { - optional int32 eresult = 1 [default = 2]; - optional int32 legacy_out_of_game_heartbeat_seconds = 2; - optional int32 heartbeat_seconds = 3; - optional uint32 deprecated_public_ip = 4; - optional fixed32 rtime32_server_time = 5; - optional uint32 account_flags = 6; - optional uint32 cell_id = 7; - optional string email_domain = 8; - optional bytes steam2_ticket = 9; - optional int32 eresult_extended = 10; - optional uint32 cell_id_ping_threshold = 12; - optional bool deprecated_use_pics = 13; - optional string vanity_url = 14; - optional .CMsgIPAddress public_ip = 15; - optional string user_country = 16; - optional fixed64 client_supplied_steamid = 20; - optional string ip_country_code = 21; - optional bytes parental_settings = 22; - optional bytes parental_setting_signature = 23; - optional int32 count_loginfailures_to_migrate = 24; - optional int32 count_disconnects_to_migrate = 25; - optional int32 ogs_data_report_time_window = 26; - optional uint64 client_instance_id = 27; - optional bool force_client_update_check = 28; - optional string agreement_session_url = 29; - optional uint64 token_id = 30; - optional uint64 family_group_id = 31; + optional int32 eresult = 1 [default = 2]; + optional int32 legacy_out_of_game_heartbeat_seconds = 2; + optional int32 heartbeat_seconds = 3; + optional uint32 deprecated_public_ip = 4; + optional fixed32 rtime32_server_time = 5; + optional uint32 account_flags = 6; + optional uint32 cell_id = 7; + optional string email_domain = 8; + optional bytes steam2_ticket = 9; + optional int32 eresult_extended = 10; + optional uint32 cell_id_ping_threshold = 12; + optional bool deprecated_use_pics = 13; + optional string vanity_url = 14; + optional .CMsgIPAddress public_ip = 15; + optional string user_country = 16; + optional fixed64 client_supplied_steamid = 20; + optional string ip_country_code = 21; + optional bytes parental_settings = 22; + optional bytes parental_setting_signature = 23; + optional int32 count_loginfailures_to_migrate = 24; + optional int32 count_disconnects_to_migrate = 25; + optional int32 ogs_data_report_time_window = 26; + optional uint64 client_instance_id = 27; + optional bool force_client_update_check = 28; + optional string agreement_session_url = 29; + optional uint64 token_id = 30; + optional uint64 family_group_id = 31; } message CMsgClientRequestWebAPIAuthenticateUserNonce { - optional int32 token_type = 1 [default = -1]; + optional int32 token_type = 1 [default = -1]; } message CMsgClientRequestWebAPIAuthenticateUserNonceResponse { - optional int32 eresult = 1 [default = 2]; - optional string webapi_authenticate_user_nonce = 11; - optional int32 token_type = 3 [default = -1]; + optional int32 eresult = 1 [default = 2]; + optional string webapi_authenticate_user_nonce = 11; + optional int32 token_type = 3 [default = -1]; } message CMsgClientLogOff { } message CMsgClientLoggedOff { - optional int32 eresult = 1 [default = 2]; + optional int32 eresult = 1 [default = 2]; } message CMsgClientNewLoginKey { - optional uint32 unique_id = 1; - optional string login_key = 2; + optional uint32 unique_id = 1; + optional string login_key = 2; } message CMsgClientNewLoginKeyAccepted { - optional uint32 unique_id = 1; + optional uint32 unique_id = 1; } message CMsgClientAccountInfo { - optional string persona_name = 1; - optional string ip_country = 2; - optional int32 count_authed_computers = 5; - optional uint32 account_flags = 7; - optional uint64 facebook_id = 8; - optional string facebook_name = 9; - optional string steamguard_machine_name_user_chosen = 15; - optional bool is_phone_verified = 16; - optional uint32 two_factor_state = 17; - optional bool is_phone_identifying = 18; - optional bool is_phone_needing_reverify = 19; + optional string persona_name = 1; + optional string ip_country = 2; + optional int32 count_authed_computers = 5; + optional uint32 account_flags = 7; + optional uint64 facebook_id = 8; + optional string facebook_name = 9; + optional string steamguard_machine_name_user_chosen = 15; + optional bool is_phone_verified = 16; + optional uint32 two_factor_state = 17; + optional bool is_phone_identifying = 18; + optional bool is_phone_needing_reverify = 19; } message CMsgClientChallengeRequest { - optional fixed64 steamid = 1; + optional fixed64 steamid = 1; } message CMsgClientChallengeResponse { - optional fixed64 challenge = 1; + optional fixed64 challenge = 1; } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_mms.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_mms.proto index ce7d6e2d..c81cb707 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_mms.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_mms.proto @@ -29,6 +29,7 @@ message CMsgClientMMSCreateLobby { optional bytes metadata = 7; optional string persona_name_owner = 8; optional .CMsgIPAddress public_ip = 9; + optional string network_ping_location = 10; } message CMsgClientMMSCreateLobbyResponse { @@ -41,6 +42,8 @@ message CMsgClientMMSJoinLobby { optional uint32 app_id = 1; optional fixed64 steam_id_lobby = 2; optional string persona_name = 3; + optional string network_ping_location = 4; + optional uint32 cell_id = 5; } message CMsgClientMMSJoinLobbyResponse { @@ -86,6 +89,7 @@ message CMsgClientMMSGetLobbyList { optional uint32 deprecated_public_ip = 5; repeated .CMsgClientMMSGetLobbyList.Filter filters = 6; optional .CMsgIPAddress public_ip = 7; + optional string network_ping_location = 8; } message CMsgClientMMSGetLobbyListResponse { @@ -98,6 +102,8 @@ message CMsgClientMMSGetLobbyListResponse { optional int32 num_members = 6; optional float distance = 7; optional int64 weight = 8; + optional int32 ping = 9; + optional int32 missing_ping = 10; } optional uint32 app_id = 1; @@ -113,6 +119,7 @@ message CMsgClientMMSSetLobbyData { optional int32 lobby_type = 5; optional int32 lobby_flags = 6; optional bytes metadata = 7; + optional string network_ping_location = 8; } message CMsgClientMMSSetLobbyDataResponse { @@ -131,6 +138,7 @@ message CMsgClientMMSLobbyData { optional fixed64 steam_id = 1; optional string persona_name = 2; optional bytes metadata = 3; + optional string ping_data = 4; } optional uint32 app_id = 1; @@ -185,6 +193,7 @@ message CMsgClientMMSSetLobbyGameServer { optional uint32 game_server_port = 4; optional fixed64 game_server_steam_id = 5; optional .CMsgIPAddress game_server_ip = 6; + optional string network_ping_location = 7; } message CMsgClientMMSLobbyGameServerSet { diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_ucm.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_ucm.proto index fa826c7f..4444a039 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_ucm.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_ucm.proto @@ -111,6 +111,8 @@ message CMsgClientUCMUpdatePublishedFile { repeated int32 content_descriptors_to_remove = 30; optional bool allow_admin_tags = 31 [default = false]; optional uint64 external_asset_id = 32; + optional string game_branch_min = 33; + optional string game_branch_max = 34; } message CMsgClientUCMUpdatePublishedFileResponse { @@ -135,6 +137,13 @@ message CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates { } message CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse { + message AuthorSnapshot { + optional uint32 timestamp = 1; + optional string game_branch_min = 2; + optional string game_branch_max = 3; + optional fixed64 manifestid = 4; + } + message PublishedFileId { optional fixed64 published_file_id = 1; optional fixed32 rtime32_subscribed = 2 [default = 0]; @@ -143,6 +152,7 @@ message CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse { optional uint32 file_size = 5; optional fixed32 rtime32_last_updated = 6; optional bool is_depot_content = 7; + repeated .CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.AuthorSnapshot author_snapshots = 8; } optional int32 eresult = 1 [default = 2]; diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_uds.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_uds.proto index 72905a53..7ac50f46 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_uds.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_uds.proto @@ -53,6 +53,7 @@ message CMsgClientGetClientAppList { optional bool only_changing = 5; optional bool comics = 6; optional bool include_client_info = 7; + repeated uint32 filter_appids = 8; } message CMsgClientGetClientAppListResponse { @@ -86,6 +87,7 @@ message CMsgClientGetClientAppListResponse { optional int32 queue_position = 22; optional bool uninstalling = 23; optional uint32 rt_time_scheduled = 24; + optional bool running = 25; } repeated .CMsgClientGetClientAppListResponse.App apps = 1; @@ -118,6 +120,20 @@ message CMsgClientSetClientAppUpdateStateResponse { optional uint32 result = 1; } +message CMsgClientLaunchClientApp { + optional uint32 appid = 1; + optional uint32 language = 2; + optional uint32 launch_option_type = 3; + optional uint32 launch_option = 4; + optional uint32 launch_source = 5; + optional string args = 6; + optional string query_params = 7; +} + +message CMsgClientLaunchClientAppResponse { + optional uint32 result = 1; +} + message CMsgClientEnableOrDisableDownloads { optional bool enable = 1; } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_friendmessages.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_friendmessages.steamclient.proto index bfb40af0..470ddadf 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_friendmessages.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_friendmessages.steamclient.proto @@ -6,138 +6,138 @@ option optimize_for = SPEED; option java_generic_services = false; enum EMessageReactionType { - k_EMessageReactionType_Invalid = 0; - k_EMessageReactionType_Emoticon = 1; - k_EMessageReactionType_Sticker = 2; + k_EMessageReactionType_Invalid = 0; + k_EMessageReactionType_Emoticon = 1; + k_EMessageReactionType_Sticker = 2; } message CFriendMessages_GetRecentMessages_Request { - optional fixed64 steamid1 = 1; - optional fixed64 steamid2 = 2; - optional uint32 count = 3; - optional bool most_recent_conversation = 4; - optional fixed32 rtime32_start_time = 5; - optional bool bbcode_format = 6; - optional uint32 start_ordinal = 7; - optional uint32 time_last = 8; - optional uint32 ordinal_last = 9; + optional fixed64 steamid1 = 1; + optional fixed64 steamid2 = 2; + optional uint32 count = 3; + optional bool most_recent_conversation = 4; + optional fixed32 rtime32_start_time = 5; + optional bool bbcode_format = 6; + optional uint32 start_ordinal = 7; + optional uint32 time_last = 8; + optional uint32 ordinal_last = 9; } message CFriendMessages_GetRecentMessages_Response { - message FriendMessage { - message MessageReaction { - optional .EMessageReactionType reaction_type = 1 [default = k_EMessageReactionType_Invalid]; - optional string reaction = 2; - repeated uint32 reactors = 3; - } - - optional uint32 accountid = 1; - optional uint32 timestamp = 2; - optional string message = 3; - optional uint32 ordinal = 4; - repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage.MessageReaction reactions = 5; + message FriendMessage { + message MessageReaction { + optional .EMessageReactionType reaction_type = 1 [default = k_EMessageReactionType_Invalid]; + optional string reaction = 2; + repeated uint32 reactors = 3; } - repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage messages = 1; - optional bool more_available = 4; + optional uint32 accountid = 1; + optional uint32 timestamp = 2; + optional string message = 3; + optional uint32 ordinal = 4; + repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage.MessageReaction reactions = 5; + } + + repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage messages = 1; + optional bool more_available = 4; } message CFriendsMessages_GetActiveMessageSessions_Request { - optional uint32 lastmessage_since = 1; - optional bool only_sessions_with_messages = 2; + optional uint32 lastmessage_since = 1; + optional bool only_sessions_with_messages = 2; } message CFriendsMessages_GetActiveMessageSessions_Response { - message FriendMessageSession { - optional uint32 accountid_friend = 1; - optional uint32 last_message = 2; - optional uint32 last_view = 3; - optional uint32 unread_message_count = 4; - } + message FriendMessageSession { + optional uint32 accountid_friend = 1; + optional uint32 last_message = 2; + optional uint32 last_view = 3; + optional uint32 unread_message_count = 4; + } - repeated .CFriendsMessages_GetActiveMessageSessions_Response.FriendMessageSession message_sessions = 1; - optional uint32 timestamp = 2; + repeated .CFriendsMessages_GetActiveMessageSessions_Response.FriendMessageSession message_sessions = 1; + optional uint32 timestamp = 2; } message CFriendMessages_SendMessage_Request { - optional fixed64 steamid = 1; - optional int32 chat_entry_type = 2; - optional string message = 3; - optional bool contains_bbcode = 4; - optional bool echo_to_sender = 5; - optional bool low_priority = 6; - optional string client_message_id = 8; + optional fixed64 steamid = 1; + optional int32 chat_entry_type = 2; + optional string message = 3; + optional bool contains_bbcode = 4; + optional bool echo_to_sender = 5; + optional bool low_priority = 6; + optional string client_message_id = 8; } message CFriendMessages_SendMessage_Response { - optional string modified_message = 1; - optional uint32 server_timestamp = 2; - optional uint32 ordinal = 3; - optional string message_without_bb_code = 4; + optional string modified_message = 1; + optional uint32 server_timestamp = 2; + optional uint32 ordinal = 3; + optional string message_without_bb_code = 4; } message CFriendMessages_AckMessage_Notification { - optional fixed64 steamid_partner = 1; - optional uint32 timestamp = 2; + optional fixed64 steamid_partner = 1; + optional uint32 timestamp = 2; } message CFriendMessages_IsInFriendsUIBeta_Request { - optional fixed64 steamid = 1; + optional fixed64 steamid = 1; } message CFriendMessages_IsInFriendsUIBeta_Response { - optional bool online_in_friendsui = 1; - optional bool has_used_friendsui = 2; + optional bool online_in_friendsui = 1; + optional bool has_used_friendsui = 2; } message CFriendMessages_UpdateMessageReaction_Request { - optional fixed64 steamid = 1; - optional uint32 server_timestamp = 2; - optional uint32 ordinal = 3; - optional .EMessageReactionType reaction_type = 4 [default = k_EMessageReactionType_Invalid]; - optional string reaction = 5; - optional bool is_add = 6; + optional fixed64 steamid = 1; + optional uint32 server_timestamp = 2; + optional uint32 ordinal = 3; + optional .EMessageReactionType reaction_type = 4 [default = k_EMessageReactionType_Invalid]; + optional string reaction = 5; + optional bool is_add = 6; } message CFriendMessages_UpdateMessageReaction_Response { - repeated uint32 reactors = 1; + repeated uint32 reactors = 1; } message CFriendMessages_IncomingMessage_Notification { - optional fixed64 steamid_friend = 1; - optional int32 chat_entry_type = 2; - optional bool from_limited_account = 3; - optional string message = 4; - optional fixed32 rtime32_server_timestamp = 5; - optional uint32 ordinal = 6; - optional bool local_echo = 7; - optional string message_no_bbcode = 8; - optional bool low_priority = 9; + optional fixed64 steamid_friend = 1; + optional int32 chat_entry_type = 2; + optional bool from_limited_account = 3; + optional string message = 4; + optional fixed32 rtime32_server_timestamp = 5; + optional uint32 ordinal = 6; + optional bool local_echo = 7; + optional string message_no_bbcode = 8; + optional bool low_priority = 9; } message CFriendMessages_MessageReaction_Notification { - optional fixed64 steamid_friend = 1; - optional uint32 server_timestamp = 2; - optional uint32 ordinal = 3; - optional fixed64 reactor = 4; - optional .EMessageReactionType reaction_type = 5 [default = k_EMessageReactionType_Invalid]; - optional string reaction = 6; - optional bool is_add = 7; + optional fixed64 steamid_friend = 1; + optional uint32 server_timestamp = 2; + optional uint32 ordinal = 3; + optional fixed64 reactor = 4; + optional .EMessageReactionType reaction_type = 5 [default = k_EMessageReactionType_Invalid]; + optional string reaction = 6; + optional bool is_add = 7; } service FriendMessages { - rpc GetRecentMessages (.CFriendMessages_GetRecentMessages_Request) returns (.CFriendMessages_GetRecentMessages_Response); - rpc GetActiveMessageSessions (.CFriendsMessages_GetActiveMessageSessions_Request) returns (.CFriendsMessages_GetActiveMessageSessions_Response); - rpc SendMessage (.CFriendMessages_SendMessage_Request) returns (.CFriendMessages_SendMessage_Response); - rpc AckMessage (.CFriendMessages_AckMessage_Notification) returns (.NoResponse); - rpc IsInFriendsUIBeta (.CFriendMessages_IsInFriendsUIBeta_Request) returns (.CFriendMessages_IsInFriendsUIBeta_Response); - rpc UpdateMessageReaction (.CFriendMessages_UpdateMessageReaction_Request) returns (.CFriendMessages_UpdateMessageReaction_Response); + rpc GetRecentMessages (.CFriendMessages_GetRecentMessages_Request) returns (.CFriendMessages_GetRecentMessages_Response); + rpc GetActiveMessageSessions (.CFriendsMessages_GetActiveMessageSessions_Request) returns (.CFriendsMessages_GetActiveMessageSessions_Response); + rpc SendMessage (.CFriendMessages_SendMessage_Request) returns (.CFriendMessages_SendMessage_Response); + rpc AckMessage (.CFriendMessages_AckMessage_Notification) returns (.NoResponse); + rpc IsInFriendsUIBeta (.CFriendMessages_IsInFriendsUIBeta_Request) returns (.CFriendMessages_IsInFriendsUIBeta_Response); + rpc UpdateMessageReaction (.CFriendMessages_UpdateMessageReaction_Request) returns (.CFriendMessages_UpdateMessageReaction_Response); } service FriendMessagesClient { - option (service_execution_site) = k_EProtoExecutionSiteSteamClient; + option (service_execution_site) = k_EProtoExecutionSiteSteamClient; - rpc IncomingMessage (.CFriendMessages_IncomingMessage_Notification) returns (.NoResponse); - rpc NotifyAckMessageEcho (.CFriendMessages_AckMessage_Notification) returns (.NoResponse); - rpc MessageReaction (.CFriendMessages_MessageReaction_Notification) returns (.NoResponse); + rpc IncomingMessage (.CFriendMessages_IncomingMessage_Notification) returns (.NoResponse); + rpc NotifyAckMessageEcho (.CFriendMessages_AckMessage_Notification) returns (.NoResponse); + rpc MessageReaction (.CFriendMessages_MessageReaction_Notification) returns (.NoResponse); } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_inventory.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_inventory.steamclient.proto index a3942d7b..4364f0f0 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_inventory.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_inventory.steamclient.proto @@ -6,8 +6,6 @@ option java_package = "in.dragonbra.javasteam.protobufs.steamclient"; option optimize_for = SPEED; option java_generic_services = false; -option cc_generic_services = true; - message CInventory_GetInventory_Request { optional uint32 appid = 1; optional uint64 steamid = 2; @@ -43,6 +41,7 @@ message CInventory_AddItem_Request { optional uint32 appid = 1; repeated uint64 itemdefid = 2; repeated string itempropsjson = 3; + repeated uint32 itemquantity = 9; optional uint64 steamid = 4; optional bool notify = 5; optional uint64 requestid = 6; diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental.steamclient.proto index 3bbc443d..33d762e9 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental.steamclient.proto @@ -1,51 +1,12 @@ +import "in/dragonbra/javasteam/protobufs/steamclient/steammessages_base.proto"; import "in/dragonbra/javasteam/protobufs/steamclient/steammessages_unified_base.steamclient.proto"; +import "in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental_objects.proto"; option java_package = "in.dragonbra.javasteam.protobufs.steamclient"; option optimize_for = SPEED; option java_generic_services = false; -message ParentalApp { - optional uint32 appid = 1; - optional bool is_allowed = 2; -} - -message ParentalPlaytimeDay { - optional uint64 allowed_time_windows = 1; - optional uint32 allowed_daily_minutes = 2; -} - -message ParentalPlaytimeRestrictions { - optional bool apply_playtime_restrictions = 2; - repeated .ParentalPlaytimeDay playtime_days = 15; -} - -message ParentalTemporaryPlaytimeRestrictions { - optional .ParentalPlaytimeDay restrictions = 1; - optional uint32 rtime_expires = 2; -} - -message ParentalSettings { - optional fixed64 steamid = 1; - optional uint32 applist_base_id = 2; - optional string applist_base_description = 3; - repeated .ParentalApp applist_base = 4; - repeated .ParentalApp applist_custom = 5; - optional uint32 passwordhashtype = 6; - optional bytes salt = 7; - optional bytes passwordhash = 8; - optional bool is_enabled = 9; - optional uint32 enabled_features = 10; - optional string recovery_email = 11; - optional bool is_site_license_lock = 12; - optional uint32 temporary_enabled_features = 13; - optional uint32 rtime_temporary_feature_expiration = 14; - optional .ParentalPlaytimeRestrictions playtime_restrictions = 15; - optional .ParentalTemporaryPlaytimeRestrictions temporary_playtime_restrictions = 16; - repeated uint32 excluded_store_content_descriptors = 17; - repeated uint32 excluded_community_content_descriptors = 18; -} - message CParental_EnableParentalSettings_Request { optional string password = 1; optional .ParentalSettings settings = 2; @@ -173,31 +134,7 @@ message CParental_ApprovePlaytime_Response { message CParental_GetRequests_Request { optional uint32 rt_include_completed_since = 1; - optional fixed64 steamid = 10; -} - -message ParentalFeatureRequest { - optional fixed64 requestid = 1; - optional fixed64 family_groupid = 2; - optional fixed64 steamid = 3; - optional uint32 features = 4; - optional uint32 time_requested = 5; - optional bool approved = 6; - optional fixed64 steamid_responder = 7; - optional uint32 time_responded = 8; -} - -message ParentalPlaytimeRequest { - optional fixed64 requestid = 1; optional fixed64 family_groupid = 2; - optional fixed64 steamid = 3; - optional .ParentalPlaytimeDay current_playtime_restrictions = 4; - optional uint32 time_expires = 5; - optional uint32 time_requested = 6; - optional bool approved = 7; - optional fixed64 steamid_responder = 8; - optional uint32 time_responded = 9; - optional .ParentalTemporaryPlaytimeRestrictions restrictions_approved = 10; } message CParental_GetRequests_Response { diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental_objects.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental_objects.proto new file mode 100644 index 00000000..f635be61 --- /dev/null +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_parental_objects.proto @@ -0,0 +1,73 @@ +import "in/dragonbra/javasteam/protobufs/steamclient/steammessages_base.proto"; +import "in/dragonbra/javasteam/protobufs/steamclient/enums.proto"; + +option java_package = "in.dragonbra.javasteam.protobufs.steamclient"; + +option optimize_for = SPEED; +option java_generic_services = false; + +message ParentalApp { + optional uint32 appid = 1; + optional bool is_allowed = 2; +} + +message ParentalPlaytimeDay { + optional uint64 allowed_time_windows = 1; + optional uint32 allowed_daily_minutes = 2; +} + +message ParentalPlaytimeRestrictions { + optional bool apply_playtime_restrictions = 2; + repeated .ParentalPlaytimeDay playtime_days = 15; +} + +message ParentalTemporaryPlaytimeRestrictions { + optional .ParentalPlaytimeDay restrictions = 1; + optional uint32 rtime_expires = 2; +} + +message ParentalSettings { + optional fixed64 steamid = 1; + optional uint32 applist_base_id = 2; + optional string applist_base_description = 3; + repeated .ParentalApp applist_base = 4; + repeated .ParentalApp applist_custom = 5; + optional uint32 passwordhashtype = 6; + optional bytes salt = 7; + optional bytes passwordhash = 8; + optional bool is_enabled = 9; + optional uint32 enabled_features = 10; + optional string recovery_email = 11; + optional bool is_site_license_lock = 12; + optional uint32 temporary_enabled_features = 13; + optional uint32 rtime_temporary_feature_expiration = 14; + optional .ParentalPlaytimeRestrictions playtime_restrictions = 15; + optional .ParentalTemporaryPlaytimeRestrictions temporary_playtime_restrictions = 16; + repeated uint32 excluded_store_content_descriptors = 17; + repeated uint32 excluded_community_content_descriptors = 18; + repeated uint32 utility_appids = 19; +} + +message ParentalFeatureRequest { + optional fixed64 requestid = 1; + optional fixed64 family_groupid = 2; + optional fixed64 steamid = 3; + optional uint32 features = 4; + optional uint32 time_requested = 5; + optional bool approved = 6; + optional fixed64 steamid_responder = 7; + optional uint32 time_responded = 8; +} + +message ParentalPlaytimeRequest { + optional fixed64 requestid = 1; + optional fixed64 family_groupid = 2; + optional fixed64 steamid = 3; + optional .ParentalPlaytimeDay current_playtime_restrictions = 4; + optional uint32 time_expires = 5; + optional uint32 time_requested = 6; + optional bool approved = 7; + optional fixed64 steamid_responder = 8; + optional uint32 time_responded = 9; + optional .ParentalTemporaryPlaytimeRestrictions restrictions_approved = 10; +} diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_player.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_player.steamclient.proto index e836faf5..c8bb12bb 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_player.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_player.steamclient.proto @@ -136,6 +136,7 @@ message CPlayer_GetOwnedGames_Response { optional int32 playtime_windows_forever = 8; optional int32 playtime_mac_forever = 9; optional int32 playtime_linux_forever = 10; + optional int32 playtime_deck_forever = 20; optional uint32 rtime_last_played = 11; optional string capsule_filename = 12; optional string sort_as = 13; @@ -405,6 +406,7 @@ message CPlayer_GetAchievementsProgress_Request { optional uint64 steamid = 1; optional string language = 2; repeated uint32 appids = 3; + optional bool include_unvetted_apps = 4; } message CPlayer_GetAchievementsProgress_Response { @@ -415,6 +417,7 @@ message CPlayer_GetAchievementsProgress_Response { optional float percentage = 4; optional bool all_unlocked = 5; optional uint32 cache_time = 6; + optional bool vetted = 7; } repeated .CPlayer_GetAchievementsProgress_Response.AchievementProgress achievement_progress = 1; @@ -612,12 +615,15 @@ message CPlayer_GetLastPlayedTimes_Response { optional int32 playtime_windows_forever = 6; optional int32 playtime_mac_forever = 7; optional int32 playtime_linux_forever = 8; + optional int32 playtime_deck_forever = 16; optional uint32 first_windows_playtime = 9; optional uint32 first_mac_playtime = 10; optional uint32 first_linux_playtime = 11; + optional uint32 first_deck_playtime = 17; optional uint32 last_windows_playtime = 12; optional uint32 last_mac_playtime = 13; optional uint32 last_linux_playtime = 14; + optional uint32 last_deck_playtime = 18; optional uint32 playtime_disconnected = 15; } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_remoteclient_service.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_remoteclient_service.steamclient.proto index 6c884ed0..f1e0cdf1 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_remoteclient_service.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_remoteclient_service.steamclient.proto @@ -10,6 +10,8 @@ option java_generic_services = false; service RemoteClient { rpc GetPairingInfo (.CRemoteClient_GetPairingInfo_Request) returns (.CRemoteClient_GetPairingInfo_Response); rpc NotifyOnline (.CRemoteClient_Online_Notification) returns (.NoResponse); + rpc GetRecentClients (.CRemoteClient_GetRecentClients_Request) returns (.CRemoteClient_GetRecentClients_Response); + rpc MarkTaskComplete (.CRemoteClient_MarkTaskComplete_Request) returns (.CRemoteClient_MarkTaskComplete_Response); rpc NotifyReplyPacket (.CRemoteClient_ReplyPacket_Notification) returns (.NoResponse); rpc AllocateRelayServer (.CRemoteClient_AllocateRelayServer_Request) returns (.CRemoteClient_AllocateRelayServer_Response); rpc AllocateSDR (.CRemoteClient_AllocateSDR_Request) returns (.CRemoteClient_AllocateSDR_Response); @@ -31,4 +33,5 @@ service RemoteClientSteamClient { rpc NotifySteamBroadcastPacket (.CRemoteClient_SteamBroadcast_Notification) returns (.NoResponse); rpc NotifySteamToSteamPacket (.CRemoteClient_SteamToSteam_Notification) returns (.NoResponse); rpc NotifyRemotePlayTogetherPacket (.CRemotePlayTogether_Notification) returns (.NoResponse); + rpc NotifyTaskList (.CRemoteClient_TaskList_Notification) returns (.NoResponse); } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_remoteclient_service_messages.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_remoteclient_service_messages.proto index 0734951d..5c1ade2d 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_remoteclient_service_messages.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_remoteclient_service_messages.proto @@ -3,6 +3,10 @@ option java_package = "in.dragonbra.javasteam.protobufs.steamclient"; option optimize_for = SPEED; option java_generic_services = false; +enum ECLientTaskListType { + k_EClientTask_DownloadClip = 1; +} + message CRemoteClient_CreateSession_Request { } @@ -60,9 +64,68 @@ message CRemoteClient_UnregisterStatusUpdate_Notification { optional fixed64 steamid = 2; } +message CRemoteClient_DeviceDetails { + optional string device_friendly_name = 1; + optional int32 os_type = 2; + optional uint32 gaming_device_type = 3; +} + message CRemoteClient_Online_Notification { optional fixed64 steamid = 1; optional fixed64 remote_client_id = 2; + optional .CRemoteClient_DeviceDetails device_details = 3; +} + +message CRemoteClient_GetRecentClients_Request { +} + +message CRemoteClient_ClientLogin { + optional fixed64 remote_client_id = 1; + optional fixed64 token_id = 2; + optional .CRemoteClient_DeviceDetails device_details = 3; +} + +message CRemoteClient_ClientDetails { + optional fixed64 remote_client_id = 1; + optional .CRemoteClient_DeviceDetails device_details = 2; + optional uint64 last_seen = 4; + optional string city = 5; + optional string state = 6; + optional string country = 7; + optional bool is_online = 8; +} + +message CRemoteClient_GetRecentClients_Response { + repeated .CRemoteClient_ClientDetails clients = 1; +} + +message CRemoteClient_Task { + optional .ECLientTaskListType type = 1 [default = k_EClientTask_DownloadClip]; + optional fixed64 task_id = 2; + optional string url = 3; + optional int64 file_id = 4; +} + +message CRemoteClient_AddClientTask_Request { + optional fixed64 remote_client_id = 1; + optional .CRemoteClient_Task task = 2; +} + +message CRemoteClient_AddClientTask_Response { +} + +message CRemoteClient_TaskList_Notification { + optional fixed64 remote_client_id = 1; + repeated .CRemoteClient_Task tasklist = 2; +} + +message CRemoteClient_MarkTaskComplete_Request { + optional fixed64 remote_client_id = 1; + optional fixed64 task_id = 2; + optional string content_id = 3; +} + +message CRemoteClient_MarkTaskComplete_Response { } message CRemoteClient_RemotePacket_Notification { diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_unified_base.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_unified_base.steamclient.proto index 6bcb3e6d..42734f9a 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_unified_base.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_unified_base.steamclient.proto @@ -6,41 +6,41 @@ option optimize_for = SPEED; option java_generic_services = false; extend .google.protobuf.MessageOptions { - optional string message_description = 51000; - optional bool force_emit_message = 50026 [default = false]; + optional string message_description = 51000; + optional bool force_emit_message = 50026 [default = false]; } extend .google.protobuf.FieldOptions { - optional string description = 50000; + optional string description = 50000; } extend .google.protobuf.ServiceOptions { - optional string service_description = 50000; - optional .EProtoExecutionSite service_execution_site = 50008 [default = k_EProtoExecutionSiteUnknown]; - optional .EProtoServiceType service_type = 50025 [default = k_EProtoServiceTypeSteamMessages]; - optional bool force_emit_service = 50026 [default = false]; + optional string service_description = 50000; + optional .EProtoExecutionSite service_execution_site = 50008 [default = k_EProtoExecutionSiteUnknown]; + optional .EProtoServiceType service_type = 50025 [default = k_EProtoServiceTypeSteamMessages]; + optional bool force_emit_service = 50026 [default = false]; } extend .google.protobuf.MethodOptions { - optional string method_description = 50000; + optional string method_description = 50000; } extend .google.protobuf.EnumOptions { - optional string enum_description = 50000; + optional string enum_description = 50000; } extend .google.protobuf.EnumValueOptions { - optional string enum_value_description = 50000; + optional string enum_value_description = 50000; } enum EProtoExecutionSite { - k_EProtoExecutionSiteUnknown = 0; - k_EProtoExecutionSiteSteamClient = 2; + k_EProtoExecutionSiteUnknown = 0; + k_EProtoExecutionSiteSteamClient = 2; } enum EProtoServiceType { - k_EProtoServiceTypeSteamMessages = 0; - k_EProtoServiceTypeVRGamepadUIMessages = 1; + k_EProtoServiceTypeSteamMessages = 0; + k_EProtoServiceTypeVRGamepadUIMessages = 1; } message NoResponse { diff --git a/src/main/steamd/in/dragonbra/javasteam/enums.steamd b/src/main/steamd/in/dragonbra/javasteam/enums.steamd index 26245299..e6c31a03 100644 --- a/src/main/steamd/in/dragonbra/javasteam/enums.steamd +++ b/src/main/steamd/in/dragonbra/javasteam/enums.steamd @@ -1,4 +1,3 @@ - enum EUniverse { Invalid = 0; From 0a2b42be2a1e5d8d696db9f6b1d47d5abf56b269 Mon Sep 17 00:00:00 2001 From: LossyDragon Date: Thu, 10 Oct 2024 21:56:10 -0500 Subject: [PATCH 2/2] Update dependencies --- gradle/libs.versions.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9f8d3486..bd7680e7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,24 +12,24 @@ kotlinter = "4.4.1" # https://plugins.gradle.org/plugin/org.jmailen.kotlinter # Standard Library versions bouncyCastle = "1.78.1" # https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on -commons-io = "2.16.1" # https://mvnrepository.com/artifact/commons-io/commons-io +commons-io = "2.17.0" # https://mvnrepository.com/artifact/commons-io/commons-io commons-lang3 = "3.17.0" # https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 commons-validator = "1.9.0" # https://mvnrepository.com/artifact/commons-validator/commons-validator gson = "2.11.0" # https://mvnrepository.com/artifact/com.google.code.gson/gson jacoco = "0.8.12" # https://www.eclemma.org/jacoco javaWebSocket = "1.5.7" # https://mvnrepository.com/artifact/org.java-websocket/Java-WebSocket -kotlin-coroutines = "1.8.1" # https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core +kotlin-coroutines = "1.9.0" # https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core okHttp = "5.0.0-alpha.14" # https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -protobuf = "4.28.0" # https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java +protobuf = "4.28.2" # https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java protobuf-gradle = "0.9.4" # https://mvnrepository.com/artifact/com.google.protobuf/protobuf-gradle-plugin publishPlugin = "1.3.0" # https://mvnrepository.com/artifact/io.github.gradle-nexus/publish-plugin qrCode = "1.0.1" # https://mvnrepository.com/artifact/pro.leaco.qrcode/console-qrcode # Testing Lib versions commonsCodec = "1.17.1" # https://mvnrepository.com/artifact/commons-codec/commons-codec -junit5 = "5.11.0" # https://mvnrepository.com/artifact/org.junit/junit-bom +junit5 = "5.11.2" # https://mvnrepository.com/artifact/org.junit/junit-bom mockWebServer = "5.0.0-alpha.14" # https://mvnrepository.com/artifact/com.squareup.okhttp3/mockwebserver3-junit5 -mockitoVersion = "5.13.0" # https://mvnrepository.com/artifact/org.mockito/mockito-core +mockitoVersion = "5.14.1" # https://mvnrepository.com/artifact/org.mockito/mockito-core [libraries] bouncyCastle = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncyCastle" }