diff --git a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/base_gcmessages.proto b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/base_gcmessages.proto index d6173bde..8b60b7b8 100644 --- a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/base_gcmessages.proto +++ b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/base_gcmessages.proto @@ -36,7 +36,7 @@ enum GC_BannedWordType { message CGCStorePurchaseInit_LineItem { optional uint32 item_def_id = 1; optional uint32 quantity = 2; - optional uint32 cost_in_local_currency = 3; + optional uint64 cost_in_local_currency = 3; optional uint32 purchase_type = 4; optional uint64 supplemental_data = 5; } diff --git a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/cstrike15_gcmessages.proto b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/cstrike15_gcmessages.proto index f70ecea7..f77f78cd 100644 --- a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/cstrike15_gcmessages.proto +++ b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/cstrike15_gcmessages.proto @@ -929,6 +929,7 @@ message CEconItemPreviewDataBlock { optional float offset_z = 9; optional uint32 pattern = 10; optional uint32 highlight_reel = 11; + optional uint32 wrapped_sticker = 12; } optional uint32 accountid = 1; diff --git a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/econ_gcmessages.proto b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/econ_gcmessages.proto index 5397559a..dd41d0e2 100644 --- a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/econ_gcmessages.proto +++ b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/econ_gcmessages.proto @@ -191,6 +191,8 @@ enum EGCItemCustomizationNotification { k_EGCItemCustomizationNotification_NameBaseItem = 1019; k_EGCItemCustomizationNotification_RemoveItemName = 1030; k_EGCItemCustomizationNotification_RemoveSticker = 1053; + k_EGCItemCustomizationNotification_ExtractSticker = 1054; + k_EGCItemCustomizationNotification_EncapsulateSticker = 1055; k_EGCItemCustomizationNotification_ApplySticker = 1086; k_EGCItemCustomizationNotification_StatTrakSwap = 1088; k_EGCItemCustomizationNotification_RemovePatch = 1089; diff --git a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/netmessages.proto b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/netmessages.proto index 42759c53..76cd28b7 100644 --- a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/netmessages.proto +++ b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/netmessages.proto @@ -1,4 +1,5 @@ import "in/dragonbra/javasteam/protobufs/cs/networkbasetypes.proto"; +import "in/dragonbra/javasteam/protobufs/cs/source2_steam_stats.proto"; option java_package = "in.dragonbra.javasteam.protobufs.cs"; @@ -53,6 +54,7 @@ enum SVC_Messages { svc_Broadcast_Command = 74; svc_HltvFixupOperatorStatus = 75; svc_UserCmds = 76; + svc_NextMsgPredicted = 77; } enum VoiceDataFormat_t { @@ -184,6 +186,8 @@ message CCLCMsg_RequestPause { } message CCLCMsg_CmdKeyValues { + option (maximum_size_bytes) = 1500; + optional bytes data = 1; } @@ -191,97 +195,9 @@ message CCLCMsg_RconServerDetails { optional bytes token = 1; } -message CMsgSource2SystemSpecs { - optional string cpu_id = 1; - optional string cpu_brand = 2; - optional uint32 cpu_model = 3; - optional uint32 cpu_num_physical = 4; - optional uint32 ram_physical_total_mb = 21; - optional string gpu_rendersystem_dll_name = 41; - optional uint32 gpu_vendor_id = 42; - optional string gpu_driver_name = 43; - optional uint32 gpu_driver_version_high = 44; - optional uint32 gpu_driver_version_low = 45; - optional uint32 gpu_dx_support_level = 46; - optional uint32 gpu_texture_memory_size_mb = 47; - optional uint32 backbuffer_width = 51; - optional uint32 backbuffer_height = 52; -} - -message CMsgSource2VProfLiteReportItem { - optional string name = 1; - optional uint32 active_samples = 2; - optional uint32 active_samples_1secmax = 4; - optional uint32 usec_max = 3; - optional uint32 usec_avg_active = 11; - optional uint32 usec_p50_active = 12; - optional uint32 usec_p99_active = 13; - optional uint32 usec_avg_all = 21; - optional uint32 usec_p50_all = 22; - optional uint32 usec_p99_all = 23; - optional uint32 usec_1secmax_avg_active = 31; - optional uint32 usec_1secmax_p50_active = 32; - optional uint32 usec_1secmax_p95_active = 33; - optional uint32 usec_1secmax_p99_active = 34; - optional uint32 usec_1secmax_avg_all = 41; - optional uint32 usec_1secmax_p50_all = 42; - optional uint32 usec_1secmax_p95_all = 43; - optional uint32 usec_1secmax_p99_all = 44; -} - -message CMsgSource2VProfLiteReport { - optional .CMsgSource2VProfLiteReportItem total = 1; - repeated .CMsgSource2VProfLiteReportItem items = 2; - optional uint32 discarded_frames = 3; -} - -message CMsgSource2NetworkFlowQuality { - optional uint32 duration = 1; - optional uint64 bytes_total = 5; - optional uint64 bytes_total_reliable = 6; - optional uint64 bytes_total_voice = 7; - optional uint32 bytes_sec_p95 = 10; - optional uint32 bytes_sec_p99 = 11; - optional uint32 enginemsgs_total = 20; - optional uint32 enginemsgs_sec_p95 = 21; - optional uint32 enginemsgs_sec_p99 = 22; - optional uint32 ticks_total = 40; - optional uint32 ticks_good = 41; - optional uint32 ticks_good_almost_late = 42; - optional uint32 ticks_fixed_dropped = 43; - optional uint32 ticks_fixed_late = 44; - optional uint32 ticks_bad_dropped = 45; - optional uint32 ticks_bad_late = 46; - optional uint32 ticks_bad_other = 47; - optional uint32 tick_missrate_samples_total = 50; - optional uint32 tick_missrate_samples_perfect = 51; - optional uint32 tick_missrate_samples_perfectnet = 52; - optional uint32 tick_missratenet_p75_x10 = 53; - optional uint32 tick_missratenet_p95_x10 = 54; - optional uint32 tick_missratenet_p99_x10 = 55; - optional sint32 recvmargin_p1 = 61; - optional sint32 recvmargin_p5 = 62; - optional sint32 recvmargin_p25 = 63; - optional sint32 recvmargin_p50 = 64; - optional sint32 recvmargin_p75 = 65; - optional sint32 recvmargin_p95 = 66; -} - -message CMsgSource2PerfIntervalSample { - message Tag { - optional string tag = 1; - optional uint32 max_value = 2; - } - - optional float frame_time_max_ms = 1; - optional float frame_time_avg_ms = 2; - optional float frame_time_min_ms = 3; - optional int32 frame_count = 4; - optional float frame_time_total_ms = 5; - repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; -} - message CCLCMsg_Diagnostic { + option (maximum_size_bytes) = 16384; + optional .CMsgSource2SystemSpecs system_specs = 1; optional .CMsgSource2VProfLiteReport vprof_report = 2; optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; @@ -289,27 +205,9 @@ message CCLCMsg_Diagnostic { repeated .CMsgSource2PerfIntervalSample perf_samples = 5; } -message CSource2Metrics_MatchPerfSummary_Notification { - message Client { - optional .CMsgSource2SystemSpecs system_specs = 1; - optional .CMsgSource2VProfLiteReport profile = 2; - optional uint32 build_id = 3; - optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - optional fixed64 steamid = 10; - repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - } - - optional uint32 appid = 1; - optional string game_mode = 2; - optional uint32 server_build_id = 3; - optional fixed32 server_popid = 4; - optional .CMsgSource2VProfLiteReport server_profile = 10; - repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - optional string map = 20; -} - message CSVCMsg_ServerInfo { + option (maximum_size_bytes) = 102400; + optional int32 protocol = 1; optional int32 server_count = 2; optional bool is_dedicated = 3; @@ -463,6 +361,8 @@ message CSVCMsg_GameEventList { } message CSVCMsg_PacketEntities { + option (maximum_size_bytes) = 0; + message alternate_baseline_t { optional int32 entity_index = 1; optional int32 baseline_index = 2; @@ -509,6 +409,8 @@ message CSVCMsg_TempEntities { } message CSVCMsg_CreateStringTable { + option (maximum_size_bytes) = 49152; + optional string name = 1; optional int32 num_entries = 2; optional bool user_data_fixed_size = 3; @@ -522,6 +424,8 @@ message CSVCMsg_CreateStringTable { } message CSVCMsg_UpdateStringTable { + option (maximum_size_bytes) = 262144; + optional int32 table_id = 1; optional int32 num_changed_entries = 2; optional bytes string_data = 3; @@ -620,6 +524,8 @@ message ProtoFlattenedSerializer_t { } message CSVCMsg_FlattenedSerializer { + option (maximum_size_bytes) = 0; + repeated .ProtoFlattenedSerializer_t serializers = 1; repeated string symbols = 2; repeated .ProtoFlattenedSerializerField_t fields = 3; @@ -646,8 +552,8 @@ message CBidirMsg_PredictionEvent { ST_UserCmdNum = 1; } - required uint32 event_id = 1; - required bytes event_data = 2; + optional uint32 event_id = 1; + optional bytes event_data = 2; optional uint32 sync_type = 3; optional uint32 sync_val_uint32 = 4; } @@ -746,3 +652,8 @@ message CMsgServerUserCmd { message CSVCMsg_UserCommands { repeated .CMsgServerUserCmd commands = 1; } + +message CSVCMsg_NextMsgPredicted { + optional int32 predicted_by_player_slot = 1 [default = -1]; + optional uint32 message_type_id = 2; +} diff --git a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/networkbasetypes.proto b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/networkbasetypes.proto index 44a4e2e3..b88a370f 100644 --- a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/networkbasetypes.proto +++ b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/networkbasetypes.proto @@ -1,3 +1,4 @@ +import "google/protobuf/descriptor.proto"; import "in/dragonbra/javasteam/protobufs/cs/network_connection.proto"; option java_package = "in.dragonbra.javasteam.protobufs.cs"; @@ -5,6 +6,10 @@ option java_package = "in.dragonbra.javasteam.protobufs.cs"; option optimize_for = SPEED; option java_generic_services = false; +extend .google.protobuf.MessageOptions { + optional int32 maximum_size_bytes = 50000; +} + enum SignonState_t { SIGNONSTATE_NONE = 0; SIGNONSTATE_CHALLENGE = 1; @@ -129,6 +134,8 @@ message CNETMsg_StringCmd { } message CNETMsg_SetConVar { + option (maximum_size_bytes) = 4096; + optional .CMsg_CVars convars = 1; } @@ -168,6 +175,8 @@ message CSVCMsgList_GameEvents { } message CNETMsg_SpawnGroup_Load { + option (maximum_size_bytes) = 131072; + optional string worldname = 1; optional string entitylumpname = 2; optional string entityfiltername = 3; diff --git a/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/source2_steam_stats.proto b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/source2_steam_stats.proto new file mode 100644 index 00000000..5bdb378e --- /dev/null +++ b/javasteam-cs/src/main/proto/in/dragonbra/javasteam/protobufs/cs/source2_steam_stats.proto @@ -0,0 +1,177 @@ +option java_package = "in.dragonbra.javasteam.protobufs.cs"; + +option optimize_for = SPEED; +option java_generic_services = false; + +enum ESource2PlayStatsFieldType { + Source2PlayStats_Invalid = 0; + Source2PlayStats_UInt64 = 1; + Source2PlayStats_UInt32 = 2; + Source2PlayStats_UInt16 = 3; + Source2PlayStats_UInt8 = 4; + Source2PlayStats_Int64 = 5; + Source2PlayStats_Int32 = 6; + Source2PlayStats_Int16 = 7; + Source2PlayStats_Int8 = 8; + Source2PlayStats_Float64 = 9; + Source2PlayStats_Float32 = 10; + Source2PlayStats_Bool = 11; + Source2PlayStats_String = 12; + Source2PlayStats_LowCardinalityString = 13; + Source2PlayStats_UTCDateTime = 14; +} + +message CMsgSource2SystemSpecs { + optional string cpu_id = 1; + optional string cpu_brand = 2; + optional uint32 cpu_model = 3; + optional uint32 cpu_num_physical = 4; + optional uint32 ram_physical_total_mb = 21; + optional string gpu_rendersystem_dll_name = 41; + optional uint32 gpu_vendor_id = 42; + optional string gpu_driver_name = 43; + optional uint32 gpu_driver_version_high = 44; + optional uint32 gpu_driver_version_low = 45; + optional uint32 gpu_dx_support_level = 46; + optional uint32 gpu_texture_memory_size_mb = 47; + optional uint32 backbuffer_width = 51; + optional uint32 backbuffer_height = 52; +} + +message CMsgSource2VProfLiteReportItem { + optional string name = 1; + optional uint32 active_samples = 2; + optional uint32 active_samples_1secmax = 4; + optional uint32 usec_max = 3; + optional uint32 usec_avg_active = 11; + optional uint32 usec_p50_active = 12; + optional uint32 usec_p99_active = 13; + optional uint32 usec_avg_all = 21; + optional uint32 usec_p50_all = 22; + optional uint32 usec_p99_all = 23; + optional uint32 usec_1secmax_avg_active = 31; + optional uint32 usec_1secmax_p50_active = 32; + optional uint32 usec_1secmax_p95_active = 33; + optional uint32 usec_1secmax_p99_active = 34; + optional uint32 usec_1secmax_avg_all = 41; + optional uint32 usec_1secmax_p50_all = 42; + optional uint32 usec_1secmax_p95_all = 43; + optional uint32 usec_1secmax_p99_all = 44; +} + +message CMsgSource2VProfLiteReport { + optional .CMsgSource2VProfLiteReportItem total = 1; + repeated .CMsgSource2VProfLiteReportItem items = 2; + optional uint32 discarded_frames = 3; +} + +message CMsgSource2NetworkFlowQuality { + optional uint32 duration = 1; + optional uint64 bytes_total = 5; + optional uint64 bytes_total_reliable = 6; + optional uint64 bytes_total_voice = 7; + optional uint32 bytes_sec_p95 = 10; + optional uint32 bytes_sec_p99 = 11; + optional uint32 enginemsgs_total = 20; + optional uint32 enginemsgs_sec_p95 = 21; + optional uint32 enginemsgs_sec_p99 = 22; + optional uint32 netframes_total = 30; + optional uint32 netframes_dropped = 31; + optional uint32 netframes_outoforder = 32; + optional uint32 netframes_size_exceeds_mtu = 34; + optional uint32 netframes_size_p95 = 35; + optional uint32 netframes_size_p99 = 36; + optional uint32 ticks_total = 40; + optional uint32 ticks_good = 41; + optional uint32 ticks_good_almost_late = 42; + optional uint32 ticks_fixed_dropped = 43; + optional uint32 ticks_fixed_late = 44; + optional uint32 ticks_bad_dropped = 45; + optional uint32 ticks_bad_late = 46; + optional uint32 ticks_bad_other = 47; + optional uint32 tick_missrate_samples_total = 50; + optional uint32 tick_missrate_samples_perfect = 51; + optional uint32 tick_missrate_samples_perfectnet = 52; + optional uint32 tick_missratenet_p75_x10 = 53; + optional uint32 tick_missratenet_p95_x10 = 54; + optional uint32 tick_missratenet_p99_x10 = 55; + optional sint32 recvmargin_p1 = 61; + optional sint32 recvmargin_p5 = 62; + optional sint32 recvmargin_p25 = 63; + optional sint32 recvmargin_p50 = 64; + optional sint32 recvmargin_p75 = 65; + optional sint32 recvmargin_p95 = 66; + optional uint32 netframe_jitter_p50 = 70; + optional uint32 netframe_jitter_p99 = 71; + optional uint32 interval_peakjitter_p50 = 72; + optional uint32 interval_peakjitter_p95 = 73; + optional uint32 packet_misdelivery_rate_p50_x4 = 74; + optional uint32 packet_misdelivery_rate_p95_x4 = 75; + optional uint32 net_ping_p5 = 80; + optional uint32 net_ping_p50 = 81; + optional uint32 net_ping_p95 = 82; +} + +message CMsgSource2PerfIntervalSample { + message Tag { + optional string tag = 1; + optional uint32 max_value = 2; + } + + optional float frame_time_max_ms = 1; + optional float frame_time_avg_ms = 2; + optional float frame_time_min_ms = 3; + optional int32 frame_count = 4; + optional float frame_time_total_ms = 5; + repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; +} + +message CSource2Metrics_MatchPerfSummary_Notification { + message Client { + optional .CMsgSource2SystemSpecs system_specs = 1; + optional .CMsgSource2VProfLiteReport profile = 2; + optional uint32 build_id = 3; + optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; + optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; + optional fixed64 steamid = 10; + repeated .CMsgSource2PerfIntervalSample perf_samples = 11; + } + + optional uint32 appid = 1; + optional string game_mode = 2; + optional uint32 server_build_id = 3; + optional fixed32 server_popid = 4; + optional .CMsgSource2VProfLiteReport server_profile = 10; + repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; + optional string map = 20; +} + +message CMsgSource2PlayStatsPackedRecordList { + message FieldDef { + optional string field_name = 1; + optional .ESource2PlayStatsFieldType field_type = 2 [default = Source2PlayStats_Invalid]; + } + + optional string record_name = 1; + repeated .CMsgSource2PlayStatsPackedRecordList.FieldDef field_defs = 2; + optional uint32 record_count = 3; + repeated uint64 uint64_vals = 4 [packed = true]; + repeated uint32 uint32_vals = 5 [packed = true]; + repeated uint32 uint16_vals = 6 [packed = true]; + repeated uint32 uint8_vals = 7 [packed = true]; + repeated int64 int64_vals = 8 [packed = true]; + repeated int32 int32_vals = 9 [packed = true]; + repeated int32 int16_vals = 10 [packed = true]; + repeated int32 int8_vals = 11 [packed = true]; + repeated double float64_vals = 12 [packed = true]; + repeated float float32_vals = 13 [packed = true]; + repeated bool bool_vals = 14 [packed = true]; + repeated string string_vals = 15; + repeated string low_cardinality_string_vals = 16; + repeated fixed32 utcdatetime_vals = 17 [packed = true]; +} + +message CSource2Metrics_RecordPlayStats_Notification { + repeated .CMsgSource2PlayStatsPackedRecordList record_types = 1; + optional uint32 appid = 2; +} diff --git a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_client.proto b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_client.proto index ad0faa2e..5ed5e4c9 100644 --- a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_client.proto +++ b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_client.proto @@ -8,1745 +8,1807 @@ option optimize_for = SPEED; option java_generic_services = false; enum EGCCitadelClientMessages { - k_EMsgClientToGCStartMatchmaking = 9010; - k_EMsgClientToGCStartMatchmakingResponse = 9011; - k_EMsgClientToGCStopMatchmaking = 9012; - k_EMsgClientToGCStopMatchmakingResponse = 9013; - k_EMsgGCToClientMatchmakingStopped = 9014; - k_EMsgClientToGCLeaveLobby = 9015; - k_EMsgClientToGCLeaveLobbyResponse = 9016; - k_EMsgClientToGCIsInMatchmaking = 9017; - k_EMsgClientToGCIsInMatchmakingResponse = 9018; - k_EMsgGCToClientDevPlaytestStatus = 9019; - k_EMsgClientToGCDevSetMMBias = 9023; - k_EMsgClientToGCGetProfileCard = 9024; - k_EMsgClientToGCGetProfileCardResponse = 9025; - k_EMsgClientToGCUpdateRoster = 9026; - k_EMsgClientToGCUpdateRosterResponse = 9027; - k_EMsgGCToClientProfileCardUpdated = 9028; - k_EMsgGCToClientDevAnnouncements = 9029; - k_EMsgClientToGCModifyDevAnnouncements = 9030; - k_EMsgClientToGCModifyDevAnnouncementsResponse = 9031; - k_EMsgGCToClientSDRTicket = 9100; - k_EMsgClientToGCReplacementSDRTicket = 9101; - k_EMsgClientToGCReplacementSDRTicketResponse = 9102; - k_EMsgClientToGCSetServerConVar = 9107; - k_EMsgClientToGCSetServerConVarResponse = 9108; - k_EMsgClientToGCSpectateLobby = 9109; - k_EMsgClientToGCSpectateLobbyResponse = 9110; - k_EMsgClientToGCPostMatchSurveyResponse = 9111; - k_EMsgClientToGCGetMatchHistory = 9112; - k_EMsgClientToGCGetMatchHistoryResponse = 9113; - k_EMsgClientToGCSpectateUser = 9116; - k_EMsgClientToGCSpectateUserResponse = 9117; - k_EMsgClientToGCPartyCreate = 9123; - k_EMsgClientToGCPartyCreateResponse = 9124; - k_EMsgClientToGCPartyLeave = 9125; - k_EMsgClientToGCPartyLeaveResponse = 9126; - k_EMsgClientToGCPartyJoin = 9127; - k_EMsgClientToGCPartyJoinResponse = 9128; - k_EMsgClientToGCPartyAction = 9129; - k_EMsgClientToGCPartyActionResponse = 9130; - k_EMsgClientToGCPartyStartMatch = 9131; - k_EMsgClientToGCPartyStartMatchResponse = 9132; - k_EMsgClientToGCPartyInviteUser = 9133; - k_EMsgClientToGCPartyInviteUserResponse = 9134; - k_EMsgGCToClientPartyEvent = 9135; - k_EMsgGCToClientCanRejoinParty = 9137; - k_EMsgClientToGCPartyJoinViaCode = 9138; - k_EMsgClientToGCPartyJoinViaCodeResponse = 9139; - k_EMsgClientToGCPartySetReadyState = 9142; - k_EMsgClientToGCPartySetReadyStateResponse = 9143; - k_EMsgClientToGCGetAccountStats = 9164; - k_EMsgClientToGCGetAccountStatsResponse = 9165; - k_EMsgGCToClientAccountStatsUpdated = 9166; - k_EMsgClientToGCGetMatchMetaData = 9167; - k_EMsgClientToGCGetMatchMetaDataResponse = 9168; - k_EMsgClientToGCDevAction = 9172; - k_EMsgClientToGCDevActionResponse = 9173; - k_EMsgClientToGCRecordClientEvents = 9174; - k_EMsgClientToGCRecordClientEventsResponse = 9175; - k_EMsgClientToGCSetNewPlayerProgress = 9176; - k_EMsgClientToGCSetNewPlayerProgressResponse = 9177; - k_EMsgClientToGCUpdateAccountSync = 9178; - k_EMsgClientToGCUpdateAccountSyncResponse = 9179; - k_EMsgClientToGCGetHeroChoice = 9180; - k_EMsgClientToGCGetHeroChoiceResponse = 9181; - k_EMsgClientToGCUnlockHero = 9182; - k_EMsgClientToGCUnlockHeroResponse = 9183; - k_EMsgClientToGCBookUnlock = 9184; - k_EMsgClientToGCBookUnlockResponse = 9185; - k_EMsgClientToGCGetBook = 9186; - k_EMsgClientToGCGetBookResponse = 9187; - k_EMsgGCToClientBookUpdated = 9188; - k_EMsgClientToGCSubmitPlaytestUser = 9189; - k_EMsgClientToGCSubmitPlaytestUserResponse = 9190; - k_EMsgClientToGCUpdateHeroBuild = 9193; - k_EMsgClientToGCUpdateHeroBuildResponse = 9194; - k_EMsgClientToGCFindHeroBuilds = 9195; - k_EMsgClientToGCFindHeroBuildsResponse = 9196; - k_EMsgClientToGCReportPlayerFromMatch = 9197; - k_EMsgClientToGCReportPlayerFromMatchResponse = 9198; - k_EMsgClientToGCGetAccountMatchReports = 9199; - k_EMsgClientToGCGetAccountMatchReportsResponse = 9200; - k_EMsgClientToGCDeleteHeroBuild = 9201; - k_EMsgClientToGCDeleteHeroBuildResponse = 9202; - k_EMsgClientToGCGetActiveMatches = 9203; - k_EMsgClientToGCGetActiveMatchesResponse = 9204; - k_EMsgClientToGCGetDiscordLink = 9205; - k_EMsgClientToGCGetDiscordLinkResponse = 9206; - k_EMsgClientToGCPartySetMode = 9207; - k_EMsgClientToGCPartySetModeResponse = 9208; - k_EMsgClientToGCGrantForumAccess = 9209; - k_EMsgClientToGCGrantForumAccessResponse = 9210; - k_EMsgClientToGCModeratorRequest = 9211; - k_EMsgClientToGCModeratorRequestResponse = 9212; - k_EMsgClientToGCGetFriendGameStatus = 9213; - k_EMsgClientToGCGetFriendGameStatusResponse = 9214; - k_EMsgClientToGCUpdateHeroBuildPreference = 9215; - k_EMsgClientToGCUpdateHeroBuildPreferenceResponse = 9216; - k_EMsgClientToGCUpdateSpectatorStatus = 9219; - k_EMsgClientToGCCommendPlayerFromMatch = 9223; - k_EMsgClientToGCCommendPlayerFromMatchResponse = 9224; - k_EMsgGCToClientCommendNotification = 9225; - k_EMsgGCToClientHeroLabsSchedule = 9228; - k_EMsgClientToGCDevRequestCheatReports = 9230; - k_EMsgClientToGCDevRequestCheatReportsResponse = 9231; - k_EMsgClientToGCDevBan = 9232; - k_EMsgClientToGCDevBanResponse = 9233; - k_EMsgClientToGCGetHeroMMRRankings = 9234; - k_EMsgClientToGCGetHeroMMRRankingsResponse = 9235; - k_EMsgClientToGCGetLeaderboard = 9236; - k_EMsgClientToGCGetLeaderboardResponse = 9237; - k_EMsgClientToGCGetAccountLeaderboards = 9238; - k_EMsgClientToGCGetAccountLeaderboardsResponse = 9239; - k_EMsgClientToGCTarotGetUserData = 9242; - k_EMsgClientToGCTarotGetUserDataResponse = 9243; - k_EMsgGCToClientTarotUserDataUpdated = 9244; - k_EMsgClientToGCTarotPlaceTile = 9245; - k_EMsgClientToGCTarotPlaceTileResponse = 9246; - k_EMsgClientToGCTarotApplyRune = 9247; - k_EMsgClientToGCTarotApplyRuneResponse = 9248; - k_EMsgClientToGCTarotCompleteBoard = 9249; - k_EMsgClientToGCTarotCompleteBoardResponse = 9250; - k_EMsgClientToGCTarotDevCreateTile = 9251; - k_EMsgClientToGCTarotDevCreateTileResponse = 9252; - k_EMsgClientToGCTarotDevCreateBoard = 9253; - k_EMsgClientToGCTarotDevCreateBoardResponse = 9254; - k_EMsgClientToGCTarotDevGenerateTestTiles = 9255; - k_EMsgClientToGCTarotDevGenerateTestTilesResponse = 9256; - k_EMsgClientToGCTarotDevModifyEnergy = 9257; - k_EMsgClientToGCTarotDevModifyEnergyResponse = 9258; - k_EMsgClientToGCGenerateChallengeSet = 9259; - k_EMsgClientToGCGenerateChallengeSetResponse = 9260; - k_EMsgClientToGCChallengeActivate = 9261; - k_EMsgClientToGCChallengeActivateResponse = 9262; - k_EMsgClientToGCChallengeClaim = 9263; - k_EMsgClientToGCChallengeClaimResponse = 9264; - k_EMsgClientToGCChallengeCancel = 9265; - k_EMsgClientToGCChallengeCancelResponse = 9266; - k_EMsgClientToGCGetSurveyQuestion = 9267; - k_EMsgClientToGCGetSurveyQuestionResponse = 9268; - k_EMsgClientToGCSubmitSurvey = 9269; - k_EMsgClientToGCSubmitSurveyResponse = 9270; - k_EMsgClientToGCGetRankData = 9271; - k_EMsgGCToClientGetRankDataResponse = 9272; - k_EMsgGCToClientRankDataUpdate = 9273; - k_EMsgClientToGCGetHideoutSDRTicket = 9274; - k_EMsgClientToGCGetHideoutSDRTicketResponse = 9275; - k_EMsgClientToGCSubmitHeroReleaseVote = 9276; - k_EMsgClientToGCPartySendChatMsg = 9277; - k_EMsgClientToGCPartySendChatMsgResponse = 9278; - k_EMsgGCToClientPartyChatMsg = 9279; - k_EMsgClientToGCRequestHeroReleaseVoteStatus = 9280; - k_EMsgGCToClientUpdateHeroReleaseVoteStatus = 9281; + k_EMsgClientToGCStartMatchmaking = 9010; + k_EMsgClientToGCStartMatchmakingResponse = 9011; + k_EMsgClientToGCStopMatchmaking = 9012; + k_EMsgClientToGCStopMatchmakingResponse = 9013; + k_EMsgGCToClientMatchmakingStopped = 9014; + k_EMsgClientToGCLeaveLobby = 9015; + k_EMsgClientToGCLeaveLobbyResponse = 9016; + k_EMsgClientToGCIsInMatchmaking = 9017; + k_EMsgClientToGCIsInMatchmakingResponse = 9018; + k_EMsgGCToClientDevPlaytestStatus = 9019; + k_EMsgClientToGCDevSetMMBias = 9023; + k_EMsgClientToGCGetProfileCard = 9024; + k_EMsgClientToGCGetProfileCardResponse = 9025; + k_EMsgClientToGCUpdateRoster = 9026; + k_EMsgClientToGCUpdateRosterResponse = 9027; + k_EMsgGCToClientProfileCardUpdated = 9028; + k_EMsgGCToClientDevAnnouncements = 9029; + k_EMsgClientToGCModifyDevAnnouncements = 9030; + k_EMsgClientToGCModifyDevAnnouncementsResponse = 9031; + k_EMsgGCToClientSDRTicket = 9100; + k_EMsgClientToGCReplacementSDRTicket = 9101; + k_EMsgClientToGCReplacementSDRTicketResponse = 9102; + k_EMsgClientToGCSetServerConVar = 9107; + k_EMsgClientToGCSetServerConVarResponse = 9108; + k_EMsgClientToGCSpectateLobby = 9109; + k_EMsgClientToGCSpectateLobbyResponse = 9110; + k_EMsgClientToGCPostMatchSurveyResponse = 9111; + k_EMsgClientToGCGetMatchHistory = 9112; + k_EMsgClientToGCGetMatchHistoryResponse = 9113; + k_EMsgClientToGCSpectateUser = 9116; + k_EMsgClientToGCSpectateUserResponse = 9117; + k_EMsgClientToGCPartyCreate = 9123; + k_EMsgClientToGCPartyCreateResponse = 9124; + k_EMsgClientToGCPartyLeave = 9125; + k_EMsgClientToGCPartyLeaveResponse = 9126; + k_EMsgClientToGCPartyJoin = 9127; + k_EMsgClientToGCPartyJoinResponse = 9128; + k_EMsgClientToGCPartyAction = 9129; + k_EMsgClientToGCPartyActionResponse = 9130; + k_EMsgClientToGCPartyStartMatch = 9131; + k_EMsgClientToGCPartyStartMatchResponse = 9132; + k_EMsgClientToGCPartyInviteUser = 9133; + k_EMsgClientToGCPartyInviteUserResponse = 9134; + k_EMsgGCToClientPartyEvent = 9135; + k_EMsgGCToClientCanRejoinParty = 9137; + k_EMsgClientToGCPartyJoinViaCode = 9138; + k_EMsgClientToGCPartyJoinViaCodeResponse = 9139; + k_EMsgClientToGCPartySetReadyState = 9142; + k_EMsgClientToGCPartySetReadyStateResponse = 9143; + k_EMsgClientToGCGetAccountStats = 9164; + k_EMsgClientToGCGetAccountStatsResponse = 9165; + k_EMsgGCToClientAccountStatsUpdated = 9166; + k_EMsgClientToGCGetMatchMetaData = 9167; + k_EMsgClientToGCGetMatchMetaDataResponse = 9168; + k_EMsgClientToGCDevAction = 9172; + k_EMsgClientToGCDevActionResponse = 9173; + k_EMsgClientToGCRecordClientEvents = 9174; + k_EMsgClientToGCRecordClientEventsResponse = 9175; + k_EMsgClientToGCSetNewPlayerProgress = 9176; + k_EMsgClientToGCSetNewPlayerProgressResponse = 9177; + k_EMsgClientToGCUpdateAccountSync = 9178; + k_EMsgClientToGCUpdateAccountSyncResponse = 9179; + k_EMsgClientToGCGetHeroChoice = 9180; + k_EMsgClientToGCGetHeroChoiceResponse = 9181; + k_EMsgClientToGCUnlockHero = 9182; + k_EMsgClientToGCUnlockHeroResponse = 9183; + k_EMsgClientToGCBookUnlock = 9184; + k_EMsgClientToGCBookUnlockResponse = 9185; + k_EMsgClientToGCGetBook = 9186; + k_EMsgClientToGCGetBookResponse = 9187; + k_EMsgGCToClientBookUpdated = 9188; + k_EMsgClientToGCSubmitPlaytestUser = 9189; + k_EMsgClientToGCSubmitPlaytestUserResponse = 9190; + k_EMsgClientToGCUpdateHeroBuild = 9193; + k_EMsgClientToGCUpdateHeroBuildResponse = 9194; + k_EMsgClientToGCFindHeroBuilds = 9195; + k_EMsgClientToGCFindHeroBuildsResponse = 9196; + k_EMsgClientToGCReportPlayerFromMatch = 9197; + k_EMsgClientToGCReportPlayerFromMatchResponse = 9198; + k_EMsgClientToGCGetAccountMatchReports = 9199; + k_EMsgClientToGCGetAccountMatchReportsResponse = 9200; + k_EMsgClientToGCDeleteHeroBuild = 9201; + k_EMsgClientToGCDeleteHeroBuildResponse = 9202; + k_EMsgClientToGCGetActiveMatches = 9203; + k_EMsgClientToGCGetActiveMatchesResponse = 9204; + k_EMsgClientToGCGetDiscordLink = 9205; + k_EMsgClientToGCGetDiscordLinkResponse = 9206; + k_EMsgClientToGCPartySetMode = 9207; + k_EMsgClientToGCPartySetModeResponse = 9208; + k_EMsgClientToGCGrantForumAccess = 9209; + k_EMsgClientToGCGrantForumAccessResponse = 9210; + k_EMsgClientToGCModeratorRequest = 9211; + k_EMsgClientToGCModeratorRequestResponse = 9212; + k_EMsgClientToGCGetFriendGameStatus = 9213; + k_EMsgClientToGCGetFriendGameStatusResponse = 9214; + k_EMsgClientToGCUpdateHeroBuildPreference = 9215; + k_EMsgClientToGCUpdateHeroBuildPreferenceResponse = 9216; + k_EMsgClientToGCUpdateSpectatorStatus = 9219; + k_EMsgClientToGCCommendPlayerFromMatch = 9223; + k_EMsgClientToGCCommendPlayerFromMatchResponse = 9224; + k_EMsgGCToClientCommendNotification = 9225; + k_EMsgGCToClientHeroLabsSchedule = 9228; + k_EMsgClientToGCDevRequestCheatReports = 9230; + k_EMsgClientToGCDevRequestCheatReportsResponse = 9231; + k_EMsgClientToGCDevBan = 9232; + k_EMsgClientToGCDevBanResponse = 9233; + k_EMsgClientToGCGetHeroMMRRankings = 9234; + k_EMsgClientToGCGetHeroMMRRankingsResponse = 9235; + k_EMsgClientToGCGetLeaderboard = 9236; + k_EMsgClientToGCGetLeaderboardResponse = 9237; + k_EMsgClientToGCGetAccountLeaderboards = 9238; + k_EMsgClientToGCGetAccountLeaderboardsResponse = 9239; + k_EMsgClientToGCTarotGetUserData = 9242; + k_EMsgClientToGCTarotGetUserDataResponse = 9243; + k_EMsgGCToClientTarotUserDataUpdated = 9244; + k_EMsgClientToGCTarotPlaceTile = 9245; + k_EMsgClientToGCTarotPlaceTileResponse = 9246; + k_EMsgClientToGCTarotApplyRune = 9247; + k_EMsgClientToGCTarotApplyRuneResponse = 9248; + k_EMsgClientToGCTarotCompleteBoard = 9249; + k_EMsgClientToGCTarotCompleteBoardResponse = 9250; + k_EMsgClientToGCTarotDevCreateTile = 9251; + k_EMsgClientToGCTarotDevCreateTileResponse = 9252; + k_EMsgClientToGCTarotDevCreateBoard = 9253; + k_EMsgClientToGCTarotDevCreateBoardResponse = 9254; + k_EMsgClientToGCTarotDevGenerateTestTiles = 9255; + k_EMsgClientToGCTarotDevGenerateTestTilesResponse = 9256; + k_EMsgClientToGCTarotDevModifyEnergy = 9257; + k_EMsgClientToGCTarotDevModifyEnergyResponse = 9258; + k_EMsgClientToGCGenerateChallengeSet = 9259; + k_EMsgClientToGCGenerateChallengeSetResponse = 9260; + k_EMsgClientToGCChallengeActivate = 9261; + k_EMsgClientToGCChallengeActivateResponse = 9262; + k_EMsgClientToGCChallengeClaim = 9263; + k_EMsgClientToGCChallengeClaimResponse = 9264; + k_EMsgClientToGCChallengeCancel = 9265; + k_EMsgClientToGCChallengeCancelResponse = 9266; + k_EMsgClientToGCGetSurveyQuestion = 9267; + k_EMsgClientToGCGetSurveyQuestionResponse = 9268; + k_EMsgClientToGCSubmitSurvey = 9269; + k_EMsgClientToGCSubmitSurveyResponse = 9270; + k_EMsgClientToGCGetRankData = 9271; + k_EMsgGCToClientGetRankDataResponse = 9272; + k_EMsgGCToClientRankDataUpdate = 9273; + k_EMsgClientToGCGetHideoutSDRTicket = 9274; + k_EMsgClientToGCGetHideoutSDRTicketResponse = 9275; + k_EMsgClientToGCSubmitHeroReleaseVote = 9276; + k_EMsgClientToGCPartySendChatMsg = 9277; + k_EMsgClientToGCPartySendChatMsgResponse = 9278; + k_EMsgGCToClientPartyChatMsg = 9279; + k_EMsgClientToGCRequestHeroReleaseVoteTally = 9280; + k_EMsgGCToClientUpdateHeroReleaseVoteTally = 9281; } enum ECitadelAccountPermissionFlag { - k_eAccountPermission_Ranked = 1; + k_eAccountPermission_Ranked = 1; } enum ECitadelNewPlayerProgressFlag { - k_eNewPlayerProgress_GettingStarted = 1; - k_eNewPlayerProgress_HeroTraining = 2; - k_eNewPlayerProgress_LaneTraining = 3; + k_eNewPlayerProgress_GettingStarted = 1; + k_eNewPlayerProgress_HeroTraining = 2; + k_eNewPlayerProgress_LaneTraining = 3; } enum EProfileCardSlotType { - k_EProfileCardSlotType_Empty = 0; - k_EProfileCardSlotType_Stat = 1; - k_EProfileCardSlotType_Hero = 2; + k_EProfileCardSlotType_Empty = 0; + k_EProfileCardSlotType_Stat = 1; + k_EProfileCardSlotType_Hero = 2; } enum EDevBanReason { - k_eDevBanReason_Unspecified = 0; - k_eDevBanReason_AimAssist = 1; - k_eDevBanReason_VisionAssist = 2; - k_eDevBanReason_MovementAssist = 3; + k_eDevBanReason_Unspecified = 0; + k_eDevBanReason_AimAssist = 1; + k_eDevBanReason_VisionAssist = 2; + k_eDevBanReason_MovementAssist = 3; } enum ECitadelClientAccountEvent { - k_eLaunchedHeroTest = 1; - k_eViewedProfile = 2; - k_eViewedSocial = 3; - k_eViewedHeroes = 4; - k_eViewedHeroDetails = 5; - k_eViewedPatchNotes = 6; - k_eViewedEvents = 7; - k_eViewedGettingStarted = 8; - k_eViewedGuidePage = 9; - k_eLaunchedClient = 10; - k_eEditRoster = 11; - k_eViewedWatch = 12; - k_eCreatedParty = 13; - k_eCreatedPartyWithInvite = 14; - k_eViewedSelfProfile = 15; - k_eJoinedPartyCode = 16; - k_eSentPartyInvite = 17; - k_eAcceptPartyInvite = 18; - k_eRejectPartyInvite = 19; - k_eSpectateUser = 20; - k_eSpectateMatch = 21; - k_eEnteredMatchMaking = 22; - k_eLeftMatchMaking = 23; - k_eEnteredPartyMatchMaking = 24; - k_eLeftPartyMatchMaking = 25; - k_eDownloadedReplay = 26; - k_eWatchedReplay = 27; - k_eViewMatchDetails = 28; - k_eMatchDetailsTab = 29; - k_eDeleteReplay = 30; - k_eBotMatch_Guided = 31; - k_eBotMatch_Easy = 32; - k_eBotMatch_Hard = 33; - k_eLiveUpdatedRoster = 34; - k_eMatchMakingIdle_Displayed = 35; - k_eMatchMakingIdle_Stopped = 36; - k_eConnectReacquireTicket = 37; - k_eConnectAttemptReconnect = 38; - k_eDisconnectPresentedPrompt = 39; - k_eDisconnectConfirmed = 40; - k_eViewedSettings_Options = 41; - k_eViewedSettings_Video = 42; - k_eViewedSettings_Audio = 43; - k_eViewedSettings_HotKey = 44; - k_eViewedSettings_ChatWheel = 45; - k_eViewedSettings_About = 46; - k_eOpenedSubmitFeedback = 47; - k_eTutorialSkip_Pressed = 48; - k_eTutorialSkip_Confirmed = 49; - k_eViewedGuidePage_5s = 50; - k_eViewedGuidePage_15s = 51; - k_eViewedGuidePage_30s = 52; - k_eViewedGuidePage_60s = 53; - k_eOpenedBookTest = 54; - k_eSandboxViaHeroPage = 55; - k_eViewedSettings_SteamInput = 56; - k_eViewedSettings_Social = 57; - k_eCalibrationMatch = 58; - k_eSandboxViaPlayMenu = 59; - k_eBotMatch_Medium = 60; - k_eSandboxViaHideoutTeleport = 61; + k_eLaunchedHeroTest = 1; + k_eViewedProfile = 2; + k_eViewedHeroes = 4; + k_eViewedHeroDetails = 5; + k_eViewedPatchNotes = 6; + k_eViewedEvents = 7; + k_eViewedGettingStarted = 8; + k_eViewedGuidePage = 9; + k_eLaunchedClient = 10; + k_eEditRoster = 11; + k_eViewedWatch = 12; + k_eCreatedParty = 13; + k_eCreatedPartyWithInvite = 14; + k_eViewedSelfProfile = 15; + k_eJoinedPartyCode = 16; + k_eSentPartyInvite = 17; + k_eAcceptPartyInvite = 18; + k_eRejectPartyInvite = 19; + k_eSpectateUser = 20; + k_eSpectateMatch = 21; + k_eEnteredMatchMaking = 22; + k_eLeftMatchMaking = 23; + k_eEnteredPartyMatchMaking = 24; + k_eLeftPartyMatchMaking = 25; + k_eDownloadedReplay = 26; + k_eWatchedReplay = 27; + k_eViewMatchDetails = 28; + k_eMatchDetailsTab = 29; + k_eDeleteReplay = 30; + k_eBotMatch_Guided = 31; + k_eBotMatch_Easy = 32; + k_eBotMatch_Hard = 33; + k_eLiveUpdatedRoster = 34; + k_eMatchMakingIdle_Displayed = 35; + k_eMatchMakingIdle_Stopped = 36; + k_eConnectReacquireTicket = 37; + k_eConnectAttemptReconnect = 38; + k_eDisconnectPresentedPrompt = 39; + k_eDisconnectConfirmed = 40; + k_eViewedSettings_Options = 41; + k_eViewedSettings_Video = 42; + k_eViewedSettings_Audio = 43; + k_eViewedSettings_HotKey = 44; + k_eViewedSettings_ChatWheel = 45; + k_eViewedSettings_About = 46; + k_eOpenedSubmitFeedback = 47; + k_eTutorialSkip_Pressed = 48; + k_eTutorialSkip_Confirmed = 49; + k_eViewedGuidePage_5s = 50; + k_eViewedGuidePage_15s = 51; + k_eViewedGuidePage_30s = 52; + k_eViewedGuidePage_60s = 53; + k_eOpenedBookTest = 54; + k_eSandboxViaHeroPage = 55; + k_eViewedSettings_SteamInput = 56; + k_eViewedSettings_Social = 57; + k_eCalibrationMatch = 58; + k_eSandboxViaPlayMenu = 59; + k_eBotMatch_Medium = 60; + k_eSandboxViaHideoutTeleport = 61; + k_eRosterSelectSingleHero = 62; } enum ECommendType { - k_eInvalid = 0; - k_eGeneric = 1; - k_eFriendly = 2; - k_eTeamwork = 3; - k_eSkilled = 4; + k_eInvalid = 0; + k_eGeneric = 1; + k_eFriendly = 2; + k_eTeamwork = 3; + k_eSkilled = 4; } message CSOGameAccountClient { - enum EFlags { - k_eDeveloper = 1; - k_eExternalModerator = 2; - k_eGotInitialHeroes = 4; - k_eHideHolidayModels = 8; - k_eClaimedDiscordLink = 16; - k_eClaimedForum = 32; - k_eAccountBanned = 64; - } - - optional uint32 account_id = 1 [(key_field) = true]; - optional uint64 flags = 2; - optional uint32 wins = 3; - optional uint32 losses = 4; - optional uint32 kills = 5; - optional uint32 most_played_hero_id = 6; - optional uint64 permissions = 7; - optional uint64 new_player_progress = 8; - optional uint32 hero_unlock_credits = 9; - optional uint32 mm_ban_until = 10; - optional uint32 comms_ban_until = 11; - optional uint32 low_priority_games_remaining = 12; - optional uint32 report_ban_until = 13; - optional uint32 ranked_badge_level = 14; - optional uint32 hero_labs_matches_since_test_hero = 21; + enum EFlags { + k_eDeveloper = 1; + k_eExternalModerator = 2; + k_eGotInitialHeroes = 4; + k_eHideHolidayModels = 8; + k_eClaimedDiscordLink = 16; + k_eClaimedForum = 32; + k_eAccountBanned = 64; + } + + optional uint32 account_id = 1 [(key_field) = true]; + optional uint64 flags = 2; + optional uint32 wins = 3; + optional uint32 losses = 4; + optional uint32 kills = 5; + optional uint32 most_played_hero_id = 6; + optional uint64 permissions = 7; + optional uint64 new_player_progress = 8; + optional uint32 hero_unlock_credits = 9; + optional uint32 mm_ban_until = 10; + optional uint32 comms_ban_until = 11; + optional uint32 low_priority_games_remaining = 12; + optional uint32 report_ban_until = 13; + optional uint32 ranked_badge_level = 14; + optional uint32 priority_tokens = 15; + optional uint32 priority_token_progress = 16; + optional uint32 priority_tokens_earned = 17; + optional uint32 brawl_wins = 18; + optional uint32 brawl_losses = 19; + optional uint32 brawl_kills = 20; } message CSOAccountSyncStorage { - optional uint32 account_id = 1; - optional uint32 id = 2; - optional uint32 value = 3; + optional uint32 account_id = 1; + optional uint32 id = 2; + optional uint32 value = 3; } message CSOAccountHeroInfo { - enum EHeroStatus { - k_eLocked = 0; - k_eOwned = 1; - } + enum EHeroStatus { + k_eLocked = 0; + k_eOwned = 1; + } - optional uint32 account_id = 1 [(key_field) = true]; - optional uint32 hero_id = 2; - optional .CSOAccountHeroInfo.EHeroStatus status = 3 [default = k_eLocked]; - optional uint32 wins = 4; - optional uint32 kills = 5; - optional uint32 hero_xp = 6; + optional uint32 account_id = 1 [(key_field) = true]; + optional uint32 hero_id = 2; + optional .CSOAccountHeroInfo.EHeroStatus status = 3 [default = k_eLocked]; + optional uint32 wins = 4; + optional uint32 kills = 5; + optional uint32 hero_xp = 6; + optional uint32 brawl_wins = 7; + optional uint32 brawl_kills = 8; } message CSOAccountChallenge { - enum EChallengeStatus { - k_eInvalid = 0; - k_eRejected = 1; - k_eActiveChoice = 2; - k_eActive = 3; - k_eCompleted = 4; - k_eExpired = 5; - } - - enum ERewardType { - k_eReward_HeroXP = 0; - } - - optional uint32 account_id = 1 [(key_field) = true]; - optional uint64 challenge_id = 2; - optional .CSOAccountChallenge.EChallengeStatus status = 3 [default = k_eInvalid]; - optional uint32 progress = 4; - optional uint32 max_progress = 5; - optional uint32 choice_group = 6; - optional .CSOAccountChallenge.ERewardType reward_type = 7 [default = k_eReward_HeroXP]; - optional uint32 reward_param = 8; - optional uint32 reward_amount = 9; + enum EChallengeStatus { + k_eInvalid = 0; + k_eRejected = 1; + k_eActiveChoice = 2; + k_eActive = 3; + k_eCompleted = 4; + k_eExpired = 5; + } + + enum ERewardType { + k_eReward_HeroXP = 0; + } + + optional uint32 account_id = 1 [(key_field) = true]; + optional uint64 challenge_id = 2; + optional .CSOAccountChallenge.EChallengeStatus status = 3 [default = k_eInvalid]; + optional uint32 progress = 4; + optional uint32 max_progress = 5; + optional uint32 choice_group = 6; + optional .CSOAccountChallenge.ERewardType reward_type = 7 [default = k_eReward_HeroXP]; + optional uint32 reward_param = 8; + optional uint32 reward_amount = 9; } message CMsgCitadelClientHello { } message CMsgClientToGCStartMatchmaking { - optional uint32 client_version = 1; - optional .EGCPlatform client_platform = 2 [default = k_eGCPlatform_None]; - optional .CMsgStartFindingMatchInfo match_info = 3; - optional .CMsgRegionPingTimesClient ping_times = 4; - optional .CMsgHeroSelectionMatchInfo heroes = 5; + optional uint32 client_version = 1; + optional .EGCPlatform client_platform = 2 [default = k_eGCPlatform_None]; + optional .CMsgStartFindingMatchInfo match_info = 3; + optional .CMsgRegionPingTimesClient ping_times = 4; + optional .CMsgHeroSelectionMatchInfo heroes = 5; } message CMsgClientToGCStartMatchmakingResponse { - enum EResultCode { - k_EResult_OK = 0; - k_EResult_AlreadyFindingMatch = 1; - k_EResult_PartyMemberInLobby = 2; - k_EResult_InvalidClientVersion = 3; - k_EResult_MatchmakingDisabled = 4; - k_EResult_MatchmakingTooBusy = 5; - k_EResult_InternalError = 6; - k_EResult_NoRegionPings = 7; - k_EResult_InParty = 8; - k_EResult_ModeLocked = 9; - k_EResult_ModeBanned = 10; - k_EResult_RegionInfoNotProvided = 11; - k_EResult_DurationControlBlocked = 12; - k_EResult_InvalidHeroSelection = 13; - k_EResult_HeroesNotUnlocked = 14; - k_EResult_PermanentBan = 15; - k_EResult_RankedMMNotOpen = 16; - k_EResult_RankedNotUnlocked = 17; - k_EResult_NoRankedWhileInLowPri = 18; - k_EResult_NoRankedWhileCommsBanned = 19; - k_EResult_NoRankedWhileReportBanned = 20; - k_EResult_HeroLabsMMNotOpen = 21; - k_EResult_HeroLabsNotUnlocked = 22; - k_EResult_NoHeroLabsWhileInLowPri = 23; - k_EResult_AccountLocked = 24; - k_EResult_TooManyLimitedHeroes = 25; - } - - optional .CMsgClientToGCStartMatchmakingResponse.EResultCode result = 1 [default = k_EResult_OK]; - optional uint32 time_stamp = 2; - optional string debug_message = 3; + enum EResultCode { + k_EResult_OK = 0; + k_EResult_AlreadyFindingMatch = 1; + k_EResult_PartyMemberInLobby = 2; + k_EResult_InvalidClientVersion = 3; + k_EResult_MatchmakingDisabled = 4; + k_EResult_MatchmakingTooBusy = 5; + k_EResult_InternalError = 6; + k_EResult_NoRegionPings = 7; + k_EResult_InParty = 8; + k_EResult_ModeLocked = 9; + k_EResult_ModeBanned = 10; + k_EResult_RegionInfoNotProvided = 11; + k_EResult_DurationControlBlocked = 12; + k_EResult_InvalidHeroSelection = 13; + k_EResult_HeroesNotUnlocked = 14; + k_EResult_PermanentBan = 15; + k_EResult_RankedMMNotOpen = 16; + k_EResult_RankedNotUnlocked = 17; + k_EResult_NoRankedWhileInLowPri = 18; + k_EResult_NoRankedWhileCommsBanned = 19; + k_EResult_NoRankedWhileReportBanned = 20; + k_EResult_HeroLabsMMNotOpen = 21; + k_EResult_HeroLabsNotUnlocked = 22; + k_EResult_NoHeroLabsWhileInLowPri = 23; + k_EResult_AccountLocked = 24; + k_EResult_TooManyLimitedHeroes = 25; + } + + optional .CMsgClientToGCStartMatchmakingResponse.EResultCode result = 1 [default = k_EResult_OK]; + optional uint32 time_stamp = 2; + optional string debug_message = 3; } message CMsgClientToGCStopMatchmaking { } message CMsgClientToGCStopMatchmakingResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCToClientMatchmakingStopped { - enum EReason { - k_EResult_Unspecified = 0; - k_EResult_VersionUpdated = 1; - k_EResult_RankedClosed = 2; - k_EResult_HeroLabsClosed = 3; - } + enum EReason { + k_EResult_Unspecified = 0; + k_EResult_VersionUpdated = 1; + k_EResult_RankedClosed = 2; + k_EResult_HeroLabsClosed = 3; + } - optional .CMsgGCToClientMatchmakingStopped.EReason reason = 1 [default = k_EResult_Unspecified]; + optional .CMsgGCToClientMatchmakingStopped.EReason reason = 1 [default = k_EResult_Unspecified]; } message CMsgClientToGCLeaveLobby { - optional uint64 lobby_id = 1; + optional uint64 lobby_id = 1; } message CMsgClientToGCLeaveLobbyResponse { } message CMsgClientWelcomeCitadel { - optional uint32 currency = 1; - repeated .CExtraMsgBlock extra_messages = 2; - optional uint32 compatibility_version = 3; - optional .ECitadelRegionMode region_mode = 4 [default = k_ECitadelRegionMode_ROW]; + optional uint32 currency = 1; + repeated .CExtraMsgBlock extra_messages = 2; + optional uint32 compatibility_version = 3; + optional .ECitadelRegionMode region_mode = 4 [default = k_ECitadelRegionMode_ROW]; } message CMsgClientToGCIsInMatchmaking { } message CMsgClientToGCIsInMatchmakingResponse { - optional bool in_matchmaking = 1; + optional bool in_matchmaking = 1; } message CMsgDevMatchInfo { - message MatchPlayer { - optional uint32 account_id = 1; - optional .ECitadelLobbyTeam team = 2 [default = k_ECitadelLobbyTeam_Team0]; - optional bool abandoned = 3; - optional uint32 hero_id = 4; - } - - optional uint32 start_time = 1; - optional .ECitadelLobbyTeam winning_team = 2 [default = k_ECitadelLobbyTeam_Team0]; - optional uint64 match_id = 3; - repeated .CMsgDevMatchInfo.MatchPlayer players = 4; - optional fixed64 lobby_id = 5; - optional uint32 game_mode_version = 6; - optional uint32 net_worth_team_0 = 9; - optional uint32 net_worth_team_1 = 10; - optional uint32 duration_s = 11; - optional uint32 spectators = 12; - optional uint32 open_spectator_slots = 13; - optional uint64 objectives_mask_team0 = 14; - optional uint64 objectives_mask_team1 = 15; - optional .ECitadelMatchMode match_mode = 16 [default = k_ECitadelMatchMode_Invalid]; - optional .ECitadelGameMode game_mode = 17 [default = k_ECitadelGameMode_Invalid]; - optional uint32 match_score = 18; - optional .ECitadelRegionMode region_mode = 19 [default = k_ECitadelRegionMode_ROW]; - optional uint32 compat_version = 20; + message MatchPlayer { + optional uint32 account_id = 1; + optional .ECitadelLobbyTeam team = 2 [default = k_ECitadelLobbyTeam_Team0]; + optional bool abandoned = 3; + optional uint32 hero_id = 4; + } + + message Team { + optional .ECitadelLobbyTeam team = 1 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 net_worth = 2; + optional uint64 objectives_mask = 3; + optional uint32 brawl_score = 4; + } + + optional uint32 start_time = 1; + optional .ECitadelLobbyTeam winning_team = 2 [default = k_ECitadelLobbyTeam_Team0]; + optional uint64 match_id = 3; + repeated .CMsgDevMatchInfo.MatchPlayer players = 4; + optional fixed64 lobby_id = 5; + optional uint32 game_mode_version = 6; + optional uint32 net_worth_team_0 = 9; + optional uint32 net_worth_team_1 = 10; + optional uint32 duration_s = 11; + optional uint32 spectators = 12; + optional uint32 open_spectator_slots = 13; + optional uint64 objectives_mask_team0 = 14; + optional uint64 objectives_mask_team1 = 15; + optional .ECitadelMatchMode match_mode = 16 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 17 [default = k_ECitadelGameMode_Invalid]; + optional uint32 match_score = 18; + optional .ECitadelRegionMode region_mode = 19 [default = k_ECitadelRegionMode_ROW]; + optional uint32 compat_version = 20; + repeated .CMsgDevMatchInfo.Team team_stats = 22; } message CMsgGCToClientDevPlaytestStatus { - message HeroWhitelist { - optional uint32 hero_id = 1; - repeated uint32 account_ids = 2; - } - - message DevQueueSize { - optional .ECitadelMatchMode match_mode = 1 [default = k_ECitadelMatchMode_Invalid]; - optional uint32 queue_size = 2; - } - - repeated .CMsgGCToClientDevPlaytestStatus.DevQueueSize dev_queue_size = 1; - optional uint32 dev_available_servers = 2; - optional uint32 coop_bot_max_wait_s = 3; - optional bool is_mm_enabled = 4; - optional bool locked_heroes = 8; - optional bool party_shared_heroes = 9; - repeated .CMsgGCToClientDevPlaytestStatus.HeroWhitelist hero_whitelists = 10; - optional uint32 mm_pause_time = 14; - repeated uint32 valid_client_versions = 15; - optional uint32 active_match_count = 21; - optional uint32 roster_non_limited_heroes = 22; + message HeroWhitelist { + optional uint32 hero_id = 1; + repeated uint32 account_ids = 2; + } + + message DevQueueSize { + optional .ECitadelMatchMode match_mode = 1 [default = k_ECitadelMatchMode_Invalid]; + optional uint32 queue_size = 2; + optional .ECitadelGameMode game_mode = 3 [default = k_ECitadelGameMode_Invalid]; + } + + repeated .CMsgGCToClientDevPlaytestStatus.DevQueueSize dev_queue_size = 1; + optional uint32 dev_available_servers = 2; + optional uint32 coop_bot_max_wait_s = 3; + optional bool is_mm_enabled = 4; + optional bool locked_heroes = 8; + optional bool party_shared_heroes = 9; + repeated .CMsgGCToClientDevPlaytestStatus.HeroWhitelist hero_whitelists = 10; + optional uint32 mm_pause_time = 14; + repeated uint32 valid_client_versions = 15; + optional uint32 active_match_count = 21; + optional uint32 roster_non_limited_heroes = 22; + optional uint32 matches_per_priority_token = 23; } message CMsgGCToClientSDRTicket { - optional bytes ticket = 1; + optional bytes ticket = 1; } message CMsgClientToGCReplacementSDRTicket { - optional fixed64 lobby_id = 1; + optional fixed64 lobby_id = 1; } message CMsgClientToGCReplacementSDRTicketResponse { - optional bytes ticket = 1; - optional string error_message = 2; + optional bytes ticket = 1; + optional string error_message = 2; } message CMsgClientToGCGetHideoutSDRTicket { - optional fixed64 lobby_id = 1; + optional fixed64 lobby_id = 1; } message CMsgClientToGCGetHideoutSDRTicketResponse { - optional bytes ticket = 1; - optional string error_message = 2; + optional bytes ticket = 1; + optional string error_message = 2; } message CMsgClientToGCSetServerConVar { - optional string convar_name = 1; - optional string convar_value = 2; - optional fixed64 lobby_id = 3; + optional string convar_name = 1; + optional string convar_value = 2; + optional fixed64 lobby_id = 3; } message CMsgClientToGCSetServerConVarResponse { - optional string message = 1; + optional string message = 1; } message CMsgClientToGCPostMatchSurveyResponse { - message PostMatchSurvey { - optional uint32 question_id = 1; - optional uint32 response_value = 2; - optional string response_freeform = 3; - } + message PostMatchSurvey { + optional uint32 question_id = 1; + optional uint32 response_value = 2; + optional string response_freeform = 3; + } - repeated .CMsgClientToGCPostMatchSurveyResponse.PostMatchSurvey post_match_survey = 1; - optional uint64 match_id = 2; + repeated .CMsgClientToGCPostMatchSurveyResponse.PostMatchSurvey post_match_survey = 1; + optional uint64 match_id = 2; } message CMsgPartyMMInfo { - optional .EGCPlatform platform = 1 [default = k_eGCPlatform_None]; - optional .CMsgRegionPingTimesClient ping_times = 2; - optional uint32 client_version = 3; - optional .ECitadelRegionMode region_mode = 4 [default = k_ECitadelRegionMode_ROW]; + optional .EGCPlatform platform = 1 [default = k_eGCPlatform_None]; + optional .CMsgRegionPingTimesClient ping_times = 2; + optional uint32 client_version = 3; + optional .ECitadelRegionMode region_mode = 4 [default = k_ECitadelRegionMode_ROW]; } message CMsgClientToGCPartyCreate { - optional .CMsgPartyMMInfo party_mm_info = 1; - optional uint32 invite_account_id = 3; - optional bool disable_party_code = 4; - optional bool is_private_lobby = 5; - optional .ECitadelRegionMode region_mode = 6 [default = k_ECitadelRegionMode_ROW]; - optional string server_search_key = 7; - optional .ECitadelMMPreference mm_preference = 8 [default = k_ECitadelMMPreference_Invalid]; - optional .CSOCitadelParty.PrivateLobbySettings private_lobby_settings = 9; - optional .ECitadelBotDifficulty bot_difficulty = 10 [default = k_ECitadelBotDifficulty_None]; - optional string hideout_search_key = 11; - optional bool dev_force_hideout = 12; + optional .CMsgPartyMMInfo party_mm_info = 1; + optional uint32 invite_account_id = 3; + optional bool disable_party_code = 4; + optional bool is_private_lobby = 5; + optional .ECitadelRegionMode region_mode = 6 [default = k_ECitadelRegionMode_ROW]; + optional string server_search_key = 7; + optional .ECitadelMMPreference mm_preference = 8 [default = k_ECitadelMMPreference_Invalid]; + optional .CSOCitadelParty.PrivateLobbySettings private_lobby_settings = 9; + optional .ECitadelBotDifficulty bot_difficulty = 10 [default = k_ECitadelBotDifficulty_None]; + optional string hideout_search_key = 11; + optional bool dev_force_hideout = 12; + optional .ECitadelGameMode game_mode = 13 [default = k_ECitadelGameMode_Invalid]; } message CMsgClientToGCPartyCreateResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eAlreadyInParty = 2; - k_eDisabled = 3; - k_eInvalidVersion = 4; - k_eNoRegionPings = 5; - k_eTooBusy = 6; - k_eRateLimited = 7; - k_eNotFriends = 8; - k_eRegionInfoNotProvided = 9; - k_eDurationControlBlocked = 10; - k_eInMatchmaking = 11; - k_ePlayerDoesntHaveGame = 12; - } - - optional .CMsgClientToGCPartyCreateResponse.EResponse result = 1 [default = k_eInternalError]; - optional fixed64 party_id = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eAlreadyInParty = 2; + k_eDisabled = 3; + k_eInvalidVersion = 4; + k_eNoRegionPings = 5; + k_eTooBusy = 6; + k_eRateLimited = 7; + k_eNotFriends = 8; + k_eRegionInfoNotProvided = 9; + k_eDurationControlBlocked = 10; + k_eInMatchmaking = 11; + k_ePlayerDoesntHaveGame = 12; + } + + optional .CMsgClientToGCPartyCreateResponse.EResponse result = 1 [default = k_eInternalError]; + optional fixed64 party_id = 2; } message CMsgClientToGCPartyLeave { - optional fixed64 party_id = 1; + optional fixed64 party_id = 1; } message CMsgClientToGCPartyLeaveResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eNotInParty = 2; - k_eInMatchMaking = 3; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eNotInParty = 2; + k_eInMatchMaking = 3; + } - optional .CMsgClientToGCPartyLeaveResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgClientToGCPartyLeaveResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCPartyJoin { - optional fixed64 party_id = 1; - optional bool is_rejoin = 2; - optional .CMsgPartyMMInfo party_mm_info = 3; + optional fixed64 party_id = 1; + optional bool is_rejoin = 2; + optional .CMsgPartyMMInfo party_mm_info = 3; } message CMsgClientToGCPartyJoinResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eAlreadyInParty = 2; - k_eDisabled = 3; - k_eInvalidPartyID = 4; - k_eInvalidPermissions = 5; - k_eInvalidVersion = 6; - k_eNoRegionPings = 7; - k_eTooBusy = 8; - k_eInvalidCode = 9; - k_eRateLimited = 10; - k_eRegionInfoNotProvided = 11; - k_eDurationControlBlocked = 12; - k_ePartyInMatchMaking = 13; - k_eInMatchmaking = 14; - k_ePartyFull = 15; - } - - optional .CMsgClientToGCPartyJoinResponse.EResponse result = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eAlreadyInParty = 2; + k_eDisabled = 3; + k_eInvalidPartyID = 4; + k_eInvalidPermissions = 5; + k_eInvalidVersion = 6; + k_eNoRegionPings = 7; + k_eTooBusy = 8; + k_eInvalidCode = 9; + k_eRateLimited = 10; + k_eRegionInfoNotProvided = 11; + k_eDurationControlBlocked = 12; + k_ePartyInMatchMaking = 13; + k_eInMatchmaking = 14; + k_ePartyFull = 15; + } + + optional .CMsgClientToGCPartyJoinResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCPartyAction { - enum EAction { - k_eKickUser = 1; - k_eCancelInvite = 2; - k_eCancelFindMatch = 3; - k_eSetPlayerType = 5; - k_eEnablePartyCode = 7; - k_eSetMemberTeam = 8; - k_eSetChatMode = 9; - k_eSetPlayerSlot = 10; - k_eSetRegionMode = 11; - k_eSetSearchKey = 12; - k_eSetBotDifficulty = 13; - k_eSetRandomizedLanes = 14; - k_eSetServerRegion = 15; - k_eSetPubliclyVisible = 16; - k_eSetCheatsEnabled = 17; - k_eSwapTeams = 18; - k_eShuffleLobby = 19; - k_eShuffleLanes = 20; - k_eSetDuplicateHeroesEnabled = 21; - k_eSetExperimentalHeroesEnabled = 22; - k_eSetDesiresLaningTogether = 23; - k_eSetMMPreference = 24; - } - - optional fixed64 party_id = 1; - optional uint32 target_account_id = 2; - optional .CMsgClientToGCPartyAction.EAction action_id = 3 [default = k_eKickUser]; - optional uint64 uint_value = 4; - optional bool bool_value = 5; - optional string str_value = 6; + enum EAction { + k_eKickUser = 1; + k_eCancelInvite = 2; + k_eCancelFindMatch = 3; + k_eSetPlayerType = 5; + k_eEnablePartyCode = 7; + k_eSetMemberTeam = 8; + k_eSetChatMode = 9; + k_eSetPlayerSlot = 10; + k_eSetSearchKey = 12; + k_eSetBotDifficulty = 13; + k_eSetRandomizedLanes = 14; + k_eSetServerRegion = 15; + k_eSetPubliclyVisible = 16; + k_eSetCheatsEnabled = 17; + k_eSwapTeams = 18; + k_eShuffleLobby = 19; + k_eShuffleLanes = 20; + k_eSetDuplicateHeroesEnabled = 21; + k_eSetDesiresLaningTogether = 23; + k_eSetMMPreference = 24; + k_eSetPrivateLobbyGameMode = 25; + } + + optional fixed64 party_id = 1; + optional uint32 target_account_id = 2; + optional .CMsgClientToGCPartyAction.EAction action_id = 3 [default = k_eKickUser]; + optional uint64 uint_value = 4; + optional bool bool_value = 5; + optional string str_value = 6; } message CMsgClientToGCPartyActionResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eInvalidPartyID = 2; - k_eInvalidPermissions = 3; - k_eInvalidTarget = 4; - k_eInvalidValue = 5; - k_eInMatchMaking = 6; - k_eInMatch = 7; - k_eDisabled = 8; - k_eTooBusy = 9; - k_eRateLimited = 10; - k_eCannotChangeWhileReady = 12; - k_eSlotTaken = 13; - } - - optional .CMsgClientToGCPartyActionResponse.EResponse result = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eInvalidPartyID = 2; + k_eInvalidPermissions = 3; + k_eInvalidTarget = 4; + k_eInvalidValue = 5; + k_eInMatchMaking = 6; + k_eInMatch = 7; + k_eDisabled = 8; + k_eTooBusy = 9; + k_eRateLimited = 10; + k_eCannotChangeWhileReady = 12; + k_eSlotTaken = 13; + } + + optional .CMsgClientToGCPartyActionResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCPartySetMode { - optional fixed64 party_id = 1; - optional .ECitadelMatchMode match_mode = 2 [default = k_ECitadelMatchMode_Invalid]; - optional .ECitadelGameMode game_mode = 3 [default = k_ECitadelGameMode_Invalid]; - optional .ECitadelBotDifficulty bot_difficulty = 4 [default = k_ECitadelBotDifficulty_None]; - optional string dev_server_command = 5; - optional .ECitadelRegionMode region_mode = 6 [default = k_ECitadelRegionMode_ROW]; + optional fixed64 party_id = 1; + optional .ECitadelMatchMode match_mode = 2 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 3 [default = k_ECitadelGameMode_Invalid]; + optional .ECitadelBotDifficulty bot_difficulty = 4 [default = k_ECitadelBotDifficulty_None]; + optional string dev_server_command = 5; + optional .ECitadelRegionMode region_mode = 6 [default = k_ECitadelRegionMode_ROW]; } message CMsgClientToGCPartySetModeResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eInvalidPartyID = 2; - k_eInvalidPermissions = 3; - k_ePlayerPermanentBanned = 4; - k_eInvalidValue = 5; - k_eInMatchMaking = 6; - k_eInMatch = 7; - k_eDisabled = 8; - k_eTooBusy = 9; - k_eRateLimited = 10; - k_eAlreadyDrafting = 11; - k_eCannotChangeWhileReady = 12; - k_eTooFewPlayers = 13; - k_eTooManyPlayers = 14; - k_ePlayerBanned = 15; - k_eTooManyHighMMR = 16; - k_eFiveStacksNotAllowed = 18; - k_eRankedMMNotOpen = 19; - k_eRankedNotunlocked = 20; - k_eHeroLabsMMNotOpen = 21; - k_eHeroLabsNotUnlocked = 22; - k_eNoHeroLabsWhileInLowPri = 23; - k_eNoHighRangeFiveStack = 24; - k_eAccountLocked = 25; - } - - optional .CMsgClientToGCPartySetModeResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint32 time_stamp = 2; - optional uint32 account_id = 3; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eInvalidPartyID = 2; + k_eInvalidPermissions = 3; + k_ePlayerPermanentBanned = 4; + k_eInvalidValue = 5; + k_eInMatchMaking = 6; + k_eInMatch = 7; + k_eDisabled = 8; + k_eTooBusy = 9; + k_eRateLimited = 10; + k_eAlreadyDrafting = 11; + k_eCannotChangeWhileReady = 12; + k_eTooFewPlayers = 13; + k_eTooManyPlayers = 14; + k_ePlayerBanned = 15; + k_eTooManyHighMMR = 16; + k_eFiveStacksNotAllowed = 18; + k_eRankedMMNotOpen = 19; + k_eRankedNotunlocked = 20; + k_eHeroLabsMMNotOpen = 21; + k_eHeroLabsNotUnlocked = 22; + k_eNoHeroLabsWhileInLowPri = 23; + k_eNoHighRangeFiveStack = 24; + k_eAccountLocked = 25; + } + + optional .CMsgClientToGCPartySetModeResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint32 time_stamp = 2; + optional uint32 account_id = 3; } message CMsgClientToGCPartyStartMatch { - optional fixed64 party_id = 1; + optional fixed64 party_id = 1; } message CMsgClientToGCPartyStartMatchResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDisabled = 2; - k_eInvalidPartyID = 3; - k_eInvalidPermissions = 4; - k_eTooBusy = 5; - k_eInMatchmaking = 6; - k_eInMatch = 7; - k_eInvalidVersion = 10; - k_ePlayersNotReady = 11; - k_eCannotSelectRegion = 12; - k_eNotAllPlayersAvailable = 13; - k_eTooManyPlayersForMM = 14; - k_eTooManyPlayersForPrivate = 15; - k_eTooManySpectatorsForMM = 16; - k_eTooManySpectatorsForPrivate = 17; - k_eTooFewPlayersForMM = 18; - k_eTooFewPlayersForPrivate = 19; - k_eMismatchedVersions = 20; - k_eInvalidPartyMatchMode = 21; - k_ePlayerBannedFromMode = 22; - k_eTooManyPlayersOnTeam = 23; - k_eInvalidTeam = 24; - k_eInvalidHeroLineup = 25; - k_eInvalidGroupHeroLineup = 26; - k_eUnassignedPlayers = 27; - k_eRankedMMNotOpen = 28; - k_eHeroLabsMMNotOpen = 29; - k_eHeroLabsNotUnlocked = 30; - k_eNoHeroLabsWhileInLowPri = 31; - } - - optional .CMsgClientToGCPartyStartMatchResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint32 account_id = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDisabled = 2; + k_eInvalidPartyID = 3; + k_eInvalidPermissions = 4; + k_eTooBusy = 5; + k_eInMatchmaking = 6; + k_eInMatch = 7; + k_eInvalidVersion = 10; + k_ePlayersNotReady = 11; + k_eCannotSelectRegion = 12; + k_eNotAllPlayersAvailable = 13; + k_eTooManyPlayersForMM = 14; + k_eTooManyPlayersForPrivate = 15; + k_eTooManySpectatorsForMM = 16; + k_eTooManySpectatorsForPrivate = 17; + k_eTooFewPlayersForMM = 18; + k_eTooFewPlayersForPrivate = 19; + k_eMismatchedVersions = 20; + k_eInvalidPartyMatchMode = 21; + k_ePlayerBannedFromMode = 22; + k_eTooManyPlayersOnTeam = 23; + k_eInvalidTeam = 24; + k_eInvalidHeroLineup = 25; + k_eInvalidGroupHeroLineup = 26; + k_eUnassignedPlayers = 27; + k_eRankedMMNotOpen = 28; + k_eHeroLabsMMNotOpen = 29; + k_eHeroLabsNotUnlocked = 30; + k_eNoHeroLabsWhileInLowPri = 31; + } + + optional .CMsgClientToGCPartyStartMatchResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint32 account_id = 2; } message CMsgClientToGCPartyInviteUser { - optional fixed64 party_id = 1; - optional uint32 invite_account_id = 2; + optional fixed64 party_id = 1; + optional uint32 invite_account_id = 2; } message CMsgClientToGCPartyInviteUserResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eAlreadyInvited = 2; - k_eInvalidPermissions = 3; - k_eInvalidPartyID = 4; - k_eDisabled = 5; - k_eTooManyInvites = 6; - k_eNotFriends = 7; - k_eTooBusy = 8; - k_eRateLimited = 9; - k_eInvalidPartyMode = 10; - k_ePlayerDoesntHaveGame = 11; - } - - optional .CMsgClientToGCPartyInviteUserResponse.EResponse result = 1 [default = k_eInternalError]; - optional bool user_online = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eAlreadyInvited = 2; + k_eInvalidPermissions = 3; + k_eInvalidPartyID = 4; + k_eDisabled = 5; + k_eTooManyInvites = 6; + k_eNotFriends = 7; + k_eTooBusy = 8; + k_eRateLimited = 9; + k_eInvalidPartyMode = 10; + k_ePlayerDoesntHaveGame = 11; + } + + optional .CMsgClientToGCPartyInviteUserResponse.EResponse result = 1 [default = k_eInternalError]; + optional bool user_online = 2; } message CMsgGCToClientPartyEvent { - enum EEvent { - k_ePlayerKicked = 1; - k_eJoinedParty = 3; - k_eMatchCompleted = 4; - k_eMatchMakingStopped_User = 5; - k_eMatchMakingStopped_Version = 6; - k_eMatchMakingStopped_NoServerRegion = 7; - k_eLeftParty = 8; - k_eDeclinedInvite = 9; - k_eMatchMakingStopped_FailedOther = 10; - k_eDraftEnded_User = 11; - k_eStartDraftMMFailed = 12; - k_eMatchMakingStopped_Cancelled = 13; - } - - optional fixed64 party_id = 1; - optional .CMsgGCToClientPartyEvent.EEvent event = 2 [default = k_ePlayerKicked]; - optional uint32 initiator_account_id = 3; - optional uint32 target_account_id = 4; - optional bytes bytes_data = 5; - optional string str_data = 6; - optional uint64 uint_data = 7; + enum EEvent { + k_ePlayerKicked = 1; + k_eJoinedParty = 3; + k_eMatchCompleted = 4; + k_eMatchMakingStopped_User = 5; + k_eMatchMakingStopped_Version = 6; + k_eMatchMakingStopped_NoServerRegion = 7; + k_eLeftParty = 8; + k_eDeclinedInvite = 9; + k_eMatchMakingStopped_FailedOther = 10; + k_eDraftEnded_User = 11; + k_eStartDraftMMFailed = 12; + k_eMatchMakingStopped_Cancelled = 13; + } + + optional fixed64 party_id = 1; + optional .CMsgGCToClientPartyEvent.EEvent event = 2 [default = k_ePlayerKicked]; + optional uint32 initiator_account_id = 3; + optional uint32 target_account_id = 4; + optional bytes bytes_data = 5; + optional string str_data = 6; + optional uint64 uint_data = 7; } message CMsgGCToClientCanRejoinParty { - optional fixed64 party_id = 1; + optional fixed64 party_id = 1; } message CMsgClientToGCPartyJoinViaCode { - optional uint64 join_code = 1; - optional .CMsgPartyMMInfo party_mm_info = 2; + optional uint64 join_code = 1; + optional .CMsgPartyMMInfo party_mm_info = 2; } message CMsgClientToGCPartyJoinViaCodeResponse { - optional .CMsgClientToGCPartyJoinResponse.EResponse result = 1 [default = k_eInternalError]; - optional fixed64 party_id = 2; + optional .CMsgClientToGCPartyJoinResponse.EResponse result = 1 [default = k_eInternalError]; + optional fixed64 party_id = 2; } message CMsgClientToGCPartySetReadyState { - optional fixed64 party_id = 1; - optional bool ready_state = 2; - optional .CMsgHeroSelectionMatchInfo hero_roster = 3; + optional fixed64 party_id = 1; + optional bool ready_state = 2; + optional .CMsgHeroSelectionMatchInfo hero_roster = 3; } message CMsgClientToGCPartySetReadyStateResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eInvalidPermissions = 2; - k_eDisabled = 3; - k_eTooBusy = 4; - k_eRateLimited = 5; - k_eInvalidRoster = 6; - k_eMatchForming = 7; - k_eInvalidGroupRoster = 8; - k_eInMatch = 9; - k_eHeroesNotUnlocked = 10; - k_eModeLocked = 11; - k_eModeBanned = 12; - k_eTooManyLimitedHeroes = 13; - } - - optional .CMsgClientToGCPartySetReadyStateResponse.EResponse result = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eInvalidPermissions = 2; + k_eDisabled = 3; + k_eTooBusy = 4; + k_eRateLimited = 5; + k_eInvalidRoster = 6; + k_eMatchForming = 7; + k_eInvalidGroupRoster = 8; + k_eInMatch = 9; + k_eHeroesNotUnlocked = 10; + k_eModeLocked = 11; + k_eModeBanned = 12; + k_eTooManyLimitedHeroes = 13; + } + + optional .CMsgClientToGCPartySetReadyStateResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCDevSetMMBias { - optional uint32 account_id = 1; - optional uint32 value = 2; + optional uint32 account_id = 1; + optional uint32 value = 2; } message CMsgClientToGCGetMatchHistory { - optional uint32 account_id = 1; - optional uint64 continue_cursor = 2; - optional uint32 ranked_interval = 3; + optional uint32 account_id = 1; + optional uint64 continue_cursor = 2; + optional .ECitadelGameMode game_mode = 4 [default = k_ECitadelGameMode_Invalid]; + optional .ECitadelMatchMode match_mode = 5 [default = k_ECitadelMatchMode_Invalid]; } message CMsgClientToGCGetMatchHistoryResponse { - message Match { - optional uint64 match_id = 1; - optional uint32 hero_id = 2; - optional uint32 match_duration_s = 3; - optional uint32 start_time = 4; - optional uint32 match_result = 5; - optional .ECitadelLobbyTeam player_team = 6 [default = k_ECitadelLobbyTeam_Team0]; - optional uint32 player_kills = 7; - optional uint32 player_deaths = 8; - optional uint32 player_assists = 9; - optional uint32 last_hits = 11; - optional uint32 denies = 12; - optional uint32 hero_level = 13; - optional uint32 net_worth = 14; - optional uint64 objectives_mask_team0 = 15; - optional uint64 objectives_mask_team1 = 16; - optional bool team_abandoned = 17; - optional uint32 abandoned_time_s = 18; - optional .ECitadelMatchMode match_mode = 19 [default = k_ECitadelMatchMode_Invalid]; - optional .ECitadelGameMode game_mode = 20 [default = k_ECitadelGameMode_Invalid]; - optional bool not_scored = 21; - optional uint32 game_mode_version = 22; - } - - enum EResult { - k_eResult_InternalError = 0; - k_eResult_Success = 1; - k_eResult_InvalidPermission = 2; - k_eResult_TemporarilyDisabled = 3; - k_eResult_TooBusy = 4; - k_eResult_RateLimited = 5; - } - - optional .CMsgClientToGCGetMatchHistoryResponse.EResult result = 1 [default = k_eResult_InternalError]; - optional uint64 continue_cursor = 2; - repeated .CMsgClientToGCGetMatchHistoryResponse.Match matches = 3; + message Match { + optional uint64 match_id = 1; + optional uint32 hero_id = 2; + optional uint32 match_duration_s = 3; + optional uint32 start_time = 4; + optional uint32 match_result = 5; + optional .ECitadelLobbyTeam player_team = 6 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 player_kills = 7; + optional uint32 player_deaths = 8; + optional uint32 player_assists = 9; + optional uint32 last_hits = 11; + optional uint32 denies = 12; + optional uint32 hero_level = 13; + optional uint32 net_worth = 14; + optional uint64 objectives_mask_team0 = 15; + optional uint64 objectives_mask_team1 = 16; + optional bool team_abandoned = 17; + optional uint32 abandoned_time_s = 18; + optional .ECitadelMatchMode match_mode = 19 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 20 [default = k_ECitadelGameMode_Invalid]; + optional bool not_scored = 21; + optional uint32 game_mode_version = 22; + optional uint32 brawl_score_team0 = 23; + optional uint32 brawl_score_team1 = 24; + optional uint32 brawl_avg_round_time_s = 25; + } + + enum EResult { + k_eResult_InternalError = 0; + k_eResult_Success = 1; + k_eResult_InvalidPermission = 2; + k_eResult_TemporarilyDisabled = 3; + k_eResult_TooBusy = 4; + k_eResult_RateLimited = 5; + } + + optional .CMsgClientToGCGetMatchHistoryResponse.EResult result = 1 [default = k_eResult_InternalError]; + optional uint64 continue_cursor = 2; + repeated .CMsgClientToGCGetMatchHistoryResponse.Match matches = 3; } message CMsgClientToGCSpectateUser { - optional uint32 spectate_account_id = 1; - optional uint32 client_version = 3; - optional .EGCPlatform client_platform = 4 [default = k_eGCPlatform_None]; + optional uint32 spectate_account_id = 1; + optional uint32 client_version = 3; + optional .EGCPlatform client_platform = 4 [default = k_eGCPlatform_None]; } message CMsgClientToGCSpectateUserResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDisabled = 2; - k_eTooBusy = 3; - k_eRateLimited = 4; - k_eNotInGame = 5; - k_eDisabledForGame = 6; - k_eServerFull = 7; - k_eNotFriends = 8; - k_eRegionInfoNotProvided = 9; - k_eDurationControlBlocked = 10; - k_eInvalidClientVersion = 11; - k_eInvalidRegion = 12; - } - - optional .CMsgClientToGCSpectateUserResponse.EResponse result = 1 [default = k_eInternalError]; - optional fixed64 server_steam_id = 3; - optional bytes sdr_key = 4; - optional uint32 udp_connect_ip = 5; - optional uint32 udp_connect_port = 6; - optional fixed64 lobby_id = 7; - optional string client_broadcast_url = 8; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDisabled = 2; + k_eTooBusy = 3; + k_eRateLimited = 4; + k_eNotInGame = 5; + k_eDisabledForGame = 6; + k_eServerFull = 7; + k_eNotFriends = 8; + k_eRegionInfoNotProvided = 9; + k_eDurationControlBlocked = 10; + k_eInvalidClientVersion = 11; + k_eInvalidRegion = 12; + } + + optional .CMsgClientToGCSpectateUserResponse.EResponse result = 1 [default = k_eInternalError]; + optional fixed64 server_steam_id = 3; + optional bytes sdr_key = 4; + optional uint32 udp_connect_ip = 5; + optional uint32 udp_connect_port = 6; + optional fixed64 lobby_id = 7; + optional string client_broadcast_url = 8; } message CMsgClientToGCSpectateLobby { - optional uint64 lobby_id = 1; - optional uint32 client_version = 3; - optional .EGCPlatform client_platform = 4 [default = k_eGCPlatform_None]; - optional uint64 match_id = 5; + optional uint64 lobby_id = 1; + optional uint32 client_version = 3; + optional .EGCPlatform client_platform = 4 [default = k_eGCPlatform_None]; + optional uint64 match_id = 5; } message CMsgClientToGCSpectateLobbyResponse { - optional .CMsgClientToGCSpectateUserResponse result = 1; + optional .CMsgClientToGCSpectateUserResponse result = 1; } message CMsgClientToGCGetProfileCard { - optional uint32 account_id = 1; - optional bool dev_access_hint = 2; - optional bool friend_access_hint = 3; + optional uint32 account_id = 1; + optional bool dev_access_hint = 2; + optional bool friend_access_hint = 3; } message CMsgCitadelProfileCard { - message Slot { - message Stat { - optional .CMsgCitadelProfileCard.EStatID stat_id = 1 [default = k_eStat_Invalid]; - optional uint32 stat_score = 2; - } - - message Hero { - optional uint32 hero_id = 1; - optional uint32 hero_wins = 2; - optional uint32 hero_kills = 3; - } - - optional uint32 slot_id = 1; - optional .CMsgCitadelProfileCard.Slot.Stat stat = 2; - optional .CMsgCitadelProfileCard.Slot.Hero hero = 3; - } - - enum EStatID { - k_eStat_Invalid = 0; - k_eStat_Wins = 1; - k_eStat_Kills = 2; - k_eStat_GamesPlayed = 3; - } - - optional uint32 account_id = 1; - repeated .CMsgCitadelProfileCard.Slot slots = 2; - optional uint32 ranked_badge_level = 3; + message Slot { + message Stat { + optional .CMsgCitadelProfileCard.EStatID stat_id = 1 [default = k_eStat_Invalid]; + optional uint32 stat_score = 2; + } + + message Hero { + optional uint32 hero_id = 1; + optional uint32 hero_wins = 2; + optional uint32 hero_kills = 3; + } + + optional uint32 slot_id = 1; + optional .CMsgCitadelProfileCard.Slot.Stat stat = 2; + optional .CMsgCitadelProfileCard.Slot.Hero hero = 3; + } + + enum EStatID { + k_eStat_Invalid = 0; + k_eStat_Wins = 1; + k_eStat_Kills = 2; + k_eStat_GamesPlayed = 3; + } + + optional uint32 account_id = 1; + repeated .CMsgCitadelProfileCard.Slot slots = 2; + optional uint32 ranked_badge_level = 3; } message CMsgClientToGCUpdateRoster { - optional .CMsgHeroSelectionMatchInfo heroes = 1; - optional .ECitadelGameMode game_mode = 2 [default = k_ECitadelGameMode_Invalid]; - optional .ECitadelMatchMode match_mode = 3 [default = k_ECitadelMatchMode_Invalid]; + optional .CMsgHeroSelectionMatchInfo heroes = 1; + optional .ECitadelGameMode game_mode = 2 [default = k_ECitadelGameMode_Invalid]; + optional .ECitadelMatchMode match_mode = 3 [default = k_ECitadelMatchMode_Invalid]; } message CMsgClientToGCUpdateRosterResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDisabled = 2; - k_eTooBusy = 3; - k_eRateLimited = 4; - k_eMMBusy = 5; - k_eInvalidHeroSelection = 6; - k_eHeroesNotUnlocked = 7; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDisabled = 2; + k_eTooBusy = 3; + k_eRateLimited = 4; + k_eMMBusy = 5; + k_eInvalidHeroSelection = 6; + k_eHeroesNotUnlocked = 7; + } - optional .CMsgClientToGCUpdateRosterResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgClientToGCUpdateRosterResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCGetAccountStats { - optional uint32 account_id = 1; - optional bool dev_access_hint = 2; - optional bool friend_access_hint = 3; + optional uint32 account_id = 1; + optional bool dev_access_hint = 2; + optional bool friend_access_hint = 3; } message CMsgClientToGCGetAccountStatsResponse { - enum EResult { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDisabled = 2; - k_eTooBusy = 3; - k_eRateLimited = 4; - k_eInvalidPermissions = 5; - } + enum EResult { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDisabled = 2; + k_eTooBusy = 3; + k_eRateLimited = 4; + k_eInvalidPermissions = 5; + } - optional .CMsgClientToGCGetAccountStatsResponse.EResult result = 1 [default = k_eInternalError]; - optional .CMsgAccountStats stats = 2; + optional .CMsgClientToGCGetAccountStatsResponse.EResult result = 1 [default = k_eInternalError]; + optional .CMsgAccountStats stats = 2; } message CMsgClientToGCGetMatchMetaData { - optional uint64 match_id = 1; - optional uint32 metadata_salt = 3; - optional uint32 target_account_id = 4; + optional uint64 match_id = 1; + optional uint32 metadata_salt = 3; + optional uint32 target_account_id = 4; } message CMsgClientToGCGetMatchMetaDataResponse { - enum EResult { - k_eResult_InternalError = 0; - k_eResult_Success = 1; - k_eResult_InvalidPermission = 2; - k_eResult_TemporarilyDisabled = 3; - k_eResult_TooBusy = 4; - k_eResult_RateLimited = 5; - k_eResult_InvalidMatch = 6; - k_eResult_MatchInFlight = 7; - k_eResult_Timeout = 8; - } - - optional .CMsgClientToGCGetMatchMetaDataResponse.EResult result = 1 [default = k_eResult_InternalError]; - optional uint32 replay_salt = 2; - optional uint32 metadata_salt = 3; - optional uint32 replay_valid_through = 4; - optional uint32 replay_group_id = 5; - optional uint32 replay_processing_through = 6; + enum EResult { + k_eResult_InternalError = 0; + k_eResult_Success = 1; + k_eResult_InvalidPermission = 2; + k_eResult_TemporarilyDisabled = 3; + k_eResult_TooBusy = 4; + k_eResult_RateLimited = 5; + k_eResult_InvalidMatch = 6; + k_eResult_MatchInFlight = 7; + k_eResult_Timeout = 8; + } + + optional .CMsgClientToGCGetMatchMetaDataResponse.EResult result = 1 [default = k_eResult_InternalError]; + optional uint32 replay_salt = 2; + optional uint32 metadata_salt = 3; + optional uint32 replay_valid_through = 4; + optional uint32 replay_group_id = 5; + optional uint32 replay_processing_through = 6; } message CMsgGCToClientDevAnnouncements { - message Announcement { - optional uint32 priority = 1; - optional string title = 2; - optional string message = 3; - optional string url = 4; - optional uint32 unique_id = 5; - optional uint32 posted_time = 6; - optional string patch_version = 7; - } + message Announcement { + optional uint32 priority = 1; + optional string title = 2; + optional string message = 3; + optional string url = 4; + optional uint32 unique_id = 5; + optional uint32 posted_time = 6; + optional string patch_version = 7; + } - repeated .CMsgGCToClientDevAnnouncements.Announcement announcements = 1; + repeated .CMsgGCToClientDevAnnouncements.Announcement announcements = 1; } message CMsgClientToGCModifyDevAnnouncements { - enum EOperation { - k_eCreate = 0; - k_eUpdate = 1; - k_eDelete = 2; - } + enum EOperation { + k_eCreate = 0; + k_eUpdate = 1; + k_eDelete = 2; + } - optional .CMsgClientToGCModifyDevAnnouncements.EOperation operation = 1 [default = k_eCreate]; - optional uint32 target_id = 2; - optional uint32 priority = 3; - optional string title = 4; - optional string message = 5; - optional string url = 6; - optional string patch_version = 7; + optional .CMsgClientToGCModifyDevAnnouncements.EOperation operation = 1 [default = k_eCreate]; + optional uint32 target_id = 2; + optional uint32 priority = 3; + optional string title = 4; + optional string message = 5; + optional string url = 6; + optional string patch_version = 7; } message CMsgClientToGCModifyDevAnnouncementsResponse { - enum EResult { - k_eSuccess = 0; - k_eInvalidPermission = 1; - k_eInvalidTarget = 2; - k_eInternalError = 3; - } + enum EResult { + k_eSuccess = 0; + k_eInvalidPermission = 1; + k_eInvalidTarget = 2; + k_eInternalError = 3; + } - optional .CMsgClientToGCModifyDevAnnouncementsResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgClientToGCModifyDevAnnouncementsResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgClientToGCDevAction { - enum EAction { - k_eSetDeveloper = 1; - k_eSetMMR = 2; - k_eSetMMRUncertainty = 3; - k_eSetHeroStatus = 4; - k_eSetPermission = 5; - k_eSetNewPlayerProgress = 6; - k_eForceAccountStorage = 7; - k_eBookReset = 9; - k_eBookXPGrant = 10; - k_eBanAccount = 11; - k_eExonerateAccount = 12; - k_eRequireAccountInMM = 13; - k_eResetAccountSurvey = 14; - } - - optional .CMsgClientToGCDevAction.EAction action = 1 [default = k_eSetDeveloper]; - optional uint32 account_id = 2; - optional uint32 uint_value = 3; - optional int32 int_value = 4; - optional bool bool_value = 5; - optional string str_value = 6; - optional uint64 match_id = 7; + enum EAction { + k_eSetDeveloper = 1; + k_eSetMMR = 2; + k_eSetMMRUncertainty = 3; + k_eSetHeroStatus = 4; + k_eSetPermission = 5; + k_eSetNewPlayerProgress = 6; + k_eForceAccountStorage = 7; + k_eBookReset = 9; + k_eBookXPGrant = 10; + k_eBanAccount = 11; + k_eExonerateAccount = 12; + k_eRequireAccountInMM = 13; + k_eResetAccountSurvey = 14; + } + + optional .CMsgClientToGCDevAction.EAction action = 1 [default = k_eSetDeveloper]; + optional uint32 account_id = 2; + optional uint32 uint_value = 3; + optional int32 int_value = 4; + optional bool bool_value = 5; + optional string str_value = 6; + optional uint64 match_id = 7; } message CMsgClientToGCDevActionResponse { - enum EResult { - k_eSuccess = 0; - k_eInvalidPermission = 1; - k_eInvalidTarget = 2; - k_eInternalError = 3; - } + enum EResult { + k_eSuccess = 0; + k_eInvalidPermission = 1; + k_eInvalidTarget = 2; + k_eInternalError = 3; + } - optional .CMsgClientToGCDevActionResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgClientToGCDevActionResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgClientToGCRecordClientEvents { - message Event { - optional uint32 time_stamp = 1; - optional .ECitadelClientAccountEvent event_id = 2 [default = k_eLaunchedHeroTest]; - optional uint64 event_data = 3; - optional uint32 client_event_index = 4; - } + message Event { + optional uint32 time_stamp = 1; + optional .ECitadelClientAccountEvent event_id = 2 [default = k_eLaunchedHeroTest]; + optional uint64 event_data = 3; + optional uint32 client_event_index = 4; + } - repeated .CMsgClientToGCRecordClientEvents.Event events = 1; - optional uint32 client_run_token = 2; + repeated .CMsgClientToGCRecordClientEvents.Event events = 1; + optional uint32 client_run_token = 2; } message CMsgClientToGCRecordClientEventsResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgClientToGCSetNewPlayerProgress { - optional .ECitadelNewPlayerProgressFlag flag = 1 [default = k_eNewPlayerProgress_GettingStarted]; + optional .ECitadelNewPlayerProgressFlag flag = 1 [default = k_eNewPlayerProgress_GettingStarted]; } message CMsgClientToGCSetNewPlayerProgressResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgClientToGCUpdateAccountSync { - repeated uint32 ids = 1; - repeated uint32 values = 2; + repeated uint32 ids = 1; + repeated uint32 values = 2; } message CMsgClientToGCUpdateAccountSyncResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDisabled = 2; - k_eTooBusy = 3; - k_eInvalidMessage = 4; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDisabled = 2; + k_eTooBusy = 3; + k_eInvalidMessage = 4; + } - optional .CMsgClientToGCUpdateAccountSyncResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgClientToGCUpdateAccountSyncResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCGetHeroChoice { } message CMsgClientToGCGetHeroChoiceResponse { - message Hero { - optional uint32 hero_id = 1; - } - - enum EResult { - k_eSuccess = 0; - k_eNoChoices = 1; - k_eInvalidTarget = 2; - k_eInternalError = 3; - k_eDisabled = 4; - k_eTooBusy = 5; - k_eChoiceClosed = 6; - } - - optional .CMsgClientToGCGetHeroChoiceResponse.EResult result = 1 [default = k_eSuccess]; - repeated .CMsgClientToGCGetHeroChoiceResponse.Hero hero_selections = 2; - optional uint32 hero_choice_id = 3; - optional uint32 select_count = 4; + message Hero { + optional uint32 hero_id = 1; + } + + enum EResult { + k_eSuccess = 0; + k_eNoChoices = 1; + k_eInvalidTarget = 2; + k_eInternalError = 3; + k_eDisabled = 4; + k_eTooBusy = 5; + k_eChoiceClosed = 6; + } + + optional .CMsgClientToGCGetHeroChoiceResponse.EResult result = 1 [default = k_eSuccess]; + repeated .CMsgClientToGCGetHeroChoiceResponse.Hero hero_selections = 2; + optional uint32 hero_choice_id = 3; + optional uint32 select_count = 4; } message CMsgClientToGCUnlockHero { - repeated uint32 hero_ids = 1; - optional uint32 hero_choice_id = 2; + repeated uint32 hero_ids = 1; + optional uint32 hero_choice_id = 2; } message CMsgClientToGCUnlockHeroResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eInvalidHero = 2; - k_eOutOfSync = 3; - k_eDisabled = 4; - k_eTooBusy = 5; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eInvalidHero = 2; + k_eOutOfSync = 3; + k_eDisabled = 4; + k_eTooBusy = 5; + } - optional .CMsgClientToGCUnlockHeroResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgClientToGCUnlockHeroResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgAccountBook { - message Unlock { - optional uint32 unlock_id = 1; - optional uint32 flags = 2; - } + message Unlock { + optional uint32 unlock_id = 1; + optional uint32 flags = 2; + } - optional uint32 book_id = 1; - optional uint32 book_xp = 2; - optional uint32 spent_xp = 3; - repeated .CMsgAccountBook.Unlock unlocks = 4; + optional uint32 book_id = 1; + optional uint32 book_xp = 2; + optional uint32 spent_xp = 3; + repeated .CMsgAccountBook.Unlock unlocks = 4; } message CMsgClientToGCBookUnlock { - optional uint32 book_id = 1; - optional uint32 unlock_id = 2; - optional uint32 expected_cost = 3; - optional uint32 client_version = 4; + optional uint32 book_id = 1; + optional uint32 unlock_id = 2; + optional uint32 expected_cost = 3; + optional uint32 client_version = 4; } message CMsgClientToGCBookUnlockResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eOutOfDateClient = 2; - k_eInvalidFunds = 3; - k_eDisabled = 4; - k_eTooBusy = 5; - k_eAlreadyUnlocked = 6; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eOutOfDateClient = 2; + k_eInvalidFunds = 3; + k_eDisabled = 4; + k_eTooBusy = 5; + k_eAlreadyUnlocked = 6; + } - optional .CMsgClientToGCBookUnlockResponse.EResult result = 1 [default = k_eSuccess]; - optional .CMsgAccountBook updated_book = 2; + optional .CMsgClientToGCBookUnlockResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgAccountBook updated_book = 2; } message CMsgClientToGCGetBook { - optional uint32 book_id = 1; + optional uint32 book_id = 1; } message CMsgClientToGCGetBookResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eInvalidBook = 2; - k_eDisabled = 3; - k_eTooBusy = 4; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eInvalidBook = 2; + k_eDisabled = 3; + k_eTooBusy = 4; + } - optional .CMsgClientToGCGetBookResponse.EResult result = 1 [default = k_eSuccess]; - optional .CMsgAccountBook book = 2; + optional .CMsgClientToGCGetBookResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgAccountBook book = 2; } message CMsgGCToClientBookUpdated { - optional .CMsgAccountBook book = 1; + optional .CMsgAccountBook book = 1; } message CMsgClientToGCSubmitPlaytestUser { - optional string location = 3; - optional uint32 target_account_id = 4; + optional string location = 3; + optional uint32 target_account_id = 4; } message CMsgClientToGCSubmitPlaytestUserResponse { - enum EResponse { - eResponse_Success = 0; - eResponse_InternalError = 1; - eResponse_InvalidFriend = 3; - eResponse_NotFriendsLongEnough = 4; - eResponse_AlreadyHasGame = 5; - eResponse_LimitedUser = 6; - eResponse_InviteLimitReached = 7; - } + enum EResponse { + eResponse_Success = 0; + eResponse_InternalError = 1; + eResponse_InvalidFriend = 3; + eResponse_NotFriendsLongEnough = 4; + eResponse_AlreadyHasGame = 5; + eResponse_LimitedUser = 6; + eResponse_InviteLimitReached = 7; + } - optional .CMsgClientToGCSubmitPlaytestUserResponse.EResponse response = 1 [default = eResponse_Success]; + optional .CMsgClientToGCSubmitPlaytestUserResponse.EResponse response = 1 [default = eResponse_Success]; } message CMsgClientToGCUpdateHeroBuild { - optional .CMsgHeroBuild hero_build = 1; + optional .CMsgHeroBuild hero_build = 1; } message CMsgClientToGCUpdateHeroBuildResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + } - optional .CMsgClientToGCUpdateHeroBuildResponse.EResponse response = 1 [default = k_eInternalError]; - optional uint32 hero_build_id = 2; - optional uint32 version = 3; + optional .CMsgClientToGCUpdateHeroBuildResponse.EResponse response = 1 [default = k_eInternalError]; + optional uint32 hero_build_id = 2; + optional uint32 version = 3; } message CMsgClientToGCFindHeroBuilds { - optional uint32 author_account_id = 1; - optional uint32 hero_id = 2; - repeated int32 language = 3; - optional string search_text = 4; - optional uint32 hero_build_id = 5; - repeated uint32 tags = 6; + optional uint32 author_account_id = 1; + optional uint32 hero_id = 2; + repeated int32 language = 3; + optional string search_text = 4; + optional uint32 hero_build_id = 5; + repeated uint32 tags = 6; } message CMsgClientToGCFindHeroBuildsResponse { - message HeroBuildResult { - optional .CMsgHeroBuild hero_build = 1; - optional .CMsgHeroBuildPreference preference = 2; - optional uint32 num_favorites = 3; - optional uint32 num_ignores = 4; - optional uint32 num_reports = 5; - optional uint32 num_weekly_favorites = 6; - optional uint32 num_daily_favorites = 7; - optional uint32 rollup_category = 8; - } - - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - } - - optional .CMsgClientToGCFindHeroBuildsResponse.EResponse response = 1 [default = k_eInternalError]; - repeated .CMsgClientToGCFindHeroBuildsResponse.HeroBuildResult results = 2; - optional uint32 build_window_start_time_override = 3; + message HeroBuildResult { + optional .CMsgHeroBuild hero_build = 1; + optional .CMsgHeroBuildPreference preference = 2; + optional uint32 num_favorites = 3; + optional uint32 num_ignores = 4; + optional uint32 num_reports = 5; + optional uint32 num_weekly_favorites = 6; + optional uint32 num_daily_favorites = 7; + optional uint32 rollup_category = 8; + } + + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + } + + optional .CMsgClientToGCFindHeroBuildsResponse.EResponse response = 1 [default = k_eInternalError]; + repeated .CMsgClientToGCFindHeroBuildsResponse.HeroBuildResult results = 2; + optional uint32 build_window_start_time_override = 3; } message CMsgClientToGCUpdateHeroBuildPreference { - optional uint32 hero_build_id = 1; - optional .CMsgHeroBuildPreference preference = 2; + optional uint32 hero_build_id = 1; + optional .CMsgHeroBuildPreference preference = 2; } message CMsgClientToGCUpdateHeroBuildPreferenceResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + } - optional .CMsgClientToGCUpdateHeroBuildPreferenceResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCUpdateHeroBuildPreferenceResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCReportPlayerFromMatch { - enum EReportType { - k_eReport_None = 0; - k_eReport_VoiceChat = 1; - k_eReport_Griefing = 2; - k_eReport_LeftMatch = 3; - k_eReport_Matchmaking = 4; - k_eReport_Cheating = 5; - k_eReport_Smurfing = 6; - } - - optional uint64 match_id = 1; - optional uint32 target_account_id = 2; - optional .CMsgClientToGCReportPlayerFromMatch.EReportType report_type = 3 [default = k_eReport_None]; - optional string report_text = 4; + enum EReportType { + k_eReport_None = 0; + k_eReport_VoiceChat = 1; + k_eReport_Griefing = 2; + k_eReport_LeftMatch = 3; + k_eReport_Matchmaking = 4; + k_eReport_Cheating = 5; + k_eReport_Smurfing = 6; + } + + optional uint64 match_id = 1; + optional uint32 target_account_id = 2; + optional .CMsgClientToGCReportPlayerFromMatch.EReportType report_type = 3 [default = k_eReport_None]; + optional string report_text = 4; } message CMsgClientToGCReportPlayerFromMatchResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eRateLimited = 2; - k_eAlreadyReported = 3; - k_eDisabled = 4; - k_eInvalidPermissions = 5; - k_eReportingWindowExpired = 6; - k_eTooBusy = 7; - k_eBannedFromReporting = 8; - k_eTimeout = 9; - } - - optional .CMsgClientToGCReportPlayerFromMatchResponse.EResponse response = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eRateLimited = 2; + k_eAlreadyReported = 3; + k_eDisabled = 4; + k_eInvalidPermissions = 5; + k_eReportingWindowExpired = 6; + k_eTooBusy = 7; + k_eBannedFromReporting = 8; + k_eTimeout = 9; + } + + optional .CMsgClientToGCReportPlayerFromMatchResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCGetAccountMatchReports { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgClientToGCGetAccountMatchReportsResponse { - message Report { - optional uint32 account_id = 1; - } + message Report { + optional uint32 account_id = 1; + } - message Commend { - optional uint32 account_id = 1; - } + message Commend { + optional uint32 account_id = 1; + } - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDisabled = 4; - k_eTooBusy = 7; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDisabled = 4; + k_eTooBusy = 7; + } - optional .CMsgClientToGCGetAccountMatchReportsResponse.EResponse response = 1 [default = k_eInternalError]; - repeated .CMsgClientToGCGetAccountMatchReportsResponse.Report reports = 2; - repeated .CMsgClientToGCGetAccountMatchReportsResponse.Commend commends = 3; + optional .CMsgClientToGCGetAccountMatchReportsResponse.EResponse response = 1 [default = k_eInternalError]; + repeated .CMsgClientToGCGetAccountMatchReportsResponse.Report reports = 2; + repeated .CMsgClientToGCGetAccountMatchReportsResponse.Commend commends = 3; } message CMsgClientToGCDeleteHeroBuild { - optional uint32 author_account_id = 1; - optional uint32 hero_build_id = 2; + optional uint32 author_account_id = 1; + optional uint32 hero_build_id = 2; } message CMsgClientToGCDeleteHeroBuildResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + } - optional .CMsgClientToGCDeleteHeroBuildResponse.EResponse response = 1 [default = k_eInternalError]; - optional uint32 builds_deleted = 2; + optional .CMsgClientToGCDeleteHeroBuildResponse.EResponse response = 1 [default = k_eInternalError]; + optional uint32 builds_deleted = 2; } message CMsgClientToGCGetActiveMatches { } message CMsgClientToGCGetActiveMatchesResponse { - repeated .CMsgDevMatchInfo active_matches = 1; + repeated .CMsgDevMatchInfo active_matches = 1; } message CMsgClientToGCGetDiscordLink { } message CMsgClientToGCGetDiscordLinkResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDiscordTooBusy = 2; - k_eAlreadyClaimed = 3; - k_eDisabled = 4; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDiscordTooBusy = 2; + k_eAlreadyClaimed = 3; + k_eDisabled = 4; + } - optional .CMsgClientToGCGetDiscordLinkResponse.EResponse response = 1 [default = k_eInternalError]; - optional string discord_link = 2; - optional uint32 valid_hours = 3; + optional .CMsgClientToGCGetDiscordLinkResponse.EResponse response = 1 [default = k_eInternalError]; + optional string discord_link = 2; + optional uint32 valid_hours = 3; } message CMsgClientToGCGrantForumAccess { - optional string email = 1; + optional string email = 1; } message CMsgClientToGCGrantForumAccessResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eAlreadyClaimed = 2; - k_eDisabled = 3; - k_eEmailUsed = 4; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eAlreadyClaimed = 2; + k_eDisabled = 3; + k_eEmailUsed = 4; + } - optional .CMsgClientToGCGrantForumAccessResponse.EResponse response = 1 [default = k_eInternalError]; - optional string email = 2; - optional string username = 3; - optional string forum_password = 4; + optional .CMsgClientToGCGrantForumAccessResponse.EResponse response = 1 [default = k_eInternalError]; + optional string email = 2; + optional string username = 3; + optional string forum_password = 4; } message CMsgClientToGCModeratorRequest { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCModeratorRequestResponse { - optional bool success = 1; - repeated string response_text = 2; + optional bool success = 1; + repeated string response_text = 2; } message CMsgClientToGCGetFriendGameStatus { - optional bool include_invited = 1; + optional bool include_invited = 1; } message CMsgClientToGCGetFriendGameStatusResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + } - optional .CMsgClientToGCGetFriendGameStatusResponse.EResponse response = 1 [default = k_eInternalError]; - repeated uint32 friends_played_game = 2 [packed = true]; - repeated uint32 friends_invited = 3 [packed = true]; - repeated uint32 friends_invites_sent = 4 [packed = true]; + optional .CMsgClientToGCGetFriendGameStatusResponse.EResponse response = 1 [default = k_eInternalError]; + repeated uint32 friends_played_game = 2 [packed = true]; + repeated uint32 friends_invited = 3 [packed = true]; + repeated uint32 friends_invites_sent = 4 [packed = true]; } message CMsgClientToGCUpdateSpectatorStatus { - optional fixed64 spectating_lobby_id = 1; - optional bool stopped_spectating = 2; + optional fixed64 spectating_lobby_id = 1; + optional bool stopped_spectating = 2; } message CMsgClientToGCCommendPlayerFromMatch { - optional uint64 match_id = 1; - optional uint32 target_account_id = 2; - optional .ECommendType commend_type = 3 [default = k_eInvalid]; - optional uint32 fake_commend_hero_id = 4; + optional uint64 match_id = 1; + optional uint32 target_account_id = 2; + optional .ECommendType commend_type = 3 [default = k_eInvalid]; + optional uint32 fake_commend_hero_id = 4; } message CMsgClientToGCCommendPlayerFromMatchResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDisabled = 2; - k_eTooBusy = 3; - k_eRateLimited = 4; - k_eTimeout = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDisabled = 2; + k_eTooBusy = 3; + k_eRateLimited = 4; + k_eTimeout = 5; + } - optional .CMsgClientToGCCommendPlayerFromMatchResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgClientToGCCommendPlayerFromMatchResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgGCToClientCommendNotification { - optional uint32 commender_account_id = 1; - optional string commender_name = 2; - optional uint32 commender_hero_id = 4; - optional .ECommendType commend_type = 5 [default = k_eInvalid]; - optional uint64 match_id = 6; - optional bool enemy_commend = 7; + optional uint32 commender_account_id = 1; + optional string commender_name = 2; + optional uint32 commender_hero_id = 4; + optional .ECommendType commend_type = 5 [default = k_eInvalid]; + optional uint64 match_id = 6; + optional bool enemy_commend = 7; } message CMsgClientToGCRequestCheatReports { } message CMsgClientToGCRequestCheatReportsResponse { - message RecentCheatReport { - optional uint32 account_id = 1; - optional uint64 match_id = 2; - optional uint32 hero_id = 3; - } + message RecentCheatReport { + optional uint32 account_id = 1; + optional uint64 match_id = 2; + optional uint32 hero_id = 3; + } - enum EResult { - k_eSuccess = 0; - k_eInvalidPermission = 1; - k_eInternalError = 2; - } + enum EResult { + k_eSuccess = 0; + k_eInvalidPermission = 1; + k_eInternalError = 2; + } - optional .CMsgClientToGCRequestCheatReportsResponse.EResult result = 1 [default = k_eSuccess]; - repeated .CMsgClientToGCRequestCheatReportsResponse.RecentCheatReport cheat_reports = 2; + optional .CMsgClientToGCRequestCheatReportsResponse.EResult result = 1 [default = k_eSuccess]; + repeated .CMsgClientToGCRequestCheatReportsResponse.RecentCheatReport cheat_reports = 2; } message CMsgClientToGCGetHeroMMRRankings { - optional uint32 target_account_id = 1; + optional uint32 target_account_id = 1; } message CMsgClientToGCGetHeroMMRRankingsResponse { - message Hero { - optional uint32 hero_id = 1; - optional int32 relative_mmr = 2; - } + message Hero { + optional uint32 hero_id = 1; + optional int32 relative_mmr = 2; + } - enum EResult { - k_eSuccess = 0; - k_eInvalidPermission = 1; - k_eInternalError = 2; - k_eTooBusy = 3; - } + enum EResult { + k_eSuccess = 0; + k_eInvalidPermission = 1; + k_eInternalError = 2; + k_eTooBusy = 3; + } - optional .CMsgClientToGCGetHeroMMRRankingsResponse.EResult result = 1 [default = k_eSuccess]; - repeated .CMsgClientToGCGetHeroMMRRankingsResponse.Hero heroes = 2; + optional .CMsgClientToGCGetHeroMMRRankingsResponse.EResult result = 1 [default = k_eSuccess]; + repeated .CMsgClientToGCGetHeroMMRRankingsResponse.Hero heroes = 2; } message CMsgClientToGCGetLeaderboard { - optional .ECitadelLeaderboardRegion leaderboard_region = 1 [default = k_ECitadelLeaderboardRegion_None]; - optional uint32 hero_id = 2; + optional .ECitadelLeaderboardRegion leaderboard_region = 1 [default = k_ECitadelLeaderboardRegion_None]; + optional uint32 hero_id = 2; } message CMsgClientToGCGetLeaderboardResponse { - message LeaderboardEntry { - optional string account_name = 1; - optional uint32 rank = 2; - repeated uint32 top_hero_ids = 3; - optional uint32 badge_level = 4; - } + message LeaderboardEntry { + optional string account_name = 1; + optional uint32 rank = 2; + repeated uint32 top_hero_ids = 3; + optional uint32 badge_level = 4; + } - enum EResult { - k_eSuccess = 0; - k_eInvalidArguments = 1; - k_eInternalError = 2; - k_eTooBusy = 3; - } + enum EResult { + k_eSuccess = 0; + k_eInvalidArguments = 1; + k_eInternalError = 2; + k_eTooBusy = 3; + } - optional .CMsgClientToGCGetLeaderboardResponse.EResult result = 1 [default = k_eSuccess]; - repeated .CMsgClientToGCGetLeaderboardResponse.LeaderboardEntry entries = 2; - optional int32 local_player_index = 3 [default = -1]; + optional .CMsgClientToGCGetLeaderboardResponse.EResult result = 1 [default = k_eSuccess]; + repeated .CMsgClientToGCGetLeaderboardResponse.LeaderboardEntry entries = 2; + optional int32 local_player_index = 3 [default = -1]; } message CMsgClientToGCGetAccountLeaderboards { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCGetAccountLeaderboardsResponse { - message LeaderboardEntry { - optional .ECitadelLeaderboardRegion region = 1 [default = k_ECitadelLeaderboardRegion_None]; - optional uint32 hero_id = 2; - optional uint32 rank = 3; - } + message LeaderboardEntry { + optional .ECitadelLeaderboardRegion region = 1 [default = k_ECitadelLeaderboardRegion_None]; + optional uint32 hero_id = 2; + optional uint32 rank = 3; + } - enum EResult { - k_eSuccess = 0; - k_eInvalidPermission = 1; - k_eInternalError = 2; - k_eTooBusy = 3; - } + enum EResult { + k_eSuccess = 0; + k_eInvalidPermission = 1; + k_eInternalError = 2; + k_eTooBusy = 3; + } - optional .CMsgClientToGCGetAccountLeaderboardsResponse.EResult result = 1 [default = k_eSuccess]; - optional string account_name = 2; - repeated .CMsgClientToGCGetAccountLeaderboardsResponse.LeaderboardEntry entries = 3; + optional .CMsgClientToGCGetAccountLeaderboardsResponse.EResult result = 1 [default = k_eSuccess]; + optional string account_name = 2; + repeated .CMsgClientToGCGetAccountLeaderboardsResponse.LeaderboardEntry entries = 3; } message CMsgClientToGCGenerateChallengeSet { } message CMsgClientToGCGenerateChallengeSetResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eChallengeActive = 2; - k_eChallengeChoiceExists = 3; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eChallengeActive = 2; + k_eChallengeChoiceExists = 3; + } - optional .CMsgClientToGCGenerateChallengeSetResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgClientToGCGenerateChallengeSetResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgClientToGCChallengeActivate { - optional uint64 challenge_id = 1; + optional uint64 challenge_id = 1; } message CMsgClientToGCChallengeActivateResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eInvalidChallenge = 2; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eInvalidChallenge = 2; + } - optional .CMsgClientToGCChallengeActivateResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgClientToGCChallengeActivateResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgClientToGCChallengeClaim { - optional uint64 challenge_id = 1; + optional uint64 challenge_id = 1; } message CMsgClientToGCChallengeClaimResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eInvalidChallenge = 2; - k_eChallengeIncomplete = 3; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eInvalidChallenge = 2; + k_eChallengeIncomplete = 3; + } - optional .CMsgClientToGCChallengeClaimResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgClientToGCChallengeClaimResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgClientToGCChallengeCancel { - optional uint64 challenge_id = 1; + optional uint64 challenge_id = 1; } message CMsgClientToGCChallengeCancelResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eInvalidChallenge = 2; - k_eChallengeComplete = 3; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eInvalidChallenge = 2; + k_eChallengeComplete = 3; + } - optional .CMsgClientToGCChallengeCancelResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgClientToGCChallengeCancelResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgSurveyQuestion { - enum EQuestionType { - k_eInvalid = 0; - k_eItemPower = 1; - k_eItemDesign = 2; - k_eHeroPlayAgainst = 3; - k_eMoreFunHero = 4; - } - - optional uint32 question_id = 1; - optional .CMsgSurveyQuestion.EQuestionType question_type = 2 [default = k_eInvalid]; - repeated uint32 question_params = 3; - optional uint32 remaining_questions = 4; - optional uint32 answered_questions = 5; + enum EQuestionType { + k_eInvalid = 0; + k_eItemPower = 1; + k_eItemDesign = 2; + k_eHeroPlayAgainst = 3; + k_eMoreFunHero = 4; + k_eHeroPower = 5; + } + + optional uint32 question_id = 1; + optional .CMsgSurveyQuestion.EQuestionType question_type = 2 [default = k_eInvalid]; + repeated uint32 question_params = 3; + optional uint32 remaining_questions = 4; + optional uint32 answered_questions = 5; } message CMsgClientToGCGetSurveyQuestion { } message CMsgClientToGCGetSurveyQuestionResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eTooBusy = 2; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eTooBusy = 2; + } - optional .CMsgClientToGCGetSurveyQuestionResponse.EResult result = 1 [default = k_eSuccess]; - optional .CMsgSurveyQuestion question = 2; + optional .CMsgClientToGCGetSurveyQuestionResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgSurveyQuestion question = 2; } message CMsgClientToGCSubmitSurvey { - optional uint32 question_id = 1; - optional bool is_skip = 2; - optional uint32 response_value = 3; + optional uint32 question_id = 1; + optional bool is_skip = 2; + optional uint32 response_value = 3; } message CMsgClientToGCSubmitSurveyResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eTooBusy = 2; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eTooBusy = 2; + } - optional .CMsgClientToGCSubmitSurveyResponse.EResult result = 1 [default = k_eSuccess]; - optional .CMsgSurveyQuestion question = 2; + optional .CMsgClientToGCSubmitSurveyResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgSurveyQuestion question = 2; } message CMsgClientToGCGetRankData { } message CMsgGCToClientGetRankDataResponse { - enum EResultCode { - k_Succeeded = 0; - k_Failed = 1; - } + enum EResultCode { + k_Succeeded = 0; + k_Failed = 1; + } - optional .CMsgGCToClientGetRankDataResponse.EResultCode result = 1 [default = k_Succeeded]; - optional int32 current_rank_confidence = 2; - optional int32 calibrated_rank_confidence = 3; - optional bool requires_calibration = 4; + optional .CMsgGCToClientGetRankDataResponse.EResultCode result = 1 [default = k_Succeeded]; + optional int32 current_rank_confidence = 2; + optional int32 calibrated_rank_confidence = 3; + optional bool requires_calibration = 4; } message CMsgGCToClientRankDataUpdate { - optional .CMsgGCToClientGetRankDataResponse rank_info = 2; + optional .CMsgGCToClientGetRankDataResponse rank_info = 2; } -message CMsgHeroReleaseVoteStatus { - optional uint32 remaining_votes = 1; - repeated uint32 votes_cast = 2 [packed = true]; +message CMsgClientToGCRequestHeroReleaseVoteTally { + repeated uint32 vote_rounds = 1 [packed = true]; } -message CMsgClientToGCRequestHeroReleaseVoteStatus { +message CMsgGCToClientUpdateHeroReleaseVoteTally { + message VoteRoundToTallyEntry { + optional uint32 key = 1; + optional .CMsgHeroReleaseVoteTally value = 2; + } + + repeated .CMsgGCToClientUpdateHeroReleaseVoteTally.VoteRoundToTallyEntry vote_round_to_tally = 1; } message CMsgClientToGCSubmitHeroReleaseVote { - optional uint32 vote_option = 1; + optional uint32 vote_round = 1; + optional uint32 vote_option = 2; } message CMsgClientToGCPartySendChatMsg { - optional fixed64 party_id = 1; - optional string chat_msg = 2; + optional fixed64 party_id = 1; + optional string chat_msg = 2; } message CMsgClientToGCPartySendChatMsgResponse { - enum EResultCode { - k_eSuccess = 0; - k_eInternalError = 1; - k_eInvalidPermission = 2; - k_eDisabled = 3; - k_eRateLimited = 4; - k_eInvalidMsg = 5; - } + enum EResultCode { + k_eSuccess = 0; + k_eInternalError = 1; + k_eInvalidPermission = 2; + k_eDisabled = 3; + k_eRateLimited = 4; + k_eInvalidMsg = 5; + } - optional .CMsgClientToGCPartySendChatMsgResponse.EResultCode result = 1 [default = k_eSuccess]; + optional .CMsgClientToGCPartySendChatMsgResponse.EResultCode result = 1 [default = k_eSuccess]; } message CMsgGCToClientPartyChatMsg { - message ChatLine { - optional uint32 account_id = 1; - optional string chat_msg = 2; - optional uint32 time_stamp = 3; - } - - optional fixed64 party_id = 1; - repeated .CMsgGCToClientPartyChatMsg.ChatLine chat_lines = 2; + message ChatLine { + optional uint32 account_id = 1; + optional string chat_msg = 2; + optional uint32 time_stamp = 3; + } + + optional fixed64 party_id = 1; + repeated .CMsgGCToClientPartyChatMsg.ChatLine chat_lines = 2; +} + +message CMsgPostGameProgressData { + message PlayerAccolade { + optional uint32 accolade_id = 1; + optional string accolade_name = 2; + optional string accolade_desc = 3; + optional uint32 accolade_stars_achieved = 4; + optional int32 accolade_stat_value = 5; + } + + message PlayerAward { + optional uint32 award_column = 1; + optional uint32 award_id = 2; + optional int32 award_value = 3; + optional uint32 award_rank = 4; + optional string award_desc = 5; + optional string award_class = 6; + } + + message PlayerData { + optional uint32 player_slot = 1; + optional uint32 account_id = 2; + optional uint32 hero_id = 3; + optional .ECitadelLobbyTeam team = 4 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 mvp_rank = 5; + repeated .CMsgPostGameProgressData.PlayerAccolade accolades = 6; + repeated .CMsgPostGameProgressData.PlayerAward awards = 7; + } + + optional uint64 match_id = 1; + optional .ECitadelLobbyTeam winning_team = 2 [default = k_ECitadelLobbyTeam_Team0]; + optional .CMsgPostGameProgressData.PlayerData local_player = 3; + repeated .CMsgPostGameProgressData.PlayerData mvp_players = 4; } diff --git a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_common.proto b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_common.proto index b66f9ee3..5ada7800 100644 --- a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_common.proto +++ b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_common.proto @@ -9,728 +9,781 @@ option optimize_for = SPEED; option java_generic_services = false; enum CMsgLaneColor { - k_ELaneColor_Invalid = 0 [(schema_friendly_name) = "None"]; - k_ELaneColor_Yellow = 1 [(schema_friendly_name) = "Yellow"]; - k_ELaneColor_Green = 3 [(schema_friendly_name) = "Green"]; - k_ELaneColor_Blue = 4 [(schema_friendly_name) = "Blue"]; - k_ELaneColor_Purple = 6 [(schema_friendly_name) = "Purple"]; + k_ELaneColor_Invalid = 0 [(schema_friendly_name) = "None"]; + k_ELaneColor_Yellow = 1 [(schema_friendly_name) = "Yellow"]; + k_ELaneColor_Green = 3 [(schema_friendly_name) = "Green"]; + k_ELaneColor_Blue = 4 [(schema_friendly_name) = "Blue"]; + k_ELaneColor_Purple = 6 [(schema_friendly_name) = "Purple"]; } enum EGCCitadelCommonMessages { - k_EMsgAnyToGCReportAsserts = 7000; - k_EMsgAnyToGCReportAssertsResponse = 7001; + k_EMsgAnyToGCReportAsserts = 7000; + k_EMsgAnyToGCReportAssertsResponse = 7001; } enum ECitadelMatchMode { - k_ECitadelMatchMode_Invalid = 0; - k_ECitadelMatchMode_Unranked = 1; - k_ECitadelMatchMode_PrivateLobby = 2; - k_ECitadelMatchMode_CoopBot = 3; - k_ECitadelMatchMode_Ranked = 4; - k_ECitadelMatchMode_ServerTest = 5; - k_ECitadelMatchMode_Tutorial = 6; - k_ECitadelMatchMode_HeroLabs = 7; - k_ECitadelMatchMode_Calibration = 8; + k_ECitadelMatchMode_Invalid = 0; + k_ECitadelMatchMode_Unranked = 1; + k_ECitadelMatchMode_PrivateLobby = 2; + k_ECitadelMatchMode_CoopBot = 3; + k_ECitadelMatchMode_Ranked = 4; + k_ECitadelMatchMode_ServerTest = 5; + k_ECitadelMatchMode_Tutorial = 6; + k_ECitadelMatchMode_HeroLabs = 7; + k_ECitadelMatchMode_Calibration = 8; } enum ECitadelLobbyTeam { - k_ECitadelLobbyTeam_Team0 = 0; - k_ECitadelLobbyTeam_Team1 = 1; - k_ECitadelLobbyTeam_Spectator = 16; + k_ECitadelLobbyTeam_Team0 = 0; + k_ECitadelLobbyTeam_Team1 = 1; + k_ECitadelLobbyTeam_Spectator = 16; } enum ECitadelAccountStatMedal { - k_eNone = 0; - k_eBronze = 1; - k_eSilver = 2; - k_eGold = 3; + k_eNone = 0; + k_eBronze = 1; + k_eSilver = 2; + k_eGold = 3; } enum ECitadelMMPreference { - k_ECitadelMMPreference_Invalid = 0; - k_ECitadelMMPreference_Casual = 1; - k_ECitadelMMPreference_Serious = 2; + k_ECitadelMMPreference_Invalid = 0; + k_ECitadelMMPreference_Casual = 1; + k_ECitadelMMPreference_Serious = 2; } enum ECitadelObjective { - k_eCitadelObjective_Team0_Core = 0; - k_eCitadelObjective_Team0_Tier1_Lane1 = 1; - k_eCitadelObjective_Team0_Tier1_Lane2 = 2; - k_eCitadelObjective_Team0_Tier1_Lane3 = 3; - k_eCitadelObjective_Team0_Tier1_Lane4 = 4; - k_eCitadelObjective_Team0_Tier2_Lane1 = 5; - k_eCitadelObjective_Team0_Tier2_Lane2 = 6; - k_eCitadelObjective_Team0_Tier2_Lane3 = 7; - k_eCitadelObjective_Team0_Tier2_Lane4 = 8; - k_eCitadelObjective_Team0_Titan = 9; - k_eCitadelObjective_Team0_TitanShieldGenerator_1 = 10; - k_eCitadelObjective_Team0_TitanShieldGenerator_2 = 11; - k_eCitadelObjective_Team0_BarrackBoss_Lane1 = 12; - k_eCitadelObjective_Team0_BarrackBoss_Lane2 = 13; - k_eCitadelObjective_Team0_BarrackBoss_Lane3 = 14; - k_eCitadelObjective_Team0_BarrackBoss_Lane4 = 15; - k_eCitadelObjective_Team1_Core = 16; - k_eCitadelObjective_Team1_Tier1_Lane1 = 17; - k_eCitadelObjective_Team1_Tier1_Lane2 = 18; - k_eCitadelObjective_Team1_Tier1_Lane3 = 19; - k_eCitadelObjective_Team1_Tier1_Lane4 = 20; - k_eCitadelObjective_Team1_Tier2_Lane1 = 21; - k_eCitadelObjective_Team1_Tier2_Lane2 = 22; - k_eCitadelObjective_Team1_Tier2_Lane3 = 23; - k_eCitadelObjective_Team1_Tier2_Lane4 = 24; - k_eCitadelObjective_Team1_Titan = 25; - k_eCitadelObjective_Team1_TitanShieldGenerator_1 = 26; - k_eCitadelObjective_Team1_TitanShieldGenerator_2 = 27; - k_eCitadelObjective_Team1_BarrackBoss_Lane1 = 28; - k_eCitadelObjective_Team1_BarrackBoss_Lane2 = 29; - k_eCitadelObjective_Team1_BarrackBoss_Lane3 = 30; - k_eCitadelObjective_Team1_BarrackBoss_Lane4 = 31; - k_eCitadelObjective_Neutral_Mid = 32; + k_eCitadelObjective_Team0_Core = 0; + k_eCitadelObjective_Team0_Tier1_Lane1 = 1; + k_eCitadelObjective_Team0_Tier1_Lane2 = 2; + k_eCitadelObjective_Team0_Tier1_Lane3 = 3; + k_eCitadelObjective_Team0_Tier1_Lane4 = 4; + k_eCitadelObjective_Team0_Tier2_Lane1 = 5; + k_eCitadelObjective_Team0_Tier2_Lane2 = 6; + k_eCitadelObjective_Team0_Tier2_Lane3 = 7; + k_eCitadelObjective_Team0_Tier2_Lane4 = 8; + k_eCitadelObjective_Team0_Titan = 9; + k_eCitadelObjective_Team0_TitanShieldGenerator_1 = 10; + k_eCitadelObjective_Team0_TitanShieldGenerator_2 = 11; + k_eCitadelObjective_Team0_BarrackBoss_Lane1 = 12; + k_eCitadelObjective_Team0_BarrackBoss_Lane2 = 13; + k_eCitadelObjective_Team0_BarrackBoss_Lane3 = 14; + k_eCitadelObjective_Team0_BarrackBoss_Lane4 = 15; + k_eCitadelObjective_Team1_Core = 16; + k_eCitadelObjective_Team1_Tier1_Lane1 = 17; + k_eCitadelObjective_Team1_Tier1_Lane2 = 18; + k_eCitadelObjective_Team1_Tier1_Lane3 = 19; + k_eCitadelObjective_Team1_Tier1_Lane4 = 20; + k_eCitadelObjective_Team1_Tier2_Lane1 = 21; + k_eCitadelObjective_Team1_Tier2_Lane2 = 22; + k_eCitadelObjective_Team1_Tier2_Lane3 = 23; + k_eCitadelObjective_Team1_Tier2_Lane4 = 24; + k_eCitadelObjective_Team1_Titan = 25; + k_eCitadelObjective_Team1_TitanShieldGenerator_1 = 26; + k_eCitadelObjective_Team1_TitanShieldGenerator_2 = 27; + k_eCitadelObjective_Team1_BarrackBoss_Lane1 = 28; + k_eCitadelObjective_Team1_BarrackBoss_Lane2 = 29; + k_eCitadelObjective_Team1_BarrackBoss_Lane3 = 30; + k_eCitadelObjective_Team1_BarrackBoss_Lane4 = 31; + k_eCitadelObjective_Neutral_Mid = 32; } enum ECitadelTeamObjective { - k_eCitadelTeamObjective_Core = 0; - k_eCitadelTeamObjective_Tier1_Lane1 = 1; - k_eCitadelTeamObjective_Tier1_Lane2 = 2; - k_eCitadelTeamObjective_Tier1_Lane3 = 3; - k_eCitadelTeamObjective_Tier1_Lane4 = 4; - k_eCitadelTeamObjective_Tier2_Lane1 = 5; - k_eCitadelTeamObjective_Tier2_Lane2 = 6; - k_eCitadelTeamObjective_Tier2_Lane3 = 7; - k_eCitadelTeamObjective_Tier2_Lane4 = 8; - k_eCitadelTeamObjective_Titan = 9; - k_eCitadelTeamObjective_TitanShieldGenerator_1 = 10; - k_eCitadelTeamObjective_TitanShieldGenerator_2 = 11; - k_eCitadelTeamObjective_BarrackBoss_Lane1 = 12; - k_eCitadelTeamObjective_BarrackBoss_Lane2 = 13; - k_eCitadelTeamObjective_BarrackBoss_Lane3 = 14; - k_eCitadelTeamObjective_BarrackBoss_Lane4 = 15; + k_eCitadelTeamObjective_Core = 0; + k_eCitadelTeamObjective_Tier1_Lane1 = 1; + k_eCitadelTeamObjective_Tier1_Lane2 = 2; + k_eCitadelTeamObjective_Tier1_Lane3 = 3; + k_eCitadelTeamObjective_Tier1_Lane4 = 4; + k_eCitadelTeamObjective_Tier2_Lane1 = 5; + k_eCitadelTeamObjective_Tier2_Lane2 = 6; + k_eCitadelTeamObjective_Tier2_Lane3 = 7; + k_eCitadelTeamObjective_Tier2_Lane4 = 8; + k_eCitadelTeamObjective_Titan = 9; + k_eCitadelTeamObjective_TitanShieldGenerator_1 = 10; + k_eCitadelTeamObjective_TitanShieldGenerator_2 = 11; + k_eCitadelTeamObjective_BarrackBoss_Lane1 = 12; + k_eCitadelTeamObjective_BarrackBoss_Lane2 = 13; + k_eCitadelTeamObjective_BarrackBoss_Lane3 = 14; + k_eCitadelTeamObjective_BarrackBoss_Lane4 = 15; } enum ECitadelBotDifficulty { - k_ECitadelBotDifficulty_None = 0; - k_ECitadelBotDifficulty_Easy = 1; - k_ECitadelBotDifficulty_Medium = 2; - k_ECitadelBotDifficulty_Hard = 3; - k_ECitadelBotDifficulty_Nightmare = 4; - k_ECitadelBotDifficulty_Guided = 5; + k_ECitadelBotDifficulty_None = 0; + k_ECitadelBotDifficulty_Easy = 1; + k_ECitadelBotDifficulty_Medium = 2; + k_ECitadelBotDifficulty_Hard = 3; + k_ECitadelBotDifficulty_Nightmare = 4; + k_ECitadelBotDifficulty_Guided = 5; } enum ECitadelRegionMode { - k_ECitadelRegionMode_ROW = 0; - k_ECitadelRegionMode_Europe = 1; - k_ECitadelRegionMode_SEAsia = 2; - k_ECitadelRegionMode_SAmerica = 3; - k_ECitadelRegionMode_Russia = 4; - k_ECitadelRegionMode_Oceania = 5; + k_ECitadelRegionMode_ROW = 0; + k_ECitadelRegionMode_Europe = 1; + k_ECitadelRegionMode_SEAsia = 2; + k_ECitadelRegionMode_SAmerica = 3; + k_ECitadelRegionMode_Russia = 4; + k_ECitadelRegionMode_Oceania = 5; } enum ECitadelLeaderboardRegion { - k_ECitadelLeaderboardRegion_None = 0; - k_ECitadelLeaderboardRegion_Europe = 1; - k_ECitadelLeaderboardRegion_Asia = 2; - k_ECitadelLeaderboardRegion_NAmerica = 3; - k_ECitadelLeaderboardRegion_SAmerica = 4; - k_ECitadelLeaderboardRegion_Oceania = 5; + k_ECitadelLeaderboardRegion_None = 0; + k_ECitadelLeaderboardRegion_Europe = 1; + k_ECitadelLeaderboardRegion_Asia = 2; + k_ECitadelLeaderboardRegion_NAmerica = 3; + k_ECitadelLeaderboardRegion_SAmerica = 4; + k_ECitadelLeaderboardRegion_Oceania = 5; } enum ECitadelGameMode { - k_ECitadelGameMode_Invalid = 0; - k_ECitadelGameMode_Normal = 1; - k_ECitadelGameMode_1v1Test = 2; - k_ECitadelGameMode_Sandbox = 3; + k_ECitadelGameMode_Invalid = 0; + k_ECitadelGameMode_Normal = 1; + k_ECitadelGameMode_1v1Test = 2; + k_ECitadelGameMode_Sandbox = 3; + k_ECitadelGameMode_StreetBrawl = 4; } enum ELobbyServerState { - k_eLobbyServerState_Assign = 0; - k_eLobbyServerState_InGame = 1; - k_eLobbyServerState_PostMatch = 2; - k_eLobbyServerState_SignedOut = 3; - k_eLobbyServerState_Abandoned = 4; + k_eLobbyServerState_Assign = 0; + k_eLobbyServerState_InGame = 1; + k_eLobbyServerState_PostMatch = 2; + k_eLobbyServerState_SignedOut = 3; + k_eLobbyServerState_Abandoned = 4; } enum EBannedFeature { - k_eBannedFeature_Invalid = 0; - k_eBannedFeature_LowPriorityMatchmaking = 1; - k_eBannedFeature_CommsRestricted = 2; - k_eBannedFeature_ReportingDisabled = 3; + k_eBannedFeature_Invalid = 0; + k_eBannedFeature_LowPriorityMatchmaking = 1; + k_eBannedFeature_CommsRestricted = 2; + k_eBannedFeature_ReportingDisabled = 3; } enum EFeatureBanReason { - k_eFeatureBanReason_Invalid = 0; - k_eFeatureBanReason_DevCommand = 1; - k_eFeatureBanReason_PlayerReports = 2; - k_eFeatureBanReason_MatchAbandons = 3; - k_eFeatureBanReason_ExcessivePlayerReports = 4; + k_eFeatureBanReason_Invalid = 0; + k_eFeatureBanReason_DevCommand = 1; + k_eFeatureBanReason_ReportedByOtherPlayers = 2; + k_eFeatureBanReason_MatchAbandons = 3; + k_eFeatureBanReason_TooManyReportsSubmitted = 4; } message CSOCitadelLobby { - optional uint64 lobby_id = 1; - optional uint64 match_id = 2; - optional .ECitadelMatchMode match_mode = 3 [default = k_ECitadelMatchMode_Invalid]; - optional .ECitadelGameMode game_mode = 4 [default = k_ECitadelGameMode_Invalid]; - optional uint32 compatibility_version = 5; - repeated .CExtraMsgBlock extra_messages = 6; - optional fixed64 server_steam_id = 7; - optional .ELobbyServerState server_state = 8 [default = k_eLobbyServerState_Assign]; - optional uint32 udp_connect_ip = 9; - optional uint32 udp_connect_port = 10; - optional bytes sdr_address = 12; - optional uint32 server_version = 13; - optional bool safe_to_abandon = 14; - optional bool match_punishes_abandons = 15; - optional uint32 game_mode_version = 16; + optional uint64 lobby_id = 1; + optional uint64 match_id = 2; + optional .ECitadelMatchMode match_mode = 3 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 4 [default = k_ECitadelGameMode_Invalid]; + optional uint32 compatibility_version = 5; + repeated .CExtraMsgBlock extra_messages = 6; + optional fixed64 server_steam_id = 7; + optional .ELobbyServerState server_state = 8 [default = k_eLobbyServerState_Assign]; + optional uint32 udp_connect_ip = 9; + optional uint32 udp_connect_port = 10; + optional bytes sdr_address = 12; + optional uint32 server_version = 13; + optional bool safe_to_abandon = 14; + optional bool match_punishes_abandons = 15; + optional uint32 game_mode_version = 16; } message CSOCitadelHideoutLobby { - message Member { - optional uint32 account_id = 1; - repeated uint32 account_awards = 20 [packed = true]; - } - - optional uint64 hideout_lobby_id = 1; - optional uint64 party_id = 2; - optional fixed64 server_steam_id = 3; - optional uint32 udp_connect_ip = 4; - optional uint32 udp_connect_port = 5; - optional bytes sdr_address = 6; - optional uint32 server_version = 7; - optional uint32 compat_version = 8; - repeated .CSOCitadelHideoutLobby.Member members = 9; - optional uint32 active_account_hideout = 10; - repeated .CExtraMsgBlock extra_messages = 11; + message Member { + optional uint32 account_id = 1; + optional bool hideout_holiday_award_2024 = 30; + optional bool hideout_holiday_award_2025 = 32; + } + + optional uint64 hideout_lobby_id = 1; + optional uint64 party_id = 2; + optional fixed64 server_steam_id = 3; + optional uint32 udp_connect_ip = 4; + optional uint32 udp_connect_port = 5; + optional bytes sdr_address = 6; + optional uint32 server_version = 7; + optional uint32 compat_version = 8; + repeated .CSOCitadelHideoutLobby.Member members = 9; + optional uint32 active_account_hideout = 10; + repeated .CExtraMsgBlock extra_messages = 11; } message CLobbyData_PostMatchSurvey { - message PlayerSurvey { - optional uint32 account_id = 1; - optional uint32 question_id = 2; - } + message PlayerSurvey { + optional uint32 account_id = 1; + optional uint32 question_id = 2; + } - repeated .CLobbyData_PostMatchSurvey.PlayerSurvey surveys = 1; + repeated .CLobbyData_PostMatchSurvey.PlayerSurvey surveys = 1; } message CMsgHeroSelectionMatchInfo { - message Hero { - optional uint32 hero_id = 1; - optional uint32 priority = 2; - } + message Hero { + optional uint32 hero_id = 1; + optional uint32 priority = 2; + } - repeated .CMsgHeroSelectionMatchInfo.Hero hero_selections = 1; + repeated .CMsgHeroSelectionMatchInfo.Hero hero_selections = 1; + repeated uint32 banned_heroes = 2; } message CMsgStartFindingMatchInfo { - optional string server_search_key = 1; - optional string server_command_string = 2; - optional .ECitadelMatchMode match_mode = 3 [default = k_ECitadelMatchMode_Invalid]; - optional .ECitadelGameMode game_mode = 5 [default = k_ECitadelGameMode_Invalid]; - optional .ECitadelBotDifficulty bot_difficulty = 7 [default = k_ECitadelBotDifficulty_None]; - optional .ECitadelRegionMode region_mode = 8 [default = k_ECitadelRegionMode_ROW]; - optional bool prefer_solo_only = 9; - optional .ECitadelMMPreference mm_preference = 10 [default = k_ECitadelMMPreference_Invalid]; + optional string server_search_key = 1; + optional string server_command_string = 2; + optional .ECitadelMatchMode match_mode = 3 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 5 [default = k_ECitadelGameMode_Invalid]; + optional .ECitadelBotDifficulty bot_difficulty = 7 [default = k_ECitadelBotDifficulty_None]; + optional .ECitadelRegionMode region_mode = 8 [default = k_ECitadelRegionMode_ROW]; + optional bool prefer_solo_only = 9; + optional .ECitadelMMPreference mm_preference = 10 [default = k_ECitadelMMPreference_Invalid]; } message CMsgAnyToGCReportAsserts { - message TrackedAssert { - optional string filename = 1; - optional uint32 line_number = 2; - optional string sample_msg = 3; - optional string sample_stack = 4; - optional uint32 times_fired = 5; - optional string function_name = 6; - optional string condition = 7; - optional uint32 total_times_fired = 8; - } - - optional uint32 version = 1; - repeated .CMsgAnyToGCReportAsserts.TrackedAssert asserts = 2; - optional uint64 match_id = 3; + message TrackedAssert { + optional string filename = 1; + optional uint32 line_number = 2; + optional string sample_msg = 3; + optional string sample_stack = 4; + optional uint32 times_fired = 5; + optional string function_name = 6; + optional string condition = 7; + optional uint32 total_times_fired = 8; + } + + optional uint32 version = 1; + repeated .CMsgAnyToGCReportAsserts.TrackedAssert asserts = 2; + optional uint64 match_id = 3; } message CMsgAnyToGCReportAssertsResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgRegionPingTimesClient { - repeated fixed32 data_center_codes = 1 [packed = true]; - repeated uint32 ping_times = 2 [packed = true]; + repeated fixed32 data_center_codes = 1 [packed = true]; + repeated uint32 ping_times = 2 [packed = true]; } message CMsgEquippedItemList { - repeated .CSOEconItem items = 1; + repeated .CSOEconItem items = 1; } message CMsgPlayerHeroData { - optional uint32 hero_xp = 1; - optional .CMsgEquippedItemList hero_equips = 2; + optional uint32 hero_xp = 1; + optional .CMsgEquippedItemList hero_equips = 2; } message CSOCitadelParty { - message PrivateLobbySlot { - optional uint32 slot_id = 1; - optional uint32 player_account_id = 2; - } - - message ServerRegion { - optional uint32 region_id = 1; - } - - message PrivateLobbySettings { - optional uint32 min_roster_size = 1; - repeated .CSOCitadelParty.PrivateLobbySlot match_slots = 2; - optional bool randomize_lanes = 3; - optional uint32 server_region = 4; - optional bool is_publicly_visible = 6; - optional bool cheats_enabled = 7; - repeated .CSOCitadelParty.ServerRegion available_regions = 8; - optional bool duplicate_heroes_enabled = 9; - optional bool experimental_heroes_enabled = 10; - } - - message Member { - optional uint32 account_id = 1; - optional string persona_name = 2; - optional uint32 rights_flags = 3; - optional bool is_ready = 4; - optional .CSOCitadelParty.EPlayerType player_type = 5 [default = k_ePlayerType_Player]; - optional uint32 compatibility_version = 6; - optional .EGCPlatform platform = 7 [default = k_eGCPlatform_None]; - optional uint32 team = 8; - optional .CMsgHeroSelectionMatchInfo hero_roster = 9; - optional uint64 permissions = 10; - optional uint64 new_player_progress = 11; - repeated uint32 owned_heroes = 12 [packed = true]; - } - - message LeftMember { - optional uint32 account_id = 1; - optional uint32 rights_flags = 2; - optional .CSOCitadelParty.EPlayerType player_type = 3 [default = k_ePlayerType_Player]; - } - - message Invite { - optional uint32 account_id = 1; - optional string persona_name = 2; - optional uint32 invited_by = 3; - } - - enum EMemberRights { - k_eMemberRights_Admin = 1; - k_eMemberRights_Creator = 2; - } - - enum EPlayerType { - k_ePlayerType_Player = 0; - k_ePlayerType_Spectator = 1; - } - - enum EChatMode { - k_eNone = 0; - k_ePartyChat = 1; - k_eTeamChat = 2; - } - - optional uint64 party_id = 1; - repeated .CSOCitadelParty.Member members = 2; - repeated .CSOCitadelParty.Invite invites = 3; - optional string dev_server_command = 4; - repeated .CSOCitadelParty.LeftMember left_members = 5; - optional uint64 join_code = 6; - optional .ECitadelBotDifficulty bot_difficulty = 7 [default = k_ECitadelBotDifficulty_None]; - optional .ECitadelMatchMode match_mode = 9 [default = k_ECitadelMatchMode_Invalid]; - optional .ECitadelGameMode game_mode = 10 [default = k_ECitadelGameMode_Invalid]; - optional uint32 match_making_start_time = 11; - optional string server_search_key = 12; - optional bool is_high_skill_range_party = 13; - optional .CSOCitadelParty.EChatMode chat_mode = 14 [default = k_eNone]; - optional .ECitadelRegionMode region_mode = 15 [default = k_ECitadelRegionMode_ROW]; - optional bool is_private_lobby = 16; - optional .CSOCitadelParty.PrivateLobbySettings private_lobby_settings = 17; - optional bool desires_laning_together = 18; - optional .ECitadelMMPreference mm_preference = 19 [default = k_ECitadelMMPreference_Invalid]; - optional string hideout_search_key = 21; + message PrivateLobbySlot { + optional uint32 slot_id = 1; + optional uint32 player_account_id = 2; + } + + message ServerRegion { + optional uint32 region_id = 1; + } + + message PrivateLobbySettings { + optional uint32 min_roster_size = 1; + repeated .CSOCitadelParty.PrivateLobbySlot match_slots = 2; + optional bool randomize_lanes = 3; + optional uint32 server_region = 4; + optional bool is_publicly_visible = 6; + optional bool cheats_enabled = 7; + repeated .CSOCitadelParty.ServerRegion available_regions = 8; + optional bool duplicate_heroes_enabled = 9; + } + + message Member { + optional uint32 account_id = 1; + optional string persona_name = 2; + optional uint32 rights_flags = 3; + optional bool is_ready = 4; + optional .CSOCitadelParty.EPlayerType player_type = 5 [default = k_ePlayerType_Player]; + optional uint32 compatibility_version = 6; + optional .EGCPlatform platform = 7 [default = k_eGCPlatform_None]; + optional uint32 team = 8; + optional .CMsgHeroSelectionMatchInfo hero_roster = 9; + optional uint64 permissions = 10; + optional uint64 new_player_progress = 11; + repeated uint32 owned_heroes = 12 [packed = true]; + optional uint32 low_priority_games_remaining = 13; + } + + message LeftMember { + optional uint32 account_id = 1; + optional uint32 rights_flags = 2; + optional .CSOCitadelParty.EPlayerType player_type = 3 [default = k_ePlayerType_Player]; + } + + message Invite { + optional uint32 account_id = 1; + optional string persona_name = 2; + optional uint32 invited_by = 3; + } + + enum EMemberRights { + k_eMemberRights_Admin = 1; + k_eMemberRights_Creator = 2; + } + + enum EPlayerType { + k_ePlayerType_Player = 0; + k_ePlayerType_Spectator = 1; + } + + enum EChatMode { + k_eNone = 0; + k_ePartyChat = 1; + k_eTeamChat = 2; + } + + optional uint64 party_id = 1; + repeated .CSOCitadelParty.Member members = 2; + repeated .CSOCitadelParty.Invite invites = 3; + optional string dev_server_command = 4; + repeated .CSOCitadelParty.LeftMember left_members = 5; + optional uint64 join_code = 6; + optional .ECitadelBotDifficulty bot_difficulty = 7 [default = k_ECitadelBotDifficulty_None]; + optional .ECitadelMatchMode match_mode = 9 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 10 [default = k_ECitadelGameMode_Invalid]; + optional uint32 match_making_start_time = 11; + optional string server_search_key = 12; + optional bool is_high_skill_range_party = 13; + optional .CSOCitadelParty.EChatMode chat_mode = 14 [default = k_eNone]; + optional .ECitadelRegionMode region_mode = 15 [default = k_ECitadelRegionMode_ROW]; + optional bool is_private_lobby = 16; + optional .CSOCitadelParty.PrivateLobbySettings private_lobby_settings = 17; + optional bool desires_laning_together = 18; + optional .ECitadelMMPreference mm_preference = 19 [default = k_ECitadelMMPreference_Invalid]; + optional string hideout_search_key = 21; } message CMsgMatchPlayerPathsData { - message Path { - optional uint32 player_slot = 1; - optional float x_min = 2; - optional float y_min = 3; - optional float x_max = 4; - optional float y_max = 5; - repeated uint32 x_pos = 6 [packed = true]; - repeated uint32 y_pos = 7 [packed = true]; - repeated uint32 health = 9 [packed = true]; - repeated .CMsgMatchPlayerPathsData.ECombatType combat_type = 10 [packed = true]; - repeated .CMsgMatchPlayerPathsData.EMoveType move_type = 11 [packed = true]; - } - - enum ECombatType { - k_eCombatType_Out = 0; - k_eCombatType_Player = 1; - k_eCombatType_EnemyNPC = 2; - k_eCombatType_Neutral = 3; - } - - enum EMoveType { - k_eMoveType_Normal = 0; - k_eMoveType_Ability = 1; - k_eMoveType_AbilityDebuff = 2; - k_eMoveType_GroundDash = 3; - k_eMoveType_Slide = 4; - k_eMoveType_RopeClimbing = 5; - k_eMoveType_Ziplining = 6; - k_eMoveType_InAir = 7; - k_eMoveType_AirDash = 8; - } - - optional uint32 version = 1; - optional float interval_s = 2; - optional uint32 x_resolution = 3; - optional uint32 y_resolution = 4; - repeated .CMsgMatchPlayerPathsData.Path paths = 5; + message Path { + optional uint32 player_slot = 1; + optional float x_min = 2; + optional float y_min = 3; + optional float x_max = 4; + optional float y_max = 5; + repeated uint32 x_pos = 6 [packed = true]; + repeated uint32 y_pos = 7 [packed = true]; + repeated uint32 health = 9 [packed = true]; + repeated .CMsgMatchPlayerPathsData.ECombatType combat_type = 10 [packed = true]; + repeated .CMsgMatchPlayerPathsData.EMoveType move_type = 11 [packed = true]; + } + + enum ECombatType { + k_eCombatType_Out = 0; + k_eCombatType_Player = 1; + k_eCombatType_EnemyNPC = 2; + k_eCombatType_Neutral = 3; + } + + enum EMoveType { + k_eMoveType_Normal = 0; + k_eMoveType_Ability = 1; + k_eMoveType_AbilityDebuff = 2; + k_eMoveType_GroundDash = 3; + k_eMoveType_Slide = 4; + k_eMoveType_RopeClimbing = 5; + k_eMoveType_Ziplining = 6; + k_eMoveType_InAir = 7; + k_eMoveType_AirDash = 8; + } + + optional uint32 version = 1; + optional float interval_s = 2; + optional uint32 x_resolution = 3; + optional uint32 y_resolution = 4; + repeated .CMsgMatchPlayerPathsData.Path paths = 5; } message CMsgMatchPlayerDamageMatrix { - message DamageToPlayer { - optional uint32 target_player_slot = 1; - repeated uint32 damage = 2 [packed = true]; - } - - message DamageSource { - repeated .CMsgMatchPlayerDamageMatrix.DamageToPlayer damage_to_players = 2; - optional uint32 source_details_index = 4; - } - - message DamageDealer { - optional uint32 dealer_player_slot = 1; - repeated .CMsgMatchPlayerDamageMatrix.DamageSource damage_sources = 2; - } - - message SourceDetails { - repeated .CMsgMatchPlayerDamageMatrix.EStatType stat_type = 1 [packed = true]; - repeated string source_name = 2; - } - - enum EStatType { - k_eType_Damage = 0; - k_eType_Healing = 1; - k_eType_HealPrevented = 2; - k_eType_Mitigated = 3; - k_eType_LethalDamage = 4; - k_eType_Regen = 5; - } - - repeated .CMsgMatchPlayerDamageMatrix.DamageDealer damage_dealers = 1; - repeated uint32 sample_time_s = 2 [packed = true]; - optional .CMsgMatchPlayerDamageMatrix.SourceDetails source_details = 3; + message DamageToPlayer { + optional uint32 target_player_slot = 1; + repeated uint32 damage = 2 [packed = true]; + } + + message DamageSource { + repeated .CMsgMatchPlayerDamageMatrix.DamageToPlayer damage_to_players = 2; + optional uint32 source_details_index = 4; + } + + message DamageDealer { + optional uint32 dealer_player_slot = 1; + repeated .CMsgMatchPlayerDamageMatrix.DamageSource damage_sources = 2; + } + + message SourceDetails { + repeated .CMsgMatchPlayerDamageMatrix.EStatType stat_type = 1 [packed = true]; + repeated string source_name = 2; + } + + enum EStatType { + k_eType_Damage = 0; + k_eType_Healing = 1; + k_eType_HealPrevented = 2; + k_eType_Mitigated = 3; + k_eType_LethalDamage = 4; + k_eType_Regen = 5; + } + + repeated .CMsgMatchPlayerDamageMatrix.DamageDealer damage_dealers = 1; + repeated uint32 sample_time_s = 2 [packed = true]; + optional .CMsgMatchPlayerDamageMatrix.SourceDetails source_details = 3; } message CMsgMatchMetaDataContents { - message Position { - optional float x = 1; - optional float y = 2; - optional float z = 3; - } - - message Deaths { - optional uint32 game_time_s = 1; - optional float time_to_kill_s = 2; - optional uint32 killer_player_slot = 9; - optional .CMsgMatchMetaDataContents.Position death_pos = 10; - optional .CMsgMatchMetaDataContents.Position killer_pos = 11; - optional uint32 death_duration_s = 12; - } - - message Items { - optional uint32 game_time_s = 1; - optional uint32 item_id = 2; - optional uint32 upgrade_id = 3; - optional uint32 sold_time_s = 4; - optional uint32 flags = 5; - optional uint32 imbued_ability_id = 6; - } - - message Ping { - optional uint32 ping_type = 1; - optional uint32 ping_data = 2; - optional uint32 game_time_s = 3; - } - - message GoldSource { - optional .CMsgMatchMetaDataContents.EGoldSource source = 1 [default = k_ePlayers]; - optional uint32 kills = 2; - optional uint32 damage = 3; - optional uint32 gold = 4; - optional uint32 gold_orbs = 5; - } - - message CustomUserStatInfo { - optional string name = 1; - optional uint32 id = 2; - } - - message CustomUserStat { - optional uint32 value = 2; - optional uint32 id = 3; - } - - message PlayerStats { - optional uint32 time_stamp_s = 1; - optional uint32 net_worth = 2; - optional uint32 gold_player = 3; - optional uint32 gold_player_orbs = 4; - optional uint32 gold_lane_creep_orbs = 5; - optional uint32 gold_neutral_creep_orbs = 6; - optional uint32 gold_boss = 7; - optional uint32 gold_boss_orb = 8; - optional uint32 gold_treasure = 9; - optional uint32 gold_denied = 10; - optional uint32 gold_death_loss = 11; - optional uint32 gold_lane_creep = 12; - optional uint32 gold_neutral_creep = 13; - optional uint32 kills = 14; - optional uint32 deaths = 15; - optional uint32 assists = 16; - optional uint32 creep_kills = 17; - optional uint32 neutral_kills = 18; - optional uint32 possible_creeps = 19; - optional uint32 creep_damage = 20; - optional uint32 player_damage = 21; - optional uint32 neutral_damage = 22; - optional uint32 boss_damage = 23; - optional uint32 denies = 24; - optional uint32 player_healing = 25; - optional uint32 ability_points = 26; - optional uint32 self_healing = 27; - optional uint32 player_damage_taken = 28; - optional uint32 max_health = 29; - optional uint32 weapon_power = 30; - optional uint32 tech_power = 31; - optional uint32 shots_hit = 32; - optional uint32 shots_missed = 33; - optional uint32 damage_absorbed = 34; - optional uint32 absorption_provided = 35; - optional uint32 hero_bullets_hit = 36; - optional uint32 hero_bullets_hit_crit = 37; - optional uint32 heal_prevented = 38; - optional uint32 heal_lost = 39; - repeated .CMsgMatchMetaDataContents.GoldSource gold_sources = 40; - repeated .CMsgMatchMetaDataContents.CustomUserStat custom_user_stats = 41; - optional uint32 damage_mitigated = 42; - optional uint32 level = 43; - optional uint32 player_barriering = 44; - optional uint32 teammate_healing = 45; - optional uint32 teammate_barriering = 46; - optional uint32 self_damage = 47; - } - - message AbilityStat { - optional uint32 ability_id = 1; - optional uint32 ability_value = 2; - } - - message BookReward { - optional uint32 book_id = 1; - optional uint32 xp_amount = 2; - optional uint32 starting_xp = 3; - } - - message Players { - optional uint32 account_id = 1; - optional uint32 player_slot = 2; - repeated .CMsgMatchMetaDataContents.Deaths death_details = 3; - repeated .CMsgMatchMetaDataContents.Items items = 4; - repeated .CMsgMatchMetaDataContents.PlayerStats stats = 5; - optional .ECitadelLobbyTeam team = 6 [default = k_ECitadelLobbyTeam_Team0]; - optional uint32 kills = 8; - optional uint32 deaths = 9; - optional uint32 assists = 10; - optional uint32 net_worth = 11; - optional uint32 hero_id = 12; - optional uint32 last_hits = 13; - optional uint32 denies = 14; - optional uint32 ability_points = 15; - optional uint32 party = 16; - optional uint32 assigned_lane = 17; - optional uint32 level = 18; - repeated .CMsgMatchMetaDataContents.Ping pings = 19; - repeated .CMsgMatchMetaDataContents.AbilityStat ability_stats = 20; - repeated float stats_type_stat = 21 [packed = true]; - repeated .CMsgMatchMetaDataContents.BookReward book_rewards = 22; - optional uint32 abandon_match_time_s = 23; - optional .CMsgPlayerHeroData hero_data = 25; - optional bool rewards_eligible = 26; - } - - message Objective { - optional .ECitadelObjective legacy_objective_id = 1 [default = k_eCitadelObjective_Team0_Core]; - optional uint32 destroyed_time_s = 2; - optional uint32 creep_damage = 4; - optional uint32 creep_damage_mitigated = 5; - optional uint32 player_damage = 6; - optional uint32 player_damage_mitigated = 7; - optional uint32 first_damage_time_s = 8; - optional .ECitadelTeamObjective team_objective_id = 9 [default = k_eCitadelTeamObjective_Core]; - optional .ECitadelLobbyTeam team = 10 [default = k_ECitadelLobbyTeam_Team0]; - } - - message MidBoss { - optional .ECitadelLobbyTeam team_killed = 1 [default = k_ECitadelLobbyTeam_Team0]; - optional .ECitadelLobbyTeam team_claimed = 2 [default = k_ECitadelLobbyTeam_Team0]; - optional uint32 destroyed_time_s = 3; - } - - message Pause { - optional uint32 game_time_s = 1; - optional uint32 pause_duration_s = 2; - optional uint32 player_slot = 3; - } - - message WatchedDeathReplay { - optional uint32 game_time_s = 1; - optional uint32 player_slot = 2; - } - - message MatchInfo { - optional uint32 duration_s = 1; - optional .CMsgMatchMetaDataContents.EMatchOutcome match_outcome = 2 [default = k_eOutcome_TeamWin]; - optional .ECitadelLobbyTeam winning_team = 3 [default = k_ECitadelLobbyTeam_Team0]; - repeated .CMsgMatchMetaDataContents.Players players = 4; - optional uint32 start_time = 5; - optional uint64 match_id = 6; - optional uint32 legacy_objectives_mask = 8; - optional .ECitadelGameMode game_mode = 9 [default = k_ECitadelGameMode_Invalid]; - optional .ECitadelMatchMode match_mode = 10 [default = k_ECitadelMatchMode_Invalid]; - repeated .CMsgMatchMetaDataContents.Objective objectives = 11; - optional .CMsgMatchPlayerPathsData match_paths = 12; - optional .CMsgMatchPlayerDamageMatrix damage_matrix = 13; - repeated .CMsgMatchMetaDataContents.Pause match_pauses = 14; - repeated .CMsgMatchMetaDataContents.CustomUserStatInfo custom_user_stats = 15; - repeated .CMsgMatchMetaDataContents.WatchedDeathReplay watched_death_replays = 16; - optional uint64 objectives_mask_team0 = 17; - optional uint64 objectives_mask_team1 = 18; - repeated .CMsgMatchMetaDataContents.MidBoss mid_boss = 19; - optional bool is_high_skill_range_parties = 20; - optional bool low_pri_pool = 21; - optional bool new_player_pool = 22; - optional uint32 average_badge_team0 = 23; - optional uint32 average_badge_team1 = 24; - optional uint32 game_mode_version = 25; - optional bool rewards_eligible = 26; - } - - enum EMatchOutcome { - k_eOutcome_TeamWin = 0; - k_eOutcome_Error = 1; - } - - enum EGoldSource { - k_ePlayers = 1; - k_eLaneCreeps = 2; - k_eNeutrals = 3; - k_eBosses = 4; - k_eTreasure = 5; - k_eAssists = 6; - k_eDenies = 7; - k_eTeamBonus = 8; - k_eAbilityAssassinate = 9; - k_eItemTrophyCollector = 10; - k_eItemCultistSacrifice = 11; - k_eBreakable = 12; - } - - optional .CMsgMatchMetaDataContents.MatchInfo match_info = 2; + message Position { + optional float x = 1; + optional float y = 2; + optional float z = 3; + } + + message Deaths { + optional uint32 game_time_s = 1; + optional float time_to_kill_s = 2; + optional uint32 killer_player_slot = 9; + optional .CMsgMatchMetaDataContents.Position death_pos = 10; + optional .CMsgMatchMetaDataContents.Position killer_pos = 11; + optional uint32 death_duration_s = 12; + } + + message Items { + optional uint32 game_time_s = 1; + optional uint32 item_id = 2; + optional uint32 upgrade_id = 3; + optional uint32 sold_time_s = 4; + optional uint32 flags = 5; + optional uint32 imbued_ability_id = 6; + } + + message Ping { + optional uint32 ping_type = 1; + optional uint32 ping_data = 2; + optional uint32 game_time_s = 3; + } + + message GoldSource { + optional .CMsgMatchMetaDataContents.EGoldSource source = 1 [default = k_ePlayers]; + optional uint32 kills = 2; + optional uint32 damage = 3; + optional uint32 gold = 4; + optional uint32 gold_orbs = 5; + } + + message CustomUserStatInfo { + optional string name = 1; + optional uint32 id = 2; + } + + message CustomUserStat { + optional uint32 value = 2; + optional uint32 id = 3; + } + + message PowerUpBuff { + optional string type = 1; + optional uint32 value = 2; + optional bool is_permanent = 3; + } + + message PlayerStats { + optional uint32 time_stamp_s = 1; + optional uint32 net_worth = 2; + optional uint32 gold_player = 3; + optional uint32 gold_player_orbs = 4; + optional uint32 gold_lane_creep_orbs = 5; + optional uint32 gold_neutral_creep_orbs = 6; + optional uint32 gold_boss = 7; + optional uint32 gold_boss_orb = 8; + optional uint32 gold_treasure = 9; + optional uint32 gold_denied = 10; + optional uint32 gold_death_loss = 11; + optional uint32 gold_lane_creep = 12; + optional uint32 gold_neutral_creep = 13; + optional uint32 kills = 14; + optional uint32 deaths = 15; + optional uint32 assists = 16; + optional uint32 creep_kills = 17; + optional uint32 neutral_kills = 18; + optional uint32 possible_creeps = 19; + optional uint32 creep_damage = 20; + optional uint32 player_damage = 21; + optional uint32 neutral_damage = 22; + optional uint32 boss_damage = 23; + optional uint32 denies = 24; + optional uint32 player_healing = 25; + optional uint32 ability_points = 26; + optional uint32 self_healing = 27; + optional uint32 player_damage_taken = 28; + optional uint32 max_health = 29; + optional uint32 weapon_power = 30; + optional uint32 tech_power = 31; + optional uint32 shots_hit = 32; + optional uint32 shots_missed = 33; + optional uint32 damage_absorbed = 34; + optional uint32 absorption_provided = 35; + optional uint32 hero_bullets_hit = 36; + optional uint32 hero_bullets_hit_crit = 37; + optional uint32 heal_prevented = 38; + optional uint32 heal_lost = 39; + repeated .CMsgMatchMetaDataContents.GoldSource gold_sources = 40; + repeated .CMsgMatchMetaDataContents.CustomUserStat custom_user_stats = 41; + optional uint32 damage_mitigated = 42; + optional uint32 level = 43; + optional uint32 player_barriering = 44; + optional uint32 teammate_healing = 45; + optional uint32 teammate_barriering = 46; + optional uint32 self_damage = 47; + optional uint32 bullet_kills = 48; + optional uint32 melee_kills = 49; + optional uint32 ability_kills = 50; + optional uint32 headshot_kills = 51; + } + + message AbilityStat { + optional uint32 ability_id = 1; + optional uint32 ability_value = 2; + } + + message BookReward { + optional uint32 book_id = 1; + optional uint32 xp_amount = 2; + optional uint32 starting_xp = 3; + } + + message PlayerAccolade { + optional uint32 accolade_id = 1; + optional int32 accolade_stat_value = 2; + optional int32 accolade_threshold_achieved = 3; + } + + message Players { + optional uint32 account_id = 1; + optional uint32 player_slot = 2; + repeated .CMsgMatchMetaDataContents.Deaths death_details = 3; + repeated .CMsgMatchMetaDataContents.Items items = 4; + repeated .CMsgMatchMetaDataContents.PlayerStats stats = 5; + optional .ECitadelLobbyTeam team = 6 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 kills = 8; + optional uint32 deaths = 9; + optional uint32 assists = 10; + optional uint32 net_worth = 11; + optional uint32 hero_id = 12; + optional uint32 last_hits = 13; + optional uint32 denies = 14; + optional uint32 ability_points = 15; + optional uint32 party = 16; + optional uint32 assigned_lane = 17; + optional uint32 level = 18; + repeated .CMsgMatchMetaDataContents.Ping pings = 19; + repeated .CMsgMatchMetaDataContents.AbilityStat ability_stats = 20; + repeated float stats_type_stat = 21 [packed = true]; + repeated .CMsgMatchMetaDataContents.BookReward book_rewards = 22; + optional uint32 abandon_match_time_s = 23; + optional .CMsgPlayerHeroData hero_data = 25; + optional bool rewards_eligible = 26; + repeated .CMsgTrackedStat player_tracked_stats = 48; + repeated .CMsgMatchMetaDataContents.PlayerAccolade accolades = 27; + optional uint32 mvp_rank = 28; + optional bool earned_holiday_award_2025 = 29; + repeated .CMsgMatchMetaDataContents.PowerUpBuff power_up_buffs = 30; + } + + message Teams { + optional .ECitadelLobbyTeam team = 1 [default = k_ECitadelLobbyTeam_Team0]; + repeated .CMsgTrackedStat team_tracked_stats = 2; + } + + message Objective { + optional .ECitadelObjective legacy_objective_id = 1 [default = k_eCitadelObjective_Team0_Core]; + optional uint32 destroyed_time_s = 2; + optional uint32 creep_damage = 4; + optional uint32 creep_damage_mitigated = 5; + optional uint32 player_damage = 6; + optional uint32 player_damage_mitigated = 7; + optional uint32 first_damage_time_s = 8; + optional .ECitadelTeamObjective team_objective_id = 9 [default = k_eCitadelTeamObjective_Core]; + optional .ECitadelLobbyTeam team = 10 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 player_spirit_damage = 11; + } + + message MidBoss { + optional .ECitadelLobbyTeam team_killed = 1 [default = k_ECitadelLobbyTeam_Team0]; + optional .ECitadelLobbyTeam team_claimed = 2 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 destroyed_time_s = 3; + } + + message Pause { + optional uint32 game_time_s = 1; + optional uint32 pause_duration_s = 2; + optional uint32 player_slot = 3; + } + + message WatchedDeathReplay { + optional uint32 game_time_s = 1; + optional uint32 player_slot = 2; + } + + message StreetBrawlRound { + optional uint32 round_duration_s = 1; + optional .ECitadelLobbyTeam winning_team = 2 [default = k_ECitadelLobbyTeam_Team0]; + } + + message MatchInfo { + optional uint32 duration_s = 1; + optional .CMsgMatchMetaDataContents.EMatchOutcome match_outcome = 2 [default = k_eOutcome_TeamWin]; + optional .ECitadelLobbyTeam winning_team = 3 [default = k_ECitadelLobbyTeam_Team0]; + repeated .CMsgMatchMetaDataContents.Players players = 4; + optional uint32 start_time = 5; + optional uint64 match_id = 6; + optional uint32 legacy_objectives_mask = 8; + optional .ECitadelGameMode game_mode = 9 [default = k_ECitadelGameMode_Invalid]; + optional .ECitadelMatchMode match_mode = 10 [default = k_ECitadelMatchMode_Invalid]; + repeated .CMsgMatchMetaDataContents.Objective objectives = 11; + optional .CMsgMatchPlayerPathsData match_paths = 12; + optional .CMsgMatchPlayerDamageMatrix damage_matrix = 13; + repeated .CMsgMatchMetaDataContents.Pause match_pauses = 14; + repeated .CMsgMatchMetaDataContents.CustomUserStatInfo custom_user_stats = 15; + repeated .CMsgMatchMetaDataContents.WatchedDeathReplay watched_death_replays = 16; + optional uint64 objectives_mask_team0 = 17; + optional uint64 objectives_mask_team1 = 18; + repeated .CMsgMatchMetaDataContents.MidBoss mid_boss = 19; + optional bool is_high_skill_range_parties = 20; + optional bool low_pri_pool = 21; + optional bool new_player_pool = 22; + optional uint32 average_badge_team0 = 23; + optional uint32 average_badge_team1 = 24; + optional uint32 game_mode_version = 25; + optional bool rewards_eligible = 26; + optional bool not_scored = 27; + repeated uint32 team_score = 28; + repeated .CMsgTrackedStat match_tracked_stats = 29; + repeated .CMsgMatchMetaDataContents.Teams teams = 30; + optional .ECitadelBotDifficulty bot_difficulty = 32 [default = k_ECitadelBotDifficulty_None]; + repeated .CMsgMatchMetaDataContents.StreetBrawlRound street_brawl_rounds = 33; + } + + enum EMatchOutcome { + k_eOutcome_TeamWin = 0; + k_eOutcome_Error = 1; + k_eOutcome_MatchDraw = 2; + } + + enum EGoldSource { + k_ePlayers = 1; + k_eLaneCreeps = 2; + k_eNeutrals = 3; + k_eBosses = 4; + k_eTreasure = 5; + k_eAssists = 6; + k_eDenies = 7; + k_eTeamBonus = 8; + k_eAbilityAssassinate = 9; + k_eItemTrophyCollector = 10; + k_eItemCultistSacrifice = 11; + k_eBreakable = 12; + } + + optional .CMsgMatchMetaDataContents.MatchInfo match_info = 2; } message CMsgMatchMetaData { - optional uint32 version = 1; - optional bytes match_details = 2; - optional uint64 match_id = 3; + optional uint32 version = 1; + optional bytes match_details = 2; + optional uint64 match_id = 3; } message CMsgMapLine { - optional int32 x = 1; - optional int32 y = 2; - optional bool initial = 3; + optional int32 x = 1; + optional int32 y = 2; + optional bool initial = 3; } message CMsgAccountHeroStats { - optional uint32 hero_id = 1; - repeated uint32 stat_id = 2; - repeated uint64 total_value = 3; - repeated uint32 medals_bronze = 4; - repeated uint32 medals_silver = 5; - repeated uint32 medals_gold = 6; + optional uint32 hero_id = 1; + repeated uint32 stat_id = 2; + repeated uint64 total_value = 3; + repeated uint32 medals_bronze = 4; + repeated uint32 medals_silver = 5; + repeated uint32 medals_gold = 6; } message CMsgAccountBookStats { - optional uint32 book_id = 1; - optional uint32 book_xp = 2; - optional uint32 book_max_xp = 3; + optional uint32 book_id = 1; + optional uint32 book_xp = 2; + optional uint32 book_max_xp = 3; } message CMsgAccountStats { - optional uint32 account_id = 1; - repeated .CMsgAccountHeroStats stats = 2; + optional uint32 account_id = 1; + repeated .CMsgAccountHeroStats stats = 2; +} + +message CMsgTrackedStat { + optional uint32 tracked_stat_id = 1; + optional int32 tracked_stat_value = 2; } message CMsgGCAccountData { - optional uint32 account_id = 1; - optional float cheater_report_score = 2; + optional uint32 account_id = 1; + optional float cheater_report_score = 2; } message CMsgHeroBuild { - message BuildModEntry { - optional uint32 ability_id = 1; - optional string annotation = 2; - optional uint32 required_flex_slots = 3; - optional uint32 sell_priority = 4; - optional uint32 imbue_target_ability_id = 5; - } - - message BuildModCategory { - repeated .CMsgHeroBuild.BuildModEntry mods = 1; - optional string name = 2; - optional string description = 3; - optional float width = 4; - optional float height = 5; - optional bool optional = 6; - } - - message CurrencyChange { - optional uint32 ability_id = 1; - optional int32 currency_type = 2; - optional int32 delta = 3; - optional string annotation = 4; - } - - message AbilityOrder { - repeated .CMsgHeroBuild.CurrencyChange currency_changes = 1; - } - - message Details_V0 { - repeated .CMsgHeroBuild.BuildModCategory mod_categories = 1; - optional .CMsgHeroBuild.AbilityOrder ability_order = 2; - } - - optional uint32 hero_build_id = 1; - optional uint32 hero_id = 2; - optional uint32 author_account_id = 3; - optional uint32 last_updated_timestamp = 4; - optional string name = 5; - optional string description = 6; - optional uint32 language = 7; - optional uint32 version = 8; - optional uint32 origin_build_id = 9; - optional .CMsgHeroBuild.Details_V0 details = 10; - repeated uint32 tags = 11; - optional bool development_build = 12; - optional uint32 publish_timestamp = 13; + message BuildModEntry { + optional uint32 ability_id = 1; + optional string annotation = 2; + optional uint32 required_flex_slots = 3; + optional uint32 sell_priority = 4; + optional uint32 imbue_target_ability_id = 5; + } + + message BuildModCategory { + repeated .CMsgHeroBuild.BuildModEntry mods = 1; + optional string name = 2; + optional string description = 3; + optional float width = 4; + optional float height = 5; + optional bool optional = 6; + } + + message CurrencyChange { + optional uint32 ability_id = 1; + optional int32 currency_type = 2; + optional int32 delta = 3; + optional string annotation = 4; + } + + message AbilityOrder { + repeated .CMsgHeroBuild.CurrencyChange currency_changes = 1; + } + + message Details_V0 { + repeated .CMsgHeroBuild.BuildModCategory mod_categories = 1; + optional .CMsgHeroBuild.AbilityOrder ability_order = 2; + } + + optional uint32 hero_build_id = 1; + optional uint32 hero_id = 2; + optional uint32 author_account_id = 3; + optional uint32 last_updated_timestamp = 4; + optional string name = 5; + optional string description = 6; + optional uint32 language = 7; + optional uint32 version = 8; + optional uint32 origin_build_id = 9; + optional .CMsgHeroBuild.Details_V0 details = 10; + repeated uint32 tags = 11; + optional bool development_build = 12; + optional uint32 publish_timestamp = 13; } message CMsgHeroBuildPreference { - optional bool favorited = 1; - optional bool ignored = 2; - optional bool reported = 3; + optional bool favorited = 1; + optional bool ignored = 2; + optional bool reported = 3; +} + +message CMsgHeroReleaseVoteTally { + optional uint32 remaining_votes = 1; + repeated uint32 votes_cast = 2 [packed = true]; + optional uint32 daily_reward_time_stamp = 3; } diff --git a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_server.proto b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_server.proto index 98e57ba9..f55ebb13 100644 --- a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_server.proto +++ b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/citadel_gcmessages_server.proto @@ -9,692 +9,825 @@ option optimize_for = SPEED; option java_generic_services = false; enum EGCCitadelServerMessages { - k_EMsgServerToGCMatchSignoutPermission = 10012; - k_EMsgServerToGCMatchSignoutPermissionResponse = 10013; - k_EMsgServerToGCMatchSignout = 10014; - k_EMsgServerToGCMatchSignoutResponse = 10015; - k_EMsgGCToServerAddSpectator = 10016; - k_EMsgGCToServerAddSpectatorResponse = 10017; - k_EMsgServerToGCIdlePing = 10018; - k_EMsgGCToServerRequestPing = 10019; - k_EMsgGCToServerAllocateForMatch = 10021; - k_EMsgGCToServerAllocateForMatchResponse = 10022; - k_EMsgServerToGCEnterMatchmaking = 10023; - k_EMsgGCToServerCancelAllocateForMatch = 10024; - k_EMsgServerToGCUpdateLobbyServerState = 10025; - k_EMsgServerToGCAbandonMatch = 10026; - k_EMsgServerToGCAbandonMatchResponse = 10027; - k_EMsgServerToGCTestConnection = 10028; - k_EMsgServerToGCTestConnectionResponse = 10029; - k_EMsgGCToServerSetServerConVar = 10039; - k_EMsgGCToServerSetServerConVarResponse = 10040; - k_EMsgServerToGCUpdateMatchInfo = 10041; - k_EMsgServerToGCReportCheater = 10042; - k_EMsgServerToGCReportCheaterResponse = 10043; - k_EMsgServerToGCRequestPlayerHeroData = 10044; - k_EMsgServerToGCRequestPlayerHeroDataResponse = 10045; - k_EMsgGCToServerAllocateForHideout = 10046; - k_EMsgGCToServerAllocateForHideoutResponse = 10047; + k_EMsgServerToGCMatchSignoutPermission = 10012; + k_EMsgServerToGCMatchSignoutPermissionResponse = 10013; + k_EMsgServerToGCMatchSignout = 10014; + k_EMsgServerToGCMatchSignoutResponse = 10015; + k_EMsgGCToServerAddSpectator = 10016; + k_EMsgGCToServerAddSpectatorResponse = 10017; + k_EMsgServerToGCIdlePing = 10018; + k_EMsgGCToServerRequestPing = 10019; + k_EMsgGCToServerAllocateForMatch = 10021; + k_EMsgGCToServerAllocateForMatchResponse = 10022; + k_EMsgServerToGCEnterMatchmaking = 10023; + k_EMsgGCToServerCancelAllocateForMatch = 10024; + k_EMsgServerToGCUpdateLobbyServerState = 10025; + k_EMsgServerToGCAbandonMatch = 10026; + k_EMsgServerToGCAbandonMatchResponse = 10027; + k_EMsgServerToGCTestConnection = 10028; + k_EMsgServerToGCTestConnectionResponse = 10029; + k_EMsgGCToServerSetServerConVar = 10039; + k_EMsgGCToServerSetServerConVarResponse = 10040; + k_EMsgServerToGCUpdateMatchInfo = 10041; + k_EMsgServerToGCRequestPlayerHeroData = 10044; + k_EMsgServerToGCRequestPlayerHeroDataResponse = 10045; + k_EMsgGCToServerAllocateForHideout = 10046; + k_EMsgGCToServerAllocateForHideoutResponse = 10047; +} + +enum ECitadelMatchAuxStat { + k_eMatchAuxStat_Dummy = 1; } enum EGCServerLobbyData { - k_EServerLobbyData_PlayerMMR = 1; - k_EServerLobbyData_PlayerInfo = 2; - k_EServerLobbyData_PostMatchSurvey = 3; - k_EServerLobbyData_AutoTest = 4; + k_EServerLobbyData_PlayerMMR = 1; + k_EServerLobbyData_PlayerInfo = 2; + k_EServerLobbyData_PostMatchSurvey = 3; + k_EServerLobbyData_AutoTest = 4; + k_EServerLobbyData_PlayerStatValues = 5; } enum EGCServerSignoutData { - k_EServerSignoutData_Disconnections = 2; - k_EServerSignoutData_AccountStatChanges = 3; - k_EServerSignoutData_DetailedStats = 4; - k_EServerSignoutData_ServerPerfStats = 5; - k_EServerSignoutData_PerfData = 6; - k_EServerSignoutData_PlayerChat = 7; - k_EServerSignoutData_BookRewards = 8; - k_EServerSignoutData_PenalizedPlayers = 9; - k_EServerSignoutData_ReportCheaters = 10; - k_EServerSignoutData_MatchDevStats = 11; - k_EServerSignoutData_ChallengeProgress = 12; - k_EServerSignoutData_HeroXPGrant = 13; - k_EServerSignoutData_MatchKills = 14; + k_EServerSignoutData_Disconnections = 2; + k_EServerSignoutData_AccountStatChanges = 3; + k_EServerSignoutData_DetailedStats = 4; + k_EServerSignoutData_ServerPerfStats = 5; + k_EServerSignoutData_PerfData = 6; + k_EServerSignoutData_PlayerChat = 7; + k_EServerSignoutData_BookRewards = 8; + k_EServerSignoutData_PenalizedPlayers = 9; + k_EServerSignoutData_MatchDevStats = 11; + k_EServerSignoutData_ChallengeProgress = 12; + k_EServerSignoutData_HeroXPGrant = 13; + k_EServerSignoutData_MatchKills = 14; + k_EServerSignoutData_PlayerBehavior = 15; + k_EServerSignoutData_StreetBrawlData = 16; } message CMsgServerCrashSentinelFile { - message Player { - optional uint32 account_id = 1; - optional uint32 hero_id = 2; - } - - message GameInfo { - optional uint64 match_id = 1; - optional fixed64 lobby_id = 2; - optional uint32 server_state = 3; - repeated .CMsgServerCrashSentinelFile.Player players = 5; - optional .ECitadelMatchMode match_mode = 6 [default = k_ECitadelMatchMode_Invalid]; - optional .ECitadelGameMode game_mode = 7 [default = k_ECitadelGameMode_Invalid]; - optional bool was_server_shutdown = 8; - optional uint64 hideout_lobby_id = 9; - } - - optional uint32 version = 1; - optional fixed64 server_steam_id = 2; - optional fixed32 server_public_ip_addr = 3; - optional uint32 server_port = 4; - optional uint32 server_cluster_id = 5; - optional uint32 pid = 6; - optional uint32 saved_time = 7; - optional uint32 server_version = 8; - optional .CMsgServerCrashSentinelFile.GameInfo game_info = 9; - optional uint32 server_private_ip_addr = 10; - optional uint32 instance_id = 11; - optional uint32 server_region_id = 12; + message Player { + optional uint32 account_id = 1; + optional uint32 hero_id = 2; + } + + message GameInfo { + optional uint64 match_id = 1; + optional fixed64 lobby_id = 2; + optional uint32 server_state = 3; + repeated .CMsgServerCrashSentinelFile.Player players = 5; + optional .ECitadelMatchMode match_mode = 6 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 7 [default = k_ECitadelGameMode_Invalid]; + optional bool was_server_shutdown = 8; + optional uint64 hideout_lobby_id = 9; + optional bool allow_matches = 10; + optional bool allow_hideout = 11; + optional bool was_lost_lobby = 12; + } + + optional uint32 version = 1; + optional fixed64 server_steam_id = 2; + optional fixed32 server_public_ip_addr = 3; + optional uint32 server_port = 4; + optional uint32 server_cluster_id = 5; + optional uint32 pid = 6; + optional uint32 saved_time = 7; + optional uint32 server_version = 8; + optional .CMsgServerCrashSentinelFile.GameInfo game_info = 9; + optional uint32 server_private_ip_addr = 10; + optional uint32 instance_id = 11; + optional uint32 server_region_id = 12; } message CMsgAccountChallengesActive { - message Challenge { - optional uint64 challenge_id = 1; - optional uint32 progress = 2; - optional uint32 max_progress = 3; - } + message Challenge { + optional uint64 challenge_id = 1; + optional uint32 progress = 2; + optional uint32 max_progress = 3; + } - repeated .CMsgAccountChallengesActive.Challenge challenges = 1; + repeated .CMsgAccountChallengesActive.Challenge challenges = 1; } message CServerLobbyData_PlayerMMR { - message Player { - optional uint32 player_mmr = 2; - optional uint32 player_uncertainty = 3; - optional uint32 hero_mmr = 4; - optional uint32 hero_mmr_with_uncertainty = 5; - optional uint32 player_slot = 6; - } + message Player { + optional uint32 player_mmr = 2; + optional uint32 player_uncertainty = 3; + optional uint32 hero_mmr = 4; + optional uint32 hero_mmr_with_uncertainty = 5; + optional uint32 player_slot = 6; + } - repeated .CServerLobbyData_PlayerMMR.Player players = 1; + repeated .CServerLobbyData_PlayerMMR.Player players = 1; } message CServerLobbyData_PlayerInfo { - optional uint32 account_id = 1; - repeated .CMsgAccountBookStats book_info = 5; - optional .CMsgAccountChallengesActive challenges = 7; - optional .CMsgEquippedItemList global_equips = 8; + optional uint32 account_id = 1; + repeated .CMsgAccountHeroStats account_stats = 2; + repeated .CMsgAccountBookStats book_info = 5; + optional .CMsgAccountChallengesActive challenges = 7; + optional .CMsgEquippedItemList global_equips = 8; } message CServerLobbyData_PostMatchSurvey { - message PlayerSurvey { - optional uint32 account_id = 1; - optional uint32 question_id = 2; - } + message PlayerSurvey { + optional uint32 account_id = 1; + optional uint32 question_id = 2; + } - repeated .CServerLobbyData_PostMatchSurvey.PlayerSurvey surveys = 1; + repeated .CServerLobbyData_PostMatchSurvey.PlayerSurvey surveys = 1; } message CServerLobbyData_AutoTest { - optional uint32 max_duration_s = 2; + optional uint32 max_duration_s = 2; +} + +message CServerLobbyData_PlayerStatValues { + message AccoladeThresholds { + optional uint32 accolade_id = 1; + repeated uint32 thresholds = 2; + } + + message StatDistribution { + optional uint32 tracked_stat_id = 1; + optional float tracked_stat_mean = 2; + optional float tracked_stat_std_dev = 3; + } + + repeated .CServerLobbyData_PlayerStatValues.AccoladeThresholds accolades = 1; + repeated .CServerLobbyData_PlayerStatValues.StatDistribution stat_distributions = 2; } message CSOCitadelServerDynamicLobby { - optional uint64 lobby_id = 1; - repeated uint32 left_account_ids = 2 [packed = true]; - optional bool broadcast_active = 3; - optional uint32 spectator_count = 4; + optional uint64 lobby_id = 1; + repeated uint32 left_account_ids = 2 [packed = true]; + optional bool broadcast_active = 3; + optional uint32 spectator_count = 4; } message CSOCitadelServerStaticLobby { - message Member { - optional uint32 account_id = 1; - optional string persona_name = 2; - optional .ECitadelLobbyTeam team = 3 [default = k_ECitadelLobbyTeam_Team0]; - optional uint32 player_slot = 4; - optional uint32 hero_id = 5; - optional uint32 party_index = 6; - optional .EGCPlatform platform = 7 [default = k_eGCPlatform_None]; - repeated .CSOCitadelServerStaticLobby.EAwardIDs award_ids = 8; - optional bool is_comms_restricted = 9; - optional uint32 lane_id = 10; - optional .CMsgGCAccountData gc_account_data = 13; - optional bool party_desires_laning_together = 14; - optional .ECitadelBotDifficulty bot_difficulty = 16 [default = k_ECitadelBotDifficulty_None]; - optional bool requires_skill_calibration = 18; - optional .CMsgPlayerHeroData hero_data = 19; - optional uint32 match_number = 20; - } - - message DevSettings { - optional string console_string = 1; - } - - enum EAwardIDs { - k_eAward_KingPanda = 1; - } - - repeated .CExtraMsgBlock extra_messages = 1; - optional fixed64 server_steam_id = 2; - optional uint64 lobby_id = 3; - optional fixed32 replay_salt = 4; - optional string level_name = 5; - repeated .CSOCitadelServerStaticLobby.Member members = 6; - optional .CSOCitadelServerStaticLobby.DevSettings dev_settings = 7; - optional bool gc_provided_heroes = 8; - optional .ECitadelBotDifficulty bot_difficulty = 9 [default = k_ECitadelBotDifficulty_None]; - optional fixed32 metadata_salt = 10; - optional uint32 match_start_time = 11; - optional .ECitadelRegionMode region_mode = 16 [default = k_ECitadelRegionMode_ROW]; - optional string broadcast_url = 17; - optional bool new_player_pool = 18; - optional bool low_pri_pool = 19; - optional bool is_restricted_access = 20; - optional bool cheats_enabled = 21; - optional bool duplicate_heroes_enabled = 22; - optional bool is_high_skill_range_parties = 23; - optional bool experimental_heroes_enabled = 24; - optional uint32 average_badge_team_0 = 25; - optional uint32 average_badge_team_1 = 26; - optional string gameplay_experiment = 27; - optional bool rewards_eligible = 28; + message Member { + optional uint32 account_id = 1; + optional string persona_name = 2; + optional .ECitadelLobbyTeam team = 3 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 player_slot = 4; + optional uint32 hero_id = 5; + optional uint32 party_index = 6; + optional .EGCPlatform platform = 7 [default = k_eGCPlatform_None]; + repeated .CSOCitadelServerStaticLobby.EAwardIDs award_ids = 8; + optional bool is_comms_restricted = 9; + optional uint32 lane_id = 10; + optional .CMsgGCAccountData gc_account_data = 13; + optional bool party_desires_laning_together = 14; + optional .ECitadelBotDifficulty bot_difficulty = 16 [default = k_ECitadelBotDifficulty_None]; + optional bool requires_skill_calibration = 18; + optional .CMsgPlayerHeroData hero_data = 19; + optional uint32 match_number = 20; + optional bool randomed_hero = 21; + } + + message DevSettings { + optional string console_string = 1; + } + + enum EAwardIDs { + k_eAward_KingPanda_DEPRECATED = 1; + } + + repeated .CExtraMsgBlock extra_messages = 1; + optional fixed64 server_steam_id = 2; + optional uint64 lobby_id = 3; + optional fixed32 replay_salt = 4; + optional string level_name = 5; + repeated .CSOCitadelServerStaticLobby.Member members = 6; + optional .CSOCitadelServerStaticLobby.DevSettings dev_settings = 7; + optional bool gc_provided_heroes = 8; + optional .ECitadelBotDifficulty bot_difficulty = 9 [default = k_ECitadelBotDifficulty_None]; + optional fixed32 metadata_salt = 10; + optional uint32 match_start_time = 11; + optional .ECitadelRegionMode region_mode = 16 [default = k_ECitadelRegionMode_ROW]; + optional string broadcast_url = 17; + optional bool new_player_pool = 18; + optional bool low_pri_pool = 19; + optional bool is_restricted_access = 20; + optional bool cheats_enabled = 21; + optional bool duplicate_heroes_enabled = 22; + optional bool is_high_skill_range_parties = 23; + optional uint32 average_badge_team_0 = 25; + optional uint32 average_badge_team_1 = 26; + optional string gameplay_experiment = 27; + optional bool rewards_eligible = 28; + repeated uint32 banned_heroes = 29; +} + +message CSOCitadelServerHideoutLobby { + optional uint64 hideout_lobby_id = 1; } message CMsgServerSignoutData_ServerPerfStats { - message FrameCounts { - optional uint32 num_frames = 1; - optional uint32 longest_run = 2; - optional uint32 num_runs = 3; - } - - message PerfSample { - optional uint32 game_time_s = 1; - optional float avg_frame = 2; - optional float avg_idle = 3; - optional uint32 total_frames = 4; - optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts performant_frames = 5; - optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts long_frames = 6; - optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts low_idle_frames = 7; - optional uint64 memory_bytes = 8; - optional uint64 peak_memory_bytes = 9; - } - - message MatchPerfSamples { - optional float long_frame_threshold = 1; - optional float low_idle_threshold = 2; - repeated .CMsgServerSignoutData_ServerPerfStats.PerfSample samples = 3; - } - - optional uint64 peak_memory_bytes = 1; - optional uint64 end_memory_bytes = 2; - optional uint32 frame_time_max_micro_s = 3; - optional uint32 frame_time_95_micro_s = 4; - optional uint32 frame_time_avg_micro_s = 5; - optional uint32 frame_idle_time_95_micro_s = 6; - optional uint32 frame_idle_time_avg_micro_s = 7; - optional uint32 frame_time_80_micro_s = 8; - optional uint32 frame_time_99_micro_s = 9; - optional .CMsgServerSignoutData_ServerPerfStats.MatchPerfSamples perf_samples = 10; + message FrameCounts { + optional uint32 num_frames = 1; + optional uint32 longest_run = 2; + optional uint32 num_runs = 3; + } + + message PerfSample { + optional uint32 game_time_s = 1; + optional float avg_frame = 2; + optional float avg_idle = 3; + optional uint32 total_frames = 4; + optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts performant_frames = 5; + optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts long_frames = 6; + optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts low_idle_frames = 7; + optional uint64 memory_bytes = 8; + optional uint64 peak_memory_bytes = 9; + } + + message MatchPerfSamples { + optional float long_frame_threshold = 1; + optional float low_idle_threshold = 2; + repeated .CMsgServerSignoutData_ServerPerfStats.PerfSample samples = 3; + } + + optional uint64 peak_memory_bytes = 1; + optional uint64 end_memory_bytes = 2; + optional uint32 frame_time_max_micro_s = 3; + optional uint32 frame_time_95_micro_s = 4; + optional uint32 frame_time_avg_micro_s = 5; + optional uint32 frame_idle_time_95_micro_s = 6; + optional uint32 frame_idle_time_avg_micro_s = 7; + optional uint32 frame_time_80_micro_s = 8; + optional uint32 frame_time_99_micro_s = 9; + optional .CMsgServerSignoutData_ServerPerfStats.MatchPerfSamples perf_samples = 10; } message CMsgServerToGCUpdateMatchInfo { - optional uint64 lobby_id = 1; - optional uint32 kills_team_0 = 3; - optional uint32 kills_team_1 = 4; - optional uint32 net_worth_team_0 = 5; - optional uint32 net_worth_team_1 = 6; - optional uint32 spectators = 7; - optional uint32 open_spectator_slots = 8; - optional uint64 objectives_mask_team0 = 9; - optional uint64 objectives_mask_team1 = 10; + optional uint64 lobby_id = 1; + optional uint32 kills_team_0 = 3; + optional uint32 kills_team_1 = 4; + optional uint32 net_worth_team_0 = 5; + optional uint32 net_worth_team_1 = 6; + optional uint32 spectators = 7; + optional uint32 open_spectator_slots = 8; + optional uint64 objectives_mask_team0 = 9; + optional uint64 objectives_mask_team1 = 10; + optional uint32 brawl_score_team0 = 11; + optional uint32 brawl_score_team1 = 12; } message CMsgServerToGCMatchSignoutPermission { - optional uint32 signout_start = 1; - optional uint32 permission_request = 2; - optional uint64 match_id = 3; - optional .ECitadelMatchMode match_mode = 4 [default = k_ECitadelMatchMode_Invalid]; + optional uint32 signout_start = 1; + optional uint32 permission_request = 2; + optional uint64 match_id = 3; + optional .ECitadelMatchMode match_mode = 4 [default = k_ECitadelMatchMode_Invalid]; } message CMsgServerToGCMatchSignoutPermissionResponse { - optional bool can_sign_out = 1; - optional uint32 retry_time_s = 2; - repeated .EGCServerSignoutData requested_data = 3; + optional bool can_sign_out = 1; + optional uint32 retry_time_s = 2; + repeated uint32 requested_data = 3; } message CMsgServerSignoutData_Disconnections { - message CMsgMatchDisconnection { - optional uint32 account_id = 1; - optional uint32 disconnect_time = 2; - optional uint32 connection_state = 3; - optional uint32 reason_code = 4; - optional uint32 reconnect_delay = 5; - optional uint32 match_disconnect_time = 6; - optional uint32 match_reconnect_delay = 7; - } + message CMsgMatchDisconnection { + optional uint32 account_id = 1; + optional uint32 disconnect_time = 2; + optional uint32 connection_state = 3; + optional uint32 reason_code = 4; + optional uint32 reconnect_delay = 5; + optional uint32 match_disconnect_time = 6; + optional uint32 match_reconnect_delay = 7; + } - repeated .CMsgServerSignoutData_Disconnections.CMsgMatchDisconnection disconnections = 1; + repeated .CMsgServerSignoutData_Disconnections.CMsgMatchDisconnection disconnections = 1; } message CMsgServerSignoutData_MatchDevStats { - message PlayerSlot { - optional uint32 player_slot = 1; - } + message PlayerSlot { + optional uint32 player_slot = 1; + } - repeated .CMsgServerSignoutData_MatchDevStats.PlayerSlot players = 1; + repeated .CMsgServerSignoutData_MatchDevStats.PlayerSlot players = 1; } message CMsgServerSignoutData_DetailedStats { - message Position { - optional float x = 1; - optional float y = 2; - optional float z = 3; - } - - message TimeSample { - message Stats { - optional uint32 net_worth = 1; - optional uint32 kills = 2; - optional uint32 deaths = 3; - optional uint32 assists = 4; - optional uint32 possible_creeps = 5; - optional uint32 creep_kills = 6; - optional uint32 neutral_kills = 7; - optional uint32 creep_damage = 8; - optional uint32 neutral_damage = 9; - optional uint32 boss_damage = 10; - optional uint32 player_damage = 11; - optional uint32 denies = 12; - optional uint32 player_healing = 13; - optional uint32 ability_points = 14; - optional uint32 self_healing = 15; - optional uint32 player_damage_taken = 16; - optional uint32 max_health = 17; - optional uint32 weapon_power = 18; - optional uint32 tech_power = 19; - optional uint32 shots_hit = 20; - optional uint32 shots_missed = 21; - optional uint32 damage_absorbed = 22; - optional uint32 absorption_provided = 23; - optional uint32 heal_prevented = 26; - optional uint32 heal_lost = 27; - optional uint32 player_barriering = 28; - optional uint32 teammate_healing = 45; - optional uint32 teammate_barriering = 46; - optional uint32 self_damage = 47; - } - - message GoldStats { - optional uint32 player = 1; - optional uint32 player_orb = 2; - optional uint32 lane_creep_orb = 3; - optional uint32 neutral_creep_orb = 4; - optional uint32 boss = 5; - optional uint32 boss_orb = 6; - optional uint32 treasure = 7; - optional uint32 denied = 8; - optional uint32 death_loss = 9; - optional uint32 lane_creep = 10; - optional uint32 neutral_creep = 11; - optional uint32 team_bonus = 12; - optional uint32 ability_assassinate = 13; - optional uint32 item_trophy_collector = 14; - optional uint32 item_cultist_sacrifice = 15; - } - - optional uint32 match_time_s = 1; - optional .CMsgServerSignoutData_DetailedStats.TimeSample.Stats stats = 2; - optional .CMsgServerSignoutData_DetailedStats.TimeSample.GoldStats gold_stats = 4; - } - - message Objective { - optional uint32 destroyed_time_s = 2; - optional uint32 creep_damage = 4; - optional uint32 creep_damage_mitigated = 5; - optional uint32 player_damage = 6; - optional uint32 player_damage_mitigated = 7; - optional uint32 first_damage_time_s = 8; - optional .ECitadelTeamObjective team_objective_id = 9 [default = k_eCitadelTeamObjective_Core]; - optional .ECitadelLobbyTeam team = 10 [default = k_ECitadelLobbyTeam_Team0]; - } - - message MidBoss { - optional .ECitadelLobbyTeam team_killed = 1 [default = k_ECitadelLobbyTeam_Team0]; - optional .ECitadelLobbyTeam team_claimed = 2 [default = k_ECitadelLobbyTeam_Team0]; - optional uint32 destroyed_time_s = 3; - } - - message Player { - optional uint32 player_slot = 1; - repeated .CMsgServerSignoutData_DetailedStats.TimeSample time_samples = 3; - } - - repeated .CMsgServerSignoutData_DetailedStats.Player player_stats = 1; - repeated .CMsgServerSignoutData_DetailedStats.Objective objectives = 2; - repeated .CMsgServerSignoutData_DetailedStats.MidBoss mid_boss = 3; + message Position { + optional float x = 1; + optional float y = 2; + optional float z = 3; + } + + message TimeSample { + message Stats { + optional uint32 net_worth = 1; + optional uint32 kills = 2; + optional uint32 deaths = 3; + optional uint32 assists = 4; + optional uint32 possible_creeps = 5; + optional uint32 creep_kills = 6; + optional uint32 neutral_kills = 7; + optional uint32 creep_damage = 8; + optional uint32 neutral_damage = 9; + optional uint32 boss_damage = 10; + optional uint32 player_damage = 11; + optional uint32 denies = 12; + optional uint32 player_healing = 13; + optional uint32 ability_points = 14; + optional uint32 self_healing = 15; + optional uint32 player_damage_taken = 16; + optional uint32 max_health = 17; + optional uint32 weapon_power = 18; + optional uint32 tech_power = 19; + optional uint32 shots_hit = 20; + optional uint32 shots_missed = 21; + optional uint32 damage_absorbed = 22; + optional uint32 absorption_provided = 23; + optional uint32 heal_prevented = 26; + optional uint32 heal_lost = 27; + optional uint32 player_barriering = 28; + optional uint32 teammate_healing = 45; + optional uint32 teammate_barriering = 46; + optional uint32 self_damage = 47; + repeated uint32 damage_per_hero_ability = 48; + optional uint32 player_bullet_damage = 49; + optional uint32 player_ability_damage = 50; + } + + message GoldStats { + optional uint32 player = 1; + optional uint32 player_orb = 2; + optional uint32 lane_creep_orb = 3; + optional uint32 neutral_creep_orb = 4; + optional uint32 boss = 5; + optional uint32 boss_orb = 6; + optional uint32 treasure = 7; + optional uint32 denied = 8; + optional uint32 death_loss = 9; + optional uint32 lane_creep = 10; + optional uint32 neutral_creep = 11; + optional uint32 team_bonus = 12; + optional uint32 ability_assassinate = 13; + optional uint32 item_trophy_collector = 14; + optional uint32 item_cultist_sacrifice = 15; + optional uint32 comeback_kills = 16; + optional uint32 comeback_treasure = 17; + optional uint32 comeback_misc = 18; + } + + optional uint32 match_time_s = 1; + optional .CMsgServerSignoutData_DetailedStats.TimeSample.Stats stats = 2; + optional .CMsgServerSignoutData_DetailedStats.TimeSample.GoldStats gold_stats = 4; + } + + message Objective { + optional uint32 destroyed_time_s = 2; + optional uint32 creep_damage = 4; + optional uint32 creep_damage_mitigated = 5; + optional uint32 player_damage = 6; + optional uint32 first_damage_time_s = 8; + optional .ECitadelTeamObjective team_objective_id = 9 [default = k_eCitadelTeamObjective_Core]; + optional .ECitadelLobbyTeam team = 10 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 players_damaged = 11; + optional uint32 players_destroyed = 12; + repeated uint32 enemy_count_dmg_mitigated = 13; + optional uint32 player_spirit_damage = 14; + } + + message MidBoss { + optional .ECitadelLobbyTeam team_killed = 1 [default = k_ECitadelLobbyTeam_Team0]; + optional .ECitadelLobbyTeam team_claimed = 2 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 destroyed_time_s = 3; + } + + message Player { + optional uint32 player_slot = 1; + repeated .CMsgServerSignoutData_DetailedStats.TimeSample time_samples = 3; + } + + repeated .CMsgServerSignoutData_DetailedStats.Player player_stats = 1; + repeated .CMsgServerSignoutData_DetailedStats.Objective objectives = 2; + repeated .CMsgServerSignoutData_DetailedStats.MidBoss mid_boss = 3; } message CMsgServerSignoutData_PerfData { - repeated float average_frame_time = 1; - repeated float max_frame_time = 2; - optional float server_average_frame_time = 3; - optional float server_max_frame_time = 4; - repeated float average_compute_time = 5; - repeated float max_compute_time = 6; - repeated float average_client_tick_time = 7; - repeated float max_client_tick_time = 8; - repeated float average_client_simulate_time = 9; - repeated float max_client_simulate_time = 10; - repeated float average_output_time = 11; - repeated float max_output_time = 12; - repeated float average_wait_for_rendering_to_complete_time = 13; - repeated float max_wait_for_rendering_to_complete_time = 14; - repeated float average_swap_time = 15; - repeated float max_swap_time = 16; - repeated float average_frame_update_time = 17; - repeated float max_frame_update_time = 18; - repeated float average_idle_time = 19; - repeated float max_idle_time = 20; - repeated float average_input_processing_time = 21; - repeated float max_input_processing_time = 22; + repeated float average_frame_time = 1; + repeated float max_frame_time = 2; + optional float server_average_frame_time = 3; + optional float server_max_frame_time = 4; + repeated float average_compute_time = 5; + repeated float max_compute_time = 6; + repeated float average_client_tick_time = 7; + repeated float max_client_tick_time = 8; + repeated float average_client_simulate_time = 9; + repeated float max_client_simulate_time = 10; + repeated float average_output_time = 11; + repeated float max_output_time = 12; + repeated float average_wait_for_rendering_to_complete_time = 13; + repeated float max_wait_for_rendering_to_complete_time = 14; + repeated float average_swap_time = 15; + repeated float max_swap_time = 16; + repeated float average_frame_update_time = 17; + repeated float max_frame_update_time = 18; + repeated float average_idle_time = 19; + repeated float max_idle_time = 20; + repeated float average_input_processing_time = 21; + repeated float max_input_processing_time = 22; } message CMsgServerSignoutData_BookRewards { - message BookReward { - optional uint32 book_id = 1; - optional uint32 xp_reward = 2; - } + message BookReward { + optional uint32 book_id = 1; + optional uint32 xp_reward = 2; + } - message AccountRewards { - optional uint32 account_id = 1; - optional .CMsgServerSignoutData_BookRewards.BookReward book_reward = 2; - } + message AccountRewards { + optional uint32 account_id = 1; + optional .CMsgServerSignoutData_BookRewards.BookReward book_reward = 2; + } - repeated .CMsgServerSignoutData_BookRewards.AccountRewards account_rewards = 1; + repeated .CMsgServerSignoutData_BookRewards.AccountRewards account_rewards = 1; } message CMsgServerSignoutData_ChallengeProgress { - message ChallengeProgress { - optional uint64 challenge_id = 1; - optional uint32 progress = 2; - } + message ChallengeProgress { + optional uint64 challenge_id = 1; + optional uint32 progress = 2; + } - message AccountChallenges { - optional uint32 account_id = 1; - repeated .CMsgServerSignoutData_ChallengeProgress.ChallengeProgress challenges = 2; - } + message AccountChallenges { + optional uint32 account_id = 1; + repeated .CMsgServerSignoutData_ChallengeProgress.ChallengeProgress challenges = 2; + } - repeated .CMsgServerSignoutData_ChallengeProgress.AccountChallenges account_challenges = 1; + repeated .CMsgServerSignoutData_ChallengeProgress.AccountChallenges account_challenges = 1; } message CMsgServerSignoutData_HeroXPGrant { - message HeroXPGrant { - optional uint32 hero_id = 1; - optional uint32 xp_grant = 2; - optional .CMsgServerSignoutData_HeroXPGrant.EGrantReason reason = 3 [default = k_eGrant_Win]; - } + message HeroXPGrant { + optional uint32 hero_id = 1; + optional uint32 xp_grant = 2; + optional .CMsgServerSignoutData_HeroXPGrant.EGrantReason reason = 3 [default = k_eGrant_Win]; + } - message AccountXPGrant { - optional uint32 account_id = 1; - repeated .CMsgServerSignoutData_HeroXPGrant.HeroXPGrant xp_grant = 2; - } + message AccountXPGrant { + optional uint32 account_id = 1; + repeated .CMsgServerSignoutData_HeroXPGrant.HeroXPGrant xp_grant = 2; + } - enum EGrantReason { - k_eGrant_Win = 0; - k_eGrant_Loss = 1; - k_eGrant_Award = 2; - } + enum EGrantReason { + k_eGrant_Win = 0; + k_eGrant_Loss = 1; + k_eGrant_Award = 2; + } - repeated .CMsgServerSignoutData_HeroXPGrant.AccountXPGrant account_xp = 1; + repeated .CMsgServerSignoutData_HeroXPGrant.AccountXPGrant account_xp = 1; } message CMsgServerSignoutData_MatchKills { - message Kill { - optional uint32 killer = 1; - optional uint32 victim = 2; - optional uint32 match_time = 3; - optional uint32 killer_streak = 4; - } + message Kill { + optional uint32 killer = 1; + optional uint32 victim = 2; + optional uint32 match_time = 3; + optional uint32 killer_streak = 4; + } - repeated .CMsgServerSignoutData_MatchKills.Kill kills = 1; + repeated .CMsgServerSignoutData_MatchKills.Kill kills = 1; } message CMsgServerSignoutData_AccountStatChanges { - message Stat { - optional uint32 hero_id = 1; - optional uint32 stat_id = 2; - optional uint32 value = 3; - optional .ECitadelAccountStatMedal medal = 4 [default = k_eNone]; - } + message Stat { + optional uint32 hero_id = 1; + optional uint32 stat_id = 2; + optional uint32 value = 3; + optional .ECitadelAccountStatMedal medal = 4 [default = k_eNone]; + } - message AccountStats { - optional uint32 account_id = 1; - repeated .CMsgServerSignoutData_AccountStatChanges.Stat stats = 2; - } + message AccountStats { + optional uint32 account_id = 1; + repeated .CMsgServerSignoutData_AccountStatChanges.Stat stats = 2; + } - repeated .CMsgServerSignoutData_AccountStatChanges.AccountStats account_stats = 1; + repeated .CMsgServerSignoutData_AccountStatChanges.AccountStats account_stats = 1; } message CMsgServerSignoutData_PlayerChat { - message ChatLine { - optional uint32 player_slot = 1; - optional float game_time = 2; - optional bool team_only = 3; - optional string chat_line = 4; - } - - repeated .CMsgServerSignoutData_PlayerChat.ChatLine chat_lines = 1; + message ChatLine { + optional uint32 player_slot = 1; + optional float game_time = 2; + optional bool team_only = 3; + optional string chat_line = 4; + } + + repeated .CMsgServerSignoutData_PlayerChat.ChatLine chat_lines = 1; +} + +message CMsgServerSignoutData_PlayerBehavior { + message Player { + optional uint32 account_id = 1; + optional uint32 team_chat_messages = 2; + optional uint32 all_chat_messages = 3; + optional uint32 pings = 4; + optional uint32 voice_chat_seconds = 5; + optional uint32 pauses = 6; + optional uint32 total_pause_time = 7; + optional uint32 disconnects = 8; + optional uint32 first_all_chat_gametime = 9; + optional uint32 first_voice_chat_gametime = 10; + optional uint32 total_idle_time = 11; + optional uint32 total_inactive_time = 12; + optional uint32 total_disconnect_time = 13; + optional uint32 first_team_chat_gametime = 14; + optional uint32 first_all_chat_time = 15; + optional uint32 first_voice_chat_time = 16; + optional uint32 first_team_chat_time = 17; + } + + repeated .CMsgServerSignoutData_PlayerBehavior.Player players = 1; +} + +message CMsgServerSignoutData_StreetBrawlData { + message DraftItem { + optional uint32 ability_id = 1; + optional uint32 flags = 2; + optional .CMsgServerSignoutData_StreetBrawlData.EDraftItemOutcome outcome = 3 [default = k_eNotChosen]; + } + + message DraftItemSet { + repeated .CMsgServerSignoutData_StreetBrawlData.DraftItem items = 1; + } + + message RoundPlayer { + optional uint32 player_slot = 1; + optional uint32 player_damage = 2; + optional uint32 kills = 3; + optional uint32 player_healing = 4; + optional uint32 deaths = 5; + optional uint32 assists = 6; + optional uint32 objective_damage = 7; + optional uint32 objective_spirit_damage = 8; + repeated .CMsgServerSignoutData_StreetBrawlData.DraftItemSet draft_item_sets = 9; + } + + message Round { + optional uint32 round_number = 1; + optional uint32 round_time = 2; + optional .ECitadelLobbyTeam winning_team = 3 [default = k_ECitadelLobbyTeam_Team0]; + repeated .CMsgServerSignoutData_StreetBrawlData.RoundPlayer players = 5; + } + + enum EDraftItemOutcome { + k_eNotChosen = 0; + k_eChosen = 1; + k_eRerolled = 2; + } + + enum EDraftItemFlags { + k_eHasUpgradeBit = 1; + k_eHasAdditionalItem = 2; + k_eRareItem = 4; + } + + repeated .CMsgServerSignoutData_StreetBrawlData.Round rounds = 1; } message CMsgServerSignoutData_PenalizedPlayers { - message Penalty { - optional uint32 account_id = 1; - optional .CMsgServerSignoutData_PenalizedPlayers.EPenaltyReason reason = 2 [default = k_EPenaltyReason_Abandon]; - optional uint32 match_time_s = 3; - optional uint32 time_stamp = 4; - } + message Penalty { + optional uint32 account_id = 1; + optional .CMsgServerSignoutData_PenalizedPlayers.EPenaltyReason reason = 2 [default = k_EPenaltyReason_Abandon]; + optional uint32 match_time_s = 3; + optional uint32 time_stamp = 4; + } - enum EPenaltyReason { - k_EPenaltyReason_Abandon = 0; - k_EPenaltyReason_DisconnectedTooLong = 1; - k_EPenaltyReason_AFK = 2; - k_EPenaltyReason_DisconnectedTooLongPregame = 3; - } + enum EPenaltyReason { + k_EPenaltyReason_Abandon = 0; + k_EPenaltyReason_DisconnectedTooLong = 1; + k_EPenaltyReason_AFK = 2; + k_EPenaltyReason_DisconnectedTooLongPregame = 3; + } - repeated .CMsgServerSignoutData_PenalizedPlayers.Penalty penalized_players = 1; + repeated .CMsgServerSignoutData_PenalizedPlayers.Penalty penalized_players = 1; } message CMsgMatchData { - message PlayerItem { - optional uint32 item_id = 1; - optional uint32 game_time_s = 2; - optional uint32 upgrade_id = 3; - optional uint32 sold_time_s = 4; - optional uint32 flags = 5; - optional uint32 imbued_ability_id = 6; - } - - message PlayerInfo { - optional uint32 account_id = 1; - optional .ECitadelLobbyTeam team = 2 [default = k_ECitadelLobbyTeam_Team0]; - optional uint32 player_slot = 3; - optional uint32 hero_mmr_with_uncertainty = 4; - optional uint32 player_mmr = 5; - optional uint32 player_uncertainty = 6; - optional uint32 hero_id = 7; - optional uint32 kills = 8; - optional uint32 deaths = 9; - optional uint32 net_worth = 10; - optional uint32 assists = 11; - optional uint32 hero_mmr = 12; - repeated .CMsgMatchData.PlayerItem items = 13; - optional uint32 gpm_10min = 14; - optional uint32 gpm_15min = 15; - optional uint32 gpm_20min = 16; - optional uint32 gpm_25min = 17; - optional uint32 gpm_30min = 18; - optional uint32 gpm_35min = 19; - optional uint32 gpm_end = 20; - optional uint32 last_hits = 21; - optional uint32 denies = 22; - optional uint32 ability_points = 23; - optional uint32 level = 24; - optional uint32 assigned_lane = 25; - optional uint32 party_index = 26; - optional .EGCPlatform platform = 27 [default = k_eGCPlatform_None]; - optional uint32 ability_damage = 28; - optional uint32 bullet_damage = 29; - optional uint32 hero_bullets_hit = 30; - optional uint32 hero_bullets_hit_crit = 31; - optional uint32 player_healing = 32; - optional uint32 hero_bullets_fired = 33; - optional uint32 hero_incoming_bullets_fired = 34; - optional uint32 hero_incoming_bullets_hit = 35; - optional uint32 hero_incoming_bullets_crit = 36; - optional uint32 time_dead_s = 37; - optional uint32 player_bullet_damage = 38; - optional uint32 player_ability_damage = 39; - optional uint32 player_melee_damage = 40; - optional uint32 abandon_match_time_s = 41; - optional uint32 abandon_time_stamp = 42; - optional uint32 trooper_kill_excluded = 43; - optional uint32 hero_bullets_lucky_shots = 44; - optional uint32 hero_build_id = 45; - optional uint32 objective_damage = 46; - optional float avg_time_to_kill_s = 47; - optional bool requires_skill_calibration = 48; - optional uint32 player_barriering = 49; - optional uint32 teammate_healing = 50; - optional uint32 teammate_barriering = 51; - optional uint32 self_damage = 52; - optional uint32 match_number = 53; - } - - enum EEndReason { - k_EEndReason_TeamWin = 0; - k_EEndReason_AllAbandoned = 2; - k_EEndReason_NetworkIssues = 3; - k_EEndReason_MatchLength = 4; - k_EEndReason_PlayerNeverConnected = 5; - } - - optional uint32 match_duration_s = 1; - optional .CMsgMatchData.EEndReason end_reason = 2 [default = k_EEndReason_TeamWin]; - optional .ECitadelLobbyTeam winning_team = 3 [default = k_ECitadelLobbyTeam_Team0]; - repeated .CMsgMatchData.PlayerInfo players = 4; - optional uint32 objectives_mask_legacy = 5; - optional uint32 server_version = 6; - optional .ECitadelGameMode game_mode = 7 [default = k_ECitadelGameMode_Invalid]; - optional .ECitadelMatchMode match_mode = 8 [default = k_ECitadelMatchMode_Invalid]; - optional uint64 objectives_mask_team0 = 9; - optional uint64 objectives_mask_team1 = 10; - optional uint32 match_end_time = 11; - optional float stomp_score = 12; - optional bool safe_to_abandon = 13; - optional bool team_abandon = 14; - optional bool new_player_pool = 15; - optional bool low_pri_pool = 16; - optional bool not_scored = 17; + message PlayerItem { + optional uint32 item_id = 1; + optional uint32 game_time_s = 2; + optional uint32 upgrade_id = 3; + optional uint32 sold_time_s = 4; + optional uint32 flags = 5; + optional uint32 imbued_ability_id = 6; + } + + message AuxStat { + optional .ECitadelMatchAuxStat stat_id = 1 [default = k_eMatchAuxStat_Dummy]; + optional uint32 stat_value = 2; + } + + message PlayerInfo { + optional uint32 account_id = 1; + optional .ECitadelLobbyTeam team = 2 [default = k_ECitadelLobbyTeam_Team0]; + optional uint32 player_slot = 3; + optional uint32 hero_mmr_with_uncertainty = 4; + optional uint32 player_mmr = 5; + optional uint32 player_uncertainty = 6; + optional uint32 hero_id = 7; + optional uint32 kills = 8; + optional uint32 deaths = 9; + optional uint32 net_worth = 10; + optional uint32 assists = 11; + optional uint32 hero_mmr = 12; + repeated .CMsgMatchData.PlayerItem items = 13; + optional uint32 gpm_10min = 14; + optional uint32 gpm_15min = 15; + optional uint32 gpm_20min = 16; + optional uint32 gpm_25min = 17; + optional uint32 gpm_30min = 18; + optional uint32 gpm_35min = 19; + optional uint32 gpm_end = 20; + optional uint32 last_hits = 21; + optional uint32 denies = 22; + optional uint32 ability_points = 23; + optional uint32 level = 24; + optional uint32 assigned_lane = 25; + optional uint32 party_index = 26; + optional .EGCPlatform platform = 27 [default = k_eGCPlatform_None]; + optional uint32 ability_damage = 28; + optional uint32 bullet_damage = 29; + optional uint32 hero_bullets_hit = 30; + optional uint32 hero_bullets_hit_crit = 31; + optional uint32 player_healing = 32; + optional uint32 hero_bullets_fired = 33; + optional uint32 hero_incoming_bullets_fired = 34; + optional uint32 hero_incoming_bullets_hit = 35; + optional uint32 hero_incoming_bullets_crit = 36; + optional uint32 time_dead_s = 37; + optional uint32 player_bullet_damage = 38; + optional uint32 player_ability_damage = 39; + optional uint32 player_melee_damage = 40; + optional uint32 abandon_match_time_s = 41; + optional uint32 abandon_time_stamp = 42; + optional uint32 trooper_kill_excluded = 43; + optional uint32 hero_bullets_lucky_shots = 44; + optional uint32 hero_build_id = 45; + optional uint32 objective_damage = 46; + optional float avg_time_to_kill_s = 47; + optional bool requires_skill_calibration = 48; + optional uint32 player_barriering = 49; + optional uint32 teammate_healing = 50; + optional uint32 teammate_barriering = 51; + optional uint32 self_damage = 52; + optional uint32 match_number = 53; + repeated uint32 damage_per_hero_ability = 54; + repeated .CMsgMatchData.AuxStat aux_stats = 55; + repeated .CMsgTrackedStat player_tracked_stats = 56; + optional float new_player_score = 57; + } + + message TeamInfo { + optional .ECitadelLobbyTeam team = 1 [default = k_ECitadelLobbyTeam_Team0]; + repeated .CMsgTrackedStat team_tracked_stats = 2; + } + + enum EEndReason { + k_EEndReason_TeamWin = 0; + k_EEndReason_MatchDraw = 1; + k_EEndReason_AllAbandoned = 2; + k_EEndReason_NetworkIssues = 3; + k_EEndReason_MatchLength = 4; + k_EEndReason_PlayerNeverConnected = 5; + } + + optional uint32 match_duration_s = 1; + optional .CMsgMatchData.EEndReason end_reason = 2 [default = k_EEndReason_TeamWin]; + optional .ECitadelLobbyTeam winning_team = 3 [default = k_ECitadelLobbyTeam_Team0]; + repeated .CMsgMatchData.PlayerInfo players = 4; + optional uint32 objectives_mask_legacy = 5; + optional uint32 server_version = 6; + optional .ECitadelGameMode game_mode = 7 [default = k_ECitadelGameMode_Invalid]; + optional .ECitadelMatchMode match_mode = 8 [default = k_ECitadelMatchMode_Invalid]; + optional uint64 objectives_mask_team0 = 9; + optional uint64 objectives_mask_team1 = 10; + optional uint32 match_end_time = 11; + optional float stomp_score = 12; + optional bool safe_to_abandon = 13; + optional bool team_abandon = 14; + optional bool new_player_pool = 15; + optional bool low_pri_pool = 16; + optional bool not_scored = 17; + repeated uint32 team_score = 18; + repeated .CMsgMatchData.TeamInfo teams = 19; + repeated .CMsgTrackedStat match_tracked_stats = 20; + optional float winner_pct_time_in_enemy = 21; + optional bool forgive_existing_abandons = 22; + optional uint32 brawl_avg_round_time_s = 23; } message CMsgServerToGCMatchSignout { - repeated .CExtraMsgBlock additional_data = 1; - optional uint32 signout_attempt = 2; - optional uint64 lobby_id = 3; - optional uint64 match_id = 4; - optional uint32 cluster_id = 9; - optional .CMsgMatchData match_data = 10; + repeated .CExtraMsgBlock additional_data = 1; + optional uint32 signout_attempt = 2; + optional uint64 lobby_id = 3; + optional uint64 match_id = 4; + optional uint32 cluster_id = 9; + optional .CMsgMatchData match_data = 10; } message CMsgServerToGCMatchSignoutResponse { - enum ESignoutResult { - k_ESignout_Failed_Retry = 1; - k_ESignout_Failed_NoRetry = 2; - k_ESignout_Failed_InFlight = 3; - k_ESignout_Success = 4; - k_ESignout_Success_AlreadySignedOut = 5; - } + enum ESignoutResult { + k_ESignout_Failed_Retry = 1; + k_ESignout_Failed_NoRetry = 2; + k_ESignout_Failed_InFlight = 3; + k_ESignout_Success = 4; + k_ESignout_Success_AlreadySignedOut = 5; + } - optional .CMsgServerToGCMatchSignoutResponse.ESignoutResult result = 1 [default = k_ESignout_Failed_Retry]; + optional .CMsgServerToGCMatchSignoutResponse.ESignoutResult result = 1 [default = k_ESignout_Failed_Retry]; } message CMsgServerWelcomeCitadel { } message CMsgServerToGCIdlePing { - optional uint32 server_version = 1; + optional uint32 server_version = 1; } message CMsgGCToServerRequestPing { } message CMsgGCToServerAllocateForMatch { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgGCToServerAllocateForMatchResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCToServerAllocateForHideout { - optional uint64 hideout_lobby_id = 1; + optional uint64 hideout_lobby_id = 1; } message CMsgGCToServerAllocateForHideoutResponse { - optional uint64 hideout_lobby_id = 1; - optional bool success = 2; + optional uint64 hideout_lobby_id = 1; + optional bool success = 2; } message CMsgServerToGCEnterMatchmaking { - optional uint32 server_version = 1; - optional string search_key = 2; - optional uint32 region_id = 3; - optional uint32 cluster_id = 4; - optional uint32 server_public_ip = 5; - optional uint32 server_private_ip = 6; - optional uint32 server_port = 7; - optional bytes sdr_address = 9; - optional uint32 replay_group_id = 10; - optional bool allow_matches = 11; - optional bool allow_hideout = 12; + optional uint32 server_version = 1; + optional string search_key = 2; + optional uint32 region_id = 3; + optional uint32 cluster_id = 4; + optional uint32 server_public_ip = 5; + optional uint32 server_private_ip = 6; + optional uint32 server_port = 7; + optional bytes sdr_address = 9; + optional uint32 replay_group_id = 10; + optional bool allow_matches = 11; + optional bool allow_hideout = 12; } message CMsgGCToServerCancelAllocateForMatch { - optional uint64 match_id = 1; - optional uint64 hideout_lobby_id = 2; + optional uint64 match_id = 1; + optional uint64 hideout_lobby_id = 2; } message CMsgServerToGCUpdateLobbyServerState { - optional uint64 lobby_id = 1; - optional .ELobbyServerState server_state = 2 [default = k_eLobbyServerState_Assign]; - optional bool safe_to_abandon = 3; + optional uint64 lobby_id = 1; + optional .ELobbyServerState server_state = 2 [default = k_eLobbyServerState_Assign]; + optional bool safe_to_abandon = 3; } message CMsgServerToGCAbandonMatch { - message Player { - optional uint32 account_id = 1; - optional uint64 additional_data = 2; - optional uint32 hero_id = 3; - } - - enum EReason { - eReason_ServerCrash = 1; - eReason_ClientsFailedToConnect = 2; - } - - optional fixed64 server_steam_id = 1; - optional fixed64 lobby_id = 2; - optional uint32 cluster_id = 3; - optional .CMsgServerToGCAbandonMatch.EReason reason_code = 4 [default = eReason_ServerCrash]; - optional uint64 additional_data = 5; - optional uint64 match_id = 6; - repeated .CMsgServerToGCAbandonMatch.Player players = 8; - optional fixed32 public_ip_address = 9; - optional uint32 port = 10; - optional uint32 server_version = 11; - optional uint32 pid = 12; - optional uint32 instance_id = 13; - optional uint32 private_ip_address = 14; - optional .ECitadelMatchMode match_mode = 15 [default = k_ECitadelMatchMode_Invalid]; - optional .ECitadelGameMode game_mode = 16 [default = k_ECitadelGameMode_Invalid]; - optional bool was_server_shutdown = 17; - optional uint32 region_id = 18; - optional uint64 hideout_lobby_id = 19; - optional uint64 routing_id = 20; + message Player { + optional uint32 account_id = 1; + optional uint64 additional_data = 2; + optional uint32 hero_id = 3; + } + + enum EReason { + eReason_ServerCrash = 1; + eReason_ClientsFailedToConnect = 2; + } + + optional fixed64 server_steam_id = 1; + optional fixed64 lobby_id = 2; + optional uint32 cluster_id = 3; + optional .CMsgServerToGCAbandonMatch.EReason reason_code = 4 [default = eReason_ServerCrash]; + optional uint64 additional_data = 5; + optional uint64 match_id = 6; + repeated .CMsgServerToGCAbandonMatch.Player players = 8; + optional fixed32 public_ip_address = 9; + optional uint32 port = 10; + optional uint32 server_version = 11; + optional uint32 pid = 12; + optional uint32 instance_id = 13; + optional uint32 private_ip_address = 14; + optional .ECitadelMatchMode match_mode = 15 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 16 [default = k_ECitadelGameMode_Invalid]; + optional bool was_server_shutdown = 17; + optional uint32 region_id = 18; + optional uint64 hideout_lobby_id = 19; + optional uint64 routing_id = 20; + optional bool allow_matches = 21; + optional bool allow_hideout = 22; + optional bool was_lost_lobby = 23; } message CMsgServerToGCAbandonMatchResponse { @@ -707,59 +840,82 @@ message CMsgServerToGCTestConnectionResponse { } message CMsgGCToServerSetServerConVar { - optional string convar_name = 1; - optional string convar_value = 2; + optional string convar_name = 1; + optional string convar_value = 2; } message CMsgGCToServerSetServerConVarResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCToServerAddSpectator { - optional uint64 lobby_id = 1; - optional uint32 account_id = 2; - optional uint32 account_to_spectate = 3; + optional uint64 lobby_id = 1; + optional uint32 account_id = 2; + optional uint32 account_to_spectate = 3; } message CMsgGCToServerAddSpectatorResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eServerFull = 2; - } - - optional .CMsgGCToServerAddSpectatorResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint32 requesting_account_id = 2; -} - -message CMsgServerToGCReportCheater { - optional uint32 account_id = 1; - optional uint64 match_id = 2; - optional fixed64 lobby_id = 3; - optional string reason = 4; - optional bool record_data_only = 5; - optional float cheater_score = 6; -} + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eServerFull = 2; + } -message CMsgServerToGCReportCheaterResponse { - optional bool success = 1; + optional .CMsgGCToServerAddSpectatorResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint32 requesting_account_id = 2; } message CMsgServerToGCRequestPlayerHeroData { - optional uint32 account_id = 1; - optional uint32 hero_id = 2; + optional uint32 account_id = 1; + optional uint32 hero_id = 2; } message CMsgServerToGCRequestPlayerHeroDataResponse { - enum EResult { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidPermission = 5; - } - - optional .CMsgServerToGCRequestPlayerHeroDataResponse.EResult result = 1 [default = k_eInternalError]; - optional .CMsgPlayerHeroData hero_data = 2; + enum EResult { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidPermission = 5; + } + + optional .CMsgServerToGCRequestPlayerHeroDataResponse.EResult result = 1 [default = k_eInternalError]; + optional .CMsgPlayerHeroData hero_data = 2; +} + +message CMsgServerSteamLearnCitadelSignOutPlayerInfo { + optional int32 account_id = 1; + optional uint32 hero_id = 2; + optional uint32 mmr = 3; + optional uint32 total_games_played = 4; + optional .ECitadelMatchMode match_mode = 10 [default = k_ECitadelMatchMode_Invalid]; + optional .ECitadelGameMode game_mode = 11 [default = k_ECitadelGameMode_Invalid]; +} + +message CMsgServerSteamLearnCitadelPlayerMechanicalBehavior { + optional uint32 net_worth = 1; + optional uint32 deaths = 2; + optional uint32 team_net_worth = 3; + optional uint32 enemy_team_net_worth = 4; + optional uint32 team_kills = 5; + optional uint32 enemy_team_kills = 6; + optional float game_time = 7; + optional float velocity_ratio_veryfast = 8; + optional float velocity_ratio_fast = 9; + optional float velocity_ratio_normal = 10; + optional float velocity_ratio_slow = 11; + optional float slide_ratio = 12; + optional float item_cooldown_ratio = 13; + optional uint32 parries = 14; + optional float time_in_shop_ratio = 15; + optional uint32 denies = 16; + optional uint32 mmr = 18; + optional uint32 total_games_played = 19; + optional float build_effectiveness = 20; + optional float net_worth_team_ratio = 21; + optional float net_worth_game_ratio = 22; + optional float time_spent_not_contributing_to_game_events_ratio = 23; + optional float dash_jumps_per_minute = 24; + optional float wall_jumps_per_minute = 25; } diff --git a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/econ_gcmessages.proto b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/econ_gcmessages.proto index 970ede75..aed69722 100644 --- a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/econ_gcmessages.proto +++ b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/econ_gcmessages.proto @@ -9,216 +9,218 @@ option optimize_for = SPEED; option java_generic_services = false; enum EGCItemMsg { - k_EMsgGCBase = 1000; - k_EMsgGCSetItemPosition = 1001; - k_EMsgClientToGCPackBundle = 1002; - k_EMsgClientToGCPackBundleResponse = 1003; - k_EMsgGCDelete = 1004; - k_EMsgGCVerifyCacheSubscription = 1005; - k_EMsgClientToGCNameItem = 1006; - k_EMsgGCPaintItem = 1009; - k_EMsgGCPaintItemResponse = 1010; - k_EMsgGCNameBaseItem = 1019; - k_EMsgGCNameBaseItemResponse = 1020; - k_EMsgGCUseItemRequest = 1025; - k_EMsgGCUseItemResponse = 1026; - k_EMsgGCGiftedItems = 1027; - k_EMsgGCUnwrapGiftRequest = 1037; - k_EMsgGCUnwrapGiftResponse = 1038; - k_EMsgGCSortItems = 1041; - k_EMsgGCBackpackSortFinished = 1058; - k_EMsgGCAdjustItemEquippedState = 1059; - k_EMsgGCItemAcknowledged = 1062; - k_EMsgClientToGCNameItemResponse = 1068; - k_EMsgGCApplyStrangePart = 1073; - k_EMsgGCApplyPennantUpgrade = 1076; - k_EMsgGCSetItemPositions = 1077; - k_EMsgGCApplyEggEssence = 1078; - k_EMsgGCNameEggEssenceResponse = 1079; - k_EMsgGCExtractGems = 1086; - k_EMsgGCAddSocket = 1087; - k_EMsgGCAddItemToSocket = 1088; - k_EMsgGCAddItemToSocketResponse = 1089; - k_EMsgGCAddSocketResponse = 1090; - k_EMsgGCResetStrangeGemCount = 1091; - k_EMsgGCRequestCrateItems = 1092; - k_EMsgGCRequestCrateItemsResponse = 1093; - k_EMsgGCExtractGemsResponse = 1094; - k_EMsgGCResetStrangeGemCountResponse = 1095; - k_EMsgGCServerUseItemRequest = 1103; - k_EMsgGCAddGiftItem = 1104; - k_EMsgSQLGCToGCRevokeUntrustedGift = 1105; - k_EMsgClientToGCRemoveItemGifterAttributes = 1109; - k_EMsgClientToGCRemoveItemName = 1110; - k_EMsgClientToGCRemoveItemDescription = 1111; - k_EMsgClientToGCRemoveItemAttributeResponse = 1112; - k_EMsgGCDev_NewItemRequest = 2001; - k_EMsgGCDev_NewItemRequestResponse = 2002; - k_EMsgGCDev_UnlockAllItemStylesRequest = 2003; - k_EMsgGCDev_UnlockAllItemStylesResponse = 2004; - k_EMsgGCStorePurchaseFinalize = 2504; - k_EMsgGCStorePurchaseFinalizeResponse = 2505; - k_EMsgGCStorePurchaseCancel = 2506; - k_EMsgGCStorePurchaseCancelResponse = 2507; - k_EMsgGCStorePurchaseInit = 2510; - k_EMsgGCStorePurchaseInitResponse = 2511; - k_EMsgGCToGCBannedWordListUpdated = 2515; - k_EMsgGCToGCDirtySDOCache = 2516; - k_EMsgGCToGCUpdateSQLKeyValue = 2518; - k_EMsgGCToGCBroadcastConsoleCommand = 2521; - k_EMsgGCServerVersionUpdated = 2522; - k_EMsgGCApplyAutograph = 2523; - k_EMsgGCToGCWebAPIAccountChanged = 2524; - k_EMsgGCClientVersionUpdated = 2528; - k_EMsgGCToGCUpdateWelcomeMsg = 2529; - k_EMsgGCToGCPlayerStrangeCountAdjustments = 2535; - k_EMsgGCRequestStoreSalesData = 2536; - k_EMsgGCRequestStoreSalesDataResponse = 2537; - k_EMsgGCRequestStoreSalesDataUpToDateResponse = 2538; - k_EMsgGCToGCPingRequest = 2539; - k_EMsgGCToGCPingResponse = 2540; - k_EMsgGCToGCGetUserSessionServer = 2541; - k_EMsgGCToGCGetUserSessionServerResponse = 2542; - k_EMsgGCToGCGetUserServerMembers = 2543; - k_EMsgGCToGCGetUserServerMembersResponse = 2544; - k_EMsgGCToGCCanUseDropRateBonus = 2547; - k_EMsgSQLAddDropRateBonus = 2548; - k_EMsgGCToGCRefreshSOCache = 2549; - k_EMsgGCToGCGrantAccountRolledItems = 2554; - k_EMsgGCToGCGrantSelfMadeItemToAccount = 2555; - k_EMsgGCToGCUnlockCrate = 2556; - k_EMsgGCStatueCraft = 2561; - k_EMsgGCRedeemCode = 2562; - k_EMsgGCRedeemCodeResponse = 2563; - k_EMsgGCToGCItemConsumptionRollback = 2564; - k_EMsgClientToGCWrapAndDeliverGift = 2565; - k_EMsgClientToGCWrapAndDeliverGiftResponse = 2566; - k_EMsgClientToGCUnpackBundleResponse = 2567; - k_EMsgGCToClientStoreTransactionCompleted = 2568; - k_EMsgClientToGCEquipItems = 2569; - k_EMsgClientToGCEquipItemsResponse = 2570; - k_EMsgClientToGCUnlockItemStyle = 2571; - k_EMsgClientToGCUnlockItemStyleResponse = 2572; - k_EMsgClientToGCSetItemInventoryCategory = 2573; - k_EMsgClientToGCUnlockCrate = 2574; - k_EMsgClientToGCUnlockCrateResponse = 2575; - k_EMsgClientToGCUnpackBundle = 2576; - k_EMsgClientToGCSetItemStyle = 2577; - k_EMsgClientToGCSetItemStyleResponse = 2578; - k_EMsgSQLGCToGCGrantBackpackSlots = 2580; - k_EMsgClientToGCLookupAccountName = 2581; - k_EMsgClientToGCLookupAccountNameResponse = 2582; - k_EMsgClientToGCCreateStaticRecipe = 2584; - k_EMsgClientToGCCreateStaticRecipeResponse = 2585; - k_EMsgGCToGCStoreProcessCDKeyTransaction = 2586; - k_EMsgGCToGCStoreProcessCDKeyTransactionResponse = 2587; - k_EMsgGCToGCStoreProcessSettlement = 2588; - k_EMsgGCToGCStoreProcessSettlementResponse = 2589; - k_EMsgGCToGCConsoleOutput = 2590; - k_EMsgGCToClientItemAges = 2591; - k_EMsgGCToGCInternalTestMsg = 2592; - k_EMsgGCToGCClientServerVersionsUpdated = 2593; - k_EMsgGCUseMultipleItemsRequest = 2594; - k_EMsgGCGetAccountSubscriptionItem = 2595; - k_EMsgGCGetAccountSubscriptionItemResponse = 2596; - k_EMsgGCToGCBroadcastMessageFromSub = 2598; - k_EMsgGCToClientCurrencyPricePoints = 2599; - k_EMsgGCToGCAddSubscriptionTime = 2600; - k_EMsgGCToGCFlushSteamInventoryCache = 2601; - k_EMsgGCRequestCrateEscalationLevel = 2602; - k_EMsgGCRequestCrateEscalationLevelResponse = 2603; - k_EMsgGCToGCUpdateSubscriptionItems = 2604; - k_EMsgGCToGCSelfPing = 2605; - k_EMsgGCToGCGetInfuxIntervalStats = 2606; - k_EMsgGCToGCGetInfuxIntervalStatsResponse = 2607; - k_EMsgGCToGCPurchaseSucceeded = 2608; - k_EMsgClientToGCGetLimitedItemPurchaseQuantity = 2609; - k_EMsgClientToGCGetLimitedItemPurchaseQuantityResponse = 2610; - k_EMsgGCToGCBetaDeleteItems = 2611; - k_EMsgClientToGCGetInFlightItemCharges = 2612; - k_EMsgClientToGCGetInFlightItemChargesResponse = 2613; - k_EMsgGCToClientInFlightChargesUpdated = 2614; - k_EMsgClientToGCPurchaseChargeCostItems = 2615; - k_EMsgClientToGCPurchaseChargeCostItemsResponse = 2616; - k_EMsgClientToGCCancelUnfinalizedTransactions = 2617; - k_EMsgClientToGCCancelUnfinalizedTransactionsResponse = 2618; + k_EMsgGCBase = 1000; + k_EMsgGCSetItemPosition = 1001; + k_EMsgClientToGCPackBundle = 1002; + k_EMsgClientToGCPackBundleResponse = 1003; + k_EMsgGCDelete = 1004; + k_EMsgGCVerifyCacheSubscription = 1005; + k_EMsgClientToGCNameItem = 1006; + k_EMsgGCPaintItem = 1009; + k_EMsgGCPaintItemResponse = 1010; + k_EMsgGCNameBaseItem = 1019; + k_EMsgGCNameBaseItemResponse = 1020; + k_EMsgGCUseItemRequest = 1025; + k_EMsgGCUseItemResponse = 1026; + k_EMsgGCGiftedItems = 1027; + k_EMsgGCUnwrapGiftRequest = 1037; + k_EMsgGCUnwrapGiftResponse = 1038; + k_EMsgGCSortItems = 1041; + k_EMsgGCBackpackSortFinished = 1058; + k_EMsgGCAdjustItemEquippedState = 1059; + k_EMsgGCItemAcknowledged = 1062; + k_EMsgClientToGCNameItemResponse = 1068; + k_EMsgGCApplyStrangePart = 1073; + k_EMsgGCApplyPennantUpgrade = 1076; + k_EMsgGCSetItemPositions = 1077; + k_EMsgGCApplyEggEssence = 1078; + k_EMsgGCNameEggEssenceResponse = 1079; + k_EMsgGCExtractGems = 1086; + k_EMsgGCAddSocket = 1087; + k_EMsgGCAddItemToSocket = 1088; + k_EMsgGCAddItemToSocketResponse = 1089; + k_EMsgGCAddSocketResponse = 1090; + k_EMsgGCResetStrangeGemCount = 1091; + k_EMsgGCRequestCrateItems = 1092; + k_EMsgGCRequestCrateItemsResponse = 1093; + k_EMsgGCExtractGemsResponse = 1094; + k_EMsgGCResetStrangeGemCountResponse = 1095; + k_EMsgGCServerUseItemRequest = 1103; + k_EMsgGCAddGiftItem = 1104; + k_EMsgSQLGCToGCRevokeUntrustedGift = 1105; + k_EMsgClientToGCRemoveItemGifterAttributes = 1109; + k_EMsgClientToGCRemoveItemName = 1110; + k_EMsgClientToGCRemoveItemDescription = 1111; + k_EMsgClientToGCRemoveItemAttributeResponse = 1112; + k_EMsgGCDev_NewItemRequest = 2001; + k_EMsgGCDev_NewItemRequestResponse = 2002; + k_EMsgGCDev_UnlockAllItemStylesRequest = 2003; + k_EMsgGCDev_UnlockAllItemStylesResponse = 2004; + k_EMsgGCStorePurchaseFinalize = 2504; + k_EMsgGCStorePurchaseFinalizeResponse = 2505; + k_EMsgGCStorePurchaseCancel = 2506; + k_EMsgGCStorePurchaseCancelResponse = 2507; + k_EMsgGCStorePurchaseInit = 2510; + k_EMsgGCStorePurchaseInitResponse = 2511; + k_EMsgGCToGCBannedWordListUpdated = 2515; + k_EMsgGCToGCDirtySDOCache = 2516; + k_EMsgGCToGCUpdateSQLKeyValue = 2518; + k_EMsgGCToGCBroadcastConsoleCommand = 2521; + k_EMsgGCServerVersionUpdated = 2522; + k_EMsgGCApplyAutograph = 2523; + k_EMsgGCToGCWebAPIAccountChanged = 2524; + k_EMsgGCClientVersionUpdated = 2528; + k_EMsgGCToGCUpdateWelcomeMsg = 2529; + k_EMsgGCToGCPlayerStrangeCountAdjustments = 2535; + k_EMsgGCRequestStoreSalesData = 2536; + k_EMsgGCRequestStoreSalesDataResponse = 2537; + k_EMsgGCRequestStoreSalesDataUpToDateResponse = 2538; + k_EMsgGCToGCPingRequest = 2539; + k_EMsgGCToGCPingResponse = 2540; + k_EMsgGCToGCGetUserSessionServer = 2541; + k_EMsgGCToGCGetUserSessionServerResponse = 2542; + k_EMsgGCToGCGetUserServerMembers = 2543; + k_EMsgGCToGCGetUserServerMembersResponse = 2544; + k_EMsgGCToGCCanUseDropRateBonus = 2547; + k_EMsgSQLAddDropRateBonus = 2548; + k_EMsgGCToGCRefreshSOCache = 2549; + k_EMsgGCToGCGrantAccountRolledItems = 2554; + k_EMsgGCToGCGrantSelfMadeItemToAccount = 2555; + k_EMsgGCToGCUnlockCrate = 2556; + k_EMsgGCStatueCraft = 2561; + k_EMsgGCRedeemCode = 2562; + k_EMsgGCRedeemCodeResponse = 2563; + k_EMsgGCToGCItemConsumptionRollback = 2564; + k_EMsgClientToGCWrapAndDeliverGift = 2565; + k_EMsgClientToGCWrapAndDeliverGiftResponse = 2566; + k_EMsgClientToGCUnpackBundleResponse = 2567; + k_EMsgGCToClientStoreTransactionCompleted = 2568; + k_EMsgClientToGCEquipItems = 2569; + k_EMsgClientToGCEquipItemsResponse = 2570; + k_EMsgClientToGCUnlockItemStyle = 2571; + k_EMsgClientToGCUnlockItemStyleResponse = 2572; + k_EMsgClientToGCSetItemInventoryCategory = 2573; + k_EMsgClientToGCUnlockCrate = 2574; + k_EMsgClientToGCUnlockCrateResponse = 2575; + k_EMsgClientToGCUnpackBundle = 2576; + k_EMsgClientToGCSetItemStyle = 2577; + k_EMsgClientToGCSetItemStyleResponse = 2578; + k_EMsgSQLGCToGCGrantBackpackSlots = 2580; + k_EMsgClientToGCLookupAccountName = 2581; + k_EMsgClientToGCLookupAccountNameResponse = 2582; + k_EMsgClientToGCCreateStaticRecipe = 2584; + k_EMsgClientToGCCreateStaticRecipeResponse = 2585; + k_EMsgGCToGCStoreProcessCDKeyTransaction = 2586; + k_EMsgGCToGCStoreProcessCDKeyTransactionResponse = 2587; + k_EMsgGCToGCStoreProcessSettlement = 2588; + k_EMsgGCToGCStoreProcessSettlementResponse = 2589; + k_EMsgGCToGCConsoleOutput = 2590; + k_EMsgGCToClientItemAges = 2591; + k_EMsgGCToGCInternalTestMsg = 2592; + k_EMsgGCToGCClientServerVersionsUpdated = 2593; + k_EMsgGCUseMultipleItemsRequest = 2594; + k_EMsgGCGetAccountSubscriptionItem = 2595; + k_EMsgGCGetAccountSubscriptionItemResponse = 2596; + k_EMsgGCToGCBroadcastMessageFromSub = 2598; + k_EMsgGCToClientCurrencyPricePoints = 2599; + k_EMsgGCToGCAddSubscriptionTime = 2600; + k_EMsgGCToGCFlushSteamInventoryCache = 2601; + k_EMsgGCRequestCrateEscalationLevel = 2602; + k_EMsgGCRequestCrateEscalationLevelResponse = 2603; + k_EMsgGCToGCUpdateSubscriptionItems = 2604; + k_EMsgGCToGCSelfPing = 2605; + k_EMsgGCToGCGetInfuxIntervalStats = 2606; + k_EMsgGCToGCGetInfuxIntervalStatsResponse = 2607; + k_EMsgGCToGCPurchaseSucceeded = 2608; + k_EMsgClientToGCGetLimitedItemPurchaseQuantity = 2609; + k_EMsgClientToGCGetLimitedItemPurchaseQuantityResponse = 2610; + k_EMsgGCToGCBetaDeleteItems = 2611; + k_EMsgClientToGCGetInFlightItemCharges = 2612; + k_EMsgClientToGCGetInFlightItemChargesResponse = 2613; + k_EMsgGCToClientInFlightChargesUpdated = 2614; + k_EMsgClientToGCPurchaseChargeCostItems = 2615; + k_EMsgClientToGCPurchaseChargeCostItemsResponse = 2616; + k_EMsgClientToGCCancelUnfinalizedTransactions = 2617; + k_EMsgClientToGCCancelUnfinalizedTransactionsResponse = 2618; + k_EMsgClientToGCRecycleMultipleItems = 2619; + k_EMsgClientToGCRecycleMultipleItemsResponse = 2620; } enum EGCMsgInitiateTradeResponse { - k_EGCMsgInitiateTradeResponse_Accepted = 0; - k_EGCMsgInitiateTradeResponse_Declined = 1; - k_EGCMsgInitiateTradeResponse_VAC_Banned_Initiator = 2; - k_EGCMsgInitiateTradeResponse_VAC_Banned_Target = 3; - k_EGCMsgInitiateTradeResponse_Target_Already_Trading = 4; - k_EGCMsgInitiateTradeResponse_Disabled = 5; - k_EGCMsgInitiateTradeResponse_NotLoggedIn = 6; - k_EGCMsgInitiateTradeResponse_Cancel = 7; - k_EGCMsgInitiateTradeResponse_TooSoon = 8; - k_EGCMsgInitiateTradeResponse_TooSoonPenalty = 9; - k_EGCMsgInitiateTradeResponse_Trade_Banned_Initiator = 10; - k_EGCMsgInitiateTradeResponse_Trade_Banned_Target = 11; - k_EGCMsgInitiateTradeResponse_Free_Account_Initiator_DEPRECATED = 12; - k_EGCMsgInitiateTradeResponse_Shared_Account_Initiator = 13; - k_EGCMsgInitiateTradeResponse_Service_Unavailable = 14; - k_EGCMsgInitiateTradeResponse_Target_Blocked = 15; - k_EGCMsgInitiateTradeResponse_NeedVerifiedEmail = 16; - k_EGCMsgInitiateTradeResponse_NeedSteamGuard = 17; - k_EGCMsgInitiateTradeResponse_SteamGuardDuration = 18; - k_EGCMsgInitiateTradeResponse_TheyCannotTrade = 19; - k_EGCMsgInitiateTradeResponse_Recent_Password_Reset = 20; - k_EGCMsgInitiateTradeResponse_Using_New_Device = 21; - k_EGCMsgInitiateTradeResponse_Sent_Invalid_Cookie = 22; - k_EGCMsgInitiateTradeResponse_TooRecentFriend = 23; - k_EGCMsgInitiateTradeResponse_WalledFundsNotTrusted = 24; + k_EGCMsgInitiateTradeResponse_Accepted = 0; + k_EGCMsgInitiateTradeResponse_Declined = 1; + k_EGCMsgInitiateTradeResponse_VAC_Banned_Initiator = 2; + k_EGCMsgInitiateTradeResponse_VAC_Banned_Target = 3; + k_EGCMsgInitiateTradeResponse_Target_Already_Trading = 4; + k_EGCMsgInitiateTradeResponse_Disabled = 5; + k_EGCMsgInitiateTradeResponse_NotLoggedIn = 6; + k_EGCMsgInitiateTradeResponse_Cancel = 7; + k_EGCMsgInitiateTradeResponse_TooSoon = 8; + k_EGCMsgInitiateTradeResponse_TooSoonPenalty = 9; + k_EGCMsgInitiateTradeResponse_Trade_Banned_Initiator = 10; + k_EGCMsgInitiateTradeResponse_Trade_Banned_Target = 11; + k_EGCMsgInitiateTradeResponse_Free_Account_Initiator_DEPRECATED = 12; + k_EGCMsgInitiateTradeResponse_Shared_Account_Initiator = 13; + k_EGCMsgInitiateTradeResponse_Service_Unavailable = 14; + k_EGCMsgInitiateTradeResponse_Target_Blocked = 15; + k_EGCMsgInitiateTradeResponse_NeedVerifiedEmail = 16; + k_EGCMsgInitiateTradeResponse_NeedSteamGuard = 17; + k_EGCMsgInitiateTradeResponse_SteamGuardDuration = 18; + k_EGCMsgInitiateTradeResponse_TheyCannotTrade = 19; + k_EGCMsgInitiateTradeResponse_Recent_Password_Reset = 20; + k_EGCMsgInitiateTradeResponse_Using_New_Device = 21; + k_EGCMsgInitiateTradeResponse_Sent_Invalid_Cookie = 22; + k_EGCMsgInitiateTradeResponse_TooRecentFriend = 23; + k_EGCMsgInitiateTradeResponse_WalledFundsNotTrusted = 24; } message CMsgApplyAutograph { - optional uint64 autograph_item_id = 1; - optional uint64 item_item_id = 2; + optional uint64 autograph_item_id = 1; + optional uint64 item_item_id = 2; } message CMsgAdjustItemEquippedState { - optional uint64 item_id = 1; - optional uint32 new_class = 2; - optional uint32 new_slot = 3; - optional uint32 style_index = 4 [default = 255]; + optional uint64 item_id = 1; + optional uint32 new_class = 2; + optional uint32 new_slot = 3; + optional uint32 style_index = 4 [default = 255]; } message CMsgEconPlayerStrangeCountAdjustment { - message CStrangeCountAdjustment { - optional uint32 event_type = 1; - optional uint64 item_id = 2; - optional uint32 adjustment = 3; - } + message CStrangeCountAdjustment { + optional uint32 event_type = 1; + optional uint64 item_id = 2; + optional uint32 adjustment = 3; + } - optional uint32 account_id = 1; - repeated .CMsgEconPlayerStrangeCountAdjustment.CStrangeCountAdjustment strange_count_adjustments = 2; - optional bool turbo_mode = 3; + optional uint32 account_id = 1; + repeated .CMsgEconPlayerStrangeCountAdjustment.CStrangeCountAdjustment strange_count_adjustments = 2; + optional bool turbo_mode = 3; } message CMsgCraftingResponse { - repeated uint64 item_ids = 1; + repeated uint64 item_ids = 1; } message CMsgGCRequestStoreSalesData { - optional uint32 version = 1; - optional uint32 currency = 2; + optional uint32 version = 1; + optional uint32 currency = 2; } message CMsgGCRequestStoreSalesDataResponse { - message Price { - optional uint32 item_def = 1; - optional uint32 price = 2; - } + message Price { + optional uint32 item_def = 1; + optional uint32 price = 2; + } - repeated .CMsgGCRequestStoreSalesDataResponse.Price sale_price = 1; - optional uint32 version = 2; - optional uint32 expiration_time = 3; + repeated .CMsgGCRequestStoreSalesDataResponse.Price sale_price = 1; + optional uint32 version = 2; + optional uint32 expiration_time = 3; } message CMsgGCRequestStoreSalesDataUpToDateResponse { - optional uint32 version = 1; - optional uint32 expiration_time = 2; + optional uint32 version = 1; + optional uint32 expiration_time = 2; } message CMsgGCToGCPingRequest { @@ -228,862 +230,876 @@ message CMsgGCToGCPingResponse { } message CMsgGCToGCGetUserSessionServer { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgGCToGCGetUserSessionServerResponse { - optional fixed64 server_steam_id = 1; - optional bool is_online = 2; + optional fixed64 server_steam_id = 1; + optional bool is_online = 2; } message CMsgGCToGCGetUserServerMembers { - optional uint32 account_id = 1; - optional uint32 max_spectators = 2; + optional uint32 account_id = 1; + optional uint32 max_spectators = 2; } message CMsgGCToGCGetUserServerMembersResponse { - repeated uint32 member_account_id = 1; + repeated uint32 member_account_id = 1; } message CMsgLookupMultipleAccountNames { - repeated uint32 accountids = 1 [packed = true]; + repeated uint32 accountids = 1 [packed = true]; } message CMsgLookupMultipleAccountNamesResponse { - message Account { - optional uint32 accountid = 1; - optional string persona = 2; - } + message Account { + optional uint32 accountid = 1; + optional string persona = 2; + } - repeated .CMsgLookupMultipleAccountNamesResponse.Account accounts = 1; + repeated .CMsgLookupMultipleAccountNamesResponse.Account accounts = 1; } message CMsgRequestCrateItems { - optional uint32 crate_item_def = 1; + optional uint32 crate_item_def = 1; } message CMsgRequestCrateItemsResponse { - enum EResult { - k_Succeeded = 0; - k_Failed = 1; - } + enum EResult { + k_Succeeded = 0; + k_Failed = 1; + } - optional uint32 response = 1; - repeated uint32 item_defs = 2; - repeated uint32 peek_item_defs = 3; - repeated .CSOEconItem peek_items = 4; + optional uint32 response = 1; + repeated uint32 item_defs = 2; + repeated uint32 peek_item_defs = 3; + repeated .CSOEconItem peek_items = 4; } message CMsgRequestCrateEscalationLevel { - optional uint32 crate_item_def = 1; + optional uint32 crate_item_def = 1; } message CMsgRequestCrateEscalationLevelResponse { - enum EResult { - k_Succeeded = 0; - k_Failed = 1; - } + enum EResult { + k_Succeeded = 0; + k_Failed = 1; + } - optional uint32 response = 1; - optional uint32 escalation_level0 = 2; - optional uint32 escalation_level1 = 3; - optional uint32 escalation_level2 = 4; - optional uint32 escalation_level3 = 5; + optional uint32 response = 1; + optional uint32 escalation_level0 = 2; + optional uint32 escalation_level1 = 3; + optional uint32 escalation_level2 = 4; + optional uint32 escalation_level3 = 5; } message CMsgGCToGCCanUseDropRateBonus { - optional uint32 account_id = 1; - optional float drop_rate_bonus = 2; - optional uint32 booster_type = 3; - optional uint32 exclusive_item_def = 4; - optional bool allow_equal_rate = 5; + optional uint32 account_id = 1; + optional float drop_rate_bonus = 2; + optional uint32 booster_type = 3; + optional uint32 exclusive_item_def = 4; + optional bool allow_equal_rate = 5; } message CMsgSQLAddDropRateBonus { - optional uint32 account_id = 1; - optional uint64 item_id = 2; - optional uint32 item_def = 3; - optional float drop_rate_bonus = 4; - optional uint32 booster_type = 5; - optional uint32 seconds_duration = 6; - optional uint32 end_time_stamp = 7; + optional uint32 account_id = 1; + optional uint64 item_id = 2; + optional uint32 item_def = 3; + optional float drop_rate_bonus = 4; + optional uint32 booster_type = 5; + optional uint32 seconds_duration = 6; + optional uint32 end_time_stamp = 7; } message CMsgSQLUpgradeBattleBooster { - optional uint32 account_id = 1; - optional uint32 item_def = 2; - optional float bonus_to_add = 3; - optional uint32 booster_type = 4; + optional uint32 account_id = 1; + optional uint32 item_def = 2; + optional float bonus_to_add = 3; + optional uint32 booster_type = 4; } message CMsgGCToGCRefreshSOCache { - optional uint32 account_id = 1; - optional bool reload = 2; + optional uint32 account_id = 1; + optional bool reload = 2; } message CMsgGCToGCAddSubscriptionTime { - optional uint32 account_id = 1; - repeated uint32 matching_subscription_def_indexes = 2; - optional uint32 additional_seconds = 3; + optional uint32 account_id = 1; + repeated uint32 matching_subscription_def_indexes = 2; + optional uint32 additional_seconds = 3; } message CMsgGCToGCGrantAccountRolledItems { - message Item { - message DynamicAttribute { - optional string name = 1; - optional uint32 value_uint32 = 2; - optional float value_float = 3; - optional string value_string = 4; - } - - message AdditionalAuditEntry { - optional uint32 owner_account_id = 1; - optional uint32 audit_action = 2; - optional uint64 audit_data = 3; - } - - optional uint32 item_def = 1; - repeated string loot_lists = 2; - optional bool ignore_limit = 3; - optional uint32 origin = 4; - repeated .CMsgGCToGCGrantAccountRolledItems.Item.DynamicAttribute dynamic_attributes = 5; - repeated .CMsgGCToGCGrantAccountRolledItems.Item.AdditionalAuditEntry additional_audit_entries = 6; - optional uint32 inventory_token = 7; - optional int32 quality = 8 [default = -1]; - } - - optional uint32 account_id = 1; - repeated .CMsgGCToGCGrantAccountRolledItems.Item items = 2; - optional uint32 audit_action = 3; - optional uint64 audit_data = 4; + message Item { + message DynamicAttribute { + optional string name = 1; + optional uint32 value_uint32 = 2; + optional float value_float = 3; + optional string value_string = 4; + } + + message AdditionalAuditEntry { + optional uint32 owner_account_id = 1; + optional uint32 audit_action = 2; + optional uint64 audit_data = 3; + } + + optional uint32 item_def = 1; + repeated string loot_lists = 2; + optional bool ignore_limit = 3; + optional uint32 origin = 4; + repeated .CMsgGCToGCGrantAccountRolledItems.Item.DynamicAttribute dynamic_attributes = 5; + repeated .CMsgGCToGCGrantAccountRolledItems.Item.AdditionalAuditEntry additional_audit_entries = 6; + optional uint32 inventory_token = 7; + optional int32 quality = 8 [default = -1]; + } + + optional uint32 account_id = 1; + repeated .CMsgGCToGCGrantAccountRolledItems.Item items = 2; + optional uint32 audit_action = 3; + optional uint64 audit_data = 4; } message CMsgGCToGCBetaDeleteItems { - optional uint32 account_id = 1; - repeated uint64 item_ids = 2; - repeated uint32 item_defs = 3; + optional uint32 account_id = 1; + repeated uint64 item_ids = 2; + repeated uint32 item_defs = 3; } message CMsgGCToGCGrantSelfMadeItemToAccount { - optional uint32 item_def_index = 1; - optional uint32 accountid = 2; + optional uint32 item_def_index = 1; + optional uint32 accountid = 2; } message CMsgGCToGCUnlockCrate { - optional uint32 account_id = 1; - optional uint64 crate_item_id = 2; - optional uint64 key_item_id = 3; + optional uint32 account_id = 1; + optional uint64 crate_item_id = 2; + optional uint64 key_item_id = 3; } message CMsgUseItem { - optional uint64 item_id = 1; - optional fixed64 target_steam_id = 2; - repeated uint32 gift__potential_targets = 3; - optional uint32 duel__class_lock = 4; - optional uint64 initiator_steam_id = 5; - optional bool itempack__ack_immediately = 6; + optional uint64 item_id = 1; + optional fixed64 target_steam_id = 2; + repeated uint32 gift__potential_targets = 3; + optional uint32 duel__class_lock = 4; + optional uint64 initiator_steam_id = 5; + optional bool itempack__ack_immediately = 6; } message CMsgServerUseItem { - optional uint32 initiator_account_id = 1; - optional .CMsgUseItem use_item_msg = 2; + optional uint32 initiator_account_id = 1; + optional .CMsgUseItem use_item_msg = 2; } message CMsgUseMultipleItems { - repeated uint64 item_ids = 1; + repeated uint64 item_ids = 1; } message CGCStoreRechargeRedirect_LineItem { - optional uint32 item_def_id = 1; - optional uint32 quantity = 2; + optional uint32 item_def_id = 1; + optional uint32 quantity = 2; } message CMsgGCEconSQLWorkItemEmbeddedRollbackData { - optional uint32 account_id = 1; - optional uint64 deleted_item_id = 2; - optional uint32 old_audit_action = 3; - optional uint32 new_audit_action = 4; - optional uint32 expected_audit_action = 5; + optional uint32 account_id = 1; + optional uint64 deleted_item_id = 2; + optional uint32 old_audit_action = 3; + optional uint32 new_audit_action = 4; + optional uint32 expected_audit_action = 5; } message CMsgCraftStatue { - optional uint32 heroid = 1; - optional string sequencename = 2; - optional float cycle = 3; - optional string description = 4; - optional uint32 pedestal_itemdef = 5; - optional uint64 toolid = 6; + optional uint32 heroid = 1; + optional string sequencename = 2; + optional float cycle = 3; + optional string description = 4; + optional uint32 pedestal_itemdef = 5; + optional uint64 toolid = 6; } message CMsgRedeemCode { - optional string code = 1; + optional string code = 1; } message CMsgRedeemCodeResponse { - enum EResultCode { - k_Succeeded = 0; - k_Failed_CodeNotFound = 1; - k_Failed_CodeAlreadyUsed = 2; - k_Failed_OtherError = 3; - } + enum EResultCode { + k_Succeeded = 0; + k_Failed_CodeNotFound = 1; + k_Failed_CodeAlreadyUsed = 2; + k_Failed_OtherError = 3; + } - optional uint32 response = 1; - optional uint64 item_id = 2; + optional uint32 response = 1; + optional uint64 item_id = 2; } message CMsgDevNewItemRequest { - optional string item_def_name = 3; - optional string loot_list_name = 4; - repeated string attr_def_name = 5; - repeated string attr_value = 6; - optional uint32 item_quality = 7; + optional string item_def_name = 3; + optional string loot_list_name = 4; + repeated string attr_def_name = 5; + repeated string attr_value = 6; + optional uint32 item_quality = 7; } message CMsgDevNewItemRequestResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgDevUnlockAllItemStyles { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgDevUnlockAllItemStylesResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCGetAccountSubscriptionItem { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgGCGetAccountSubscriptionItemResponse { - optional uint32 def_index = 1; + optional uint32 def_index = 1; } message CMsgGCAddGiftItem { - optional uint32 gifter_account_id = 1; - optional uint32 receiver_account_id = 2; - optional .CSOEconItem wrapped_item = 3; - optional string gift_message = 4; - optional bool is_wallet_cash_trusted = 5; + optional uint32 gifter_account_id = 1; + optional uint32 receiver_account_id = 2; + optional .CSOEconItem wrapped_item = 3; + optional string gift_message = 4; + optional bool is_wallet_cash_trusted = 5; } message CMsgClientToGCWrapAndDeliverGift { - optional uint64 item_id = 1; - optional uint32 give_to_account_id = 2; - optional string gift_message = 3; + optional uint64 item_id = 1; + optional uint32 give_to_account_id = 2; + optional string gift_message = 3; } message CMsgSQLGCToGCRevokeUntrustedGift { - optional uint32 account_id = 1; - optional uint64 sent_item_id = 4; + optional uint32 account_id = 1; + optional uint64 sent_item_id = 4; } message CMsgClientToGCWrapAndDeliverGiftResponse { - optional .EGCMsgResponse response = 1 [default = k_EGCMsgResponseOK]; - optional uint32 gifting_charge_uses = 2; - optional int32 gifting_charge_max = 3; - optional uint32 gifting_uses = 4; - optional int32 gifting_max = 5; - optional uint32 gifting_window_hours = 6; - optional .EGCMsgInitiateTradeResponse trade_restriction = 7 [default = k_EGCMsgInitiateTradeResponse_Accepted]; + optional .EGCMsgResponse response = 1 [default = k_EGCMsgResponseOK]; + optional uint32 gifting_charge_uses = 2; + optional int32 gifting_charge_max = 3; + optional uint32 gifting_uses = 4; + optional int32 gifting_max = 5; + optional uint32 gifting_window_hours = 6; + optional .EGCMsgInitiateTradeResponse trade_restriction = 7 [default = k_EGCMsgInitiateTradeResponse_Accepted]; } message CMsgClientToGCUnwrapGift { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgClientToGCGetGiftPermissions { } message CMsgClientToGCGetGiftPermissionsResponse { - message FriendPermission { - optional uint32 account_id = 1; - optional .EGCMsgInitiateTradeResponse permission = 2 [default = k_EGCMsgInitiateTradeResponse_Accepted]; - } + message FriendPermission { + optional uint32 account_id = 1; + optional .EGCMsgInitiateTradeResponse permission = 2 [default = k_EGCMsgInitiateTradeResponse_Accepted]; + } - optional bool is_unlimited = 1; - optional bool has_two_factor = 3; - optional .EGCMsgInitiateTradeResponse sender_permission = 6 [default = k_EGCMsgInitiateTradeResponse_Accepted]; - optional uint32 friendship_age_requirement = 7; - optional uint32 friendship_age_requirement_two_factor = 8; - repeated .CMsgClientToGCGetGiftPermissionsResponse.FriendPermission friend_permissions = 9; + optional bool is_unlimited = 1; + optional bool has_two_factor = 3; + optional .EGCMsgInitiateTradeResponse sender_permission = 6 [default = k_EGCMsgInitiateTradeResponse_Accepted]; + optional uint32 friendship_age_requirement = 7; + optional uint32 friendship_age_requirement_two_factor = 8; + repeated .CMsgClientToGCGetGiftPermissionsResponse.FriendPermission friend_permissions = 9; } message CMsgClientToGCUnpackBundle { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgClientToGCUnpackBundleResponse { - enum EUnpackBundle { - k_UnpackBundle_Succeeded = 0; - k_UnpackBundle_Failed_ItemIsNotBundle = 1; - k_UnpackBundle_Failed_UnableToCreateContainedItem = 2; - k_UnpackBundle_Failed_SOCacheError = 3; - k_UnpackBundle_Failed_ItemIsInvalid = 4; - k_UnpackBundle_Failed_BadItemQuantity = 5; - k_UnpackBundle_Failed_UnableToDeleteItem = 6; - } + enum EUnpackBundle { + k_UnpackBundle_Succeeded = 0; + k_UnpackBundle_Failed_ItemIsNotBundle = 1; + k_UnpackBundle_Failed_UnableToCreateContainedItem = 2; + k_UnpackBundle_Failed_SOCacheError = 3; + k_UnpackBundle_Failed_ItemIsInvalid = 4; + k_UnpackBundle_Failed_BadItemQuantity = 5; + k_UnpackBundle_Failed_UnableToDeleteItem = 6; + } - repeated uint64 unpacked_item_ids = 1; - optional .CMsgClientToGCUnpackBundleResponse.EUnpackBundle response = 2 [default = k_UnpackBundle_Succeeded]; - repeated uint32 unpacked_item_def_indexes = 3; + repeated uint64 unpacked_item_ids = 1; + optional .CMsgClientToGCUnpackBundleResponse.EUnpackBundle response = 2 [default = k_UnpackBundle_Succeeded]; + repeated uint32 unpacked_item_def_indexes = 3; } message CMsgClientToGCPackBundle { - repeated uint64 item_ids = 1; - optional uint32 bundle_item_def_index = 2; + repeated uint64 item_ids = 1; + optional uint32 bundle_item_def_index = 2; } message CMsgClientToGCPackBundleResponse { - enum EPackBundle { - k_PackBundle_Succeeded = 0; - k_PackBundle_Failed_InternalError = 1; - k_PackBundle_Failed_ItemIsNotBundle = 2; - k_PackBundle_Failed_SOCacheError = 3; - k_PackBundle_Failed_ItemIsInvalid = 4; - k_PackBundle_Failed_BadItemQuantity = 5; - k_PackBundle_Failed_UnableToDeleteItem = 6; - k_PackBundle_Failed_BundleCannotBePacked = 7; - k_PackBundle_Failed_ItemIsUntradeable = 8; - k_PackBundle_Failed_ItemIsEquipped = 9; - k_PackBundle_Failed_ItemHasGems = 10; - k_PackBundle_Failed_ItemMixedQuality = 11; - k_PackBundle_Failed_ItemInvalidQuality = 12; - k_PackBundle_Failed_ItemIsNonEconomy = 13; - k_PackBundle_Failed_Disabled = 14; - } - - optional uint64 item_id = 1; - optional .CMsgClientToGCPackBundleResponse.EPackBundle response = 2 [default = k_PackBundle_Succeeded]; + enum EPackBundle { + k_PackBundle_Succeeded = 0; + k_PackBundle_Failed_InternalError = 1; + k_PackBundle_Failed_ItemIsNotBundle = 2; + k_PackBundle_Failed_SOCacheError = 3; + k_PackBundle_Failed_ItemIsInvalid = 4; + k_PackBundle_Failed_BadItemQuantity = 5; + k_PackBundle_Failed_UnableToDeleteItem = 6; + k_PackBundle_Failed_BundleCannotBePacked = 7; + k_PackBundle_Failed_ItemIsUntradeable = 8; + k_PackBundle_Failed_ItemIsEquipped = 9; + k_PackBundle_Failed_ItemHasGems = 10; + k_PackBundle_Failed_ItemMixedQuality = 11; + k_PackBundle_Failed_ItemInvalidQuality = 12; + k_PackBundle_Failed_ItemIsNonEconomy = 13; + k_PackBundle_Failed_Disabled = 14; + } + + optional uint64 item_id = 1; + optional .CMsgClientToGCPackBundleResponse.EPackBundle response = 2 [default = k_PackBundle_Succeeded]; } message CMsgGCToClientStoreTransactionCompleted { - optional uint64 txn_id = 1; - repeated uint64 item_ids = 2; + optional uint64 txn_id = 1; + repeated uint64 item_ids = 2; } message CMsgClientToGCEquipItems { - repeated .CMsgAdjustItemEquippedState equips = 1; + repeated .CMsgAdjustItemEquippedState equips = 1; } message CMsgClientToGCEquipItemsResponse { - optional fixed64 so_cache_version_id = 1; + optional fixed64 so_cache_version_id = 1; } message CMsgClientToGCSetItemStyle { - optional uint64 item_id = 1; - optional uint32 style_index = 2 [default = 255]; + optional uint64 item_id = 1; + optional uint32 style_index = 2 [default = 255]; } message CMsgClientToGCSetItemStyleResponse { - enum ESetStyle { - k_SetStyle_Succeeded = 0; - k_SetStyle_Failed = 1; - k_SetStyle_Failed_StyleIsLocked = 2; - } + enum ESetStyle { + k_SetStyle_Succeeded = 0; + k_SetStyle_Failed = 1; + k_SetStyle_Failed_StyleIsLocked = 2; + } - optional .CMsgClientToGCSetItemStyleResponse.ESetStyle response = 1 [default = k_SetStyle_Succeeded]; + optional .CMsgClientToGCSetItemStyleResponse.ESetStyle response = 1 [default = k_SetStyle_Succeeded]; } message CMsgClientToGCUnlockItemStyle { - optional uint64 item_to_unlock = 1; - optional uint32 style_index = 2 [default = 255]; - repeated uint64 consumable_item_ids = 3; + optional uint64 item_to_unlock = 1; + optional uint32 style_index = 2 [default = 255]; + repeated uint64 consumable_item_ids = 3; } message CMsgClientToGCUnlockItemStyleResponse { - enum EUnlockStyle { - k_UnlockStyle_Succeeded = 0; - k_UnlockStyle_Failed_PreReq = 1; - k_UnlockStyle_Failed_CantAfford = 2; - k_UnlockStyle_Failed_CantCommit = 3; - k_UnlockStyle_Failed_CantLockCache = 4; - k_UnlockStyle_Failed_CantAffordAttrib = 5; - k_UnlockStyle_Failed_CantAffordGem = 6; - k_UnlockStyle_Failed_NoCompendiumLevel = 7; - k_UnlockStyle_Failed_AlreadyUnlocked = 8; - k_UnlockStyle_Failed_OtherError = 9; - k_UnlockStyle_Failed_ItemIsInvalid = 10; - k_UnlockStyle_Failed_ToolIsInvalid = 11; - } - - optional .CMsgClientToGCUnlockItemStyleResponse.EUnlockStyle response = 1 [default = k_UnlockStyle_Succeeded]; - optional uint64 item_id = 2; - optional uint32 style_index = 3 [default = 255]; - optional uint32 style_prereq = 4 [default = 255]; + enum EUnlockStyle { + k_UnlockStyle_Succeeded = 0; + k_UnlockStyle_Failed_PreReq = 1; + k_UnlockStyle_Failed_CantAfford = 2; + k_UnlockStyle_Failed_CantCommit = 3; + k_UnlockStyle_Failed_CantLockCache = 4; + k_UnlockStyle_Failed_CantAffordAttrib = 5; + k_UnlockStyle_Failed_CantAffordGem = 6; + k_UnlockStyle_Failed_NoCompendiumLevel = 7; + k_UnlockStyle_Failed_AlreadyUnlocked = 8; + k_UnlockStyle_Failed_OtherError = 9; + k_UnlockStyle_Failed_ItemIsInvalid = 10; + k_UnlockStyle_Failed_ToolIsInvalid = 11; + } + + optional .CMsgClientToGCUnlockItemStyleResponse.EUnlockStyle response = 1 [default = k_UnlockStyle_Succeeded]; + optional uint64 item_id = 2; + optional uint32 style_index = 3 [default = 255]; + optional uint32 style_prereq = 4 [default = 255]; } message CMsgClientToGCSetItemInventoryCategory { - repeated uint64 item_ids = 1; - optional uint32 set_to_value = 2; - optional uint32 remove_categories = 3; - optional uint32 add_categories = 4; + repeated uint64 item_ids = 1; + optional uint32 set_to_value = 2; + optional uint32 remove_categories = 3; + optional uint32 add_categories = 4; } message CMsgClientToGCUnlockCrate { - optional uint64 crate_item_id = 1; - optional uint64 key_item_id = 2; + optional uint64 crate_item_id = 1; + optional uint64 key_item_id = 2; } message CMsgClientToGCUnlockCrateResponse { - message Item { - optional uint64 item_id = 1; - optional uint32 def_index = 2; - } + message Item { + optional uint64 item_id = 1; + optional uint32 def_index = 2; + } - optional .EGCMsgResponse result = 1 [default = k_EGCMsgResponseOK]; - repeated .CMsgClientToGCUnlockCrateResponse.Item granted_items = 2; + optional .EGCMsgResponse result = 1 [default = k_EGCMsgResponseOK]; + repeated .CMsgClientToGCUnlockCrateResponse.Item granted_items = 2; } message CMsgClientToGCRemoveItemAttribute { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgClientToGCRemoveItemAttributeResponse { - enum ERemoveItemAttribute { - k_RemoveItemAttribute_Succeeded = 0; - k_RemoveItemAttribute_Failed = 1; - k_RemoveItemAttribute_Failed_ItemIsInvalid = 2; - k_RemoveItemAttribute_Failed_AttributeCannotBeRemoved = 3; - k_RemoveItemAttribute_Failed_AttributeDoesntExist = 4; - } + enum ERemoveItemAttribute { + k_RemoveItemAttribute_Succeeded = 0; + k_RemoveItemAttribute_Failed = 1; + k_RemoveItemAttribute_Failed_ItemIsInvalid = 2; + k_RemoveItemAttribute_Failed_AttributeCannotBeRemoved = 3; + k_RemoveItemAttribute_Failed_AttributeDoesntExist = 4; + } - optional .CMsgClientToGCRemoveItemAttributeResponse.ERemoveItemAttribute response = 1 [default = k_RemoveItemAttribute_Succeeded]; - optional uint64 item_id = 2; + optional .CMsgClientToGCRemoveItemAttributeResponse.ERemoveItemAttribute response = 1 [default = k_RemoveItemAttribute_Succeeded]; + optional uint64 item_id = 2; } message CMsgClientToGCNameItem { - optional uint64 subject_item_id = 1; - optional uint64 tool_item_id = 2; - optional string name = 3; + optional uint64 subject_item_id = 1; + optional uint64 tool_item_id = 2; + optional string name = 3; } message CMsgClientToGCNameItemResponse { - enum ENameItem { - k_NameItem_Succeeded = 0; - k_NameItem_Failed = 1; - k_NameItem_Failed_ToolIsInvalid = 2; - k_NameItem_Failed_ItemIsInvalid = 3; - k_NameItem_Failed_NameIsInvalid = 4; - } + enum ENameItem { + k_NameItem_Succeeded = 0; + k_NameItem_Failed = 1; + k_NameItem_Failed_ToolIsInvalid = 2; + k_NameItem_Failed_ItemIsInvalid = 3; + k_NameItem_Failed_NameIsInvalid = 4; + } - optional .CMsgClientToGCNameItemResponse.ENameItem response = 1 [default = k_NameItem_Succeeded]; - optional uint64 item_id = 2; + optional .CMsgClientToGCNameItemResponse.ENameItem response = 1 [default = k_NameItem_Succeeded]; + optional uint64 item_id = 2; } message CMsgGCSetItemPosition { - optional uint64 item_id = 1; - optional uint32 new_position = 2; + optional uint64 item_id = 1; + optional uint32 new_position = 2; } message CAttribute_ItemDynamicRecipeComponent { - optional uint32 item_def = 1; - optional uint32 item_quality = 2; - optional uint32 item_flags = 3; - optional string attributes_string = 4; - optional uint32 item_count = 5; - optional uint32 items_fulfilled = 6; - optional uint32 item_rarity = 7; - optional string lootlist = 8; - optional uint64 fulfilled_item_id = 9; - optional uint32 associated_item_def = 10; + optional uint32 item_def = 1; + optional uint32 item_quality = 2; + optional uint32 item_flags = 3; + optional string attributes_string = 4; + optional uint32 item_count = 5; + optional uint32 items_fulfilled = 6; + optional uint32 item_rarity = 7; + optional string lootlist = 8; + optional uint64 fulfilled_item_id = 9; + optional uint32 associated_item_def = 10; } message CProtoItemSocket { - optional uint64 item_id = 1; - optional uint32 attr_def_index = 2; - optional uint32 required_type = 3; - optional string required_hero = 4; - optional uint32 gem_def_index = 5; - optional bool not_tradable = 6; - optional string required_item_slot = 7; + optional uint64 item_id = 1; + optional uint32 attr_def_index = 2; + optional uint32 required_type = 3; + optional string required_hero = 4; + optional uint32 gem_def_index = 5; + optional bool not_tradable = 6; + optional string required_item_slot = 7; } message CProtoItemSocket_Empty { - optional .CProtoItemSocket socket = 1; + optional .CProtoItemSocket socket = 1; } message CProtoItemSocket_Effect { - optional .CProtoItemSocket socket = 1; - optional uint32 effect = 2; + optional .CProtoItemSocket socket = 1; + optional uint32 effect = 2; } message CProtoItemSocket_Color { - optional .CProtoItemSocket socket = 1; - optional uint32 red = 2; - optional uint32 green = 3; - optional uint32 blue = 4; + optional .CProtoItemSocket socket = 1; + optional uint32 red = 2; + optional uint32 green = 3; + optional uint32 blue = 4; } message CProtoItemSocket_Strange { - optional .CProtoItemSocket socket = 1; - optional uint32 strange_type = 2; - optional uint32 strange_value = 3; + optional .CProtoItemSocket socket = 1; + optional uint32 strange_type = 2; + optional uint32 strange_value = 3; } message CProtoItemSocket_Strange_DESERIALIZE_FROM_STRING_ONLY { - optional .CProtoItemSocket socket = 1; - optional uint32 strange_type = 2; - optional uint32 strange_value = 3; - optional uint32 ability_effect = 4; + optional .CProtoItemSocket socket = 1; + optional uint32 strange_type = 2; + optional uint32 strange_value = 3; + optional uint32 ability_effect = 4; } message CProtoItemSocket_Spectator { - optional .CProtoItemSocket socket = 1; - optional uint32 games_viewed = 2; - optional uint32 corporation_id = 3; - optional uint32 league_id = 4; - optional uint32 team_id = 5; + optional .CProtoItemSocket socket = 1; + optional uint32 games_viewed = 2; + optional uint32 corporation_id = 3; + optional uint32 league_id = 4; + optional uint32 team_id = 5; } message CProtoItemSocket_AssetModifier { - optional .CProtoItemSocket socket = 1; - optional uint32 asset_modifier = 2; + optional .CProtoItemSocket socket = 1; + optional uint32 asset_modifier = 2; } message CProtoItemSocket_AssetModifier_DESERIALIZE_FROM_STRING_ONLY { - optional .CProtoItemSocket socket = 1; - optional uint32 asset_modifier = 2; - optional uint32 anim_modifier = 3; - optional uint32 ability_effect = 4; + optional .CProtoItemSocket socket = 1; + optional uint32 asset_modifier = 2; + optional uint32 anim_modifier = 3; + optional uint32 ability_effect = 4; } message CProtoItemSocket_Autograph { - optional .CProtoItemSocket socket = 1; - optional string autograph = 2; - optional uint32 autograph_id = 3; - optional uint32 autograph_score = 4; + optional .CProtoItemSocket socket = 1; + optional string autograph = 2; + optional uint32 autograph_id = 3; + optional uint32 autograph_score = 4; } message CProtoItemSocket_StaticVisuals { - optional .CProtoItemSocket socket = 1; + optional .CProtoItemSocket socket = 1; } message CAttribute_String { - optional string value = 1; + optional string value = 1; } message CWorkshop_GetItemDailyRevenue_Request { - optional uint32 appid = 1; - optional uint32 item_id = 2; - optional uint32 date_start = 3; - optional uint32 date_end = 4; + optional uint32 appid = 1; + optional uint32 item_id = 2; + optional uint32 date_start = 3; + optional uint32 date_end = 4; } message CWorkshop_GetItemDailyRevenue_Response { - message CountryDailyRevenue { - optional string country_code = 1; - optional uint32 date = 2; - optional int64 revenue_usd = 3; - optional int32 units = 4; - } + message CountryDailyRevenue { + optional string country_code = 1; + optional uint32 date = 2; + optional int64 revenue_usd = 3; + optional int32 units = 4; + } - repeated .CWorkshop_GetItemDailyRevenue_Response.CountryDailyRevenue country_revenue = 1; + repeated .CWorkshop_GetItemDailyRevenue_Response.CountryDailyRevenue country_revenue = 1; } message CWorkshop_GetPackageDailyRevenue_Request { - optional uint32 packageid = 1; - optional uint32 date_start = 2; - optional uint32 date_end = 3; + optional uint32 packageid = 1; + optional uint32 date_start = 2; + optional uint32 date_end = 3; } message CWorkshop_GetPackageDailyRevenue_Response { - message CountryDailyRevenue { - optional string country_code = 1; - optional uint32 date = 2; - optional int64 revenue_usd = 3; - optional int32 units = 4; - } + message CountryDailyRevenue { + optional string country_code = 1; + optional uint32 date = 2; + optional int64 revenue_usd = 3; + optional int32 units = 4; + } - repeated .CWorkshop_GetPackageDailyRevenue_Response.CountryDailyRevenue country_revenue = 1; + repeated .CWorkshop_GetPackageDailyRevenue_Response.CountryDailyRevenue country_revenue = 1; } message CMsgSQLGCToGCGrantBackpackSlots { - optional uint32 account_id = 1; - optional uint32 add_slots = 2; + optional uint32 account_id = 1; + optional uint32 add_slots = 2; } message CMsgClientToGCLookupAccountName { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCLookupAccountNameResponse { - optional uint32 account_id = 1; - optional string account_name = 2; + optional uint32 account_id = 1; + optional string account_name = 2; } message CMsgClientToGCCreateStaticRecipe { - message Item { - optional uint64 item_id = 1; - optional uint32 slot_id = 2; - } + message Item { + optional uint64 item_id = 1; + optional uint32 slot_id = 2; + } - repeated .CMsgClientToGCCreateStaticRecipe.Item items = 1; - optional uint32 recipe_def_index = 2; + repeated .CMsgClientToGCCreateStaticRecipe.Item items = 1; + optional uint32 recipe_def_index = 2; } message CMsgClientToGCCreateStaticRecipeResponse { - message OutputItem { - optional uint32 def_index = 1; - optional uint64 item_id = 2; - optional uint32 slot_id = 3; - } - - message InputError { - optional uint32 slot_id = 1; - optional .CMsgClientToGCCreateStaticRecipeResponse.EResponse error = 2 [default = eResponse_Success]; - } - - message AdditionalOutput { - optional uint32 slot_id = 1; - optional uint64 value = 2; - } - - enum EResponse { - eResponse_Success = 0; - eResponse_OfferingDisabled = 1; - eResponse_InvalidItems = 2; - eResponse_InternalError = 3; - eResponse_MissingLeague = 4; - eResponse_MissingEvent = 5; - } - - optional .CMsgClientToGCCreateStaticRecipeResponse.EResponse response = 1 [default = eResponse_Success]; - repeated .CMsgClientToGCCreateStaticRecipeResponse.OutputItem output_items = 2; - repeated .CMsgClientToGCCreateStaticRecipeResponse.InputError input_errors = 3; - repeated .CMsgClientToGCCreateStaticRecipeResponse.AdditionalOutput additional_outputs = 4; + message OutputItem { + optional uint32 def_index = 1; + optional uint64 item_id = 2; + optional uint32 slot_id = 3; + } + + message InputError { + optional uint32 slot_id = 1; + optional .CMsgClientToGCCreateStaticRecipeResponse.EResponse error = 2 [default = eResponse_Success]; + } + + message AdditionalOutput { + optional uint32 slot_id = 1; + optional uint64 value = 2; + } + + enum EResponse { + eResponse_Success = 0; + eResponse_OfferingDisabled = 1; + eResponse_InvalidItems = 2; + eResponse_InternalError = 3; + eResponse_MissingLeague = 4; + eResponse_MissingEvent = 5; + } + + optional .CMsgClientToGCCreateStaticRecipeResponse.EResponse response = 1 [default = eResponse_Success]; + repeated .CMsgClientToGCCreateStaticRecipeResponse.OutputItem output_items = 2; + repeated .CMsgClientToGCCreateStaticRecipeResponse.InputError input_errors = 3; + repeated .CMsgClientToGCCreateStaticRecipeResponse.AdditionalOutput additional_outputs = 4; } message CMsgProcessTransactionOrder { - message Item { - optional uint32 item_def_index = 1; - optional uint32 item_price = 2; - optional uint32 quantity = 3; - optional string category_desc = 4; - optional uint32 store_purchase_type = 5; - optional uint64 source_reference_id = 6; - optional int32 parent_stack_index = 7; - optional bool default_price = 8; - optional bool is_user_facing = 9; - optional int32 price_index = 11; - } - - optional uint64 txn_id = 1; - optional uint64 steam_txn_id = 2; - optional uint64 partner_txn_id = 3; - optional fixed64 steam_id = 4; - optional uint32 time_stamp = 5; - optional uint64 watermark = 6; - optional int32 purchase_report_status = 7; - optional uint32 currency = 8; - repeated .CMsgProcessTransactionOrder.Item items = 9; + message Item { + optional uint32 item_def_index = 1; + optional uint32 item_price = 2; + optional uint32 quantity = 3; + optional string category_desc = 4; + optional uint32 store_purchase_type = 5; + optional uint64 source_reference_id = 6; + optional int32 parent_stack_index = 7; + optional bool default_price = 8; + optional bool is_user_facing = 9; + optional int32 price_index = 11; + } + + optional uint64 txn_id = 1; + optional uint64 steam_txn_id = 2; + optional uint64 partner_txn_id = 3; + optional fixed64 steam_id = 4; + optional uint32 time_stamp = 5; + optional uint64 watermark = 6; + optional int32 purchase_report_status = 7; + optional uint32 currency = 8; + repeated .CMsgProcessTransactionOrder.Item items = 9; } message CMsgGCToGCStoreProcessCDKeyTransaction { - optional .CMsgProcessTransactionOrder order = 1; - optional uint32 reason_code = 2; - optional uint32 partner = 3; + optional .CMsgProcessTransactionOrder order = 1; + optional uint32 reason_code = 2; + optional uint32 partner = 3; } message CMsgGCToGCStoreProcessCDKeyTransactionResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCToGCStoreProcessSettlement { - optional .CMsgProcessTransactionOrder order = 1; + optional .CMsgProcessTransactionOrder order = 1; } message CMsgGCToGCStoreProcessSettlementResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCToGCBroadcastConsoleCommand { - optional string con_command = 1; - optional bool report_output = 2; - optional int32 sending_gc = 3 [default = -1]; - optional string output_initiator = 4; - optional string sender_source = 5; + optional string con_command = 1; + optional bool report_output = 2; + optional int32 sending_gc = 3 [default = -1]; + optional string output_initiator = 4; + optional string sender_source = 5; } message CMsgGCToGCConsoleOutput { - message OutputLine { - optional string text = 1; - optional uint32 spew_level = 2; - } + message OutputLine { + optional string text = 1; + optional uint32 spew_level = 2; + } - optional string initiator = 1; - optional int32 sending_gc = 2 [default = -1]; - repeated .CMsgGCToGCConsoleOutput.OutputLine msgs = 3; - optional bool is_last_for_source_job = 4; + optional string initiator = 1; + optional int32 sending_gc = 2 [default = -1]; + repeated .CMsgGCToGCConsoleOutput.OutputLine msgs = 3; + optional bool is_last_for_source_job = 4; } message CMsgItemAges { - message MaxItemIDTimestamp { - optional uint32 timestamp = 1; - optional uint64 max_item_id = 2; - } + message MaxItemIDTimestamp { + optional uint32 timestamp = 1; + optional uint64 max_item_id = 2; + } - repeated .CMsgItemAges.MaxItemIDTimestamp max_item_id_timestamps = 1; + repeated .CMsgItemAges.MaxItemIDTimestamp max_item_id_timestamps = 1; } message CMsgGCToGCInternalTestMsg { - optional int32 sending_gc = 1 [default = -1]; - optional fixed64 sender_id = 2; - optional uint32 context = 3; - optional uint32 message_id = 4; - optional bytes message_body = 5; - optional fixed64 job_id_source = 6; - optional fixed64 job_id_target = 7; + optional int32 sending_gc = 1 [default = -1]; + optional fixed64 sender_id = 2; + optional uint32 context = 3; + optional uint32 message_id = 4; + optional bytes message_body = 5; + optional fixed64 job_id_source = 6; + optional fixed64 job_id_target = 7; } message CMsgGCToGCClientServerVersionsUpdated { - optional uint32 client_min_allowed_version = 1; - optional uint32 client_active_version = 2; - optional uint32 server_active_version = 3; - optional uint32 server_deployed_version = 4; - optional uint32 what_changed = 5; + optional uint32 client_min_allowed_version = 1; + optional uint32 client_active_version = 2; + optional uint32 server_active_version = 3; + optional uint32 server_deployed_version = 4; + optional uint32 what_changed = 5; } message CMsgGCToGCBroadcastMessageFromSub { - optional uint32 msg_id = 1; - optional bytes serialized_msg = 2; - repeated uint32 account_id_list = 3 [packed = true]; - repeated fixed64 steam_id_list = 4 [packed = true]; + optional uint32 msg_id = 1; + optional bytes serialized_msg = 2; + repeated uint32 account_id_list = 3 [packed = true]; + repeated fixed64 steam_id_list = 4 [packed = true]; } message CMsgGCToClientCurrencyPricePoints { - message Currency { - optional uint32 currency_id = 1; - repeated uint64 currency_price = 2 [packed = true]; - } + message Currency { + optional uint32 currency_id = 1; + repeated uint64 currency_price = 2 [packed = true]; + } - repeated uint64 price_key = 1 [packed = true]; - repeated .CMsgGCToClientCurrencyPricePoints.Currency currencies = 2; + repeated uint64 price_key = 1 [packed = true]; + repeated .CMsgGCToClientCurrencyPricePoints.Currency currencies = 2; } message CMsgBannedWordList { - optional uint32 version = 1; - repeated string banned_words = 2; + optional uint32 version = 1; + repeated string banned_words = 2; } message CMsgGCToGCFlushSteamInventoryCache { - message Key { - optional uint64 steamid = 1; - optional uint64 contextid = 2; - } + message Key { + optional uint64 steamid = 1; + optional uint64 contextid = 2; + } - repeated .CMsgGCToGCFlushSteamInventoryCache.Key keys = 1; + repeated .CMsgGCToGCFlushSteamInventoryCache.Key keys = 1; } message CMsgGCToGCUpdateSubscriptionItems { - optional uint32 account_id = 1; - optional bool always_notify = 2; + optional uint32 account_id = 1; + optional bool always_notify = 2; } message CMsgGCToGCSelfPing { - optional uint32 sample_id = 1; + optional uint32 sample_id = 1; } message CMsgGCToGCGetInfuxIntervalStats { } message CMsgGCToGCGetInfuxIntervalStatsResponse { - repeated fixed32 stat_ids = 1 [packed = true]; - repeated uint64 stat_total = 2 [packed = true]; - repeated uint32 stat_samples = 3 [packed = true]; - repeated uint32 stat_max = 4 [packed = true]; - optional uint32 sample_duration_ms = 5; + repeated fixed32 stat_ids = 1 [packed = true]; + repeated uint64 stat_total = 2 [packed = true]; + repeated uint32 stat_samples = 3 [packed = true]; + repeated uint32 stat_max = 4 [packed = true]; + optional uint32 sample_duration_ms = 5; } message CMsgGCToGCPurchaseSucceeded { } message CMsgClientToGCGetLimitedItemPurchaseQuantity { - optional uint32 item_def = 1; + optional uint32 item_def = 1; } message CMsgClientToGCGetLimitedItemPurchaseQuantityResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidItemDef = 5; - k_eItemDefNotLimited = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidItemDef = 5; + k_eItemDefNotLimited = 6; + } - optional .CMsgClientToGCGetLimitedItemPurchaseQuantityResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint32 quantity_purchased = 2; + optional .CMsgClientToGCGetLimitedItemPurchaseQuantityResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint32 quantity_purchased = 2; } message CMsgClientToGCGetInFlightItemCharges { - optional uint32 item_def = 1; + optional uint32 item_def = 1; } message CMsgClientToGCGetInFlightItemChargesResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidItemDef = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidItemDef = 5; + } - optional .CMsgClientToGCGetInFlightItemChargesResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint32 charges_in_flight = 2; + optional .CMsgClientToGCGetInFlightItemChargesResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint32 charges_in_flight = 2; } message CMsgClientToGCPurchaseChargeCostItems { - message Item { - optional uint32 item_def_index = 1; - optional uint32 quantity = 2; - optional uint64 source_reference_id = 3; - optional int32 price_index = 4; - } + message Item { + optional uint32 item_def_index = 1; + optional uint32 quantity = 2; + optional uint64 source_reference_id = 3; + optional int32 price_index = 4; + } - repeated .CMsgClientToGCPurchaseChargeCostItems.Item items = 1; - optional uint32 currency = 2; + repeated .CMsgClientToGCPurchaseChargeCostItems.Item items = 1; + optional uint32 currency = 2; } message CMsgClientToGCPurchaseChargeCostItemsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidParam = 5; - k_eInvalidPrice = 6; - k_eInsufficientCharges = 7; - k_eLimitedItem = 8; - k_eMissingPrereq = 10; - } - - optional .CMsgClientToGCPurchaseChargeCostItemsResponse.EResponse result = 1 [default = k_eInternalError]; - repeated uint64 item_ids = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidParam = 5; + k_eInvalidPrice = 6; + k_eInsufficientCharges = 7; + k_eLimitedItem = 8; + k_eMissingPrereq = 10; + } + + optional .CMsgClientToGCPurchaseChargeCostItemsResponse.EResponse result = 1 [default = k_eInternalError]; + repeated uint64 item_ids = 2; } message CMsgGCToClientInFlightChargesUpdated { - message ItemCharges { - optional uint32 item_def = 1; - optional uint32 charges_in_flight = 2; - } + message ItemCharges { + optional uint32 item_def = 1; + optional uint32 charges_in_flight = 2; + } - repeated .CMsgGCToClientInFlightChargesUpdated.ItemCharges in_flight_charges = 2; + repeated .CMsgGCToClientInFlightChargesUpdated.ItemCharges in_flight_charges = 2; } message CMsgClientToGCCancelUnfinalizedTransactions { - optional uint32 unused = 1; + optional uint32 unused = 1; } message CMsgClientToGCCancelUnfinalizedTransactionsResponse { - optional uint32 result = 1; + optional uint32 result = 1; } message CMsgGCToGCUpdateWelcomeMsg { - optional bool server = 1; - optional .CExtraMsgBlock new_msg = 2; - optional bool broadcast = 3; + optional bool server = 1; + optional .CExtraMsgBlock new_msg = 2; + optional bool broadcast = 3; +} + +message CMsgClientToGCRecycleMultipleItems { + message Item { + optional uint64 item_id = 1; + optional uint32 slot_id = 2; + optional uint32 recipe_def_index = 3; + } + + repeated .CMsgClientToGCRecycleMultipleItems.Item items = 1; +} + +message CMsgClientToGCRecycleMultipleItemsResponse { + repeated .CMsgClientToGCCreateStaticRecipeResponse responses = 1; } diff --git a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/econ_shared_enums.proto b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/econ_shared_enums.proto index 6aa27e64..86c822c7 100644 --- a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/econ_shared_enums.proto +++ b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/econ_shared_enums.proto @@ -4,39 +4,42 @@ option optimize_for = SPEED; option java_generic_services = false; enum EGCEconBaseMsg { - k_EMsgGCGenericResult = 2579; + k_EMsgGCGenericResult = 2579; } enum EGCMsgResponse { - k_EGCMsgResponseOK = 0; - k_EGCMsgResponseDenied = 1; - k_EGCMsgResponseServerError = 2; - k_EGCMsgResponseTimeout = 3; - k_EGCMsgResponseInvalid = 4; - k_EGCMsgResponseNoMatch = 5; - k_EGCMsgResponseUnknownError = 6; - k_EGCMsgResponseNotLoggedOn = 7; - k_EGCMsgFailedToCreate = 8; + k_EGCMsgResponseOK = 0; + k_EGCMsgResponseDenied = 1; + k_EGCMsgResponseServerError = 2; + k_EGCMsgResponseTimeout = 3; + k_EGCMsgResponseInvalid = 4; + k_EGCMsgResponseNoMatch = 5; + k_EGCMsgResponseUnknownError = 6; + k_EGCMsgResponseNotLoggedOn = 7; + k_EGCMsgFailedToCreate = 8; } enum EGCMsgUseItemResponse { - k_EGCMsgUseItemResponse_ItemUsed = 0; - k_EGCMsgUseItemResponse_GiftNoOtherPlayers = 1; - k_EGCMsgUseItemResponse_ServerError = 2; - k_EGCMsgUseItemResponse_MiniGameAlreadyStarted = 3; - k_EGCMsgUseItemResponse_ItemUsed_ItemsGranted = 4; - k_EGCMsgUseItemResponse_DropRateBonusAlreadyGranted = 5; - k_EGCMsgUseItemResponse_NotInLowPriorityPool = 6; - k_EGCMsgUseItemResponse_NotHighEnoughLevel = 7; - k_EGCMsgUseItemResponse_EventNotActive = 8; - k_EGCMsgUseItemResponse_ItemUsed_EventPointsGranted = 9; - k_EGCMsgUseItemResponse_MissingRequirement = 10; - k_EGCMsgUseItemResponse_EmoticonUnlock_NoNew = 11; - k_EGCMsgUseItemResponse_EmoticonUnlock_Complete = 12; - k_EGCMsgUseItemResponse_ItemUsed_Compendium = 13; + k_EGCMsgUseItemResponse_ItemUsed = 0; + k_EGCMsgUseItemResponse_GiftNoOtherPlayers = 1; + k_EGCMsgUseItemResponse_ServerError = 2; + k_EGCMsgUseItemResponse_MiniGameAlreadyStarted = 3; + k_EGCMsgUseItemResponse_ItemUsed_ItemsGranted = 4; + k_EGCMsgUseItemResponse_DropRateBonusAlreadyGranted = 5; + k_EGCMsgUseItemResponse_NotInLowPriorityPool = 6; + k_EGCMsgUseItemResponse_NotHighEnoughLevel = 7; + k_EGCMsgUseItemResponse_EventNotActive = 8; + k_EGCMsgUseItemResponse_ItemUsed_EventPointsGranted = 9; + k_EGCMsgUseItemResponse_MissingRequirement = 10; + k_EGCMsgUseItemResponse_EmoticonUnlock_NoNew = 11; + k_EGCMsgUseItemResponse_EmoticonUnlock_Complete = 12; + k_EGCMsgUseItemResponse_ItemUsed_Compendium = 13; + k_EGCMsgUseItemResponse_CannotUseWhileUntradable = 14; + k_EGCMsgUseItemResponse_CannotBeUsedByAccount = 15; + k_EGCMsgUseItemResponse_RecipientCannotRecieve = 16; } message CMsgGenericResult { - optional uint32 eresult = 1 [default = 2]; - optional string debug_message = 2; + optional uint32 eresult = 1 [default = 2]; + optional string debug_message = 2; } diff --git a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/gcsdk_gcmessages.proto b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/gcsdk_gcmessages.proto index b53ad759..6cf09b7b 100644 --- a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/gcsdk_gcmessages.proto +++ b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/gcsdk_gcmessages.proto @@ -8,493 +8,494 @@ option optimize_for = SPEED; option java_generic_services = false; enum ESourceEngine { - k_ESE_Source1 = 0; - k_ESE_Source2 = 1; + k_ESE_Source1 = 0; + k_ESE_Source2 = 1; } enum PartnerAccountType { - PARTNER_NONE = 0; - PARTNER_PERFECT_WORLD = 1; - PARTNER_INVALID = 3; + PARTNER_NONE = 0; + PARTNER_PERFECT_WORLD = 1; + PARTNER_INVALID = 3; } enum GCConnectionStatus { - GCConnectionStatus_HAVE_SESSION = 0; - GCConnectionStatus_GC_GOING_DOWN = 1; - GCConnectionStatus_NO_SESSION = 2; - GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3; - GCConnectionStatus_NO_STEAM = 4; - GCConnectionStatus_SUSPENDED = 5; - GCConnectionStatus_STEAM_GOING_DOWN = 6; + GCConnectionStatus_HAVE_SESSION = 0; + GCConnectionStatus_GC_GOING_DOWN = 1; + GCConnectionStatus_NO_SESSION = 2; + GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3; + GCConnectionStatus_NO_STEAM = 4; + GCConnectionStatus_SUSPENDED = 5; + GCConnectionStatus_STEAM_GOING_DOWN = 6; } message CExtraMsgBlock { - optional uint32 msg_type = 1; - optional bytes contents = 2 [(debugprint_visibility) = k_EProtoDebugVisibility_Never]; - optional uint64 msg_key = 3; - optional bool is_compressed = 4; + optional uint32 msg_type = 1; + optional bytes contents = 2 [(debugprint_visibility) = k_EProtoDebugVisibility_Never]; + optional uint64 msg_key = 3; + optional bool is_compressed = 4; } message CMsgSteamLearnServerInfo { - message ProjectInfo { - optional uint32 project_id = 1; - optional uint32 snapshot_published_version = 2; - optional uint32 inference_published_version = 3; - optional uint32 snapshot_percentage = 6; - optional bool snapshot_enabled = 7; - } + message ProjectInfo { + optional uint32 project_id = 1; + optional uint32 snapshot_published_version = 2; + optional uint32 inference_published_version = 3; + optional uint32 snapshot_percentage = 6; + optional bool snapshot_enabled = 7; + } - optional .CMsgSteamLearnAccessTokens access_tokens = 4; - repeated .CMsgSteamLearnServerInfo.ProjectInfo project_infos = 5; + optional .CMsgSteamLearnAccessTokens access_tokens = 4; + repeated .CMsgSteamLearnServerInfo.ProjectInfo project_infos = 5; } message CMsgGCAssertJobData { - optional string message_type = 1; - optional bytes message_data = 2; + optional string message_type = 1; + optional bytes message_data = 2; } message CMsgGCConCommand { - optional string command = 1; + optional string command = 1; } message CMsgSDOAssert { - message Request { - repeated uint64 key = 1; - optional string requesting_job = 2; - } + message Request { + repeated uint64 key = 1; + optional string requesting_job = 2; + } - optional int32 sdo_type = 1; - repeated .CMsgSDOAssert.Request requests = 2; + optional int32 sdo_type = 1; + repeated .CMsgSDOAssert.Request requests = 2; } message CMsgSOIDOwner { - optional uint32 type = 1; - optional uint64 id = 2; + optional uint32 type = 1; + optional uint64 id = 2; } message CMsgSOSingleObject { - optional int32 type_id = 2; - optional bytes object_data = 3; - optional fixed64 version = 4; - optional .CMsgSOIDOwner owner_soid = 5; - optional uint32 service_id = 6; + optional int32 type_id = 2; + optional bytes object_data = 3; + optional fixed64 version = 4; + optional .CMsgSOIDOwner owner_soid = 5; + optional uint32 service_id = 6; } message CMsgSOMultipleObjects { - message SingleObject { - option (msgpool_soft_limit) = 256; - option (msgpool_hard_limit) = 1024; + message SingleObject { + option (msgpool_soft_limit) = 256; + option (msgpool_hard_limit) = 1024; - optional int32 type_id = 1; - optional bytes object_data = 2; - } + optional int32 type_id = 1; + optional bytes object_data = 2; + } - repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; - optional fixed64 version = 3; - repeated .CMsgSOMultipleObjects.SingleObject objects_added = 4; - repeated .CMsgSOMultipleObjects.SingleObject objects_removed = 5; - optional .CMsgSOIDOwner owner_soid = 6; - optional uint32 service_id = 7; + repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; + optional fixed64 version = 3; + repeated .CMsgSOMultipleObjects.SingleObject objects_added = 4; + repeated .CMsgSOMultipleObjects.SingleObject objects_removed = 5; + optional .CMsgSOIDOwner owner_soid = 6; + optional uint32 service_id = 7; } message CMsgSOCacheSubscribed { - message SubscribedType { - optional int32 type_id = 1; - repeated bytes object_data = 2; - } + message SubscribedType { + optional int32 type_id = 1; + repeated bytes object_data = 2; + } - repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; - optional fixed64 version = 3; - optional .CMsgSOIDOwner owner_soid = 4; - optional uint32 service_id = 5; - repeated uint32 service_list = 6; - optional fixed64 sync_version = 7; + repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; + optional fixed64 version = 3; + optional .CMsgSOIDOwner owner_soid = 4; + optional uint32 service_id = 5; + repeated uint32 service_list = 6; + optional fixed64 sync_version = 7; } message CMsgSOCacheSubscribedUpToDate { - optional fixed64 version = 1; - optional .CMsgSOIDOwner owner_soid = 2; - optional uint32 service_id = 3; - repeated uint32 service_list = 4; - optional fixed64 sync_version = 5; + optional fixed64 version = 1; + optional .CMsgSOIDOwner owner_soid = 2; + optional uint32 service_id = 3; + repeated uint32 service_list = 4; + optional fixed64 sync_version = 5; } message CMsgSOCacheUnsubscribed { - optional .CMsgSOIDOwner owner_soid = 2; + optional .CMsgSOIDOwner owner_soid = 2; } message CMsgSOCacheSubscriptionCheck { - optional fixed64 version = 2; - optional .CMsgSOIDOwner owner_soid = 3; - optional uint32 service_id = 4; - repeated uint32 service_list = 5; - optional fixed64 sync_version = 6; + optional fixed64 version = 2; + optional .CMsgSOIDOwner owner_soid = 3; + optional uint32 service_id = 4; + repeated uint32 service_list = 5; + optional fixed64 sync_version = 6; } message CMsgSOCacheSubscriptionRefresh { - optional .CMsgSOIDOwner owner_soid = 2; + optional .CMsgSOIDOwner owner_soid = 2; } message CMsgSOCacheVersion { - optional fixed64 version = 1; + optional fixed64 version = 1; } message CMsgGCMultiplexMessage { - optional uint32 msgtype = 1; - optional bytes payload = 2; - repeated fixed64 steamids = 3; + optional uint32 msgtype = 1; + optional bytes payload = 2; + repeated fixed64 steamids = 3; } message CMsgGCToGCSubGCStarting { - optional int32 dir_index = 1 [default = -1]; + optional int32 dir_index = 1 [default = -1]; } message CGCToGCMsgMasterAck { - message Process { - optional int32 dir_index = 1 [default = -1]; - repeated uint32 type_instances = 2; - } + message Process { + optional int32 dir_index = 1 [default = -1]; + repeated uint32 type_instances = 2; + } - optional int32 dir_index = 1 [default = -1]; - optional string machine_name = 3; - optional string process_name = 4; - repeated .CGCToGCMsgMasterAck.Process directory = 6; + optional int32 dir_index = 1 [default = -1]; + optional string machine_name = 3; + optional string process_name = 4; + repeated .CGCToGCMsgMasterAck.Process directory = 6; } message CGCToGCMsgMasterAck_Response { - optional int32 eresult = 1 [default = 2]; + optional int32 eresult = 1 [default = 2]; } message CMsgGCToGCUniverseStartup { - optional bool is_initial_startup = 1; + optional bool is_initial_startup = 1; } message CMsgGCToGCUniverseStartupResponse { - optional int32 eresult = 1; + optional int32 eresult = 1; } message CGCToGCMsgMasterStartupComplete { - message GCInfo { - optional int32 dir_index = 1 [default = -1]; - optional string machine_name = 2; - } + message GCInfo { + optional int32 dir_index = 1 [default = -1]; + optional string machine_name = 2; + } - repeated .CGCToGCMsgMasterStartupComplete.GCInfo gc_info = 1; + repeated .CGCToGCMsgMasterStartupComplete.GCInfo gc_info = 1; } message CGCToGCMsgRouted { - optional uint32 msg_type = 1; - optional fixed64 sender_id = 2; - optional bytes net_message = 3; + optional uint32 msg_type = 1; + optional fixed64 sender_id = 2; + optional bytes net_message = 3; } message CGCToGCMsgRoutedReply { - optional uint32 msg_type = 1; - optional bytes net_message = 2; + optional uint32 msg_type = 1; + optional bytes net_message = 2; } message CMsgGCUpdateSubGCSessionInfo { - message CMsgUpdate { - optional fixed64 steamid = 1; - optional fixed32 ip = 2; - optional bool trusted = 3; - } + message CMsgUpdate { + optional fixed64 steamid = 1; + optional fixed32 ip = 2; + optional bool trusted = 3; + } - repeated .CMsgGCUpdateSubGCSessionInfo.CMsgUpdate updates = 1; + repeated .CMsgGCUpdateSubGCSessionInfo.CMsgUpdate updates = 1; } message CMsgGCRequestSubGCSessionInfo { - optional fixed64 steamid = 1; + optional fixed64 steamid = 1; } message CMsgGCRequestSubGCSessionInfoResponse { - optional fixed32 ip = 1; - optional bool trusted = 2; - optional uint32 port = 3; - optional bool success = 4; + optional fixed32 ip = 1; + optional bool trusted = 2; + optional uint32 port = 3; + optional bool success = 4; } message CMsgSOCacheHaveVersion { - optional .CMsgSOIDOwner soid = 1; - optional fixed64 version = 2; - optional uint32 service_id = 3; - optional uint32 cached_file_version = 4; + optional .CMsgSOIDOwner soid = 1; + optional fixed64 version = 2; + optional uint32 service_id = 3; + optional uint32 cached_file_version = 4; } message CMsgClientHello { - optional uint32 version = 1; - repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - optional uint32 client_session_need = 3; - optional .PartnerAccountType client_launcher = 4 [default = PARTNER_NONE]; - optional string secret_key = 5; - optional uint32 client_language = 6; - optional .ESourceEngine engine = 7 [default = k_ESE_Source1]; - optional bytes steamdatagram_login = 8; - optional uint32 platform_id = 9; - optional bytes game_msg = 10; - optional int32 os_type = 11; - optional uint32 render_system = 12; - optional uint32 render_system_req = 13; - optional uint32 screen_width = 14; - optional uint32 screen_height = 15; - optional uint32 screen_refresh = 16; - optional uint32 render_width = 17; - optional uint32 render_height = 18; - optional uint32 swap_width = 19; - optional uint32 swap_height = 20; - optional bool is_steam_china = 22; - optional bool is_steam_china_client = 24; - optional string platform_name = 23; + optional uint32 version = 1; + repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; + optional uint32 client_session_need = 3; + optional .PartnerAccountType client_launcher = 4 [default = PARTNER_NONE]; + optional string secret_key = 5; + optional uint32 client_language = 6; + optional .ESourceEngine engine = 7 [default = k_ESE_Source1]; + optional bytes steamdatagram_login = 8; + optional uint32 platform_id = 9; + optional bytes game_msg = 10; + optional int32 os_type = 11; + optional uint32 render_system = 12; + optional uint32 render_system_req = 13; + optional uint32 screen_width = 14; + optional uint32 screen_height = 15; + optional uint32 screen_refresh = 16; + optional uint32 render_width = 17; + optional uint32 render_height = 18; + optional uint32 swap_width = 19; + optional uint32 swap_height = 20; + optional bool is_steam_china = 22; + optional bool is_steam_china_client = 24; + optional string platform_name = 23; } message CMsgClientWelcome { - message Location { - optional float latitude = 1; - optional float longitude = 2; - optional string country = 3; - } - - optional uint32 version = 1; - optional bytes game_data = 2; - repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - optional .CMsgClientWelcome.Location location = 5; - optional uint32 gc_socache_file_version = 9; - optional string txn_country_code = 10; - optional bytes game_data2 = 11; - optional uint32 rtime32_gc_welcome_timestamp = 12; - optional uint32 currency = 13; - optional uint32 balance = 14; - optional string balance_url = 15; - optional bool has_accepted_china_ssa = 16; - optional bool is_banned_steam_china = 17; - optional .CExtraMsgBlock additional_welcome_msgs = 18; - optional .CMsgSteamLearnServerInfo steam_learn_server_info = 20; + message Location { + optional float latitude = 1; + optional float longitude = 2; + optional string country = 3; + } + + optional uint32 version = 1; + optional bytes game_data = 2; + repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; + repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; + optional .CMsgClientWelcome.Location location = 5; + optional uint32 gc_socache_file_version = 9; + optional string txn_country_code = 10; + optional bytes game_data2 = 11; + optional uint32 rtime32_gc_welcome_timestamp = 12; + optional uint32 currency = 13; + optional uint32 balance = 14; + optional string balance_url = 15; + optional bool has_accepted_china_ssa = 16; + optional bool is_banned_steam_china = 17; + optional .CExtraMsgBlock additional_welcome_msgs = 18; + optional .CMsgSteamLearnServerInfo steam_learn_server_info = 20; } message CMsgConnectionStatus { - optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; - optional uint32 client_session_need = 2; - optional int32 queue_position = 3; - optional int32 queue_size = 4; - optional int32 wait_seconds = 5; - optional int32 estimated_wait_seconds_remaining = 6; + optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; + optional uint32 client_session_need = 2; + optional int32 queue_position = 3; + optional int32 queue_size = 4; + optional int32 wait_seconds = 5; + optional int32 estimated_wait_seconds_remaining = 6; } message CMsgGCToGCSOCacheSubscribe { - message CMsgHaveVersions { - optional uint32 service_id = 1; - optional uint64 version = 2; - } + message CMsgHaveVersions { + optional uint32 service_id = 1; + optional uint64 version = 2; + } - optional fixed64 subscriber = 1; - optional fixed64 subscribe_to_id = 2; - optional fixed64 sync_version = 3; - repeated .CMsgGCToGCSOCacheSubscribe.CMsgHaveVersions have_versions = 4; - optional uint32 subscribe_to_type = 5; + optional fixed64 subscriber = 1; + optional fixed64 subscribe_to_id = 2; + optional fixed64 sync_version = 3; + repeated .CMsgGCToGCSOCacheSubscribe.CMsgHaveVersions have_versions = 4; + optional uint32 subscribe_to_type = 5; } message CMsgGCToGCSOCacheUnsubscribe { - optional fixed64 subscriber = 1; - optional fixed64 unsubscribe_from_id = 2; - optional uint32 unsubscribe_from_type = 3; + optional fixed64 subscriber = 1; + optional fixed64 unsubscribe_from_id = 2; + optional uint32 unsubscribe_from_type = 3; } message CMsgGCClientPing { } message CMsgGCToGCForwardAccountDetails { - optional fixed64 steamid = 1; - optional .CGCSystemMsg_GetAccountDetails_Response account_details = 2; - optional uint32 age_seconds = 3; + optional fixed64 steamid = 1; + optional .CGCSystemMsg_GetAccountDetails_Response account_details = 2; + optional uint32 age_seconds = 3; } message CMsgGCToGCLoadSessionSOCache { - optional uint32 account_id = 1; - optional .CMsgGCToGCForwardAccountDetails forward_account_details = 2; + optional uint32 account_id = 1; + optional .CMsgGCToGCForwardAccountDetails forward_account_details = 2; } message CMsgGCToGCLoadSessionSOCacheResponse { } message CMsgGCToGCUpdateSessionStats { - optional uint32 user_sessions = 1; - optional uint32 server_sessions = 2; - optional bool in_logon_surge = 3; + optional uint32 user_sessions = 1; + optional uint32 server_sessions = 2; + optional bool in_logon_surge = 3; } message CMsgGCToClientRequestDropped { } message CWorkshop_PopulateItemDescriptions_Request { - message SingleItemDescription { - optional uint32 gameitemid = 1; - optional string item_description = 2; - } + message SingleItemDescription { + optional uint32 gameitemid = 1; + optional string item_description = 2; + } - message ItemDescriptionsLanguageBlock { - optional string language = 1; - repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; - } + message ItemDescriptionsLanguageBlock { + optional string language = 1; + repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; + } - optional uint32 appid = 1; - repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; + optional uint32 appid = 1; + repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; } message CWorkshop_GetContributors_Request { - optional uint32 appid = 1; - optional uint32 gameitemid = 2; + optional uint32 appid = 1; + optional uint32 gameitemid = 2; } message CWorkshop_GetContributors_Response { - repeated fixed64 contributors = 1; + repeated fixed64 contributors = 1; } message CWorkshop_SetItemPaymentRules_Request { - message WorkshopItemPaymentRule { - optional uint64 workshop_file_id = 1; - optional float revenue_percentage = 2; - optional string rule_description = 3; - optional uint32 rule_type = 4 [default = 1]; - } - - message WorkshopDirectPaymentRule { - optional uint64 workshop_file_id = 1; - optional string rule_description = 2; - } - - message PartnerItemPaymentRule { - optional uint32 account_id = 1; - optional float revenue_percentage = 2; - optional string rule_description = 3; - } - - optional uint32 appid = 1; - optional uint32 gameitemid = 2; - repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; - repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; - optional bool validate_only = 5; - optional bool make_workshop_files_subscribable = 6; - optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; + message WorkshopItemPaymentRule { + optional uint64 workshop_file_id = 1; + optional float revenue_percentage = 2; + optional string rule_description = 3; + optional uint32 rule_type = 4 [default = 1]; + } + + message WorkshopDirectPaymentRule { + optional uint64 workshop_file_id = 1; + optional string rule_description = 2; + } + + message PartnerItemPaymentRule { + optional uint32 account_id = 1; + optional float revenue_percentage = 2; + optional string rule_description = 3; + } + + optional uint32 appid = 1; + optional uint32 gameitemid = 2; + repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; + repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; + optional bool validate_only = 5; + optional bool make_workshop_files_subscribable = 6; + optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; } message CWorkshop_SetItemPaymentRules_Response { - repeated string validation_errors = 1; + repeated string validation_errors = 1; } 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 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; } message CCommunity_GetClanAnnouncements_Request { - optional uint64 steamid = 1; - optional uint32 offset = 2; - optional uint32 count = 3; - optional uint32 maxchars = 4; - optional bool strip_html = 5; - repeated string required_tags = 6; - optional bool require_no_tags = 7; - repeated uint32 language_preference = 8; - optional bool hidden_only = 9; - optional bool only_gid = 10; - optional uint32 rtime_oldest_date = 11; - optional bool include_hidden = 12; - optional bool include_partner_events = 13; + optional uint64 steamid = 1; + optional uint32 offset = 2; + optional uint32 count = 3; + optional uint32 maxchars = 4; + optional bool strip_html = 5; + repeated string required_tags = 6; + optional bool require_no_tags = 7; + repeated uint32 language_preference = 8; + optional bool hidden_only = 9; + optional bool only_gid = 10; + optional uint32 rtime_oldest_date = 11; + optional bool include_hidden = 12; + optional bool include_partner_events = 13; } message CCommunity_GetClanAnnouncements_Response { - optional uint32 maxchars = 1; - optional bool strip_html = 2; - repeated .CCommunity_ClanAnnouncementInfo announcements = 3; + optional uint32 maxchars = 1; + optional bool strip_html = 2; + repeated .CCommunity_ClanAnnouncementInfo announcements = 3; } message CBroadcast_PostGameDataFrame_Request { - optional uint32 appid = 1; - optional fixed64 steamid = 2; - optional fixed64 broadcast_id = 3; - optional bytes frame_data = 4; + optional uint32 appid = 1; + optional fixed64 steamid = 2; + optional fixed64 broadcast_id = 3; + optional bytes frame_data = 4; } message CMsgSerializedSOCache { - message TypeCache { - optional uint32 type = 1; - repeated bytes objects = 2; - optional uint32 service_id = 3; - } + message TypeCache { + optional uint32 type = 1; + repeated bytes objects = 2; + optional uint32 service_id = 3; + } - message Cache { - message Version { - optional uint32 service = 1; - optional uint64 version = 2; - } + message Cache { + message Version { + optional uint32 service = 1; + optional uint64 version = 2; + } - optional uint32 type = 1; - optional uint64 id = 2; - repeated .CMsgSerializedSOCache.Cache.Version versions = 3; - repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; - } + optional uint32 type = 1; + optional uint64 id = 2; + repeated .CMsgSerializedSOCache.Cache.Version versions = 3; + repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; + } - optional uint32 file_version = 1; - repeated .CMsgSerializedSOCache.Cache caches = 2; - optional uint32 gc_socache_file_version = 3; + optional uint32 file_version = 1; + repeated .CMsgSerializedSOCache.Cache caches = 2; + optional uint32 gc_socache_file_version = 3; } message CMsgGCToClientPollConvarRequest { - optional string convar_name = 1; - optional uint32 poll_id = 2; + optional string convar_name = 1; + optional uint32 poll_id = 2; } message CMsgGCToClientPollConvarResponse { - optional uint32 poll_id = 1; - optional string convar_value = 2; + optional uint32 poll_id = 1; + optional string convar_value = 2; } message CGCMsgCompressedMsgToClient { - optional uint32 msg_id = 1; - optional bytes compressed_msg = 2; + optional uint32 msg_id = 1; + optional bytes compressed_msg = 2; } message CMsgGCToGCMasterBroadcastMessage { - optional uint32 users_per_second = 1; - optional bool send_to_users = 2; - optional bool send_to_servers = 3; - optional uint32 msg_id = 4; - optional bytes msg_data = 5; + optional uint32 users_per_second = 1; + optional bool send_to_users = 2; + optional bool send_to_servers = 3; + optional uint32 msg_id = 4; + optional bytes msg_data = 5; + optional bool trusted_servers_only = 6; } message CMsgGCToGCMasterSubscribeToCache { - optional uint32 soid_type = 1; - optional fixed64 soid_id = 2; - repeated uint32 account_ids = 3; - repeated fixed64 steam_ids = 4; + optional uint32 soid_type = 1; + optional fixed64 soid_id = 2; + repeated uint32 account_ids = 3; + repeated fixed64 steam_ids = 4; } message CMsgGCToGCMasterSubscribeToCacheResponse { } message CMsgGCToGCMasterSubscribeToCacheAsync { - optional .CMsgGCToGCMasterSubscribeToCache subscribe_msg = 1; + optional .CMsgGCToGCMasterSubscribeToCache subscribe_msg = 1; } message CMsgGCToGCMasterUnsubscribeFromCache { - optional uint32 soid_type = 1; - optional fixed64 soid_id = 2; - repeated uint32 account_ids = 3; - repeated fixed64 steam_ids = 4; + optional uint32 soid_type = 1; + optional fixed64 soid_id = 2; + repeated uint32 account_ids = 3; + repeated fixed64 steam_ids = 4; } message CMsgGCToGCMasterDestroyCache { - optional uint32 soid_type = 1; - optional fixed64 soid_id = 2; + optional uint32 soid_type = 1; + optional fixed64 soid_id = 2; } diff --git a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/steammessages_steamlearn.steamworkssdk.proto b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/steammessages_steamlearn.steamworkssdk.proto index 0a9c4cfe..45c12e2e 100644 --- a/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/steammessages_steamlearn.steamworkssdk.proto +++ b/javasteam-deadlock/src/main/proto/in/dragonbra/javasteam/protobufs/deadlock/steammessages_steamlearn.steamworkssdk.proto @@ -6,435 +6,435 @@ option optimize_for = SPEED; option java_generic_services = false; enum ESteamLearnDataType { - STEAMLEARN_DATATYPE_INVALID = 0; - STEAMLEARN_DATATYPE_INT32 = 1; - STEAMLEARN_DATATYPE_FLOAT32 = 2; - STEAMLEARN_DATATYPE_BOOL = 3; - STEAMLEARN_DATATYPE_STRING = 4; - STEAMLEARN_DATATYPE_OBJECT = 5; + STEAMLEARN_DATATYPE_INVALID = 0; + STEAMLEARN_DATATYPE_INT32 = 1; + STEAMLEARN_DATATYPE_FLOAT32 = 2; + STEAMLEARN_DATATYPE_BOOL = 3; + STEAMLEARN_DATATYPE_STRING = 4; + STEAMLEARN_DATATYPE_OBJECT = 5; } enum ESteammLearnRegisterDataSourceResult { - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR = 0; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_SUCCESS_CREATED = 1; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_SUCCESS_FOUND = 2; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_GENERIC = 3; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_NAME = 4; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_VERSION = 5; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_DATA_CHANGED = 6; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_DATA_INVALID = 7; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_FORBIDDEN = 8; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_TIMESTAMP = 9; - STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_DISABLED = 10; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR = 0; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_SUCCESS_CREATED = 1; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_SUCCESS_FOUND = 2; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_GENERIC = 3; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_NAME = 4; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_VERSION = 5; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_DATA_CHANGED = 6; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_DATA_INVALID = 7; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_FORBIDDEN = 8; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_TIMESTAMP = 9; + STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_DISABLED = 10; } enum ESteamLearnCacheDataResult { - STEAMLEARN_CACHE_DATA_ERROR = 0; - STEAMLEARN_CACHE_DATA_SUCCESS = 1; - STEAMLEARN_CACHE_DATA_ERROR_UNKNOWN_DATA_SOURCE = 2; - STEAMLEARN_CACHE_DATA_ERROR_UNCACHED_DATA_SOURCE = 3; - STEAMLEARN_CACHE_DATA_ERROR_INVALID_KEYS = 4; - STEAMLEARN_CACHE_DATA_ERROR_FORBIDDEN = 5; - STEAMLEARN_CACHE_DATA_ERROR_INVALID_TIMESTAMP = 6; - STEAMLEARN_CACHE_DATA_DISABLED = 7; + STEAMLEARN_CACHE_DATA_ERROR = 0; + STEAMLEARN_CACHE_DATA_SUCCESS = 1; + STEAMLEARN_CACHE_DATA_ERROR_UNKNOWN_DATA_SOURCE = 2; + STEAMLEARN_CACHE_DATA_ERROR_UNCACHED_DATA_SOURCE = 3; + STEAMLEARN_CACHE_DATA_ERROR_INVALID_KEYS = 4; + STEAMLEARN_CACHE_DATA_ERROR_FORBIDDEN = 5; + STEAMLEARN_CACHE_DATA_ERROR_INVALID_TIMESTAMP = 6; + STEAMLEARN_CACHE_DATA_DISABLED = 7; } enum ESteamLearnSnapshotProjectResult { - STEAMLEARN_SNAPSHOT_PROJECT_ERROR = 0; - STEAMLEARN_SNAPSHOT_PROJECT_SUCCESS_STORED = 1; - STEAMLEARN_SNAPSHOT_PROJECT_SUCCESS_QUEUED = 2; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_PROJECT_ID = 3; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_UNKNOWN_DATA_SOURCE = 4; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_DATA_SOURCE_KEY = 5; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_MISSING_CACHE_DURATION = 6; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_NO_PUBLISHED_CONFIG = 7; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_FORBIDDEN = 8; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_TIMESTAMP = 9; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INTERNAL_DATA_SOURCE_ERROR = 10; - STEAMLEARN_SNAPSHOT_PROJECT_DISABLED = 11; - STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_PUBLISHED_VERSION = 12; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR = 0; + STEAMLEARN_SNAPSHOT_PROJECT_SUCCESS_STORED = 1; + STEAMLEARN_SNAPSHOT_PROJECT_SUCCESS_QUEUED = 2; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_PROJECT_ID = 3; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_UNKNOWN_DATA_SOURCE = 4; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_DATA_SOURCE_KEY = 5; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_MISSING_CACHE_DURATION = 6; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_NO_PUBLISHED_CONFIG = 7; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_FORBIDDEN = 8; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_TIMESTAMP = 9; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INTERNAL_DATA_SOURCE_ERROR = 10; + STEAMLEARN_SNAPSHOT_PROJECT_DISABLED = 11; + STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_PUBLISHED_VERSION = 12; } enum ESteamLearnGetAccessTokensResult { - STEAMLEARN_GET_ACCESS_TOKENS_ERROR = 0; - STEAMLEARN_GET_ACCESS_TOKENS_SUCCESS = 1; + STEAMLEARN_GET_ACCESS_TOKENS_ERROR = 0; + STEAMLEARN_GET_ACCESS_TOKENS_SUCCESS = 1; } enum ESteamLearnInferenceResult { - STEAMLEARN_INFERENCE_ERROR = 0; - STEAMLEARN_INFERENCE_SUCCESS = 1; - STEAMLEARN_INFERENCE_ERROR_INVALID_PROJECT_ID = 2; - STEAMLEARN_INFERENCE_ERROR_MISSING_CACHED_SCHEMA_DATA = 3; - STEAMLEARN_INFERENCE_ERROR_NO_PUBLISHED_CONFIG = 4; - STEAMLEARN_INFERENCE_ERROR_FORBIDDEN = 5; - STEAMLEARN_INFERENCE_ERROR_INVALID_TIMESTAMP = 6; - STEAMLEARN_INFERENCE_ERROR_INVALID_PUBLISHED_VERSION = 7; - STEAMLEARN_INFERENCE_ERROR_NO_FETCH_ID_FOUND = 8; - STEAMLEARN_INFERENCE_ERROR_TOO_BUSY = 9; - STEAMLEARN_INFERENCE_ERROR_UNSUPPLIED_DATA_FAIL = 10; - STEAMLEARN_INFERENCE_ERROR_UNSUPPLIED_DATA_NO_KEYS = 11; - STEAMLEARN_INFERENCE_DISABLED = 12; - STEAMLEARN_INFERENCE_ERROR_NO_OUTPUT = 13; - STEAMLEARN_INFERENCE_ERROR_INVALID_NAMED_INFERENCE = 14; + STEAMLEARN_INFERENCE_ERROR = 0; + STEAMLEARN_INFERENCE_SUCCESS = 1; + STEAMLEARN_INFERENCE_ERROR_INVALID_PROJECT_ID = 2; + STEAMLEARN_INFERENCE_ERROR_MISSING_CACHED_SCHEMA_DATA = 3; + STEAMLEARN_INFERENCE_ERROR_NO_PUBLISHED_CONFIG = 4; + STEAMLEARN_INFERENCE_ERROR_FORBIDDEN = 5; + STEAMLEARN_INFERENCE_ERROR_INVALID_TIMESTAMP = 6; + STEAMLEARN_INFERENCE_ERROR_INVALID_PUBLISHED_VERSION = 7; + STEAMLEARN_INFERENCE_ERROR_NO_FETCH_ID_FOUND = 8; + STEAMLEARN_INFERENCE_ERROR_TOO_BUSY = 9; + STEAMLEARN_INFERENCE_ERROR_UNSUPPLIED_DATA_FAIL = 10; + STEAMLEARN_INFERENCE_ERROR_UNSUPPLIED_DATA_NO_KEYS = 11; + STEAMLEARN_INFERENCE_DISABLED = 12; + STEAMLEARN_INFERENCE_ERROR_NO_OUTPUT = 13; + STEAMLEARN_INFERENCE_ERROR_INVALID_NAMED_INFERENCE = 14; } enum ESteamLearnInferenceMetadataResult { - STEAMLEARN_INFERENCE_METADATA_ERROR = 0; - STEAMLEARN_INFERENCE_METADATA_SUCCESS = 1; - STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_PROJECT_ID = 2; - STEAMLEARN_INFERENCE_METADATA_ERROR_NO_PUBLISHED_CONFIG = 3; - STEAMLEARN_INFERENCE_METADATA_ERROR_FORBIDDEN = 4; - STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_TIMESTAMP = 5; - STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_PUBLISHED_VERSION = 6; - STEAMLEARN_INFERENCE_METADATA_ERROR_NO_FETCH_ID_FOUND = 7; + STEAMLEARN_INFERENCE_METADATA_ERROR = 0; + STEAMLEARN_INFERENCE_METADATA_SUCCESS = 1; + STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_PROJECT_ID = 2; + STEAMLEARN_INFERENCE_METADATA_ERROR_NO_PUBLISHED_CONFIG = 3; + STEAMLEARN_INFERENCE_METADATA_ERROR_FORBIDDEN = 4; + STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_TIMESTAMP = 5; + STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_PUBLISHED_VERSION = 6; + STEAMLEARN_INFERENCE_METADATA_ERROR_NO_FETCH_ID_FOUND = 7; } message CMsgSteamLearnDataSourceDescObject { - repeated .CMsgSteamLearnDataSourceDescElement elements = 1; + repeated .CMsgSteamLearnDataSourceDescElement elements = 1; } message CMsgSteamLearnDataSourceDescElement { - optional string name = 1; - optional .ESteamLearnDataType data_type = 2 [default = STEAMLEARN_DATATYPE_INVALID]; - optional .CMsgSteamLearnDataSourceDescObject object = 3; - optional uint32 count = 4; + optional string name = 1; + optional .ESteamLearnDataType data_type = 2 [default = STEAMLEARN_DATATYPE_INVALID]; + optional .CMsgSteamLearnDataSourceDescObject object = 3; + optional uint32 count = 4; } message CMsgSteamLearnDataSource { - optional uint32 id = 1; - optional string name = 2; - optional uint32 version = 3; - optional string source_description = 4; - optional .CMsgSteamLearnDataSourceDescObject structure = 5; - optional uint32 structure_crc = 6; - optional uint32 cache_duration_seconds = 7; + optional uint32 id = 1; + optional string name = 2; + optional uint32 version = 3; + optional string source_description = 4; + optional .CMsgSteamLearnDataSourceDescObject structure = 5; + optional uint32 structure_crc = 6; + optional uint32 cache_duration_seconds = 7; } message CMsgSteamLearnDataObject { - repeated .CMsgSteamLearnDataElement elements = 1; + repeated .CMsgSteamLearnDataElement elements = 1; } message CMsgSteamLearnDataElement { - optional string name = 1; - repeated int32 data_int32s = 20; - repeated float data_floats = 21; - repeated bool data_bools = 22; - repeated string data_strings = 23; - repeated .CMsgSteamLearnDataObject data_objects = 24; + optional string name = 1; + repeated int32 data_int32s = 20; + repeated float data_floats = 21; + repeated bool data_bools = 22; + repeated string data_strings = 23; + repeated .CMsgSteamLearnDataObject data_objects = 24; } message CMsgSteamLearnData { - optional uint32 data_source_id = 1; - repeated uint64 keys = 2; - optional .CMsgSteamLearnDataObject data_object = 3; + optional uint32 data_source_id = 1; + repeated uint64 keys = 2; + optional .CMsgSteamLearnDataObject data_object = 3; } message CMsgSteamLearnDataList { - repeated .CMsgSteamLearnData data = 1; + repeated .CMsgSteamLearnData data = 1; } message CMsgSteamLearn_RegisterDataSource_Request { - optional string access_token = 1; - optional .CMsgSteamLearnDataSource data_source = 3; + optional string access_token = 1; + optional .CMsgSteamLearnDataSource data_source = 3; } message CMsgSteamLearn_RegisterDataSource_Response { - optional .ESteammLearnRegisterDataSourceResult result = 1 [default = STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR]; - optional .CMsgSteamLearnDataSource data_source = 2; + optional .ESteammLearnRegisterDataSourceResult result = 1 [default = STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR]; + optional .CMsgSteamLearnDataSource data_source = 2; } message CMsgSteamLearn_CacheData_Request { - optional string access_token = 1; - optional .CMsgSteamLearnData data = 3; + optional string access_token = 1; + optional .CMsgSteamLearnData data = 3; } message CMsgSteamLearn_CacheData_Response { - optional .ESteamLearnCacheDataResult cache_data_result = 1 [default = STEAMLEARN_CACHE_DATA_ERROR]; + optional .ESteamLearnCacheDataResult cache_data_result = 1 [default = STEAMLEARN_CACHE_DATA_ERROR]; } message CMsgSteamLearn_SnapshotProject_Request { - optional string access_token = 1; - optional uint32 project_id = 3; - optional uint32 published_version = 7; - repeated uint64 keys = 4; - repeated .CMsgSteamLearnData data = 5; - optional uint32 pending_data_limit_seconds = 6; + optional string access_token = 1; + optional uint32 project_id = 3; + optional uint32 published_version = 7; + repeated uint64 keys = 4; + repeated .CMsgSteamLearnData data = 5; + optional uint32 pending_data_limit_seconds = 6; } message CMsgSteamLearn_SnapshotProject_Response { - optional .ESteamLearnSnapshotProjectResult snapshot_result = 1 [default = STEAMLEARN_SNAPSHOT_PROJECT_ERROR]; + optional .ESteamLearnSnapshotProjectResult snapshot_result = 1 [default = STEAMLEARN_SNAPSHOT_PROJECT_ERROR]; } message CMsgSteamLearn_BatchOperation_Request { - repeated .CMsgSteamLearn_CacheData_Request cache_data_requests = 1; - repeated .CMsgSteamLearn_SnapshotProject_Request snapshot_requests = 2; - repeated .CMsgSteamLearn_Inference_Request inference_requests = 3; + repeated .CMsgSteamLearn_CacheData_Request cache_data_requests = 1; + repeated .CMsgSteamLearn_SnapshotProject_Request snapshot_requests = 2; + repeated .CMsgSteamLearn_Inference_Request inference_requests = 3; } message CMsgSteamLearn_BatchOperation_Response { - repeated .CMsgSteamLearn_CacheData_Response cache_data_responses = 1; - repeated .CMsgSteamLearn_SnapshotProject_Response snapshot_responses = 2; - repeated .CMsgSteamLearn_Inference_Response inference_responses = 3; + repeated .CMsgSteamLearn_CacheData_Response cache_data_responses = 1; + repeated .CMsgSteamLearn_SnapshotProject_Response snapshot_responses = 2; + repeated .CMsgSteamLearn_Inference_Response inference_responses = 3; } message CMsgSteamLearnAccessTokens { - message CacheDataAccessToken { - optional uint32 data_source_id = 1; - optional string access_token = 2; - } + message CacheDataAccessToken { + optional uint32 data_source_id = 1; + optional string access_token = 2; + } - message SnapshotProjectAccessToken { - optional uint32 project_id = 1; - optional string access_token = 2; - } + message SnapshotProjectAccessToken { + optional uint32 project_id = 1; + optional string access_token = 2; + } - message InferenceAccessToken { - optional uint32 project_id = 1; - optional string access_token = 2; - } + message InferenceAccessToken { + optional uint32 project_id = 1; + optional string access_token = 2; + } - optional string register_data_source_access_token = 1; - repeated .CMsgSteamLearnAccessTokens.CacheDataAccessToken cache_data_access_tokens = 2; - repeated .CMsgSteamLearnAccessTokens.SnapshotProjectAccessToken snapshot_project_access_tokens = 3; - repeated .CMsgSteamLearnAccessTokens.InferenceAccessToken inference_access_tokens = 4; + optional string register_data_source_access_token = 1; + repeated .CMsgSteamLearnAccessTokens.CacheDataAccessToken cache_data_access_tokens = 2; + repeated .CMsgSteamLearnAccessTokens.SnapshotProjectAccessToken snapshot_project_access_tokens = 3; + repeated .CMsgSteamLearnAccessTokens.InferenceAccessToken inference_access_tokens = 4; } message CMsgSteamLearn_GetAccessTokens_Request { - optional uint32 appid = 1; + optional uint32 appid = 1; } message CMsgSteamLearn_GetAccessTokens_Response { - optional .ESteamLearnGetAccessTokensResult result = 1 [default = STEAMLEARN_GET_ACCESS_TOKENS_ERROR]; - optional .CMsgSteamLearnAccessTokens access_tokens = 2; + optional .ESteamLearnGetAccessTokensResult result = 1 [default = STEAMLEARN_GET_ACCESS_TOKENS_ERROR]; + optional .CMsgSteamLearnAccessTokens access_tokens = 2; } message CMsgInferenceIterateBeamSearch { - message CustomItemScalar { - optional uint32 item = 1; - optional float scale = 2; - } + message CustomItemScalar { + optional uint32 item = 1; + optional float scale = 2; + } - optional uint32 beam_length = 1; - optional uint32 beam_width = 2; - optional float item_decay = 3; - optional uint32 next_item_count = 4; - repeated .CMsgInferenceIterateBeamSearch.CustomItemScalar item_scalars = 5; - optional uint32 item_sequence_end = 7; - optional float item_sequence_end_threshold = 8; - optional float repeat_multiplier = 9; + optional uint32 beam_length = 1; + optional uint32 beam_width = 2; + optional float item_decay = 3; + optional uint32 next_item_count = 4; + repeated .CMsgInferenceIterateBeamSearch.CustomItemScalar item_scalars = 5; + optional uint32 item_sequence_end = 7; + optional float item_sequence_end_threshold = 8; + optional float repeat_multiplier = 9; } message CMsgSteamLearn_Inference_Request { - optional string access_token = 1; - optional uint32 project_id = 3; - optional uint32 published_version = 4; - optional uint32 override_train_id = 5; - optional .CMsgSteamLearnDataList data = 6; - repeated float additional_data = 7; - repeated uint64 keys = 8; - optional string named_inference = 9; - optional .CMsgInferenceIterateBeamSearch iterate_beam_search = 13; - optional uint32 debug_spew = 14; + optional string access_token = 1; + optional uint32 project_id = 3; + optional uint32 published_version = 4; + optional uint32 override_train_id = 5; + optional .CMsgSteamLearnDataList data = 6; + repeated float additional_data = 7; + repeated uint64 keys = 8; + optional string named_inference = 9; + optional .CMsgInferenceIterateBeamSearch iterate_beam_search = 13; + optional uint32 debug_spew = 14; } message CMsgSteamLearn_InferenceMetadata_Request { - optional string access_token = 1; - optional uint32 project_id = 3; - optional uint32 published_version = 4; - optional uint32 override_train_id = 5; + optional string access_token = 1; + optional uint32 project_id = 3; + optional uint32 published_version = 4; + optional uint32 override_train_id = 5; } message CMsgSteamLearn_InferenceMetadataBackend_Request { - optional uint32 project_id = 1; - optional uint32 fetch_id = 2; + optional uint32 project_id = 1; + optional uint32 fetch_id = 2; } message CMsgSteamLearn_InferenceMetadata_Response { - message RowRange { - optional uint64 min_row = 1; - optional uint64 max_row = 2; - } - - message Range { - optional string data_element_path = 1; - optional float min_value = 2; - optional float max_value = 3; - } - - message StdDev { - optional string data_element_path = 1; - optional float mean = 2; - optional float std_dev = 3; - } - - message CompactTable { - message Entry { - optional uint32 value = 1; - optional uint32 mapping = 2; - optional uint64 count = 3; - } - - message MapValuesEntry { - optional uint32 key = 1; - optional .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.Entry value = 2; - } - - message MapMappingsEntry { - optional uint32 key = 1; - optional .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.Entry value = 2; - } - - optional string name = 1; - repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.MapValuesEntry map_values = 2; - repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.MapMappingsEntry map_mappings = 3; - } - - message SequenceTable { - message Entry { - repeated uint32 values = 1; - optional uint32 crc = 2; - optional uint32 count = 3; - } - - message MapValuesEntry { - optional uint32 key = 1; - optional .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.Entry value = 2; - } - - message MapMappingsEntry { - optional string key = 1; - optional .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.Entry value = 2; - } - - optional string name = 1; - repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.MapValuesEntry map_values = 2; - repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.MapMappingsEntry map_mappings = 3; - optional uint64 total_count = 4; - } - - message KMeans { - message Cluster { - optional float x = 1; - optional float y = 2; - optional float radius = 3; - optional float radius_75pct = 4; - optional float radius_50pct = 5; - optional float radius_25pct = 6; - } - - optional string name = 1; - repeated .CMsgSteamLearn_InferenceMetadata_Response.KMeans.Cluster clusters = 2; - } - - message SnapshotHistogram { - optional float min_value = 1; - optional float max_value = 2; - optional uint32 num_buckets = 3; - repeated uint32 bucket_counts = 4; - } - - message AppInfo { - optional string country_allow = 1; - optional string country_deny = 2; - optional bool platform_win = 3; - optional bool platform_mac = 4; - optional bool platform_linux = 5; - optional bool adult_violence = 6; - optional bool adult_sex = 7; - } - - message AppInfoEntry { - optional uint32 key = 1; - optional .CMsgSteamLearn_InferenceMetadata_Response.AppInfo value = 2; - } - - optional .ESteamLearnInferenceMetadataResult inference_metadata_result = 1 [default = STEAMLEARN_INFERENCE_METADATA_ERROR]; - optional .CMsgSteamLearn_InferenceMetadata_Response.RowRange row_range = 2; - repeated .CMsgSteamLearn_InferenceMetadata_Response.Range ranges = 3; - repeated .CMsgSteamLearn_InferenceMetadata_Response.StdDev std_devs = 4; - repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable compact_tables = 5; - repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable sequence_tables = 9; - repeated .CMsgSteamLearn_InferenceMetadata_Response.KMeans kmeans = 6; - repeated .CMsgSteamLearn_InferenceMetadata_Response.AppInfoEntry app_info = 8; - optional .CMsgSteamLearn_InferenceMetadata_Response.SnapshotHistogram snapshot_histogram = 7; + message RowRange { + optional uint64 min_row = 1; + optional uint64 max_row = 2; + } + + message Range { + optional string data_element_path = 1; + optional float min_value = 2; + optional float max_value = 3; + } + + message StdDev { + optional string data_element_path = 1; + optional float mean = 2; + optional float std_dev = 3; + } + + message CompactTable { + message Entry { + optional uint32 value = 1; + optional uint32 mapping = 2; + optional uint64 count = 3; + } + + message MapValuesEntry { + optional uint32 key = 1; + optional .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.Entry value = 2; + } + + message MapMappingsEntry { + optional uint32 key = 1; + optional .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.Entry value = 2; + } + + optional string name = 1; + repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.MapValuesEntry map_values = 2; + repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.MapMappingsEntry map_mappings = 3; + } + + message SequenceTable { + message Entry { + repeated uint32 values = 1; + optional uint32 crc = 2; + optional uint32 count = 3; + } + + message MapValuesEntry { + optional uint32 key = 1; + optional .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.Entry value = 2; + } + + message MapMappingsEntry { + optional string key = 1; + optional .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.Entry value = 2; + } + + optional string name = 1; + repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.MapValuesEntry map_values = 2; + repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.MapMappingsEntry map_mappings = 3; + optional uint64 total_count = 4; + } + + message KMeans { + message Cluster { + optional float x = 1; + optional float y = 2; + optional float radius = 3; + optional float radius_75pct = 4; + optional float radius_50pct = 5; + optional float radius_25pct = 6; + } + + optional string name = 1; + repeated .CMsgSteamLearn_InferenceMetadata_Response.KMeans.Cluster clusters = 2; + } + + message SnapshotHistogram { + optional float min_value = 1; + optional float max_value = 2; + optional uint32 num_buckets = 3; + repeated uint32 bucket_counts = 4; + } + + message AppInfo { + optional string country_allow = 1; + optional string country_deny = 2; + optional bool platform_win = 3; + optional bool platform_mac = 4; + optional bool platform_linux = 5; + optional bool adult_violence = 6; + optional bool adult_sex = 7; + } + + message AppInfoEntry { + optional uint32 key = 1; + optional .CMsgSteamLearn_InferenceMetadata_Response.AppInfo value = 2; + } + + optional .ESteamLearnInferenceMetadataResult inference_metadata_result = 1 [default = STEAMLEARN_INFERENCE_METADATA_ERROR]; + optional .CMsgSteamLearn_InferenceMetadata_Response.RowRange row_range = 2; + repeated .CMsgSteamLearn_InferenceMetadata_Response.Range ranges = 3; + repeated .CMsgSteamLearn_InferenceMetadata_Response.StdDev std_devs = 4; + repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable compact_tables = 5; + repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable sequence_tables = 9; + repeated .CMsgSteamLearn_InferenceMetadata_Response.KMeans kmeans = 6; + repeated .CMsgSteamLearn_InferenceMetadata_Response.AppInfoEntry app_info = 8; + optional .CMsgSteamLearn_InferenceMetadata_Response.SnapshotHistogram snapshot_histogram = 7; } message CMsgSteamLearn_InferenceBackend_Response { - message Sequence { - repeated float value = 1; - } - - message RegressionOutput { - optional float value = 2; - } - - message NamedInferenceOutput { - repeated float value = 3; - } - - message BinaryCrossEntropyOutput { - optional float value = 1; - } - - message MutliBinaryCrossEntropyOutput { - repeated float weight = 1; - repeated float value = 2; - repeated .CMsgSteamLearn_InferenceBackend_Response.Sequence value_sequence = 3; - } - - message CategoricalCrossEntropyOutput { - repeated float weight = 1; - repeated float value = 2; - repeated .CMsgSteamLearn_InferenceBackend_Response.Sequence value_sequence = 3; - } - - message Output { - oneof ResponseType { - .CMsgSteamLearn_InferenceBackend_Response.BinaryCrossEntropyOutput binary_crossentropy = 1; - .CMsgSteamLearn_InferenceBackend_Response.CategoricalCrossEntropyOutput categorical_crossentropy = 2; - .CMsgSteamLearn_InferenceBackend_Response.MutliBinaryCrossEntropyOutput multi_binary_crossentropy = 3; - .CMsgSteamLearn_InferenceBackend_Response.RegressionOutput regression = 4; - .CMsgSteamLearn_InferenceBackend_Response.NamedInferenceOutput named_inference = 5; - } - } - - repeated .CMsgSteamLearn_InferenceBackend_Response.Output outputs = 1; + message Sequence { + repeated float value = 1; + } + + message RegressionOutput { + optional float value = 2; + } + + message NamedInferenceOutput { + repeated float value = 3; + } + + message BinaryCrossEntropyOutput { + optional float value = 1; + } + + message MutliBinaryCrossEntropyOutput { + repeated float weight = 1; + repeated float value = 2; + repeated .CMsgSteamLearn_InferenceBackend_Response.Sequence value_sequence = 3; + } + + message CategoricalCrossEntropyOutput { + repeated float weight = 1; + repeated float value = 2; + repeated .CMsgSteamLearn_InferenceBackend_Response.Sequence value_sequence = 3; + } + + message Output { + oneof ResponseType { + .CMsgSteamLearn_InferenceBackend_Response.BinaryCrossEntropyOutput binary_crossentropy = 1; + .CMsgSteamLearn_InferenceBackend_Response.CategoricalCrossEntropyOutput categorical_crossentropy = 2; + .CMsgSteamLearn_InferenceBackend_Response.MutliBinaryCrossEntropyOutput multi_binary_crossentropy = 3; + .CMsgSteamLearn_InferenceBackend_Response.RegressionOutput regression = 4; + .CMsgSteamLearn_InferenceBackend_Response.NamedInferenceOutput named_inference = 5; + } + } + + repeated .CMsgSteamLearn_InferenceBackend_Response.Output outputs = 1; } message CMsgSteamLearn_Inference_Response { - optional .ESteamLearnInferenceResult inference_result = 1 [default = STEAMLEARN_INFERENCE_ERROR]; - optional .CMsgSteamLearn_InferenceBackend_Response backend_response = 2; - repeated uint64 keys = 3; + optional .ESteamLearnInferenceResult inference_result = 1 [default = STEAMLEARN_INFERENCE_ERROR]; + optional .CMsgSteamLearn_InferenceBackend_Response backend_response = 2; + repeated uint64 keys = 3; } service SteamLearn { - option (service_description) = "Service for submitting data, training, and inferencing with SteamLearn."; + option (service_description) = "Service for submitting data, training, and inferencing with SteamLearn."; - rpc RegisterDataSource (.CMsgSteamLearn_RegisterDataSource_Request) returns (.CMsgSteamLearn_RegisterDataSource_Response) { - option (method_description) = "Registers a data desc (or finds a data desc if it's already registered)."; - } + rpc RegisterDataSource (.CMsgSteamLearn_RegisterDataSource_Request) returns (.CMsgSteamLearn_RegisterDataSource_Response) { + option (method_description) = "Registers a data desc (or finds a data desc if it's already registered)."; + } - rpc CacheData (.CMsgSteamLearn_CacheData_Request) returns (.CMsgSteamLearn_CacheData_Response) { - option (method_description) = "Updates a cached data entry."; - } + rpc CacheData (.CMsgSteamLearn_CacheData_Request) returns (.CMsgSteamLearn_CacheData_Response) { + option (method_description) = "Updates a cached data entry."; + } - rpc SnapshotProject (.CMsgSteamLearn_SnapshotProject_Request) returns (.CMsgSteamLearn_SnapshotProject_Response) { - option (method_description) = "Snapshots the current data for a project."; - } + rpc SnapshotProject (.CMsgSteamLearn_SnapshotProject_Request) returns (.CMsgSteamLearn_SnapshotProject_Response) { + option (method_description) = "Snapshots the current data for a project."; + } - rpc BatchOperation (.CMsgSteamLearn_BatchOperation_Request) returns (.CMsgSteamLearn_BatchOperation_Response) { - option (method_description) = "Batches multiple data updates, snapshots, and inference requests into a single call"; - } + rpc BatchOperation (.CMsgSteamLearn_BatchOperation_Request) returns (.CMsgSteamLearn_BatchOperation_Response) { + option (method_description) = "Batches multiple data updates, snapshots, and inference requests into a single call"; + } - rpc GetAccessTokens (.CMsgSteamLearn_GetAccessTokens_Request) returns (.CMsgSteamLearn_GetAccessTokens_Response) { - option (method_description) = "Gets the access tokens needed for registering data sources, submitting data to them, and snapshotting projects"; - } + rpc GetAccessTokens (.CMsgSteamLearn_GetAccessTokens_Request) returns (.CMsgSteamLearn_GetAccessTokens_Response) { + option (method_description) = "Gets the access tokens needed for registering data sources, submitting data to them, and snapshotting projects"; + } - rpc Inference (.CMsgSteamLearn_Inference_Request) returns (.CMsgSteamLearn_Inference_Response) { - option (method_description) = "Inferences using supplied data, or data associated with the specified key."; - } + rpc Inference (.CMsgSteamLearn_Inference_Request) returns (.CMsgSteamLearn_Inference_Response) { + option (method_description) = "Inferences using supplied data, or data associated with the specified key."; + } - rpc InferenceMetadata (.CMsgSteamLearn_InferenceMetadata_Request) returns (.CMsgSteamLearn_InferenceMetadata_Response) { - option (method_description) = "Requests the metadata that was generated from a specified fetch."; - } + rpc InferenceMetadata (.CMsgSteamLearn_InferenceMetadata_Request) returns (.CMsgSteamLearn_InferenceMetadata_Response) { + option (method_description) = "Requests the metadata that was generated from a specified fetch."; + } } diff --git a/javasteam-depotdownloader/src/main/kotlin/in/dragonbra/javasteam/depotdownloader/Steam3Session.kt b/javasteam-depotdownloader/src/main/kotlin/in/dragonbra/javasteam/depotdownloader/Steam3Session.kt index de86be16..f92dfa32 100644 --- a/javasteam-depotdownloader/src/main/kotlin/in/dragonbra/javasteam/depotdownloader/Steam3Session.kt +++ b/javasteam-depotdownloader/src/main/kotlin/in/dragonbra/javasteam/depotdownloader/Steam3Session.kt @@ -342,7 +342,7 @@ class Steam3Session( } suspend fun getUGCDetails(ugcHandle: UGCHandle): UGCDetailsCallback? { - val callback = steamCloud!!.requestUGCDetails(ugcHandle).await() + val callback = steamCloud!!.requestUGCDetails(ugcHandle) logger?.debug("requestUGCDetails($ugcHandle) result: ${callback.result}") diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_client.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_client.proto index 9fd3d06a..4aa2c61a 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_client.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_client.proto @@ -15,449 +15,449 @@ option optimize_for = SPEED; option java_generic_services = false; enum CMsgDOTARequestMatches_SkillLevel { - CMsgDOTARequestMatches_SkillLevel_Any = 0; - CMsgDOTARequestMatches_SkillLevel_Normal = 1; - CMsgDOTARequestMatches_SkillLevel_High = 2; - CMsgDOTARequestMatches_SkillLevel_VeryHigh = 3; + CMsgDOTARequestMatches_SkillLevel_Any = 0; + CMsgDOTARequestMatches_SkillLevel_Normal = 1; + CMsgDOTARequestMatches_SkillLevel_High = 2; + CMsgDOTARequestMatches_SkillLevel_VeryHigh = 3; } enum DOTA_WatchReplayType { - DOTA_WATCH_REPLAY_NORMAL = 0; - DOTA_WATCH_REPLAY_HIGHLIGHTS = 1; + DOTA_WATCH_REPLAY_NORMAL = 0; + DOTA_WATCH_REPLAY_HIGHLIGHTS = 1; } enum EItemEditorReservationResult { - k_EItemEditorReservationResult_OK = 1; - k_EItemEditorReservationResult_AlreadyExists = 2; - k_EItemEditorReservationResult_Reserved = 3; - k_EItemEditorReservationResult_TimedOut = 4; + k_EItemEditorReservationResult_OK = 1; + k_EItemEditorReservationResult_AlreadyExists = 2; + k_EItemEditorReservationResult_Reserved = 3; + k_EItemEditorReservationResult_TimedOut = 4; } enum EWeekendTourneyRichPresenceEvent { - k_EWeekendTourneyRichPresenceEvent_None = 0; - k_EWeekendTourneyRichPresenceEvent_StartedMatch = 1; - k_EWeekendTourneyRichPresenceEvent_WonMatch = 2; - k_EWeekendTourneyRichPresenceEvent_Eliminated = 3; + k_EWeekendTourneyRichPresenceEvent_None = 0; + k_EWeekendTourneyRichPresenceEvent_StartedMatch = 1; + k_EWeekendTourneyRichPresenceEvent_WonMatch = 2; + k_EWeekendTourneyRichPresenceEvent_Eliminated = 3; } enum EDOTATriviaAnswerResult { - k_EDOTATriviaAnswerResult_Success = 0; - k_EDOTATriviaAnswerResult_InvalidQuestion = 1; - k_EDOTATriviaAnswerResult_InvalidAnswer = 2; - k_EDOTATriviaAnswerResult_QuestionLocked = 3; - k_EDOTATriviaAnswerResult_AlreadyAnswered = 4; - k_EDOTATriviaAnswerResult_TriviaDisabled = 5; + k_EDOTATriviaAnswerResult_Success = 0; + k_EDOTATriviaAnswerResult_InvalidQuestion = 1; + k_EDOTATriviaAnswerResult_InvalidAnswer = 2; + k_EDOTATriviaAnswerResult_QuestionLocked = 3; + k_EDOTATriviaAnswerResult_AlreadyAnswered = 4; + k_EDOTATriviaAnswerResult_TriviaDisabled = 5; } enum EPurchaseHeroRelicResult { - k_EPurchaseHeroRelicResult_Success = 0; - k_EPurchaseHeroRelicResult_FailedToSend = 1; - k_EPurchaseHeroRelicResult_NotEnoughPoints = 2; - k_EPurchaseHeroRelicResult_InternalServerError = 3; - k_EPurchaseHeroRelicResult_PurchaseNotAllowed = 4; - k_EPurchaseHeroRelicResult_InvalidRelic = 5; - k_EPurchaseHeroRelicResult_AlreadyOwned = 6; - k_EPurchaseHeroRelicResult_InvalidRarity = 7; + k_EPurchaseHeroRelicResult_Success = 0; + k_EPurchaseHeroRelicResult_FailedToSend = 1; + k_EPurchaseHeroRelicResult_NotEnoughPoints = 2; + k_EPurchaseHeroRelicResult_InternalServerError = 3; + k_EPurchaseHeroRelicResult_PurchaseNotAllowed = 4; + k_EPurchaseHeroRelicResult_InvalidRelic = 5; + k_EPurchaseHeroRelicResult_AlreadyOwned = 6; + k_EPurchaseHeroRelicResult_InvalidRarity = 7; } enum EDevEventRequestResult { - k_EDevEventRequestResult_Success = 0; - k_EDevEventRequestResult_NotAllowed = 1; - k_EDevEventRequestResult_InvalidEvent = 2; - k_EDevEventRequestResult_SqlFailure = 3; - k_EDevEventRequestResult_Timeout = 4; - k_EDevEventRequestResult_LockFailure = 5; - k_EDevEventRequestResult_SDOLoadFailure = 6; + k_EDevEventRequestResult_Success = 0; + k_EDevEventRequestResult_NotAllowed = 1; + k_EDevEventRequestResult_InvalidEvent = 2; + k_EDevEventRequestResult_SqlFailure = 3; + k_EDevEventRequestResult_Timeout = 4; + k_EDevEventRequestResult_LockFailure = 5; + k_EDevEventRequestResult_SDOLoadFailure = 6; } enum ESupportEventRequestResult { - k_ESupportEventRequestResult_Success = 0; - k_ESupportEventRequestResult_Timeout = 1; - k_ESupportEventRequestResult_CantLockSOCache = 2; - k_ESupportEventRequestResult_ItemNotInInventory = 3; - k_ESupportEventRequestResult_InvalidItemDef = 4; - k_ESupportEventRequestResult_InvalidEvent = 5; - k_ESupportEventRequestResult_EventExpired = 6; - k_ESupportEventRequestResult_InvalidSupportAccount = 7; - k_ESupportEventRequestResult_InvalidSupportMessage = 8; - k_ESupportEventRequestResult_InvalidEventPoints = 9; - k_ESupportEventRequestResult_InvalidPremiumPoints = 10; - k_ESupportEventRequestResult_InvalidActionID = 11; - k_ESupportEventRequestResult_InvalidActionScore = 12; - k_ESupportEventRequestResult_TransactionFailed = 13; + k_ESupportEventRequestResult_Success = 0; + k_ESupportEventRequestResult_Timeout = 1; + k_ESupportEventRequestResult_CantLockSOCache = 2; + k_ESupportEventRequestResult_ItemNotInInventory = 3; + k_ESupportEventRequestResult_InvalidItemDef = 4; + k_ESupportEventRequestResult_InvalidEvent = 5; + k_ESupportEventRequestResult_EventExpired = 6; + k_ESupportEventRequestResult_InvalidSupportAccount = 7; + k_ESupportEventRequestResult_InvalidSupportMessage = 8; + k_ESupportEventRequestResult_InvalidEventPoints = 9; + k_ESupportEventRequestResult_InvalidPremiumPoints = 10; + k_ESupportEventRequestResult_InvalidActionID = 11; + k_ESupportEventRequestResult_InvalidActionScore = 12; + k_ESupportEventRequestResult_TransactionFailed = 13; } enum EUnderDraftResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eNoGold = 2; - k_eInvalidSlot = 3; - k_eNoBenchSpace = 4; - k_eNoTickets = 5; - k_eEventNotOwned = 6; - k_eInvalidReward = 7; - k_eHasBigReward = 8; - k_eNoGCConnection = 9; - k_eTooBusy = 10; - k_eCantRollBack = 11; + k_eInternalError = 0; + k_eSuccess = 1; + k_eNoGold = 2; + k_eInvalidSlot = 3; + k_eNoBenchSpace = 4; + k_eNoTickets = 5; + k_eEventNotOwned = 6; + k_eInvalidReward = 7; + k_eHasBigReward = 8; + k_eNoGCConnection = 9; + k_eTooBusy = 10; + k_eCantRollBack = 11; } enum EDOTADraftTriviaAnswerResult { - k_EDOTADraftTriviaAnswerResult_Success = 0; - k_EDOTADraftTriviaAnswerResult_InvalidMatchID = 1; - k_EDOTADraftTriviaAnswerResult_AlreadyAnswered = 2; - k_EDOTADraftTriviaAnswerResult_InternalError = 3; - k_EDOTADraftTriviaAnswerResult_TriviaDisabled = 4; - k_EDOTADraftTriviaAnswerResult_GCDown = 5; + k_EDOTADraftTriviaAnswerResult_Success = 0; + k_EDOTADraftTriviaAnswerResult_InvalidMatchID = 1; + k_EDOTADraftTriviaAnswerResult_AlreadyAnswered = 2; + k_EDOTADraftTriviaAnswerResult_InternalError = 3; + k_EDOTADraftTriviaAnswerResult_TriviaDisabled = 4; + k_EDOTADraftTriviaAnswerResult_GCDown = 5; } enum CMsgClientToGCUpdateComicBookStat_Type { - CMsgClientToGCUpdateComicBookStat_Type_HighestPageRead = 1; - CMsgClientToGCUpdateComicBookStat_Type_SecondsSpentReading = 2; - CMsgClientToGCUpdateComicBookStat_Type_HighestPercentRead = 3; + CMsgClientToGCUpdateComicBookStat_Type_HighestPageRead = 1; + CMsgClientToGCUpdateComicBookStat_Type_SecondsSpentReading = 2; + CMsgClientToGCUpdateComicBookStat_Type_HighestPercentRead = 3; } message CMsgClientSuspended { - optional uint32 time_end = 1; + optional uint32 time_end = 1; } message CMsgBalancedShuffleLobby { } message CMsgInitialQuestionnaireResponse { - optional uint32 initial_skill = 1; + optional uint32 initial_skill = 1; } message CMsgDOTARequestMatchesResponse { - message Series { - repeated .CMsgDOTAMatch matches = 1; - optional uint32 series_id = 2; - optional uint32 series_type = 3; - } + message Series { + repeated .CMsgDOTAMatch matches = 1; + optional uint32 series_id = 2; + optional uint32 series_type = 3; + } - repeated .CMsgDOTAMatch matches = 1; - repeated .CMsgDOTARequestMatchesResponse.Series series = 2; - optional uint32 request_id = 3; - optional uint32 total_results = 4; - optional uint32 results_remaining = 5; + repeated .CMsgDOTAMatch matches = 1; + repeated .CMsgDOTARequestMatchesResponse.Series series = 2; + optional uint32 request_id = 3; + optional uint32 total_results = 4; + optional uint32 results_remaining = 5; } message CMsgDOTAPopup { - enum PopupID { - NONE = -1; - KICKED_FROM_LOBBY = 0; - KICKED_FROM_PARTY = 1; - KICKED_FROM_TEAM = 2; - TEAM_WAS_DISBANDED = 3; - TEAM_MATCHMAKE_ALREADY_MATCH = 4; - TEAM_MATCHMAKE_ALREADY_FINDING = 5; - TEAM_MATCHMAKE_FULL = 6; - TEAM_MATCHMAKE_FAIL_ADD = 7; - TEAM_MATCHMAKE_FAIL_ADD_CURRENT = 8; - TEAM_MATCHMAKE_FAILED_TEAM_MEMBER = 9; - TEAM_MATCHMAKE_ALREADY_GAME = 10; - TEAM_MATCHMAKE_FAIL_GET_PARTY = 11; - MATCHMAKING_DISABLED = 12; - INVITE_DENIED = 13; - PARTY_FULL = 14; - MADE_ADMIN = 15; - NEED_TO_PURCHASE = 16; - SIGNON_MESSAGE = 17; - MATCHMAKING_REGION_OFFLINE = 19; - TOURNAMENT_GAME_NOT_FOUND = 21; - TOURNAMENT_GAME_HAS_LOBBY_ID = 22; - TOURNAMENT_GAME_HAS_MATCH_ID = 23; - TOURNAMENT_GAME_HAS_NO_RADIANT_TEAM = 24; - TOURNAMENT_GAME_HAS_NO_DIRE_TEAM = 25; - TOURNAMENT_GAME_SQL_UPDATE_FAILED = 26; - NOT_LEAGUE_ADMIN = 27; - IN_ANOTHER_GAME = 29; - PARTY_MEMBER_IN_ANOTHER_GAME = 30; - PARTY_MEMBER_IN_LOW_PRIORITY = 31; - CLIENT_OUT_OF_DATE = 32; - SAVE_GAME_CORRUPT = 38; - INSUFFICIENT_INGOTS = 39; - COMPETITIVE_MM_NOT_ENOUGH_PLAY_TIME_PLAY_MORE_CASUAL = 42; - PARTY_LEADER_JOINED_LOBBY = 44; - WEEKEND_TOURNEY_UNMATCHED = 48; - POST_MATCH_SURVEY = 49; - TROPHY_AWARDED = 50; - TROPHY_LEVEL_UP = 51; - ALL_HERO_CHALLENGE_PROGRESS = 52; - NEED_INITIAL_SKILL = 53; - NEED_INITIAL_SKILL_IN_PARTY = 54; - TARGET_ENGINE_MISMATCH = 55; - VAC_NOT_VERIFIED = 56; - KICKED_FROM_QUEUE_EVENT_STARTING = 57; - KICKED_FROM_QUEUE_EVENT_ENDING = 58; - LOBBY_FULL = 62; - EVENT_POINTS_EARNED = 63; - CUSTOM_GAME_INCORRECT_VERSION = 64; - LIMITED_USER_CHAT = 66; - EVENT_PREMIUM_POINTS_EARNED = 67; - LOBBY_MVP_AWARDED = 68; - LOW_BADGE_LEVEL_CHAT = 71; - LOW_WINS_CHAT = 72; - UNVERIFIED_USER_CHAT = 73; - PARTY_STARTED_FINDING_EVENT_MATCH = 74; - GENERIC_INFO = 69; - GENERIC_ERROR = 70; - RANK_TIER_UPDATED = 75; - CUSTOM_GAME_COOLDOWN_RESTRICTED = 76; - CREATE_LOBBY_FAILED_TOO_MUCH_PLAYTIME = 77; - CUSTOM_GAME_TOO_FEW_GAMES = 78; - COMM_SCORE_TOO_LOW = 79; - } - - optional .CMsgDOTAPopup.PopupID id = 1 [default = NONE]; - optional string custom_text = 2; - optional sint32 int_data = 3; - optional bytes popup_data = 4; - optional string loc_token_header = 5; - optional string loc_token_msg = 6; - repeated string var_names = 7; - repeated string var_values = 8; - optional string debug_text = 9; + enum PopupID { + NONE = -1; + KICKED_FROM_LOBBY = 0; + KICKED_FROM_PARTY = 1; + KICKED_FROM_TEAM = 2; + TEAM_WAS_DISBANDED = 3; + TEAM_MATCHMAKE_ALREADY_MATCH = 4; + TEAM_MATCHMAKE_ALREADY_FINDING = 5; + TEAM_MATCHMAKE_FULL = 6; + TEAM_MATCHMAKE_FAIL_ADD = 7; + TEAM_MATCHMAKE_FAIL_ADD_CURRENT = 8; + TEAM_MATCHMAKE_FAILED_TEAM_MEMBER = 9; + TEAM_MATCHMAKE_ALREADY_GAME = 10; + TEAM_MATCHMAKE_FAIL_GET_PARTY = 11; + MATCHMAKING_DISABLED = 12; + INVITE_DENIED = 13; + PARTY_FULL = 14; + MADE_ADMIN = 15; + NEED_TO_PURCHASE = 16; + SIGNON_MESSAGE = 17; + MATCHMAKING_REGION_OFFLINE = 19; + TOURNAMENT_GAME_NOT_FOUND = 21; + TOURNAMENT_GAME_HAS_LOBBY_ID = 22; + TOURNAMENT_GAME_HAS_MATCH_ID = 23; + TOURNAMENT_GAME_HAS_NO_RADIANT_TEAM = 24; + TOURNAMENT_GAME_HAS_NO_DIRE_TEAM = 25; + TOURNAMENT_GAME_SQL_UPDATE_FAILED = 26; + NOT_LEAGUE_ADMIN = 27; + IN_ANOTHER_GAME = 29; + PARTY_MEMBER_IN_ANOTHER_GAME = 30; + PARTY_MEMBER_IN_LOW_PRIORITY = 31; + CLIENT_OUT_OF_DATE = 32; + SAVE_GAME_CORRUPT = 38; + INSUFFICIENT_INGOTS = 39; + COMPETITIVE_MM_NOT_ENOUGH_PLAY_TIME_PLAY_MORE_CASUAL = 42; + PARTY_LEADER_JOINED_LOBBY = 44; + WEEKEND_TOURNEY_UNMATCHED = 48; + POST_MATCH_SURVEY = 49; + TROPHY_AWARDED = 50; + TROPHY_LEVEL_UP = 51; + ALL_HERO_CHALLENGE_PROGRESS = 52; + NEED_INITIAL_SKILL = 53; + NEED_INITIAL_SKILL_IN_PARTY = 54; + TARGET_ENGINE_MISMATCH = 55; + VAC_NOT_VERIFIED = 56; + KICKED_FROM_QUEUE_EVENT_STARTING = 57; + KICKED_FROM_QUEUE_EVENT_ENDING = 58; + LOBBY_FULL = 62; + EVENT_POINTS_EARNED = 63; + CUSTOM_GAME_INCORRECT_VERSION = 64; + LIMITED_USER_CHAT = 66; + EVENT_PREMIUM_POINTS_EARNED = 67; + LOBBY_MVP_AWARDED = 68; + LOW_BADGE_LEVEL_CHAT = 71; + LOW_WINS_CHAT = 72; + UNVERIFIED_USER_CHAT = 73; + PARTY_STARTED_FINDING_EVENT_MATCH = 74; + GENERIC_INFO = 69; + GENERIC_ERROR = 70; + RANK_TIER_UPDATED = 75; + CUSTOM_GAME_COOLDOWN_RESTRICTED = 76; + CREATE_LOBBY_FAILED_TOO_MUCH_PLAYTIME = 77; + CUSTOM_GAME_TOO_FEW_GAMES = 78; + COMM_SCORE_TOO_LOW = 79; + } + + optional .CMsgDOTAPopup.PopupID id = 1 [default = NONE]; + optional string custom_text = 2; + optional sint32 int_data = 3; + optional bytes popup_data = 4; + optional string loc_token_header = 5; + optional string loc_token_msg = 6; + repeated string var_names = 7; + repeated string var_values = 8; + optional string debug_text = 9; } message CMsgDOTAReportsRemainingRequest { } message CMsgDOTAReportsRemainingResponse { - optional uint32 num_positive_reports_remaining = 1; - optional uint32 num_negative_reports_remaining = 2; - optional uint32 num_positive_reports_total = 3; - optional uint32 num_negative_reports_total = 4; - optional uint32 num_comms_reports_remaining = 5; - optional uint32 num_comms_reports_total = 6; + optional uint32 num_positive_reports_remaining = 1; + optional uint32 num_negative_reports_remaining = 2; + optional uint32 num_positive_reports_total = 3; + optional uint32 num_negative_reports_total = 4; + optional uint32 num_comms_reports_remaining = 5; + optional uint32 num_comms_reports_total = 6; } message CMsgDOTASubmitPlayerReport { - optional uint32 target_account_id = 1; - optional uint32 report_flags = 2; - optional uint64 lobby_id = 4; - optional string comment = 5; + optional uint32 target_account_id = 1; + optional uint32 report_flags = 2; + optional uint64 lobby_id = 4; + optional string comment = 5; } message CMsgDOTASubmitPlayerReportResponse { - enum EResult { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDuplicateReport = 2; - k_eMixedReportFlags = 3; - k_eTooLate = 4; - k_eInvalidPregameReport = 5; - k_eHasntChatted = 6; - k_eInvalid = 7; - k_eOwnership = 8; - k_eMissingRequirements = 9; - k_eInvalidRoleReport = 10; - k_eInvalidCoachReport = 11; - k_eNoRemainingReports = 12; - k_eInvalidMember = 13; - } - - optional uint32 target_account_id = 1; - optional uint32 report_flags = 2; - optional string debug_message = 4; - optional .CMsgDOTASubmitPlayerReportResponse.EResult enum_result = 5 [default = k_eInternalError]; + enum EResult { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDuplicateReport = 2; + k_eMixedReportFlags = 3; + k_eTooLate = 4; + k_eInvalidPregameReport = 5; + k_eHasntChatted = 6; + k_eInvalid = 7; + k_eOwnership = 8; + k_eMissingRequirements = 9; + k_eInvalidRoleReport = 10; + k_eInvalidCoachReport = 11; + k_eNoRemainingReports = 12; + k_eInvalidMember = 13; + } + + optional uint32 target_account_id = 1; + optional uint32 report_flags = 2; + optional string debug_message = 4; + optional .CMsgDOTASubmitPlayerReportResponse.EResult enum_result = 5 [default = k_eInternalError]; } message CMsgDOTASubmitPlayerAvoidRequest { - optional uint32 target_account_id = 1; - optional uint64 lobby_id = 4; - optional string user_note = 5; + optional uint32 target_account_id = 1; + optional uint64 lobby_id = 4; + optional string user_note = 5; } message CMsgDOTASubmitPlayerAvoidRequestResponse { - optional uint32 target_account_id = 1; - optional uint32 result = 2; - optional string debug_message = 3; + optional uint32 target_account_id = 1; + optional uint32 result = 2; + optional string debug_message = 3; } message CMsgDOTASubmitPlayerReportV2 { - optional uint32 target_account_id = 1; - repeated uint32 report_reason = 2; - optional uint64 lobby_id = 3; - optional float game_time = 4; - optional uint32 debug_slot = 5; - optional fixed64 debug_match_id = 6; + optional uint32 target_account_id = 1; + repeated uint32 report_reason = 2; + optional uint64 lobby_id = 3; + optional float game_time = 4; + optional uint32 debug_slot = 5; + optional fixed64 debug_match_id = 6; } message CMsgDOTASubmitPlayerReportResponseV2 { - enum EResult { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDuplicateReport = 2; - k_eMixedReportFlags = 3; - k_eTooLate = 4; - k_eInvalidPregameReport = 5; - k_eHasntChatted = 6; - k_eInvalid = 7; - k_eOwnership = 8; - k_eMissingRequirements = 9; - k_eInvalidRoleReport = 10; - k_eInvalidCoachReport = 11; - k_eNoRemainingReports = 12; - k_eInvalidMember = 13; - k_eCannotReportPartyMember = 14; - } - - optional uint32 target_account_id = 1; - repeated uint32 report_reason = 2; - optional string debug_message = 4; - optional .CMsgDOTASubmitPlayerReportResponseV2.EResult enum_result = 5 [default = k_eInternalError]; + enum EResult { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDuplicateReport = 2; + k_eMixedReportFlags = 3; + k_eTooLate = 4; + k_eInvalidPregameReport = 5; + k_eHasntChatted = 6; + k_eInvalid = 7; + k_eOwnership = 8; + k_eMissingRequirements = 9; + k_eInvalidRoleReport = 10; + k_eInvalidCoachReport = 11; + k_eNoRemainingReports = 12; + k_eInvalidMember = 13; + k_eCannotReportPartyMember = 14; + } + + optional uint32 target_account_id = 1; + repeated uint32 report_reason = 2; + optional string debug_message = 4; + optional .CMsgDOTASubmitPlayerReportResponseV2.EResult enum_result = 5 [default = k_eInternalError]; } message CMsgDOTASubmitLobbyMVPVote { - optional uint32 target_account_id = 1; + optional uint32 target_account_id = 1; } message CMsgDOTASubmitLobbyMVPVoteResponse { - optional uint32 target_account_id = 1; - optional uint32 eresult = 2; + optional uint32 target_account_id = 1; + optional uint32 eresult = 2; } message CMsgDOTALobbyMVPAwarded { - optional uint64 match_id = 1; - repeated uint32 mvp_account_id = 2; + optional uint64 match_id = 1; + repeated uint32 mvp_account_id = 2; } message CMsgDOTAKickedFromMatchmakingQueue { - optional .MatchType match_type = 1 [default = MATCH_TYPE_CASUAL]; + optional .MatchType match_type = 1 [default = MATCH_TYPE_CASUAL]; } message CMsgGCMatchDetailsRequest { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgGCMatchDetailsResponse { - optional uint32 result = 1; - optional .CMsgDOTAMatch match = 2; - optional .DOTAMatchVote vote = 3 [default = DOTAMatchVote_INVALID]; + optional uint32 result = 1; + optional .CMsgDOTAMatch match = 2; + optional .DOTAMatchVote vote = 3 [default = DOTAMatchVote_INVALID]; } message CMsgDOTAProfileTickets { - message LeaguePass { - optional uint32 league_id = 1; - optional uint32 item_def = 2; - } + message LeaguePass { + optional uint32 league_id = 1; + optional uint32 item_def = 2; + } - optional uint32 result = 1; - optional uint32 account_id = 2; - repeated .CMsgDOTAProfileTickets.LeaguePass league_passes = 3; + optional uint32 result = 1; + optional uint32 account_id = 2; + repeated .CMsgDOTAProfileTickets.LeaguePass league_passes = 3; } message CMsgClientToGCGetProfileTickets { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgGCToClientPartySearchInvites { - repeated .CMsgGCToClientPartySearchInvite invites = 1; + repeated .CMsgGCToClientPartySearchInvite invites = 1; } message CMsgDOTAWelcome { - message CExtraMsg { - optional uint32 id = 1; - optional bytes contents = 2; - } - - optional uint32 store_item_hash = 5; - optional uint32 timeplayedconsecutively = 6; - optional bool allow_3rd_party_match_history = 7; - optional uint32 last_ip_address = 13; - optional bool profile_private = 17; - optional uint32 currency = 18; - optional bool should_request_player_origin = 20; - optional uint32 gc_socache_file_version = 22; - optional bool is_perfect_world_test_account = 24; - repeated .CMsgDOTAWelcome.CExtraMsg extra_messages = 26; - optional uint64 minimum_recent_item_id = 27; - optional .EEvent active_event = 28 [default = EVENT_ID_NONE]; - optional uint32 additional_user_message = 29; - optional uint32 custom_game_whitelist_version = 30; - optional .CMsgGCToClientPartySearchInvites party_search_friend_invites = 31; - optional int32 remaining_playtime = 32 [default = -1]; - optional bool disable_guild_persona_info = 33; - repeated .CExtraMsgBlock extra_message_blocks = 34; - optional .EEvent active_event_for_display = 35 [default = EVENT_ID_NONE]; + message CExtraMsg { + optional uint32 id = 1; + optional bytes contents = 2; + } + + optional uint32 store_item_hash = 5; + optional uint32 timeplayedconsecutively = 6; + optional bool allow_3rd_party_match_history = 7; + optional uint32 last_ip_address = 13; + optional bool profile_private = 17; + optional uint32 currency = 18; + optional bool should_request_player_origin = 20; + optional uint32 gc_socache_file_version = 22; + optional bool is_perfect_world_test_account = 24; + repeated .CMsgDOTAWelcome.CExtraMsg extra_messages = 26; + optional uint64 minimum_recent_item_id = 27; + optional .EEvent active_event = 28 [default = EVENT_ID_NONE]; + optional uint32 additional_user_message = 29; + optional uint32 custom_game_whitelist_version = 30; + optional .CMsgGCToClientPartySearchInvites party_search_friend_invites = 31; + optional int32 remaining_playtime = 32 [default = -1]; + optional bool disable_guild_persona_info = 33; + repeated .CExtraMsgBlock extra_message_blocks = 34; + optional .EEvent active_event_for_display = 35 [default = EVENT_ID_NONE]; } message CSODOTAGameHeroFavorites { - optional uint32 account_id = 1 [(key_field) = true]; - optional int32 hero_id = 2 [(key_field) = true]; + optional uint32 account_id = 1 [(key_field) = true]; + optional int32 hero_id = 2 [(key_field) = true]; } message CMsgDOTAMatchVotes { - message PlayerVote { - optional uint32 account_id = 1; - optional uint32 vote = 2; - } + message PlayerVote { + optional uint32 account_id = 1; + optional uint32 vote = 2; + } - optional uint64 match_id = 1; - repeated .CMsgDOTAMatchVotes.PlayerVote votes = 2; + optional uint64 match_id = 1; + repeated .CMsgDOTAMatchVotes.PlayerVote votes = 2; } message CMsgMatchmakingMatchGroupInfo { - optional uint32 players_searching = 1; - optional sint32 auto_region_select_ping_penalty = 2; - optional sint32 auto_region_select_ping_penalty_custom = 4; - optional .EMatchGroupServerStatus status = 3 [default = k_EMatchGroupServerStatus_OK]; + optional uint32 players_searching = 1; + optional sint32 auto_region_select_ping_penalty = 2; + optional sint32 auto_region_select_ping_penalty_custom = 4; + optional .EMatchGroupServerStatus status = 3 [default = k_EMatchGroupServerStatus_OK]; } message CMsgDOTAMatchmakingStatsRequest { } message CMsgDOTAMatchmakingStatsResponse { - optional uint32 matchgroups_version = 1; - repeated uint32 legacy_searching_players_by_group_source2 = 7; - repeated .CMsgMatchmakingMatchGroupInfo match_groups = 8; + optional uint32 matchgroups_version = 1; + repeated uint32 legacy_searching_players_by_group_source2 = 7; + repeated .CMsgMatchmakingMatchGroupInfo match_groups = 8; } message CMsgDOTAUpdateMatchmakingStats { - optional .CMsgDOTAMatchmakingStatsResponse stats = 1; + optional .CMsgDOTAMatchmakingStatsResponse stats = 1; } message CMsgDOTAUpdateMatchManagementStats { - optional .CMsgDOTAMatchmakingStatsResponse stats = 1; + optional .CMsgDOTAMatchmakingStatsResponse stats = 1; } message CMsgDOTASetMatchHistoryAccess { - optional bool allow_3rd_party_match_history = 1; + optional bool allow_3rd_party_match_history = 1; } message CMsgDOTASetMatchHistoryAccessResponse { - optional uint32 eresult = 1 [default = 2]; + optional uint32 eresult = 1 [default = 2]; } message CMsgDOTANotifyAccountFlagsChange { - optional uint32 accountid = 1; - optional uint32 account_flags = 2; + optional uint32 accountid = 1; + optional uint32 account_flags = 2; } message CMsgDOTASetProfilePrivacy { - optional bool profile_private = 1; + optional bool profile_private = 1; } message CMsgDOTASetProfilePrivacyResponse { - optional uint32 eresult = 1; + optional uint32 eresult = 1; } message CMsgUpgradeLeagueItem { - optional uint64 match_id = 1; - optional uint32 league_id = 2; + optional uint64 match_id = 1; + optional uint32 league_id = 2; } message CMsgUpgradeLeagueItemResponse { } message CMsgGCWatchDownloadedReplay { - optional uint64 match_id = 1; - optional .DOTA_WatchReplayType watch_type = 2 [default = DOTA_WATCH_REPLAY_NORMAL]; + optional uint64 match_id = 1; + optional .DOTA_WatchReplayType watch_type = 2 [default = DOTA_WATCH_REPLAY_NORMAL]; } message CMsgClientToGCWatchingBroadcast { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgClientsRejoinChatChannels { @@ -467,2970 +467,3001 @@ message CMsgGCGetHeroStandings { } message CMsgGCGetHeroStandingsResponse { - message Hero { - optional int32 hero_id = 1; - optional uint32 wins = 2; - optional uint32 losses = 3; - optional uint32 win_streak = 4; - optional uint32 best_win_streak = 5; - optional float avg_kills = 6; - optional float avg_deaths = 7; - optional float avg_assists = 8; - optional float avg_gpm = 9; - optional float avg_xpm = 10; - optional uint32 best_kills = 11; - optional uint32 best_assists = 12; - optional uint32 best_gpm = 13; - optional uint32 best_xpm = 14; - optional float performance = 15; - optional uint32 wins_with_ally = 16; - optional uint32 losses_with_ally = 17; - optional uint32 wins_against_enemy = 18; - optional uint32 losses_against_enemy = 19; - optional uint32 networth_peak = 20; - optional uint32 lasthit_peak = 21; - optional uint32 deny_peak = 22; - optional uint32 damage_peak = 23; - optional uint32 longest_game_peak = 24; - optional uint32 healing_peak = 25; - optional float avg_lasthits = 26; - optional float avg_denies = 27; - } - - repeated .CMsgGCGetHeroStandingsResponse.Hero standings = 1; + message Hero { + optional int32 hero_id = 1; + optional uint32 wins = 2; + optional uint32 losses = 3; + optional uint32 win_streak = 4; + optional uint32 best_win_streak = 5; + optional float avg_kills = 6; + optional float avg_deaths = 7; + optional float avg_assists = 8; + optional float avg_gpm = 9; + optional float avg_xpm = 10; + optional uint32 best_kills = 11; + optional uint32 best_assists = 12; + optional uint32 best_gpm = 13; + optional uint32 best_xpm = 14; + optional float performance = 15; + optional uint32 wins_with_ally = 16; + optional uint32 losses_with_ally = 17; + optional uint32 wins_against_enemy = 18; + optional uint32 losses_against_enemy = 19; + optional uint32 networth_peak = 20; + optional uint32 lasthit_peak = 21; + optional uint32 deny_peak = 22; + optional uint32 damage_peak = 23; + optional uint32 longest_game_peak = 24; + optional uint32 healing_peak = 25; + optional float avg_lasthits = 26; + optional float avg_denies = 27; + } + + repeated .CMsgGCGetHeroStandingsResponse.Hero standings = 1; } message CMatchPlayerTimedStatAverages { - optional float kills = 2; - optional float deaths = 3; - optional float assists = 4; - optional float net_worth = 5; - optional float last_hits = 6; - optional float denies = 7; - optional float item_value = 8; - optional float support_gold_spent = 9; - optional float camps_stacked = 10; - optional float wards_placed = 11; - optional float dewards = 12; - optional float triple_kills = 13; - optional float rampages = 14; + optional float kills = 2; + optional float deaths = 3; + optional float assists = 4; + optional float net_worth = 5; + optional float last_hits = 6; + optional float denies = 7; + optional float item_value = 8; + optional float support_gold_spent = 9; + optional float camps_stacked = 10; + optional float wards_placed = 11; + optional float dewards = 12; + optional float triple_kills = 13; + optional float rampages = 14; } message CMatchPlayerTimedStatStdDeviations { - optional float kills = 2 [default = 1]; - optional float deaths = 3 [default = 1]; - optional float assists = 4 [default = 1]; - optional float net_worth = 5 [default = 1]; - optional float last_hits = 6 [default = 1]; - optional float denies = 7 [default = 1]; - optional float item_value = 8 [default = 1]; - optional float support_gold_spent = 9 [default = 1]; - optional float camps_stacked = 10 [default = 1]; - optional float wards_placed = 11 [default = 1]; - optional float dewards = 12 [default = 1]; - optional float triple_kills = 13 [default = 1]; - optional float rampages = 14 [default = 1]; + optional float kills = 2 [default = 1]; + optional float deaths = 3 [default = 1]; + optional float assists = 4 [default = 1]; + optional float net_worth = 5 [default = 1]; + optional float last_hits = 6 [default = 1]; + optional float denies = 7 [default = 1]; + optional float item_value = 8 [default = 1]; + optional float support_gold_spent = 9 [default = 1]; + optional float camps_stacked = 10 [default = 1]; + optional float wards_placed = 11 [default = 1]; + optional float dewards = 12 [default = 1]; + optional float triple_kills = 13 [default = 1]; + optional float rampages = 14 [default = 1]; } message CMsgGCGetHeroTimedStatsResponse { - message TimedStatsContainer { - optional uint32 time = 1; - optional .CMatchPlayerTimedStatAverages all_stats = 2; - optional .CMatchPlayerTimedStatAverages winning_stats = 3; - optional .CMatchPlayerTimedStatAverages losing_stats = 4; - optional .CMatchPlayerTimedStatStdDeviations winning_stddevs = 5; - optional .CMatchPlayerTimedStatStdDeviations losing_stddevs = 6; - } + message TimedStatsContainer { + optional uint32 time = 1; + optional .CMatchPlayerTimedStatAverages all_stats = 2; + optional .CMatchPlayerTimedStatAverages winning_stats = 3; + optional .CMatchPlayerTimedStatAverages losing_stats = 4; + optional .CMatchPlayerTimedStatStdDeviations winning_stddevs = 5; + optional .CMatchPlayerTimedStatStdDeviations losing_stddevs = 6; + } - message RankChunkedStats { - optional uint32 rank_chunk = 1; - repeated .CMsgGCGetHeroTimedStatsResponse.TimedStatsContainer timed_stats = 2; - } + message RankChunkedStats { + optional uint32 rank_chunk = 1; + repeated .CMsgGCGetHeroTimedStatsResponse.TimedStatsContainer timed_stats = 2; + } - optional int32 hero_id = 1; - repeated .CMsgGCGetHeroTimedStatsResponse.RankChunkedStats rank_chunked_stats = 2; + optional int32 hero_id = 1; + repeated .CMsgGCGetHeroTimedStatsResponse.RankChunkedStats rank_chunked_stats = 2; } message CMsgGCItemEditorReservationsRequest { } message CMsgGCItemEditorReservation { - optional uint32 def_index = 1; - optional string name = 2; + optional uint32 def_index = 1; + optional string name = 2; } message CMsgGCItemEditorReservationsResponse { - repeated .CMsgGCItemEditorReservation reservations = 1; + repeated .CMsgGCItemEditorReservation reservations = 1; } message CMsgGCItemEditorReserveItemDef { - optional uint32 def_index = 1; - optional string username = 2; + optional uint32 def_index = 1; + optional string username = 2; } message CMsgGCItemEditorReserveItemDefResponse { - optional uint32 def_index = 1; - optional string username = 2; - optional uint32 result = 3; + optional uint32 def_index = 1; + optional string username = 2; + optional uint32 result = 3; } message CMsgGCItemEditorReleaseReservation { - optional uint32 def_index = 1; - optional string username = 2; + optional uint32 def_index = 1; + optional string username = 2; } message CMsgGCItemEditorReleaseReservationResponse { - optional uint32 def_index = 1; - optional bool released = 2; + optional uint32 def_index = 1; + optional bool released = 2; } message CMsgFlipLobbyTeams { } message CMsgGCLobbyUpdateBroadcastChannelInfo { - optional uint32 channel_id = 1; - optional string country_code = 2; - optional string description = 3; - optional string language_code = 4; + optional uint32 channel_id = 1; + optional string country_code = 2; + optional string description = 3; + optional string language_code = 4; } message CMsgDOTAClaimEventActionData { - message GrantItemGiftData { - optional uint32 give_to_account_id = 1; - optional string gift_message = 2; - } + message GrantItemGiftData { + optional uint32 give_to_account_id = 1; + optional string gift_message = 2; + } - optional .CMsgDOTAClaimEventActionData.GrantItemGiftData grant_item_gift_data = 4; - optional uint64 grant_item_choice_item_def = 5; + optional .CMsgDOTAClaimEventActionData.GrantItemGiftData grant_item_gift_data = 4; + optional uint64 grant_item_choice_item_def = 5; } message CMsgDOTAClaimEventAction { - optional uint32 event_id = 1; - optional uint32 action_id = 2; - optional uint32 quantity = 3; - optional .CMsgDOTAClaimEventActionData data = 4; - optional .EEventActionScoreMode score_mode = 5 [default = k_eEventActionScoreMode_Add]; - optional bool suppress_rewards = 6; + optional uint32 event_id = 1; + optional uint32 action_id = 2; + optional uint32 quantity = 3; + optional .CMsgDOTAClaimEventActionData data = 4; + optional .EEventActionScoreMode score_mode = 5 [default = k_eEventActionScoreMode_Add]; + optional bool suppress_rewards = 6; } message CMsgClientToGCClaimEventActionUsingItem { - optional uint32 event_id = 1; - optional uint32 action_id = 2; - optional uint64 item_id = 3; - optional uint32 quantity = 4; - optional bool suppress_rewards = 5; + optional uint32 event_id = 1; + optional uint32 action_id = 2; + optional uint64 item_id = 3; + optional uint32 quantity = 4; + optional bool suppress_rewards = 5; } message CMsgClientToGCClaimEventActionUsingItemResponse { - optional .CMsgDOTAClaimEventActionResponse action_results = 1; + optional .CMsgDOTAClaimEventActionResponse action_results = 1; } message CMsgGCToClientClaimEventActionUsingItemCompleted { - optional uint64 item_id = 1; - optional .CMsgDOTAClaimEventActionResponse action_results = 2; + optional uint64 item_id = 1; + optional .CMsgDOTAClaimEventActionResponse action_results = 2; } message CMsgDOTAGetEventPoints { - optional uint32 event_id = 1; - optional uint32 account_id = 2; + optional uint32 event_id = 1; + optional uint32 account_id = 2; } message CMsgDOTAGetEventPointsResponse { - message Action { - optional uint32 action_id = 1; - optional uint32 times_completed = 2 [default = 1]; - } - - optional uint32 total_points = 1; - optional uint32 total_premium_points = 2; - optional uint32 event_id = 3; - optional uint32 points = 4; - optional uint32 premium_points = 5; - repeated .CMsgDOTAGetEventPointsResponse.Action completed_actions = 6; - optional uint32 account_id = 7; - optional bool owned = 8; - optional uint32 audit_action = 9; - optional uint32 active_season_id = 10; + message Action { + optional uint32 action_id = 1; + optional uint32 times_completed = 2 [default = 1]; + } + + optional uint32 total_points = 1; + optional uint32 total_premium_points = 2; + optional uint32 event_id = 3; + optional uint32 points = 4; + optional uint32 premium_points = 5; + repeated .CMsgDOTAGetEventPointsResponse.Action completed_actions = 6; + optional uint32 account_id = 7; + optional bool owned = 8; + optional uint32 audit_action = 9; + optional uint32 active_season_id = 10; } message CMsgDOTAGetPeriodicResource { - optional uint32 account_id = 1; - optional uint32 periodic_resource_id = 2; - optional uint32 timestamp = 3; + optional uint32 account_id = 1; + optional uint32 periodic_resource_id = 2; + optional uint32 timestamp = 3; } message CMsgDOTAGetPeriodicResourceResponse { - optional uint32 periodic_resource_max = 1; - optional uint32 periodic_resource_used = 2; + optional uint32 periodic_resource_max = 1; + optional uint32 periodic_resource_used = 2; } message CMsgDOTAPeriodicResourceUpdated { - optional .CMsgDOTAGetPeriodicResource periodic_resource_key = 1; - optional .CMsgDOTAGetPeriodicResourceResponse periodic_resource_value = 2; + optional .CMsgDOTAGetPeriodicResource periodic_resource_key = 1; + optional .CMsgDOTAGetPeriodicResourceResponse periodic_resource_value = 2; } message CMsgDOTACompendiumSelection { - optional uint32 selection_index = 1; - optional uint32 selection = 2; - optional uint32 leagueid = 3; + optional uint32 selection_index = 1; + optional uint32 selection = 2; + optional uint32 leagueid = 3; } message CMsgDOTACompendiumSelectionResponse { - optional uint32 eresult = 1 [default = 2]; + optional uint32 eresult = 1 [default = 2]; } message CMsgDOTACompendiumRemoveAllSelections { - optional uint32 leagueid = 1; + optional uint32 leagueid = 1; } message CMsgDOTACompendiumRemoveAllSelectionsResponse { - optional uint32 eresult = 1 [default = 2]; + optional uint32 eresult = 1 [default = 2]; } message CMsgDOTACompendiumData { - repeated .CMsgDOTACompendiumSelection selections = 1; + repeated .CMsgDOTACompendiumSelection selections = 1; } message CMsgDOTACompendiumDataRequest { - optional uint32 account_id = 1; - optional uint32 leagueid = 2; + optional uint32 account_id = 1; + optional uint32 leagueid = 2; } message CMsgDOTACompendiumDataResponse { - optional uint32 account_id = 1; - optional uint32 leagueid = 2; - optional uint32 result = 3 [default = 2]; - optional .CMsgDOTACompendiumData compendium_data = 4; + optional uint32 account_id = 1; + optional uint32 leagueid = 2; + optional uint32 result = 3 [default = 2]; + optional .CMsgDOTACompendiumData compendium_data = 4; } message CMsgDOTAGetPlayerMatchHistory { - optional uint32 account_id = 1; - optional uint64 start_at_match_id = 2; - optional uint32 matches_requested = 3; - optional int32 hero_id = 4; - optional uint32 request_id = 5; - optional bool include_practice_matches = 7; - optional bool include_custom_games = 8; - optional bool include_event_games = 9; + optional uint32 account_id = 1; + optional uint64 start_at_match_id = 2; + optional uint32 matches_requested = 3; + optional int32 hero_id = 4; + optional uint32 request_id = 5; + optional bool include_practice_matches = 7; + optional bool include_custom_games = 8; + optional bool include_event_games = 9; } message CMsgDOTAGetPlayerMatchHistoryResponse { - message Match { - optional uint64 match_id = 1; - optional uint32 start_time = 2; - optional int32 hero_id = 3; - optional bool winner = 4; - optional uint32 game_mode = 5; - optional int32 rank_change = 6; - optional uint32 previous_rank = 7; - optional uint32 lobby_type = 8; - optional bool solo_rank = 9; - optional bool abandon = 10; - optional uint32 duration = 11; - optional uint32 engine = 12; - optional bool active_plus_subscription = 13; - optional bool seasonal_rank = 14; - optional uint32 tourney_id = 15; - optional uint32 tourney_round = 16; - optional uint32 tourney_tier = 17; - optional uint32 tourney_division = 18; - optional uint32 team_id = 19; - optional string team_name = 20; - optional uint64 ugc_team_ui_logo = 21; - optional uint32 selected_facet = 22; - } - - repeated .CMsgDOTAGetPlayerMatchHistoryResponse.Match matches = 1; - optional uint32 request_id = 2; + message Match { + optional uint64 match_id = 1; + optional uint32 start_time = 2; + optional int32 hero_id = 3; + optional bool winner = 4; + optional uint32 game_mode = 5; + optional int32 rank_change = 6; + optional uint32 previous_rank = 7; + optional uint32 lobby_type = 8; + optional bool solo_rank = 9; + optional bool abandon = 10; + optional uint32 duration = 11; + optional uint32 engine = 12; + optional bool active_plus_subscription = 13; + optional bool seasonal_rank = 14; + optional uint32 tourney_id = 15; + optional uint32 tourney_round = 16; + optional uint32 tourney_tier = 17; + optional uint32 tourney_division = 18; + optional uint32 team_id = 19; + optional string team_name = 20; + optional uint64 ugc_team_ui_logo = 21; + optional uint32 selected_facet = 22; + } + + repeated .CMsgDOTAGetPlayerMatchHistoryResponse.Match matches = 1; + optional uint32 request_id = 2; } message CMsgGCNotificationsRequest { } message CMsgGCNotifications_Notification { - optional uint64 id = 1; - optional uint32 type = 2; - optional uint32 timestamp = 3; - optional uint32 reference_a = 4; - optional uint32 reference_b = 5; - optional uint32 reference_c = 6; - optional string message = 7; - optional bool unread = 8; + optional uint64 id = 1; + optional uint32 type = 2; + optional uint32 timestamp = 3; + optional uint32 reference_a = 4; + optional uint32 reference_b = 5; + optional uint32 reference_c = 6; + optional string message = 7; + optional bool unread = 8; } message CMsgGCNotificationsUpdate { - enum EResult { - SUCCESS = 0; - ERROR_UNSPECIFIED = 1; - } + enum EResult { + SUCCESS = 0; + ERROR_UNSPECIFIED = 1; + } - optional .CMsgGCNotificationsUpdate.EResult result = 1 [default = SUCCESS]; - repeated .CMsgGCNotifications_Notification notifications = 2; + optional .CMsgGCNotificationsUpdate.EResult result = 1 [default = SUCCESS]; + repeated .CMsgGCNotifications_Notification notifications = 2; } message CMsgGCNotificationsResponse { - optional .CMsgGCNotificationsUpdate update = 1; + optional .CMsgGCNotificationsUpdate update = 1; } message CMsgGCNotificationsMarkReadRequest { } message CMsgGCPlayerInfoSubmit { - optional string player_name = 1; - optional string country_code = 2; - optional uint32 fantasy_role = 3; - optional uint32 team_id = 4; - optional string sponsor = 5; - optional bool accepted_pro_agreement = 6; - optional uint32 registration_period = 7; - optional string real_name = 8; + optional string player_name = 1; + optional string country_code = 2; + optional uint32 fantasy_role = 3; + optional uint32 team_id = 4; + optional string sponsor = 5; + optional bool accepted_pro_agreement = 6; + optional uint32 registration_period = 7; + optional string real_name = 8; } message CMsgGCPlayerInfoSubmitResponse { - enum EResult { - SUCCESS = 0; - ERROR_UNSPECIFIED = 1; - ERROR_INFO_LOCKED = 2; - ERROR_NOT_MEMBER_OF_TEAM = 3; - } + enum EResult { + SUCCESS = 0; + ERROR_UNSPECIFIED = 1; + ERROR_INFO_LOCKED = 2; + ERROR_NOT_MEMBER_OF_TEAM = 3; + } - optional .CMsgGCPlayerInfoSubmitResponse.EResult result = 1 [default = SUCCESS]; + optional .CMsgGCPlayerInfoSubmitResponse.EResult result = 1 [default = SUCCESS]; } message CMsgDOTAEmoticonAccessSDO { - optional uint32 account_id = 1; - optional bytes unlocked_emoticons = 2; + optional uint32 account_id = 1; + optional bytes unlocked_emoticons = 2; } message CMsgClientToGCEmoticonDataRequest { } message CMsgGCToClientEmoticonData { - optional .CMsgDOTAEmoticonAccessSDO emoticon_access = 1; + optional .CMsgDOTAEmoticonAccessSDO emoticon_access = 1; } message CMsgGCToClientTournamentItemDrop { - optional uint32 item_def = 1; - optional uint32 event_type = 2; + optional uint32 item_def = 1; + optional uint32 event_type = 2; } message CMsgClientToGCGetAllHeroOrder { } message CMsgClientToGCGetAllHeroOrderResponse { - repeated int32 hero_ids = 1; + repeated int32 hero_ids = 1; } message CMsgClientToGCGetAllHeroProgress { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCGetAllHeroProgressResponse { - optional uint32 account_id = 1; - optional int32 curr_hero_id = 2; - optional uint32 laps_completed = 3; - optional uint32 curr_hero_games = 4; - optional uint32 curr_lap_time_started = 5; - optional uint32 curr_lap_games = 6; - optional uint32 best_lap_games = 7; - optional uint32 best_lap_time = 8; - optional uint32 lap_heroes_completed = 9; - optional uint32 lap_heroes_remaining = 10; - optional int32 next_hero_id = 11; - optional int32 prev_hero_id = 12; - optional uint32 prev_hero_games = 13; - optional float prev_avg_tries = 14; - optional float curr_avg_tries = 15; - optional float next_avg_tries = 16; - optional float full_lap_avg_tries = 17; - optional float curr_lap_avg_tries = 18; - optional string profile_name = 19; - optional int32 start_hero_id = 20; + optional uint32 account_id = 1; + optional int32 curr_hero_id = 2; + optional uint32 laps_completed = 3; + optional uint32 curr_hero_games = 4; + optional uint32 curr_lap_time_started = 5; + optional uint32 curr_lap_games = 6; + optional uint32 best_lap_games = 7; + optional uint32 best_lap_time = 8; + optional uint32 lap_heroes_completed = 9; + optional uint32 lap_heroes_remaining = 10; + optional int32 next_hero_id = 11; + optional int32 prev_hero_id = 12; + optional uint32 prev_hero_games = 13; + optional float prev_avg_tries = 14; + optional float curr_avg_tries = 15; + optional float next_avg_tries = 16; + optional float full_lap_avg_tries = 17; + optional float curr_lap_avg_tries = 18; + optional string profile_name = 19; + optional int32 start_hero_id = 20; } message CMsgClientToGCGetTrophyList { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCGetTrophyListResponse { - message Trophy { - optional uint32 trophy_id = 1; - optional uint32 trophy_score = 2; - optional uint32 last_updated = 3; - } + message Trophy { + optional uint32 trophy_id = 1; + optional uint32 trophy_score = 2; + optional uint32 last_updated = 3; + } - repeated .CMsgClientToGCGetTrophyListResponse.Trophy trophies = 2; + repeated .CMsgClientToGCGetTrophyListResponse.Trophy trophies = 2; } message CMsgGCToClientTrophyAwarded { - optional uint32 trophy_id = 1; - optional uint32 trophy_score = 2; - optional uint32 trophy_old_score = 3; - optional uint32 last_updated = 4; + optional uint32 trophy_id = 1; + optional uint32 trophy_score = 2; + optional uint32 trophy_old_score = 3; + optional uint32 last_updated = 4; } message CMsgClientToGCRankRequest { - optional .ERankType rank_type = 1 [default = k_ERankType_Invalid]; + optional .ERankType rank_type = 1 [default = k_ERankType_Invalid]; } message CMsgGCToClientRankResponse { - enum EResultCode { - k_Succeeded = 0; - k_Failed = 1; - k_InvalidRankType = 2; - } + enum EResultCode { + k_Succeeded = 0; + k_Failed = 1; + k_InvalidRankType = 2; + } - optional .CMsgGCToClientRankResponse.EResultCode result = 1 [default = k_Succeeded]; - optional uint32 rank_value = 2; - optional uint32 rank_data1 = 3; - optional uint32 rank_data2 = 4; - optional uint32 rank_data3 = 5; + optional .CMsgGCToClientRankResponse.EResultCode result = 1 [default = k_Succeeded]; + optional uint32 rank_value = 2; + optional uint32 rank_data1 = 3; + optional uint32 rank_data2 = 4; + optional uint32 rank_data3 = 5; } message CMsgGCToClientRankUpdate { - optional .ERankType rank_type = 1 [default = k_ERankType_Invalid]; - optional .CMsgGCToClientRankResponse rank_info = 2; + optional .ERankType rank_type = 1 [default = k_ERankType_Invalid]; + optional .CMsgGCToClientRankResponse rank_info = 2; } message CMsgClientToGCGetProfileCard { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCSetProfileCardSlots { - message CardSlot { - optional uint32 slot_id = 1; - optional .EProfileCardSlotType slot_type = 2 [default = k_EProfileCardSlotType_Empty]; - optional uint64 slot_value = 3; - } + message CardSlot { + optional uint32 slot_id = 1; + optional .EProfileCardSlotType slot_type = 2 [default = k_EProfileCardSlotType_Empty]; + optional uint64 slot_value = 3; + } - repeated .CMsgClientToGCSetProfileCardSlots.CardSlot slots = 1; + repeated .CMsgClientToGCSetProfileCardSlots.CardSlot slots = 1; } message CMsgClientToGCGetProfileCardStats { } message CMsgClientToGCCreateHeroStatue { - optional uint64 source_item_id = 1; - optional int32 hero_id = 3; - optional string sequence_name = 4; - optional float cycle = 5; - repeated uint32 wearables = 6; - optional string inscription = 7; - repeated uint32 styles = 8; - optional uint64 reforger_item_id = 9; - optional bool tournament_drop = 10; + optional uint64 source_item_id = 1; + optional int32 hero_id = 3; + optional string sequence_name = 4; + optional float cycle = 5; + repeated uint32 wearables = 6; + optional string inscription = 7; + repeated uint32 styles = 8; + optional uint64 reforger_item_id = 9; + optional bool tournament_drop = 10; } message CMsgGCToClientHeroStatueCreateResult { - optional uint64 resulting_item_id = 1; + optional uint64 resulting_item_id = 1; } message CMsgClientToGCPlayerStatsRequest { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgGCToClientPlayerStatsResponse { - optional uint32 account_id = 1; - repeated float player_stats = 2; - optional uint32 match_count = 3; - optional float mean_gpm = 4; - optional float mean_xppm = 5; - optional float mean_lasthits = 6; - optional uint32 rampages = 7; - optional uint32 triple_kills = 8; - optional uint32 first_blood_claimed = 9; - optional uint32 first_blood_given = 10; - optional uint32 couriers_killed = 11; - optional uint32 aegises_snatched = 12; - optional uint32 cheeses_eaten = 13; - optional uint32 creeps_stacked = 14; - optional float fight_score = 15; - optional float farm_score = 16; - optional float support_score = 17; - optional float push_score = 18; - optional float versatility_score = 19; - optional float mean_networth = 20; - optional float mean_damage = 21; - optional float mean_heals = 22; - optional uint32 rapiers_purchased = 23; + optional uint32 account_id = 1; + repeated float player_stats = 2; + optional uint32 match_count = 3; + optional float mean_gpm = 4; + optional float mean_xppm = 5; + optional float mean_lasthits = 6; + optional uint32 rampages = 7; + optional uint32 triple_kills = 8; + optional uint32 first_blood_claimed = 9; + optional uint32 first_blood_given = 10; + optional uint32 couriers_killed = 11; + optional uint32 aegises_snatched = 12; + optional uint32 cheeses_eaten = 13; + optional uint32 creeps_stacked = 14; + optional float fight_score = 15; + optional float farm_score = 16; + optional float support_score = 17; + optional float push_score = 18; + optional float versatility_score = 19; + optional float mean_networth = 20; + optional float mean_damage = 21; + optional float mean_heals = 22; + optional uint32 rapiers_purchased = 23; } message CMsgClientToGCCustomGamesFriendsPlayedRequest { } message CMsgGCToClientCustomGamesFriendsPlayedResponse { - message CustomGame { - optional uint64 custom_game_id = 1; - repeated uint32 account_ids = 2; - } + message CustomGame { + optional uint64 custom_game_id = 1; + repeated uint32 account_ids = 2; + } - optional uint32 account_id = 1; - repeated .CMsgGCToClientCustomGamesFriendsPlayedResponse.CustomGame games = 2; + optional uint32 account_id = 1; + repeated .CMsgGCToClientCustomGamesFriendsPlayedResponse.CustomGame games = 2; } message CMsgClientToGCSocialFeedPostCommentRequest { - optional uint64 event_id = 1; - optional string comment = 2; + optional uint64 event_id = 1; + optional string comment = 2; } message CMsgGCToClientSocialFeedPostCommentResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgClientToGCSocialFeedPostMessageRequest { - optional string message = 1; - optional uint64 match_id = 2; - optional uint32 match_timestamp = 3; + optional string message = 1; + optional uint64 match_id = 2; + optional uint32 match_timestamp = 3; } message CMsgGCToClientSocialFeedPostMessageResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgClientToGCFriendsPlayedCustomGameRequest { - optional uint64 custom_game_id = 1; + optional uint64 custom_game_id = 1; } message CMsgGCToClientFriendsPlayedCustomGameResponse { - optional uint64 custom_game_id = 1; - repeated uint32 account_ids = 2; + optional uint64 custom_game_id = 1; + repeated uint32 account_ids = 2; } message CMsgDOTAPartyRichPresence { - message Member { - optional fixed64 steam_id = 1; - optional bool coach = 2; - } - - message WeekendTourney { - optional uint32 division = 1; - optional uint32 skill_level = 2; - optional uint32 round = 3; - optional uint32 tournament_id = 4; - optional uint32 state_seq_num = 5; - optional .EWeekendTourneyRichPresenceEvent event = 6 [default = k_EWeekendTourneyRichPresenceEvent_None]; - optional uint32 event_round = 7; - } - - optional fixed64 party_id = 1; - optional .CSODOTAParty.State party_state = 2 [default = UI]; - optional bool open = 3; - optional bool low_priority = 5; - optional uint32 team_id = 7; - optional string team_name = 8; - optional uint64 ugc_team_ui_logo = 9; - repeated .CMsgDOTAPartyRichPresence.Member members = 4; - optional .CMsgDOTAPartyRichPresence.WeekendTourney weekend_tourney = 6; + message Member { + optional fixed64 steam_id = 1; + optional bool coach = 2; + } + + message WeekendTourney { + optional uint32 division = 1; + optional uint32 skill_level = 2; + optional uint32 round = 3; + optional uint32 tournament_id = 4; + optional uint32 state_seq_num = 5; + optional .EWeekendTourneyRichPresenceEvent event = 6 [default = k_EWeekendTourneyRichPresenceEvent_None]; + optional uint32 event_round = 7; + } + + optional fixed64 party_id = 1; + optional .CSODOTAParty.State party_state = 2 [default = UI]; + optional bool open = 3; + optional bool low_priority = 5; + optional uint32 team_id = 7; + optional string team_name = 8; + optional uint64 ugc_team_ui_logo = 9; + repeated .CMsgDOTAPartyRichPresence.Member members = 4; + optional .CMsgDOTAPartyRichPresence.WeekendTourney weekend_tourney = 6; } message CMsgDOTALobbyRichPresence { - optional fixed64 lobby_id = 1; - optional .CSODOTALobby.State lobby_state = 2 [default = UI]; - optional bool password = 3; - optional .DOTA_GameMode game_mode = 4 [default = DOTA_GAMEMODE_NONE]; - optional uint32 member_count = 5; - optional uint32 max_member_count = 6; - optional fixed64 custom_game_id = 7; - optional string name = 8; - optional uint32 lobby_type = 9; + optional fixed64 lobby_id = 1; + optional .CSODOTALobby.State lobby_state = 2 [default = UI]; + optional bool password = 3; + optional .DOTA_GameMode game_mode = 4 [default = DOTA_GAMEMODE_NONE]; + optional uint32 member_count = 5; + optional uint32 max_member_count = 6; + optional fixed64 custom_game_id = 7; + optional string name = 8; + optional uint32 lobby_type = 9; } message CMsgDOTACustomGameListenServerStartedLoading { - optional fixed64 lobby_id = 1; - optional uint64 custom_game_id = 2; - repeated uint32 lobby_members = 3; - optional uint32 start_time = 4; + optional fixed64 lobby_id = 1; + optional uint64 custom_game_id = 2; + repeated uint32 lobby_members = 3; + optional uint32 start_time = 4; } message CMsgDOTACustomGameClientFinishedLoading { - optional fixed64 lobby_id = 1; - optional uint32 loading_duration = 2; - optional sint32 result_code = 3; - optional string result_string = 4; - optional uint32 signon_states = 5; - optional string comment = 6; + optional fixed64 lobby_id = 1; + optional uint32 loading_duration = 2; + optional sint32 result_code = 3; + optional string result_string = 4; + optional uint32 signon_states = 5; + optional string comment = 6; } message CMsgClientToGCApplyGemCombiner { - optional uint64 item_id_1 = 1; - optional uint64 item_id_2 = 2; + optional uint64 item_id_1 = 1; + optional uint64 item_id_2 = 2; } message CMsgClientToGCH264Unsupported { } message CMsgClientToGCGetQuestProgress { - repeated uint32 quest_ids = 1; + repeated uint32 quest_ids = 1; } message CMsgClientToGCGetQuestProgressResponse { - message Challenge { - optional uint32 challenge_id = 1; - optional uint32 time_completed = 2; - optional uint32 attempts = 3; - optional int32 hero_id = 4; - optional uint32 template_id = 5; - optional uint32 quest_rank = 6; - } + message Challenge { + optional uint32 challenge_id = 1; + optional uint32 time_completed = 2; + optional uint32 attempts = 3; + optional int32 hero_id = 4; + optional uint32 template_id = 5; + optional uint32 quest_rank = 6; + } - message Quest { - optional uint32 quest_id = 1; - repeated .CMsgClientToGCGetQuestProgressResponse.Challenge completed_challenges = 2; - } + message Quest { + optional uint32 quest_id = 1; + repeated .CMsgClientToGCGetQuestProgressResponse.Challenge completed_challenges = 2; + } - optional bool success = 1; - repeated .CMsgClientToGCGetQuestProgressResponse.Quest quests = 2; + optional bool success = 1; + repeated .CMsgClientToGCGetQuestProgressResponse.Quest quests = 2; } message CMsgGCToClientMatchSignedOut { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgGCGetHeroStatsHistory { - optional int32 hero_id = 1; + optional int32 hero_id = 1; } message CMsgGCGetHeroStatsHistoryResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + } - optional int32 hero_id = 1; - repeated .CMsgDOTASDOHeroStatsHistory records = 2; - optional .CMsgGCGetHeroStatsHistoryResponse.EResponse result = 3 [default = k_eInternalError]; + optional int32 hero_id = 1; + repeated .CMsgDOTASDOHeroStatsHistory records = 2; + optional .CMsgGCGetHeroStatsHistoryResponse.EResponse result = 3 [default = k_eInternalError]; } message CMsgPlayerConductScorecardRequest { } message CMsgPlayerConductScorecard { - enum EBehaviorRating { - k_eBehaviorGood = 0; - k_eBehaviorWarning = 1; - k_eBehaviorBad = 2; - } - - optional uint32 account_id = 1; - optional uint64 match_id = 2; - optional uint32 seq_num = 3; - optional uint32 reasons = 4; - optional uint32 matches_in_report = 5; - optional uint32 matches_clean = 6; - optional uint32 matches_reported = 7; - optional uint32 matches_abandoned = 8; - optional uint32 reports_count = 9; - optional uint32 reports_parties = 10; - optional uint32 commend_count = 11; - optional uint32 date = 14; - optional uint32 raw_behavior_score = 17; - optional uint32 old_raw_behavior_score = 18; - optional uint32 comms_reports = 19; - optional uint32 comms_parties = 20; - optional .CMsgPlayerConductScorecard.EBehaviorRating behavior_rating = 21 [default = k_eBehaviorGood]; + enum EBehaviorRating { + k_eBehaviorGood = 0; + k_eBehaviorWarning = 1; + k_eBehaviorBad = 2; + } + + optional uint32 account_id = 1; + optional uint64 match_id = 2; + optional uint32 seq_num = 3; + optional uint32 reasons = 4; + optional uint32 matches_in_report = 5; + optional uint32 matches_clean = 6; + optional uint32 matches_reported = 7; + optional uint32 matches_abandoned = 8; + optional uint32 reports_count = 9; + optional uint32 reports_parties = 10; + optional uint32 commend_count = 11; + optional uint32 date = 14; + optional uint32 raw_behavior_score = 17; + optional uint32 old_raw_behavior_score = 18; + optional uint32 comms_reports = 19; + optional uint32 comms_parties = 20; + optional .CMsgPlayerConductScorecard.EBehaviorRating behavior_rating = 21 [default = k_eBehaviorGood]; } message CMsgClientToGCWageringRequest { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgGCToClientWageringResponse { - optional uint32 coins_remaining = 1; - optional uint32 total_points_won = 2; - optional uint32 total_points_wagered = 3; - optional uint32 total_points_tipped = 4; - optional uint32 success_rate = 5; - optional uint32 total_games_wagered = 6; - optional uint32 coins_max = 7; - optional uint32 rank_wagers_remaining = 8; - optional uint32 rank_wagers_max = 9; - optional uint32 prediction_tokens_remaining = 10; - optional uint32 prediction_tokens_max = 11; - optional uint32 bounties_remaining = 12; - optional uint32 bounties_max = 13; + optional uint32 coins_remaining = 1; + optional uint32 total_points_won = 2; + optional uint32 total_points_wagered = 3; + optional uint32 total_points_tipped = 4; + optional uint32 success_rate = 5; + optional uint32 total_games_wagered = 6; + optional uint32 coins_max = 7; + optional uint32 rank_wagers_remaining = 8; + optional uint32 rank_wagers_max = 9; + optional uint32 prediction_tokens_remaining = 10; + optional uint32 prediction_tokens_max = 11; + optional uint32 bounties_remaining = 12; + optional uint32 bounties_max = 13; } message CMsgGCToClientWageringUpdate { - optional uint32 event_id = 1; - optional .CMsgGCToClientWageringResponse wagering_info = 2; + optional uint32 event_id = 1; + optional .CMsgGCToClientWageringResponse wagering_info = 2; } message CMsgGCToClientArcanaVotesUpdate { - optional uint32 event_id = 1; - optional .CMsgClientToGCRequestArcanaVotesRemainingResponse arcana_votes = 2; + optional uint32 event_id = 1; + optional .CMsgClientToGCRequestArcanaVotesRemainingResponse arcana_votes = 2; } message CMsgClientToGCGetEventGoals { - repeated .EEvent event_ids = 1; + repeated .EEvent event_ids = 1; } message CMsgEventGoals { - message EventGoal { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 goal_id = 2; - optional uint64 value = 3; - } + message EventGoal { + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 goal_id = 2; + optional uint64 value = 3; + } - repeated .CMsgEventGoals.EventGoal event_goals = 1; + repeated .CMsgEventGoals.EventGoal event_goals = 1; } message CMsgGCToGCLeaguePredictions { - optional uint32 league_id = 1; + optional uint32 league_id = 1; } message CMsgPredictionRankings { - message PredictionLine { - optional uint32 answer_id = 1; - optional string answer_name = 2; - optional uint64 answer_logo = 3; - optional float answer_value = 4; - } + message PredictionLine { + optional uint32 answer_id = 1; + optional string answer_name = 2; + optional uint64 answer_logo = 3; + optional float answer_value = 4; + } - message Prediction { - optional uint32 selection_id = 1; - repeated .CMsgPredictionRankings.PredictionLine prediction_lines = 2; - } + message Prediction { + optional uint32 selection_id = 1; + repeated .CMsgPredictionRankings.PredictionLine prediction_lines = 2; + } - repeated .CMsgPredictionRankings.Prediction predictions = 1; + repeated .CMsgPredictionRankings.Prediction predictions = 1; } message CMsgPredictionResults { - message ResultBreakdown { - optional uint32 answer_selection = 2; - optional float answer_value = 3; - } + message ResultBreakdown { + optional uint32 answer_selection = 2; + optional float answer_value = 3; + } - message Result { - optional uint32 selection_id = 1; - repeated .CMsgPredictionResults.ResultBreakdown result_breakdown = 2; - } + message Result { + optional uint32 selection_id = 1; + repeated .CMsgPredictionResults.ResultBreakdown result_breakdown = 2; + } - repeated .CMsgPredictionResults.Result results = 1; + repeated .CMsgPredictionResults.Result results = 1; } message CMsgClientToGCHasPlayerVotedForMVP { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgClientToGCHasPlayerVotedForMVPResponse { - optional bool result = 1; + optional bool result = 1; } message CMsgClientToGCVoteForMVP { - optional uint64 match_id = 1; - optional uint32 account_id = 3; + optional uint64 match_id = 1; + optional uint32 account_id = 3; } message CMsgClientToGCVoteForMVPResponse { - optional bool result = 1; + optional bool result = 1; } message CMsgClientToGCMVPVoteTimeout { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgClientToGCMVPVoteTimeoutResponse { - optional bool result = 1; + optional bool result = 1; } message CMsgClientToGCTeammateStatsRequest { } message CMsgClientToGCTeammateStatsResponse { - message TeammateStat { - optional uint32 account_id = 1; - optional uint32 games = 2; - optional uint32 wins = 3; - optional uint32 most_recent_game_timestamp = 4; - optional uint64 most_recent_game_match_id = 5; - optional float performance = 100; - } + message TeammateStat { + optional uint32 account_id = 1; + optional uint32 games = 2; + optional uint32 wins = 3; + optional uint32 most_recent_game_timestamp = 4; + optional uint64 most_recent_game_match_id = 5; + optional float performance = 100; + } - optional bool success = 1; - repeated .CMsgClientToGCTeammateStatsResponse.TeammateStat teammate_stats = 2; + optional bool success = 1; + repeated .CMsgClientToGCTeammateStatsResponse.TeammateStat teammate_stats = 2; } message CMsgClientToGCVoteForArcana { - repeated .CMsgArcanaVoteMatchVotes matches = 1; + repeated .CMsgArcanaVoteMatchVotes matches = 1; } message CMsgClientToGCVoteForArcanaResponse { - enum Result { - SUCCEEDED = 0; - VOTING_NOT_ENABLED_FOR_ROUND = 1; - UNKNOWN_FAILURE = 2; - } + enum Result { + SUCCEEDED = 0; + VOTING_NOT_ENABLED_FOR_ROUND = 1; + UNKNOWN_FAILURE = 2; + } - optional .CMsgClientToGCVoteForArcanaResponse.Result result = 1 [default = SUCCEEDED]; + optional .CMsgClientToGCVoteForArcanaResponse.Result result = 1 [default = SUCCEEDED]; } message CMsgClientToGCRequestArcanaVotesRemaining { } message CMsgClientToGCRequestArcanaVotesRemainingResponse { - optional bool result = 1; - optional uint32 votes_remaining = 2; - optional uint32 votes_total = 3; - repeated .CMsgArcanaVoteMatchVotes matches_previously_voted_for = 4; + optional bool result = 1; + optional uint32 votes_remaining = 2; + optional uint32 votes_total = 3; + repeated .CMsgArcanaVoteMatchVotes matches_previously_voted_for = 4; } message CMsgClientToGCRequestEventPointLogV2 { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCRequestEventPointLogResponseV2 { - message LogEntry { - optional uint32 timestamp = 1; - optional uint32 audit_action = 2; - optional int32 event_points = 3; - optional uint64 audit_data = 4; - } + message LogEntry { + optional uint32 timestamp = 1; + optional uint32 audit_action = 2; + optional int32 event_points = 3; + optional uint64 audit_data = 4; + } - optional bool result = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - repeated .CMsgClientToGCRequestEventPointLogResponseV2.LogEntry log_entries = 3; + optional bool result = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + repeated .CMsgClientToGCRequestEventPointLogResponseV2.LogEntry log_entries = 3; } message CMsgClientToGCPublishUserStat { - optional uint32 user_stats_event = 1; - optional uint64 reference_data = 2; + optional uint32 user_stats_event = 1; + optional uint64 reference_data = 2; } message CMsgClientToGCRequestSlarkGameResult { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 slot_chosen = 2; - optional uint32 week = 3; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 slot_chosen = 2; + optional uint32 week = 3; } message CMsgClientToGCRequestSlarkGameResultResponse { - optional uint32 points_won = 1; - optional bool aura_won = 2; + optional uint32 points_won = 1; + optional bool aura_won = 2; } message CMsgGCToClientQuestProgressUpdated { - message Challenge { - optional uint32 challenge_id = 1; - optional uint32 time_completed = 2; - optional uint32 attempts = 3; - optional int32 hero_id = 4; - optional uint32 template_id = 5; - optional uint32 quest_rank = 6; - optional uint32 max_quest_rank = 7; - } + message Challenge { + optional uint32 challenge_id = 1; + optional uint32 time_completed = 2; + optional uint32 attempts = 3; + optional int32 hero_id = 4; + optional uint32 template_id = 5; + optional uint32 quest_rank = 6; + optional uint32 max_quest_rank = 7; + } - optional uint32 quest_id = 1; - repeated .CMsgGCToClientQuestProgressUpdated.Challenge completed_challenges = 2; + optional uint32 quest_id = 1; + repeated .CMsgGCToClientQuestProgressUpdated.Challenge completed_challenges = 2; } message CMsgDOTARedeemItem { - optional uint64 currency_id = 1; - optional uint32 purchase_def = 2; + optional uint64 currency_id = 1; + optional uint32 purchase_def = 2; } message CMsgDOTARedeemItemResponse { - enum EResultCode { - k_Succeeded = 0; - k_Failed = 1; - } + enum EResultCode { + k_Succeeded = 0; + k_Failed = 1; + } - optional .CMsgDOTARedeemItemResponse.EResultCode response = 1 [default = k_Succeeded]; + optional .CMsgDOTARedeemItemResponse.EResultCode response = 1 [default = k_Succeeded]; } message CMsgClientToGCSelectCompendiumInGamePrediction { - message Prediction { - optional uint32 prediction_id = 1; - optional uint32 prediction_value = 2; - } + message Prediction { + optional uint32 prediction_id = 1; + optional uint32 prediction_value = 2; + } - optional uint64 match_id = 1; - repeated .CMsgClientToGCSelectCompendiumInGamePrediction.Prediction predictions = 2; - optional uint32 league_id = 3; + optional uint64 match_id = 1; + repeated .CMsgClientToGCSelectCompendiumInGamePrediction.Prediction predictions = 2; + optional uint32 league_id = 3; } message CMsgClientToGCSelectCompendiumInGamePredictionResponse { - enum EResult { - SUCCESS = 0; - INVALID_MATCH = 1; - PREDICTIONS_ARE_CLOSED = 2; - OTHER_ERROR = 3; - } + enum EResult { + SUCCESS = 0; + INVALID_MATCH = 1; + PREDICTIONS_ARE_CLOSED = 2; + OTHER_ERROR = 3; + } - optional .CMsgClientToGCSelectCompendiumInGamePredictionResponse.EResult result = 1 [default = SUCCESS]; + optional .CMsgClientToGCSelectCompendiumInGamePredictionResponse.EResult result = 1 [default = SUCCESS]; } message CMsgClientToGCOpenPlayerCardPack { - optional uint64 player_card_pack_item_id = 1; - optional uint32 team_id = 2; - optional uint32 deprecated_league_id = 3; - optional .ELeagueRegion region = 4 [default = LEAGUE_REGION_UNSET]; + optional uint64 player_card_pack_item_id = 1; + optional uint32 team_id = 2; + optional uint32 deprecated_league_id = 3; + optional .ELeagueRegion region = 4 [default = LEAGUE_REGION_UNSET]; } message CMsgClientToGCOpenPlayerCardPackResponse { - enum Result { - SUCCESS = 1; - ERROR_INTERNAL = 2; - ERROR_FAILED_TO_FIND_PACK = 3; - ERROR_ITEM_NOT_CARD_PACK = 4; - ERROR_FAILED_CARD_CREATE = 5; - ERROR_INVALID_TEAM_ID_ATTRIBUTE = 6; - ERROR_INVALID_TEAM_ID = 7; - } + enum Result { + SUCCESS = 1; + ERROR_INTERNAL = 2; + ERROR_FAILED_TO_FIND_PACK = 3; + ERROR_ITEM_NOT_CARD_PACK = 4; + ERROR_FAILED_CARD_CREATE = 5; + ERROR_INVALID_TEAM_ID_ATTRIBUTE = 6; + ERROR_INVALID_TEAM_ID = 7; + } - optional .CMsgClientToGCOpenPlayerCardPackResponse.Result result = 1 [default = SUCCESS]; - repeated uint64 player_card_item_ids = 2; + optional .CMsgClientToGCOpenPlayerCardPackResponse.Result result = 1 [default = SUCCESS]; + repeated uint64 player_card_item_ids = 2; } message CMsgClientToGCRecyclePlayerCard { - repeated uint64 player_card_item_ids = 3; - optional uint32 event_id = 2; + repeated uint64 player_card_item_ids = 3; + optional uint32 event_id = 2; } message CMsgClientToGCRecyclePlayerCardResponse { - enum Result { - SUCCESS = 1; - ERROR_INTERNAL = 2; - ERROR_FAILED_TO_FIND_PLAYER_CARD = 3; - ERROR_ITEM_NOT_PLAYER_CARD = 4; - ERROR_FAILED_DUST_CARD_CREATE = 5; - ERROR_CARD_LOCKED = 6; - ERROR_NO_CARDS_SPECIFIED = 7; - } + enum Result { + SUCCESS = 1; + ERROR_INTERNAL = 2; + ERROR_FAILED_TO_FIND_PLAYER_CARD = 3; + ERROR_ITEM_NOT_PLAYER_CARD = 4; + ERROR_FAILED_DUST_CARD_CREATE = 5; + ERROR_CARD_LOCKED = 6; + ERROR_NO_CARDS_SPECIFIED = 7; + } - optional .CMsgClientToGCRecyclePlayerCardResponse.Result result = 1 [default = SUCCESS]; - optional uint32 dust_amount = 2; + optional .CMsgClientToGCRecyclePlayerCardResponse.Result result = 1 [default = SUCCESS]; + optional uint32 dust_amount = 2; } message CMsgClientToGCCreatePlayerCardPack { - optional uint64 card_dust_item_id = 1; - optional uint32 event_id = 2; - optional bool premium_pack = 3; + optional uint64 card_dust_item_id = 1; + optional uint32 event_id = 2; + optional bool premium_pack = 3; } message CMsgClientToGCCreatePlayerCardPackResponse { - enum Result { - SUCCESS = 1; - ERROR_INTERNAL = 2; - ERROR_INSUFFICIENT_DUST = 3; - ERROR_ITEM_NOT_DUST_ITEM = 4; - ERROR_FAILED_CARD_PACK_CREATE = 5; - ERROR_NO_CARD_PACK = 6; - ERROR_NOT_AVAILABLE = 7; - } + enum Result { + SUCCESS = 1; + ERROR_INTERNAL = 2; + ERROR_INSUFFICIENT_DUST = 3; + ERROR_ITEM_NOT_DUST_ITEM = 4; + ERROR_FAILED_CARD_PACK_CREATE = 5; + ERROR_NO_CARD_PACK = 6; + ERROR_NOT_AVAILABLE = 7; + } - optional .CMsgClientToGCCreatePlayerCardPackResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgClientToGCCreatePlayerCardPackResponse.Result result = 1 [default = SUCCESS]; } message CMsgClientToGCCreateTeamPlayerCardPack { - optional uint64 card_dust_item_id = 1; - optional uint32 event_id = 2; - optional bool premium_pack = 3; - optional uint32 team_id = 4; + optional uint64 card_dust_item_id = 1; + optional uint32 event_id = 2; + optional bool premium_pack = 3; + optional uint32 team_id = 4; } message CMsgClientToGCCreateTeamPlayerCardPackResponse { - enum Result { - SUCCESS = 1; - ERROR_INTERNAL = 2; - ERROR_INSUFFICIENT_DUST = 3; - ERROR_ITEM_NOT_DUST_ITEM = 4; - ERROR_FAILED_CARD_PACK_CREATE = 5; - ERROR_NO_CARD_PACK = 6; - ERROR_NOT_AVAILABLE = 7; - } + enum Result { + SUCCESS = 1; + ERROR_INTERNAL = 2; + ERROR_INSUFFICIENT_DUST = 3; + ERROR_ITEM_NOT_DUST_ITEM = 4; + ERROR_FAILED_CARD_PACK_CREATE = 5; + ERROR_NO_CARD_PACK = 6; + ERROR_NOT_AVAILABLE = 7; + } - optional .CMsgClientToGCCreateTeamPlayerCardPackResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgClientToGCCreateTeamPlayerCardPackResponse.Result result = 1 [default = SUCCESS]; } message CMsgGCToClientBattlePassRollup_International2016 { - message Questlines { - optional string name = 1; - optional uint32 onestar = 2; - optional uint32 twostar = 3; - optional uint32 threestar = 4; - optional uint32 total = 5; - } - - message Wagering { - optional uint32 total_wagered = 1; - optional uint32 total_won = 2; - optional uint32 average_won = 3; - optional uint32 success_rate = 4; - optional uint32 total_tips = 5; - } - - message Achievements { - optional uint32 completed = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message BattleCup { - optional uint32 wins = 1; - optional uint32 score = 2; - } - - message Predictions { - optional uint32 correct = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message Bracket { - optional uint32 correct = 1; - optional uint32 points = 2; - } - - message PlayerCard { - optional uint32 account_id = 1; - optional uint32 quality = 2; - } - - message FantasyChallenge { - optional float total_score = 1; - optional float percentile = 2; - } - - optional uint32 battle_pass_level = 1; - repeated .CMsgGCToClientBattlePassRollup_International2016.Questlines questlines = 2; - optional .CMsgGCToClientBattlePassRollup_International2016.Wagering wagering = 3; - optional .CMsgGCToClientBattlePassRollup_International2016.Achievements achievements = 4; - optional .CMsgGCToClientBattlePassRollup_International2016.BattleCup battle_cup = 5; - optional .CMsgGCToClientBattlePassRollup_International2016.Predictions predictions = 6; - optional .CMsgGCToClientBattlePassRollup_International2016.Bracket bracket = 7; - repeated .CMsgGCToClientBattlePassRollup_International2016.PlayerCard player_cards = 8; - optional .CMsgGCToClientBattlePassRollup_International2016.FantasyChallenge fantasy_challenge = 9; + message Questlines { + optional string name = 1; + optional uint32 onestar = 2; + optional uint32 twostar = 3; + optional uint32 threestar = 4; + optional uint32 total = 5; + } + + message Wagering { + optional uint32 total_wagered = 1; + optional uint32 total_won = 2; + optional uint32 average_won = 3; + optional uint32 success_rate = 4; + optional uint32 total_tips = 5; + } + + message Achievements { + optional uint32 completed = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message BattleCup { + optional uint32 wins = 1; + optional uint32 score = 2; + } + + message Predictions { + optional uint32 correct = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message Bracket { + optional uint32 correct = 1; + optional uint32 points = 2; + } + + message PlayerCard { + optional uint32 account_id = 1; + optional uint32 quality = 2; + } + + message FantasyChallenge { + optional float total_score = 1; + optional float percentile = 2; + } + + optional uint32 battle_pass_level = 1; + repeated .CMsgGCToClientBattlePassRollup_International2016.Questlines questlines = 2; + optional .CMsgGCToClientBattlePassRollup_International2016.Wagering wagering = 3; + optional .CMsgGCToClientBattlePassRollup_International2016.Achievements achievements = 4; + optional .CMsgGCToClientBattlePassRollup_International2016.BattleCup battle_cup = 5; + optional .CMsgGCToClientBattlePassRollup_International2016.Predictions predictions = 6; + optional .CMsgGCToClientBattlePassRollup_International2016.Bracket bracket = 7; + repeated .CMsgGCToClientBattlePassRollup_International2016.PlayerCard player_cards = 8; + optional .CMsgGCToClientBattlePassRollup_International2016.FantasyChallenge fantasy_challenge = 9; } message CMsgGCToClientBattlePassRollup_Fall2016 { - message Questlines { - optional string name = 1; - optional uint32 onestar = 2; - optional uint32 twostar = 3; - optional uint32 threestar = 4; - optional uint32 total = 5; - } - - message Wagering { - optional uint32 total_wagered = 1; - optional uint32 total_won = 2; - optional uint32 average_won = 3; - optional uint32 success_rate = 4; - optional uint32 total_tips = 5; - } - - message Achievements { - optional uint32 completed = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message BattleCup { - optional uint32 wins = 1; - optional uint32 score = 2; - } - - message Predictions { - optional uint32 correct = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message Bracket { - optional uint32 correct = 1; - optional uint32 points = 2; - } - - message PlayerCard { - optional uint32 account_id = 1; - optional uint32 quality = 2; - } - - message FantasyChallenge { - optional float total_score = 1; - optional float percentile = 2; - } - - optional uint32 battle_pass_level = 1; - repeated .CMsgGCToClientBattlePassRollup_Fall2016.Questlines questlines = 2; - optional .CMsgGCToClientBattlePassRollup_Fall2016.Wagering wagering = 3; - optional .CMsgGCToClientBattlePassRollup_Fall2016.Achievements achievements = 4; - optional .CMsgGCToClientBattlePassRollup_Fall2016.BattleCup battle_cup = 5; - optional .CMsgGCToClientBattlePassRollup_Fall2016.Predictions predictions = 6; - optional .CMsgGCToClientBattlePassRollup_Fall2016.Bracket bracket = 7; - repeated .CMsgGCToClientBattlePassRollup_Fall2016.PlayerCard player_cards = 8; - optional .CMsgGCToClientBattlePassRollup_Fall2016.FantasyChallenge fantasy_challenge = 9; + message Questlines { + optional string name = 1; + optional uint32 onestar = 2; + optional uint32 twostar = 3; + optional uint32 threestar = 4; + optional uint32 total = 5; + } + + message Wagering { + optional uint32 total_wagered = 1; + optional uint32 total_won = 2; + optional uint32 average_won = 3; + optional uint32 success_rate = 4; + optional uint32 total_tips = 5; + } + + message Achievements { + optional uint32 completed = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message BattleCup { + optional uint32 wins = 1; + optional uint32 score = 2; + } + + message Predictions { + optional uint32 correct = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message Bracket { + optional uint32 correct = 1; + optional uint32 points = 2; + } + + message PlayerCard { + optional uint32 account_id = 1; + optional uint32 quality = 2; + } + + message FantasyChallenge { + optional float total_score = 1; + optional float percentile = 2; + } + + optional uint32 battle_pass_level = 1; + repeated .CMsgGCToClientBattlePassRollup_Fall2016.Questlines questlines = 2; + optional .CMsgGCToClientBattlePassRollup_Fall2016.Wagering wagering = 3; + optional .CMsgGCToClientBattlePassRollup_Fall2016.Achievements achievements = 4; + optional .CMsgGCToClientBattlePassRollup_Fall2016.BattleCup battle_cup = 5; + optional .CMsgGCToClientBattlePassRollup_Fall2016.Predictions predictions = 6; + optional .CMsgGCToClientBattlePassRollup_Fall2016.Bracket bracket = 7; + repeated .CMsgGCToClientBattlePassRollup_Fall2016.PlayerCard player_cards = 8; + optional .CMsgGCToClientBattlePassRollup_Fall2016.FantasyChallenge fantasy_challenge = 9; } message CMsgGCToClientBattlePassRollup_Winter2017 { - message Questlines { - optional string name = 1; - optional uint32 onestar = 2; - optional uint32 twostar = 3; - optional uint32 threestar = 4; - optional uint32 total = 5; - } - - message Wagering { - optional uint32 total_wagered = 1; - optional uint32 total_won = 2; - optional uint32 average_won = 3; - optional uint32 success_rate = 4; - optional uint32 total_tips = 5; - } - - message Achievements { - optional uint32 completed = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message BattleCup { - optional uint32 wins = 1; - optional uint32 score = 2; - } - - message Predictions { - optional uint32 correct = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message Bracket { - optional uint32 correct = 1; - optional uint32 points = 2; - } - - message PlayerCard { - optional uint32 account_id = 1; - optional uint32 quality = 2; - } - - message FantasyChallenge { - optional float total_score = 1; - optional float percentile = 2; - } - - optional uint32 battle_pass_level = 1; - repeated .CMsgGCToClientBattlePassRollup_Winter2017.Questlines questlines = 2; - optional .CMsgGCToClientBattlePassRollup_Winter2017.Wagering wagering = 3; - optional .CMsgGCToClientBattlePassRollup_Winter2017.Achievements achievements = 4; - optional .CMsgGCToClientBattlePassRollup_Winter2017.BattleCup battle_cup = 5; - optional .CMsgGCToClientBattlePassRollup_Winter2017.Predictions predictions = 6; - optional .CMsgGCToClientBattlePassRollup_Winter2017.Bracket bracket = 7; - repeated .CMsgGCToClientBattlePassRollup_Winter2017.PlayerCard player_cards = 8; - optional .CMsgGCToClientBattlePassRollup_Winter2017.FantasyChallenge fantasy_challenge = 9; + message Questlines { + optional string name = 1; + optional uint32 onestar = 2; + optional uint32 twostar = 3; + optional uint32 threestar = 4; + optional uint32 total = 5; + } + + message Wagering { + optional uint32 total_wagered = 1; + optional uint32 total_won = 2; + optional uint32 average_won = 3; + optional uint32 success_rate = 4; + optional uint32 total_tips = 5; + } + + message Achievements { + optional uint32 completed = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message BattleCup { + optional uint32 wins = 1; + optional uint32 score = 2; + } + + message Predictions { + optional uint32 correct = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message Bracket { + optional uint32 correct = 1; + optional uint32 points = 2; + } + + message PlayerCard { + optional uint32 account_id = 1; + optional uint32 quality = 2; + } + + message FantasyChallenge { + optional float total_score = 1; + optional float percentile = 2; + } + + optional uint32 battle_pass_level = 1; + repeated .CMsgGCToClientBattlePassRollup_Winter2017.Questlines questlines = 2; + optional .CMsgGCToClientBattlePassRollup_Winter2017.Wagering wagering = 3; + optional .CMsgGCToClientBattlePassRollup_Winter2017.Achievements achievements = 4; + optional .CMsgGCToClientBattlePassRollup_Winter2017.BattleCup battle_cup = 5; + optional .CMsgGCToClientBattlePassRollup_Winter2017.Predictions predictions = 6; + optional .CMsgGCToClientBattlePassRollup_Winter2017.Bracket bracket = 7; + repeated .CMsgGCToClientBattlePassRollup_Winter2017.PlayerCard player_cards = 8; + optional .CMsgGCToClientBattlePassRollup_Winter2017.FantasyChallenge fantasy_challenge = 9; } message CMsgGCToClientBattlePassRollup_TI7 { - message Questlines { - optional string name = 1; - optional uint32 onestar = 2; - optional uint32 twostar = 3; - optional uint32 threestar = 4; - optional uint32 total = 5; - } - - message Wagering { - optional uint32 total_wagered = 1; - optional uint32 total_won = 2; - optional uint32 average_won = 3; - optional uint32 success_rate = 4; - optional uint32 total_tips = 5; - } - - message Achievements { - optional uint32 completed = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message BattleCup { - optional uint32 wins = 1; - optional uint32 score = 2; - } - - message Predictions { - optional uint32 correct = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message Bracket { - optional uint32 correct = 1; - optional uint32 points = 2; - } - - message PlayerCard { - optional uint32 account_id = 1; - optional uint32 quality = 2; - } - - message FantasyChallenge { - optional float total_score = 1; - optional float percentile = 2; - } - - optional uint32 battle_pass_level = 1; - repeated .CMsgGCToClientBattlePassRollup_TI7.Questlines questlines = 2; - optional .CMsgGCToClientBattlePassRollup_TI7.Wagering wagering = 3; - optional .CMsgGCToClientBattlePassRollup_TI7.Achievements achievements = 4; - optional .CMsgGCToClientBattlePassRollup_TI7.BattleCup battle_cup = 5; - optional .CMsgGCToClientBattlePassRollup_TI7.Predictions predictions = 6; - optional .CMsgGCToClientBattlePassRollup_TI7.Bracket bracket = 7; - repeated .CMsgGCToClientBattlePassRollup_TI7.PlayerCard player_cards = 8; - optional .CMsgGCToClientBattlePassRollup_TI7.FantasyChallenge fantasy_challenge = 9; + message Questlines { + optional string name = 1; + optional uint32 onestar = 2; + optional uint32 twostar = 3; + optional uint32 threestar = 4; + optional uint32 total = 5; + } + + message Wagering { + optional uint32 total_wagered = 1; + optional uint32 total_won = 2; + optional uint32 average_won = 3; + optional uint32 success_rate = 4; + optional uint32 total_tips = 5; + } + + message Achievements { + optional uint32 completed = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message BattleCup { + optional uint32 wins = 1; + optional uint32 score = 2; + } + + message Predictions { + optional uint32 correct = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message Bracket { + optional uint32 correct = 1; + optional uint32 points = 2; + } + + message PlayerCard { + optional uint32 account_id = 1; + optional uint32 quality = 2; + } + + message FantasyChallenge { + optional float total_score = 1; + optional float percentile = 2; + } + + optional uint32 battle_pass_level = 1; + repeated .CMsgGCToClientBattlePassRollup_TI7.Questlines questlines = 2; + optional .CMsgGCToClientBattlePassRollup_TI7.Wagering wagering = 3; + optional .CMsgGCToClientBattlePassRollup_TI7.Achievements achievements = 4; + optional .CMsgGCToClientBattlePassRollup_TI7.BattleCup battle_cup = 5; + optional .CMsgGCToClientBattlePassRollup_TI7.Predictions predictions = 6; + optional .CMsgGCToClientBattlePassRollup_TI7.Bracket bracket = 7; + repeated .CMsgGCToClientBattlePassRollup_TI7.PlayerCard player_cards = 8; + optional .CMsgGCToClientBattlePassRollup_TI7.FantasyChallenge fantasy_challenge = 9; } message CMsgGCToClientBattlePassRollup_TI8 { - message CavernCrawl { - optional uint32 rooms_cleared = 1; - optional bool carry_completed = 2; - optional bool support_completed = 3; - optional bool utility_completed = 4; - } - - message Wagering { - optional uint32 total_wagered = 1; - optional uint32 total_won = 2; - optional uint32 average_won = 3; - optional uint32 success_rate = 4; - optional uint32 total_tips = 5; - } - - message Achievements { - optional uint32 completed = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message Predictions { - optional uint32 correct = 1; - optional uint32 total = 2; - optional uint32 points = 3; - } - - message Bracket { - optional uint32 correct = 1; - optional uint32 points = 2; - } - - message PlayerCard { - optional uint32 account_id = 1; - optional uint32 quality = 2; - } - - message FantasyChallenge { - optional float total_score = 1; - optional float percentile = 2; - } - - optional uint32 battle_pass_level = 1; - optional .CMsgGCToClientBattlePassRollup_TI8.CavernCrawl cavern_crawl = 2; - optional .CMsgGCToClientBattlePassRollup_TI8.Wagering wagering = 3; - optional .CMsgGCToClientBattlePassRollup_TI8.Achievements achievements = 4; - optional .CMsgGCToClientBattlePassRollup_TI8.Predictions predictions = 6; - optional .CMsgGCToClientBattlePassRollup_TI8.Bracket bracket = 7; - repeated .CMsgGCToClientBattlePassRollup_TI8.PlayerCard player_cards = 8; - optional .CMsgGCToClientBattlePassRollup_TI8.FantasyChallenge fantasy_challenge = 9; + message CavernCrawl { + optional uint32 rooms_cleared = 1; + optional bool carry_completed = 2; + optional bool support_completed = 3; + optional bool utility_completed = 4; + } + + message Wagering { + optional uint32 total_wagered = 1; + optional uint32 total_won = 2; + optional uint32 average_won = 3; + optional uint32 success_rate = 4; + optional uint32 total_tips = 5; + } + + message Achievements { + optional uint32 completed = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message Predictions { + optional uint32 correct = 1; + optional uint32 total = 2; + optional uint32 points = 3; + } + + message Bracket { + optional uint32 correct = 1; + optional uint32 points = 2; + } + + message PlayerCard { + optional uint32 account_id = 1; + optional uint32 quality = 2; + } + + message FantasyChallenge { + optional float total_score = 1; + optional float percentile = 2; + } + + optional uint32 battle_pass_level = 1; + optional .CMsgGCToClientBattlePassRollup_TI8.CavernCrawl cavern_crawl = 2; + optional .CMsgGCToClientBattlePassRollup_TI8.Wagering wagering = 3; + optional .CMsgGCToClientBattlePassRollup_TI8.Achievements achievements = 4; + optional .CMsgGCToClientBattlePassRollup_TI8.Predictions predictions = 6; + optional .CMsgGCToClientBattlePassRollup_TI8.Bracket bracket = 7; + repeated .CMsgGCToClientBattlePassRollup_TI8.PlayerCard player_cards = 8; + optional .CMsgGCToClientBattlePassRollup_TI8.FantasyChallenge fantasy_challenge = 9; } message CMsgGCToClientBattlePassRollup_TI9 { - optional uint32 battle_pass_level = 1; + optional uint32 battle_pass_level = 1; } message CMsgGCToClientBattlePassRollup_TI10 { - optional uint32 battle_pass_level = 1; + optional uint32 battle_pass_level = 1; } message CMsgGCToClientBattlePassRollupRequest { - optional uint32 event_id = 1; - optional uint32 account_id = 2; + optional uint32 event_id = 1; + optional uint32 account_id = 2; } message CMsgGCToClientBattlePassRollupResponse { - optional .CMsgGCToClientBattlePassRollup_International2016 event_ti6 = 1; - optional .CMsgGCToClientBattlePassRollup_Fall2016 event_fall2016 = 2; - optional .CMsgGCToClientBattlePassRollup_Winter2017 event_winter2017 = 3; - optional .CMsgGCToClientBattlePassRollup_TI7 event_ti7 = 4; - optional .CMsgGCToClientBattlePassRollup_TI8 event_ti8 = 5; - optional .CMsgGCToClientBattlePassRollup_TI9 event_ti9 = 6; - optional .CMsgGCToClientBattlePassRollup_TI10 event_ti10 = 7; + optional .CMsgGCToClientBattlePassRollup_International2016 event_ti6 = 1; + optional .CMsgGCToClientBattlePassRollup_Fall2016 event_fall2016 = 2; + optional .CMsgGCToClientBattlePassRollup_Winter2017 event_winter2017 = 3; + optional .CMsgGCToClientBattlePassRollup_TI7 event_ti7 = 4; + optional .CMsgGCToClientBattlePassRollup_TI8 event_ti8 = 5; + optional .CMsgGCToClientBattlePassRollup_TI9 event_ti9 = 6; + optional .CMsgGCToClientBattlePassRollup_TI10 event_ti10 = 7; } message CMsgGCToClientBattlePassRollupListRequest { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgGCToClientBattlePassRollupListResponse { - message EventInfo { - optional uint32 event_id = 1; - optional uint32 level = 2; - } + message EventInfo { + optional uint32 event_id = 1; + optional uint32 level = 2; + } - repeated .CMsgGCToClientBattlePassRollupListResponse.EventInfo event_info = 1; + repeated .CMsgGCToClientBattlePassRollupListResponse.EventInfo event_info = 1; } message CMsgClientToGCTransferSeasonalMMRRequest { - optional bool is_party = 1; + optional bool is_party = 1; } message CMsgClientToGCTransferSeasonalMMRResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCToClientPlaytestStatus { - optional bool active = 1; + optional bool active = 1; } message CMsgClientToGCJoinPlaytest { - optional uint32 client_version = 1; + optional uint32 client_version = 1; } message CMsgClientToGCJoinPlaytestResponse { - optional string error = 1; + optional string error = 1; } message CMsgDOTASetFavoriteTeam { - optional uint32 team_id = 1; - optional uint32 event_id = 2; + optional uint32 team_id = 1; + optional uint32 event_id = 2; } message CMsgDOTATriviaCurrentQuestions { - repeated .CMsgDOTATriviaQuestion questions = 1; - optional bool trivia_enabled = 2; + repeated .CMsgDOTATriviaQuestion questions = 1; + optional bool trivia_enabled = 2; } message CMsgDOTASubmitTriviaQuestionAnswer { - optional uint32 question_id = 1; - optional uint32 answer_index = 2; + optional uint32 question_id = 1; + optional uint32 answer_index = 2; } message CMsgDOTASubmitTriviaQuestionAnswerResponse { - optional .EDOTATriviaAnswerResult result = 1 [default = k_EDOTATriviaAnswerResult_Success]; + optional .EDOTATriviaAnswerResult result = 1 [default = k_EDOTATriviaAnswerResult_Success]; } message CMsgDOTAStartTriviaSession { } message CMsgDOTAStartTriviaSessionResponse { - optional bool trivia_enabled = 1; - optional uint32 current_timestamp = 2; + optional bool trivia_enabled = 1; + optional uint32 current_timestamp = 2; } message CMsgDOTAAnchorPhoneNumberRequest { } message CMsgDOTAAnchorPhoneNumberResponse { - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - ERROR_NO_STEAM_PHONE = 2; - ERROR_ALREADY_IN_USE = 3; - ERROR_COOLDOWN_ACTIVE = 4; - ERROR_GAC_ISSUE = 5; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + ERROR_NO_STEAM_PHONE = 2; + ERROR_ALREADY_IN_USE = 3; + ERROR_COOLDOWN_ACTIVE = 4; + ERROR_GAC_ISSUE = 5; + } - optional .CMsgDOTAAnchorPhoneNumberResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgDOTAAnchorPhoneNumberResponse.Result result = 1 [default = SUCCESS]; } message CMsgDOTAUnanchorPhoneNumberRequest { } message CMsgDOTAUnanchorPhoneNumberResponse { - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + } - optional .CMsgDOTAUnanchorPhoneNumberResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgDOTAUnanchorPhoneNumberResponse.Result result = 1 [default = SUCCESS]; } message CMsgGCToClientCommendNotification { - optional uint32 commender_account_id = 1; - optional string commender_name = 2; - optional uint32 flags = 3; - optional int32 commender_hero_id = 4; + optional uint32 commender_account_id = 1; + optional string commender_name = 2; + optional uint32 flags = 3; + optional int32 commender_hero_id = 4; } message CMsgDOTAClientToGCQuickStatsRequest { - optional uint32 player_account_id = 1; - optional int32 hero_id = 2; - optional int32 item_id = 3 [default = -1]; - optional uint32 league_id = 4; + optional uint32 player_account_id = 1; + optional int32 hero_id = 2; + optional int32 item_id = 3 [default = -1]; + optional uint32 league_id = 4; } message CMsgDOTAClientToGCQuickStatsResponse { - message SimpleStats { - optional float win_percent = 1; - optional float pick_percent = 2; - optional uint32 win_count = 3; - optional uint32 pick_count = 4; - } - - optional .CMsgDOTAClientToGCQuickStatsRequest original_request = 1; - optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats hero_stats = 2; - optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats item_stats = 3; - optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats item_hero_stats = 4; - optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats item_player_stats = 5; - optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats hero_player_stats = 6; - optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats full_set_stats = 7; + message SimpleStats { + optional float win_percent = 1; + optional float pick_percent = 2; + optional uint32 win_count = 3; + optional uint32 pick_count = 4; + } + + optional .CMsgDOTAClientToGCQuickStatsRequest original_request = 1; + optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats hero_stats = 2; + optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats item_stats = 3; + optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats item_hero_stats = 4; + optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats item_player_stats = 5; + optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats hero_player_stats = 6; + optional .CMsgDOTAClientToGCQuickStatsResponse.SimpleStats full_set_stats = 7; } message CMsgDOTASelectionPriorityChoiceRequest { - optional .DOTASelectionPriorityChoice choice = 1 [default = k_DOTASelectionPriorityChoice_Invalid]; + optional .DOTASelectionPriorityChoice choice = 1 [default = k_DOTASelectionPriorityChoice_Invalid]; } message CMsgDOTASelectionPriorityChoiceResponse { - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + } - optional .CMsgDOTASelectionPriorityChoiceResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgDOTASelectionPriorityChoiceResponse.Result result = 1 [default = SUCCESS]; } message CMsgDOTAGameAutographReward { - optional string badge_id = 1; + optional string badge_id = 1; } message CMsgDOTAGameAutographRewardResponse { - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + } - optional .CMsgDOTAGameAutographRewardResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgDOTAGameAutographRewardResponse.Result result = 1 [default = SUCCESS]; } message CMsgDOTADestroyLobbyRequest { } message CMsgDOTADestroyLobbyResponse { - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + } - optional .CMsgDOTADestroyLobbyResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgDOTADestroyLobbyResponse.Result result = 1 [default = SUCCESS]; } message CMsgDOTAGetRecentPlayTimeFriendsRequest { } message CMsgDOTAGetRecentPlayTimeFriendsResponse { - repeated fixed32 account_ids = 1; + repeated fixed32 account_ids = 1; } message CMsgPurchaseItemWithEventPoints { - optional uint32 item_def = 1; - optional uint32 quantity = 2; - optional .EEvent event_id = 3 [default = EVENT_ID_NONE]; - optional bool use_premium_points = 4; + optional uint32 item_def = 1; + optional uint32 quantity = 2; + optional .EEvent event_id = 3 [default = EVENT_ID_NONE]; + optional bool use_premium_points = 4; } message CMsgPurchaseItemWithEventPointsResponse { - enum Result { - SUCCESS = 0; - UNKNOWN_EVENT = 1; - UNKNOWN_ITEM = 2; - BAD_QUANTITY = 3; - NOT_PURCHASEABLE = 4; - SDO_LOAD_FAILED = 5; - NOT_ENOUGH_POINTS = 6; - SQL_ERROR = 7; - FAILED_TO_SEND = 8; - SERVER_ERROR = 9; - NOT_ALLOWED = 10; - CANCELLED = 11; - CLIENT_ERROR = 12; - SUBSCRIPTION_REQUIRED = 13; - } - - optional .CMsgPurchaseItemWithEventPointsResponse.Result result = 1 [default = SUCCESS]; + enum Result { + SUCCESS = 0; + UNKNOWN_EVENT = 1; + UNKNOWN_ITEM = 2; + BAD_QUANTITY = 3; + NOT_PURCHASEABLE = 4; + SDO_LOAD_FAILED = 5; + NOT_ENOUGH_POINTS = 6; + SQL_ERROR = 7; + FAILED_TO_SEND = 8; + SERVER_ERROR = 9; + NOT_ALLOWED = 10; + CANCELLED = 11; + CLIENT_ERROR = 12; + SUBSCRIPTION_REQUIRED = 13; + } + + optional .CMsgPurchaseItemWithEventPointsResponse.Result result = 1 [default = SUCCESS]; } message CMsgPurchaseHeroRandomRelic { - optional int32 hero_id = 1; - optional .EHeroRelicRarity relic_rarity = 2 [default = HERO_RELIC_RARITY_INVALID]; + optional int32 hero_id = 1; + optional .EHeroRelicRarity relic_rarity = 2 [default = HERO_RELIC_RARITY_INVALID]; } message CMsgPurchaseHeroRandomRelicResponse { - optional .EPurchaseHeroRelicResult result = 1 [default = k_EPurchaseHeroRelicResult_Success]; - optional uint32 kill_eater_type = 2; + optional .EPurchaseHeroRelicResult result = 1 [default = k_EPurchaseHeroRelicResult_Success]; + optional uint32 kill_eater_type = 2; } message CMsgClientToGCRequestPlusWeeklyChallengeResult { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 week = 2; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 week = 2; } message CMsgClientToGCRequestPlusWeeklyChallengeResultResponse { } message CMsgProfileRequest { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgProfileResponse { - message FeaturedHero { - optional int32 hero_id = 1; - repeated .CSOEconItem equipped_econ_items = 2; - optional bool manually_set = 3; - optional uint32 plus_hero_xp = 4; - optional .CSOEconItem plus_hero_relics_item = 5; - } - - message MatchInfo { - optional uint64 match_id = 1; - optional uint32 match_timestamp = 2; - optional sint32 performance_rating = 3; - optional int32 hero_id = 4; - optional bool won_match = 5; - } - - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - } - - optional .CSOEconItem background_item = 1; - repeated .CMsgProfileResponse.FeaturedHero featured_heroes = 2; - repeated .CMsgProfileResponse.MatchInfo recent_matches = 3; - repeated .CMsgSuccessfulHero successful_heroes = 4; - optional .CMsgRecentMatchInfo recent_match_details = 5; - optional .CMsgProfileResponse.EResponse result = 6 [default = k_eInternalError]; - optional .CMsgStickerbookPage stickerbook_page = 7; + message FeaturedHero { + optional int32 hero_id = 1; + repeated .CSOEconItem equipped_econ_items = 2; + optional bool manually_set = 3; + optional uint32 plus_hero_xp = 4; + optional .CSOEconItem plus_hero_relics_item = 5; + } + + message MatchInfo { + optional uint64 match_id = 1; + optional uint32 match_timestamp = 2; + optional sint32 performance_rating = 3; + optional int32 hero_id = 4; + optional bool won_match = 5; + } + + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + } + + optional .CSOEconItem background_item = 1; + repeated .CMsgProfileResponse.FeaturedHero featured_heroes = 2; + repeated .CMsgProfileResponse.MatchInfo recent_matches = 3; + repeated .CMsgSuccessfulHero successful_heroes = 4; + optional .CMsgRecentMatchInfo recent_match_details = 5; + optional .CMsgProfileResponse.EResponse result = 6 [default = k_eInternalError]; + optional .CMsgStickerbookPage stickerbook_page = 7; } message CMsgProfileUpdate { - optional uint64 background_item_id = 1; - repeated int32 featured_hero_ids = 2; + optional uint64 background_item_id = 1; + repeated int32 featured_hero_ids = 2; } message CMsgProfileUpdateResponse { - enum Result { - SUCCESS = 0; - FAILURE = 1; - FAILURE_BAD_HERO1 = 2; - FAILURE_BAD_HERO2 = 3; - FAILURE_BAD_HERO3 = 4; - } + enum Result { + SUCCESS = 0; + FAILURE = 1; + FAILURE_BAD_HERO1 = 2; + FAILURE_BAD_HERO2 = 3; + FAILURE_BAD_HERO3 = 4; + } - optional .CMsgProfileUpdateResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgProfileUpdateResponse.Result result = 1 [default = SUCCESS]; } message CMsgTalentWinRates { - optional uint32 last_run = 1; - optional int32 ability_id = 2 [default = -1]; - optional uint32 game_count = 3; - optional uint32 win_count = 4; + optional uint32 last_run = 1; + optional int32 ability_id = 2 [default = -1]; + optional uint32 game_count = 3; + optional uint32 win_count = 4; } message CMsgGlobalHeroAverages { - optional uint32 last_run = 1; - optional uint32 avg_gold_per_min = 3; - optional uint32 avg_xp_per_min = 4; - optional uint32 avg_kills = 5; - optional uint32 avg_deaths = 6; - optional uint32 avg_assists = 7; - optional uint32 avg_last_hits = 8; - optional uint32 avg_denies = 9; - optional uint32 avg_net_worth = 10; + optional uint32 last_run = 1; + optional uint32 avg_gold_per_min = 3; + optional uint32 avg_xp_per_min = 4; + optional uint32 avg_kills = 5; + optional uint32 avg_deaths = 6; + optional uint32 avg_assists = 7; + optional uint32 avg_last_hits = 8; + optional uint32 avg_denies = 9; + optional uint32 avg_net_worth = 10; } message CMsgHeroGlobalDataRequest { - optional int32 hero_id = 1; + optional int32 hero_id = 1; } message CMsgHeroGlobalDataResponse { - message GraphData { - optional uint32 day = 1; - optional float win_percent = 2; - optional float pick_percent = 3; - optional float ban_percent = 4; - } - - message WeekData { - optional uint32 week = 1; - optional float win_percent = 2; - optional float pick_percent = 3; - optional float ban_percent = 4; - } - - message HeroDataPerRankChunk { - optional uint32 rank_chunk = 1; - repeated .CMsgTalentWinRates talent_win_rates = 2; - optional .CMsgGlobalHeroAverages hero_averages = 3; - repeated .CMsgHeroGlobalDataResponse.GraphData graph_data = 4; - repeated .CMsgHeroGlobalDataResponse.WeekData week_data = 5; - } - - optional int32 hero_id = 1; - repeated .CMsgHeroGlobalDataResponse.HeroDataPerRankChunk hero_data_per_chunk = 2; + message GraphData { + optional uint32 day = 1; + optional float win_percent = 2; + optional float pick_percent = 3; + optional float ban_percent = 4; + } + + message WeekData { + optional uint32 week = 1; + optional float win_percent = 2; + optional float pick_percent = 3; + optional float ban_percent = 4; + } + + message HeroDataPerRankChunk { + optional uint32 rank_chunk = 1; + repeated .CMsgTalentWinRates talent_win_rates = 2; + optional .CMsgGlobalHeroAverages hero_averages = 3; + repeated .CMsgHeroGlobalDataResponse.GraphData graph_data = 4; + repeated .CMsgHeroGlobalDataResponse.WeekData week_data = 5; + } + + optional int32 hero_id = 1; + repeated .CMsgHeroGlobalDataResponse.HeroDataPerRankChunk hero_data_per_chunk = 2; } message CMsgHeroGlobalDataAllHeroes { - repeated .CMsgHeroGlobalDataResponse heroes = 1; + repeated .CMsgHeroGlobalDataResponse heroes = 1; } message CMsgHeroGlobalDataHeroesAlliesAndEnemies { - message HeroData { - optional int32 hero_id = 1; - optional uint32 win_rate = 2; - optional int32 first_other_hero_id = 3; - repeated uint32 ally_win_rate = 5; - repeated uint32 enemy_win_rate = 6; - } + message HeroData { + optional int32 hero_id = 1; + optional uint32 win_rate = 2; + optional int32 first_other_hero_id = 3; + repeated uint32 ally_win_rate = 5; + repeated uint32 enemy_win_rate = 6; + } - message RankedHeroData { - optional uint32 rank = 1; - repeated .CMsgHeroGlobalDataHeroesAlliesAndEnemies.HeroData hero_data = 2; - } + message RankedHeroData { + optional uint32 rank = 1; + repeated .CMsgHeroGlobalDataHeroesAlliesAndEnemies.HeroData hero_data = 2; + } - repeated .CMsgHeroGlobalDataHeroesAlliesAndEnemies.RankedHeroData ranked_hero_data = 1; + repeated .CMsgHeroGlobalDataHeroesAlliesAndEnemies.RankedHeroData ranked_hero_data = 1; } message CMsgPrivateMetadataKeyRequest { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgPrivateMetadataKeyResponse { - optional uint32 private_key = 1; + optional uint32 private_key = 1; } message CMsgActivatePlusFreeTrialResponse { - enum Result { - SUCCESS = 0; - ERROR_GENERIC = 1; - ERROR_ALREADY_IN_FREE_TRIAL = 2; - ERROR_ALREADY_USED_FREE_TRIAL = 3; - ERROR_OFFER_NOT_VALID = 4; - } + enum Result { + SUCCESS = 0; + ERROR_GENERIC = 1; + ERROR_ALREADY_IN_FREE_TRIAL = 2; + ERROR_ALREADY_USED_FREE_TRIAL = 3; + ERROR_OFFER_NOT_VALID = 4; + } - optional .CMsgActivatePlusFreeTrialResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgActivatePlusFreeTrialResponse.Result result = 1 [default = SUCCESS]; } message CMsgGCToClientCavernCrawlMapPathCompleted { - message CompletedPathInfo { - optional uint32 path_id_completed = 1 [default = 255]; - optional bool received_ultra_rare_reward = 2; - optional bool half_completed = 3; - } + message CompletedPathInfo { + optional uint32 path_id_completed = 1 [default = 255]; + optional bool received_ultra_rare_reward = 2; + optional bool half_completed = 3; + } - optional uint32 event_id = 1; - optional int32 hero_id_completed = 2; - repeated .CMsgGCToClientCavernCrawlMapPathCompleted.CompletedPathInfo completed_paths = 3; - optional uint32 map_variant = 4 [default = 255]; + optional uint32 event_id = 1; + optional int32 hero_id_completed = 2; + repeated .CMsgGCToClientCavernCrawlMapPathCompleted.CompletedPathInfo completed_paths = 3; + optional uint32 map_variant = 4 [default = 255]; } message CMsgGCToClientCavernCrawlMapUpdated { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCCavernCrawlClaimRoom { - optional uint32 event_id = 1; - optional uint32 room_id = 2 [default = 255]; - optional uint32 map_variant = 3 [default = 255]; + optional uint32 event_id = 1; + optional uint32 room_id = 2 [default = 255]; + optional uint32 map_variant = 3 [default = 255]; } message CMsgClientToGCCavernCrawlClaimRoomResponse { - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - RECEIVED_ULTRA_RARE_REWARD = 2; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + RECEIVED_ULTRA_RARE_REWARD = 2; + } - optional .CMsgClientToGCCavernCrawlClaimRoomResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgClientToGCCavernCrawlClaimRoomResponse.Result result = 1 [default = SUCCESS]; } message CMsgClientToGCCavernCrawlUseItemOnRoom { - optional uint32 event_id = 1; - optional uint32 room_id = 2 [default = 255]; - optional uint32 item_type = 3; - optional uint32 map_variant = 4 [default = 255]; + optional uint32 event_id = 1; + optional uint32 room_id = 2 [default = 255]; + optional uint32 item_type = 3; + optional uint32 map_variant = 4 [default = 255]; } message CMsgClientToGCCavernCrawlUseItemOnRoomResponse { - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - RECEIVED_ULTRA_RARE_REWARD = 2; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + RECEIVED_ULTRA_RARE_REWARD = 2; + } - optional .CMsgClientToGCCavernCrawlUseItemOnRoomResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgClientToGCCavernCrawlUseItemOnRoomResponse.Result result = 1 [default = SUCCESS]; } message CMsgClientToGCCavernCrawlUseItemOnPath { - optional uint32 event_id = 1; - optional uint32 path_id = 2 [default = 255]; - optional uint32 item_type = 3; - optional uint32 map_variant = 4 [default = 255]; + optional uint32 event_id = 1; + optional uint32 path_id = 2 [default = 255]; + optional uint32 item_type = 3; + optional uint32 map_variant = 4 [default = 255]; } message CMsgClientToGCCavernCrawlUseItemOnPathResponse { - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - RECEIVED_ULTRA_RARE_REWARD = 2; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + RECEIVED_ULTRA_RARE_REWARD = 2; + } - optional .CMsgClientToGCCavernCrawlUseItemOnPathResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgClientToGCCavernCrawlUseItemOnPathResponse.Result result = 1 [default = SUCCESS]; } message CMsgClientToGCCavernCrawlRequestMapState { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCCavernCrawlRequestMapStateResponse { - message SwappedChallenge { - optional uint32 path_id_1 = 1 [default = 255]; - optional uint32 path_id_2 = 2 [default = 255]; - } - - message InventoryItem { - optional uint32 item_type = 1; - optional uint32 count = 2; - } - - message TreasureMap { - optional uint32 map_room_id = 1 [default = 255]; - optional uint32 revealed_room_id = 2 [default = 255]; - } - - message MapVariant { - optional uint32 map_variant = 1 [default = 255]; - optional fixed64 claimed_rooms_1 = 2; - optional fixed64 claimed_rooms_2 = 3; - optional fixed64 revealed_rooms_1 = 4; - optional fixed64 revealed_rooms_2 = 5; - optional fixed64 completed_paths_1 = 6; - optional fixed64 completed_paths_2 = 7; - optional fixed64 completed_paths_3 = 8; - optional fixed64 completed_paths_4 = 9; - optional fixed64 half_completed_paths_1 = 10; - optional fixed64 half_completed_paths_2 = 11; - optional fixed64 half_completed_paths_3 = 12; - optional fixed64 half_completed_paths_4 = 13; - repeated .CMsgClientToGCCavernCrawlRequestMapStateResponse.SwappedChallenge swapped_challenge = 14; - optional uint32 ultra_rare_reward_room_number = 15 [default = 255]; - repeated .CMsgClientToGCCavernCrawlRequestMapStateResponse.TreasureMap treasure_map = 16; - } - - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - EVENT_NOT_OWNED = 2; - } - - optional .CMsgClientToGCCavernCrawlRequestMapStateResponse.Result result = 1 [default = SUCCESS]; - optional uint32 available_map_variants_mask = 2; - repeated .CMsgClientToGCCavernCrawlRequestMapStateResponse.InventoryItem inventory_item = 3; - repeated .CMsgClientToGCCavernCrawlRequestMapStateResponse.MapVariant map_variants = 4; + message SwappedChallenge { + optional uint32 path_id_1 = 1 [default = 255]; + optional uint32 path_id_2 = 2 [default = 255]; + } + + message InventoryItem { + optional uint32 item_type = 1; + optional uint32 count = 2; + } + + message TreasureMap { + optional uint32 map_room_id = 1 [default = 255]; + optional uint32 revealed_room_id = 2 [default = 255]; + } + + message MapVariant { + optional uint32 map_variant = 1 [default = 255]; + optional fixed64 claimed_rooms_1 = 2; + optional fixed64 claimed_rooms_2 = 3; + optional fixed64 revealed_rooms_1 = 4; + optional fixed64 revealed_rooms_2 = 5; + optional fixed64 completed_paths_1 = 6; + optional fixed64 completed_paths_2 = 7; + optional fixed64 completed_paths_3 = 8; + optional fixed64 completed_paths_4 = 9; + optional fixed64 half_completed_paths_1 = 10; + optional fixed64 half_completed_paths_2 = 11; + optional fixed64 half_completed_paths_3 = 12; + optional fixed64 half_completed_paths_4 = 13; + repeated .CMsgClientToGCCavernCrawlRequestMapStateResponse.SwappedChallenge swapped_challenge = 14; + optional uint32 ultra_rare_reward_room_number = 15 [default = 255]; + repeated .CMsgClientToGCCavernCrawlRequestMapStateResponse.TreasureMap treasure_map = 16; + } + + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + EVENT_NOT_OWNED = 2; + } + + optional .CMsgClientToGCCavernCrawlRequestMapStateResponse.Result result = 1 [default = SUCCESS]; + optional uint32 available_map_variants_mask = 2; + repeated .CMsgClientToGCCavernCrawlRequestMapStateResponse.InventoryItem inventory_item = 3; + repeated .CMsgClientToGCCavernCrawlRequestMapStateResponse.MapVariant map_variants = 4; } message CMsgClientToGCCavernCrawlGetClaimedRoomCount { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCCavernCrawlGetClaimedRoomCountResponse { - message MapVariant { - optional uint32 map_variant = 1 [default = 255]; - optional uint32 count = 2; - } + message MapVariant { + optional uint32 map_variant = 1 [default = 255]; + optional uint32 count = 2; + } - enum Result { - SUCCESS = 0; - ERROR_UNKNOWN = 1; - EVENT_NOT_OWNED = 2; - } + enum Result { + SUCCESS = 0; + ERROR_UNKNOWN = 1; + EVENT_NOT_OWNED = 2; + } - optional .CMsgClientToGCCavernCrawlGetClaimedRoomCountResponse.Result result = 1 [default = SUCCESS]; - repeated .CMsgClientToGCCavernCrawlGetClaimedRoomCountResponse.MapVariant map_variants = 2; - optional uint32 available_map_variants_mask = 3; + optional .CMsgClientToGCCavernCrawlGetClaimedRoomCountResponse.Result result = 1 [default = SUCCESS]; + repeated .CMsgClientToGCCavernCrawlGetClaimedRoomCountResponse.MapVariant map_variants = 2; + optional uint32 available_map_variants_mask = 3; } message CMsgDOTAMutationList { - message Mutation { - optional uint32 id = 1; - optional string name = 2; - optional string description = 3; - } + message Mutation { + optional uint32 id = 1; + optional string name = 2; + optional string description = 3; + } - repeated .CMsgDOTAMutationList.Mutation mutations = 1; + repeated .CMsgDOTAMutationList.Mutation mutations = 1; } message CMsgEventTipsSummaryRequest { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 account_id = 2; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 account_id = 2; } message CMsgEventTipsSummaryResponse { - message Tipper { - optional uint32 tipper_account_id = 1; - optional uint32 tip_count = 2 [default = 1]; - } + message Tipper { + optional uint32 tipper_account_id = 1; + optional uint32 tip_count = 2 [default = 1]; + } - optional bool result = 1; - repeated .CMsgEventTipsSummaryResponse.Tipper tips_received = 2; + optional bool result = 1; + repeated .CMsgEventTipsSummaryResponse.Tipper tips_received = 2; } message CMsgSocialFeedRequest { - optional uint32 account_id = 1; - optional bool self_only = 2; + optional uint32 account_id = 1; + optional bool self_only = 2; } message CMsgSocialFeedResponse { - message FeedEvent { - optional uint64 feed_event_id = 1; - optional uint32 account_id = 2; - optional uint32 timestamp = 3; - optional uint32 comment_count = 4; - optional uint32 event_type = 5; - optional uint32 event_sub_type = 6; - optional uint64 param_big_int_1 = 7; - optional uint32 param_int_1 = 8; - optional uint32 param_int_2 = 9; - optional uint32 param_int_3 = 10; - optional string param_string = 11; - } - - enum Result { - SUCCESS = 0; - FAILED_TO_LOAD_FRIENDS = 1; - FAILED_TO_LOAD_FEED_DATA = 2; - FAILED_TO_LOAD_FEED_ENTRY = 3; - FAILED_TO_LOAD_COMMENTS = 4; - FAILED_TOO_MANY_REQUESTS = 5; - } - - optional .CMsgSocialFeedResponse.Result result = 1 [default = SUCCESS]; - repeated .CMsgSocialFeedResponse.FeedEvent feed_events = 2; + message FeedEvent { + optional uint64 feed_event_id = 1; + optional uint32 account_id = 2; + optional uint32 timestamp = 3; + optional uint32 comment_count = 4; + optional uint32 event_type = 5; + optional uint32 event_sub_type = 6; + optional uint64 param_big_int_1 = 7; + optional uint32 param_int_1 = 8; + optional uint32 param_int_2 = 9; + optional uint32 param_int_3 = 10; + optional string param_string = 11; + } + + enum Result { + SUCCESS = 0; + FAILED_TO_LOAD_FRIENDS = 1; + FAILED_TO_LOAD_FEED_DATA = 2; + FAILED_TO_LOAD_FEED_ENTRY = 3; + FAILED_TO_LOAD_COMMENTS = 4; + FAILED_TOO_MANY_REQUESTS = 5; + } + + optional .CMsgSocialFeedResponse.Result result = 1 [default = SUCCESS]; + repeated .CMsgSocialFeedResponse.FeedEvent feed_events = 2; } message CMsgSocialFeedCommentsRequest { - optional uint64 feed_event_id = 1; + optional uint64 feed_event_id = 1; } message CMsgSocialFeedCommentsResponse { - message FeedComment { - optional uint32 commenter_account_id = 1; - optional uint32 timestamp = 2; - optional string comment_text = 3; - } + message FeedComment { + optional uint32 commenter_account_id = 1; + optional uint32 timestamp = 2; + optional string comment_text = 3; + } - enum Result { - SUCCESS = 0; - FAILED_TOO_MANY_REQUESTS = 1; - FAILED_TO_LOAD_COMMENTS = 2; - } + enum Result { + SUCCESS = 0; + FAILED_TOO_MANY_REQUESTS = 1; + FAILED_TO_LOAD_COMMENTS = 2; + } - optional .CMsgSocialFeedCommentsResponse.Result result = 1 [default = SUCCESS]; - repeated .CMsgSocialFeedCommentsResponse.FeedComment feed_comments = 3; + optional .CMsgSocialFeedCommentsResponse.Result result = 1 [default = SUCCESS]; + repeated .CMsgSocialFeedCommentsResponse.FeedComment feed_comments = 3; } message CMsgClientToGCPlayerCardSpecificPurchaseRequest { - optional uint32 player_account_id = 1; - optional uint32 event_id = 2; - optional uint64 card_dust_item_id = 3; + optional uint32 player_account_id = 1; + optional uint32 event_id = 2; + optional uint64 card_dust_item_id = 3; } message CMsgClientToGCPlayerCardSpecificPurchaseResponse { - enum Result { - SUCCESS = 1; - ERROR_INTERNAL = 2; - ERROR_INSUFFICIENT_DUST = 3; - ERROR_ITEM_NOT_DUST_ITEM = 4; - ERROR_FAILED_CARD_PACK_CREATE = 5; - ERROR_NOT_AVAILABLE = 6; - } + enum Result { + SUCCESS = 1; + ERROR_INTERNAL = 2; + ERROR_INSUFFICIENT_DUST = 3; + ERROR_ITEM_NOT_DUST_ITEM = 4; + ERROR_FAILED_CARD_PACK_CREATE = 5; + ERROR_NOT_AVAILABLE = 6; + } - optional .CMsgClientToGCPlayerCardSpecificPurchaseResponse.Result result = 1 [default = SUCCESS]; - optional uint64 item_id = 2; + optional .CMsgClientToGCPlayerCardSpecificPurchaseResponse.Result result = 1 [default = SUCCESS]; + optional uint64 item_id = 2; } message CMsgClientToGCRequestContestVotes { - optional uint32 contest_id = 1; + optional uint32 contest_id = 1; } message CMsgClientToGCRequestContestVotesResponse { - message ItemVote { - optional uint64 contest_item_id = 1; - optional int32 vote = 2; - } + message ItemVote { + optional uint64 contest_item_id = 1; + optional int32 vote = 2; + } - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + } - optional .CMsgClientToGCRequestContestVotesResponse.EResponse result = 1 [default = k_eInternalError]; - repeated .CMsgClientToGCRequestContestVotesResponse.ItemVote votes = 2; + optional .CMsgClientToGCRequestContestVotesResponse.EResponse result = 1 [default = k_eInternalError]; + repeated .CMsgClientToGCRequestContestVotesResponse.ItemVote votes = 2; } message CMsgClientToGCRecordContestVote { - optional uint32 contest_id = 1; - optional uint64 contest_item_id = 2; - optional int32 vote = 3; + optional uint32 contest_id = 1; + optional uint64 contest_item_id = 2; + optional int32 vote = 3; } message CMsgGCToClientRecordContestVoteResponse { - enum EResult { - SUCCESS = 0; - FAILED_EVENT_NOT_OWNED = 1; - FAILED_SQL_INSERT_FAILED = 2; - FAILED_INVALID_CONTEST = 3; - FAILED_CONTEST_NOT_ACTIVE = 4; - FAILED_TIMEOUT = 5; - } + enum EResult { + SUCCESS = 0; + FAILED_EVENT_NOT_OWNED = 1; + FAILED_SQL_INSERT_FAILED = 2; + FAILED_INVALID_CONTEST = 3; + FAILED_CONTEST_NOT_ACTIVE = 4; + FAILED_TIMEOUT = 5; + } - optional .CMsgGCToClientRecordContestVoteResponse.EResult eresult = 1 [default = SUCCESS]; + optional .CMsgGCToClientRecordContestVoteResponse.EResult eresult = 1 [default = SUCCESS]; } message CMsgDevGrantEventPoints { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 event_points = 2; - optional uint32 premium_points = 3; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 event_points = 2; + optional uint32 premium_points = 3; } message CMsgDevGrantEventPointsResponse { - optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; + optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; } message CMsgDevGrantEventAction { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 action_id = 2; - optional uint32 action_score = 3; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 action_id = 2; + optional uint32 action_score = 3; } message CMsgDevGrantEventActionResponse { - optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; + optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; } message CMsgDevDeleteEventActions { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 start_action_id = 2; - optional uint32 end_action_id = 3; - optional bool remove_audit = 4; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 start_action_id = 2; + optional uint32 end_action_id = 3; + optional bool remove_audit = 4; } message CMsgDevDeleteEventActionsResponse { - optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; + optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; } message CMsgDevResetEventState { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional bool remove_audit = 2; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional bool remove_audit = 2; } message CMsgDevResetEventStateResponse { - optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; + optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; } message CMsgDevReloadAllEvents { } message CMsgDevReloadAllEventsResponse { - optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; + optional .EDevEventRequestResult result = 1 [default = k_EDevEventRequestResult_Success]; } message CMsgConsumeEventSupportGrantItem { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgConsumeEventSupportGrantItemResponse { - optional .ESupportEventRequestResult result = 1 [default = k_ESupportEventRequestResult_Success]; + optional .ESupportEventRequestResult result = 1 [default = k_ESupportEventRequestResult_Success]; } message CMsgClientToGCGetFilteredPlayers { } message CMsgGCToClientGetFilteredPlayersResponse { - message CFilterEntry { - optional fixed32 account_id = 1; - optional fixed32 time_added = 2; - optional fixed32 time_expires = 3; - optional string note = 4; - } + message CFilterEntry { + optional fixed32 account_id = 1; + optional fixed32 time_added = 2; + optional fixed32 time_expires = 3; + optional string note = 4; + } - enum Result { - SUCCESS = 0; - FAILURE = 1; - } + enum Result { + SUCCESS = 0; + FAILURE = 1; + } - optional .CMsgGCToClientGetFilteredPlayersResponse.Result result = 1 [default = SUCCESS]; - repeated .CMsgGCToClientGetFilteredPlayersResponse.CFilterEntry filtered_players = 2; - optional int32 base_slots = 3; - optional int32 additional_slots = 4; - optional int32 next_slot_cost = 5; + optional .CMsgGCToClientGetFilteredPlayersResponse.Result result = 1 [default = SUCCESS]; + repeated .CMsgGCToClientGetFilteredPlayersResponse.CFilterEntry filtered_players = 2; + optional int32 base_slots = 3; + optional int32 additional_slots = 4; + optional int32 next_slot_cost = 5; } message CMsgClientToGCRemoveFilteredPlayer { - optional fixed32 account_id_to_remove = 1; + optional fixed32 account_id_to_remove = 1; } message CMsgGCToClientRemoveFilteredPlayerResponse { - enum Result { - SUCCESS = 0; - FAILURE = 1; - } + enum Result { + SUCCESS = 0; + FAILURE = 1; + } - optional .CMsgGCToClientRemoveFilteredPlayerResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgGCToClientRemoveFilteredPlayerResponse.Result result = 1 [default = SUCCESS]; } message CMsgClientToGCPurchaseFilteredPlayerSlot { - optional int32 additional_slots_current = 1; + optional int32 additional_slots_current = 1; } message CMsgGCToClientPurchaseFilteredPlayerSlotResponse { - enum Result { - SUCCESS = 0; - FAILURE = 1; - CURRENT_SLOTCOUNT_DOESNT_MATCH = 2; - CANT_AFFORD = 3; - } + enum Result { + SUCCESS = 0; + FAILURE = 1; + CURRENT_SLOTCOUNT_DOESNT_MATCH = 2; + CANT_AFFORD = 3; + } - optional .CMsgGCToClientPurchaseFilteredPlayerSlotResponse.Result result = 1 [default = SUCCESS]; - optional int32 additional_slots = 2; - optional int32 next_slot_cost = 3; + optional .CMsgGCToClientPurchaseFilteredPlayerSlotResponse.Result result = 1 [default = SUCCESS]; + optional int32 additional_slots = 2; + optional int32 next_slot_cost = 3; } message CMsgClientToGCUpdateFilteredPlayerNote { - optional fixed32 target_account_id = 1; - optional string new_note = 2; + optional fixed32 target_account_id = 1; + optional string new_note = 2; } message CMsgGCToClientUpdateFilteredPlayerNoteResponse { - enum Result { - SUCCESS = 0; - FAILURE = 1; - NOT_FOUND = 2; - } + enum Result { + SUCCESS = 0; + FAILURE = 1; + NOT_FOUND = 2; + } - optional .CMsgGCToClientUpdateFilteredPlayerNoteResponse.Result result = 1 [default = SUCCESS]; + optional .CMsgGCToClientUpdateFilteredPlayerNoteResponse.Result result = 1 [default = SUCCESS]; } message CMsgPartySearchPlayer { - optional fixed32 account_id = 1; - optional fixed64 match_id = 2; - optional fixed32 creation_time = 3; + optional fixed32 account_id = 1; + optional fixed64 match_id = 2; + optional fixed32 creation_time = 3; } message CMsgGCToClientPlayerBeaconState { - repeated int32 num_active_beacons = 1; + repeated int32 num_active_beacons = 1; } message CMsgGCToClientPartyBeaconUpdate { - optional bool beacon_added = 1; - optional int32 beacon_type = 2; - optional fixed32 account_id = 3; + optional bool beacon_added = 1; + optional int32 beacon_type = 2; + optional fixed32 account_id = 3; } message CMsgClientToGCUpdatePartyBeacon { - enum Action { - ON = 0; - OFF = 1; - } + enum Action { + ON = 0; + OFF = 1; + } - optional .CMsgClientToGCUpdatePartyBeacon.Action action = 1 [default = ON]; + optional .CMsgClientToGCUpdatePartyBeacon.Action action = 1 [default = ON]; } message CMsgClientToGCRequestActiveBeaconParties { } message CMsgGCToClientRequestActiveBeaconPartiesResponse { - enum EResponse { - SUCCESS = 0; - FAILURE = 1; - BUSY = 2; - } + enum EResponse { + SUCCESS = 0; + FAILURE = 1; + BUSY = 2; + } - optional .CMsgGCToClientRequestActiveBeaconPartiesResponse.EResponse response = 1 [default = SUCCESS]; - repeated .CPartySearchClientParty active_parties = 2; + optional .CMsgGCToClientRequestActiveBeaconPartiesResponse.EResponse response = 1 [default = SUCCESS]; + repeated .CPartySearchClientParty active_parties = 2; } message CMsgClientToGCJoinPartyFromBeacon { - optional fixed64 party_id = 1; - optional fixed32 account_id = 2; - optional int32 beacon_type = 3; + optional fixed64 party_id = 1; + optional fixed32 account_id = 2; + optional int32 beacon_type = 3; } message CMsgGCToClientJoinPartyFromBeaconResponse { - enum EResponse { - SUCCESS = 0; - FAILURE = 1; - BUSY = 2; - NOT_LEADER = 3; - } + enum EResponse { + SUCCESS = 0; + FAILURE = 1; + BUSY = 2; + NOT_LEADER = 3; + } - optional .CMsgGCToClientJoinPartyFromBeaconResponse.EResponse response = 1 [default = SUCCESS]; + optional .CMsgGCToClientJoinPartyFromBeaconResponse.EResponse response = 1 [default = SUCCESS]; } message CMsgClientToGCManageFavorites { - enum Action { - ADD = 0; - REMOVE = 1; - } + enum Action { + ADD = 0; + REMOVE = 1; + } - optional .CMsgClientToGCManageFavorites.Action action = 1 [default = ADD]; - optional fixed32 account_id = 2; - optional string favorite_name = 3; - optional bool invite_response = 4; - optional bool from_friendlist = 5; - optional fixed64 lobby_id = 6; + optional .CMsgClientToGCManageFavorites.Action action = 1 [default = ADD]; + optional fixed32 account_id = 2; + optional string favorite_name = 3; + optional bool invite_response = 4; + optional bool from_friendlist = 5; + optional fixed64 lobby_id = 6; } message CMsgGCToClientManageFavoritesResponse { - enum EResponse { - SUCCESS = 0; - FAILURE = 1; - NO_INVITE_PRESENT = 2; - INVITE_SENT = 3; - EXPIRED = 4; - BUSY = 5; - } + enum EResponse { + SUCCESS = 0; + FAILURE = 1; + NO_INVITE_PRESENT = 2; + INVITE_SENT = 3; + EXPIRED = 4; + BUSY = 5; + } - optional .CMsgGCToClientManageFavoritesResponse.EResponse response = 1 [default = SUCCESS]; - optional string debug_message = 2; - optional .CMsgPartySearchPlayer player = 3; + optional .CMsgGCToClientManageFavoritesResponse.EResponse response = 1 [default = SUCCESS]; + optional string debug_message = 2; + optional .CMsgPartySearchPlayer player = 3; } message CMsgClientToGCGetFavoritePlayers { - optional uint64 pagination_key = 1; - optional int32 pagination_count = 2; + optional uint64 pagination_key = 1; + optional int32 pagination_count = 2; } message CMsgGCToClientGetFavoritePlayersResponse { - enum EResponse { - SUCCESS = 0; - FAILURE = 1; - } + enum EResponse { + SUCCESS = 0; + FAILURE = 1; + } - optional .CMsgGCToClientGetFavoritePlayersResponse.EResponse response = 1 [default = SUCCESS]; - repeated .CMsgPartySearchPlayer players = 2; - optional uint64 next_pagination_key = 3; + optional .CMsgGCToClientGetFavoritePlayersResponse.EResponse response = 1 [default = SUCCESS]; + repeated .CMsgPartySearchPlayer players = 2; + optional uint64 next_pagination_key = 3; } message CMsgGCToClientPartySearchInvite { - optional fixed32 account_id = 1; + optional fixed32 account_id = 1; } message CMsgClientToGCVerifyFavoritePlayers { - repeated fixed32 account_ids = 1; + repeated fixed32 account_ids = 1; } message CMsgGCToClientVerifyFavoritePlayersResponse { - message Result { - optional .CMsgPartySearchPlayer player = 1; - optional bool is_favorite = 2; - } + message Result { + optional .CMsgPartySearchPlayer player = 1; + optional bool is_favorite = 2; + } - repeated .CMsgGCToClientVerifyFavoritePlayersResponse.Result results = 1; + repeated .CMsgGCToClientVerifyFavoritePlayersResponse.Result results = 1; } message CMsgClientToGCRequestPlayerRecentAccomplishments { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCRequestPlayerRecentAccomplishmentsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + } - optional .CMsgClientToGCRequestPlayerRecentAccomplishmentsResponse.EResponse result = 1 [default = k_eInternalError]; - optional .CMsgPlayerRecentAccomplishments player_accomplishments = 2; + optional .CMsgClientToGCRequestPlayerRecentAccomplishmentsResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgPlayerRecentAccomplishments player_accomplishments = 2; } message CMsgClientToGCRequestPlayerHeroRecentAccomplishments { - optional uint32 account_id = 1; - optional int32 hero_id = 2; + optional uint32 account_id = 1; + optional int32 hero_id = 2; } message CMsgClientToGCRequestPlayerHeroRecentAccomplishmentsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + } - optional .CMsgClientToGCRequestPlayerHeroRecentAccomplishmentsResponse.EResponse result = 1 [default = k_eInternalError]; - optional .CMsgPlayerHeroRecentAccomplishments hero_accomplishments = 2; + optional .CMsgClientToGCRequestPlayerHeroRecentAccomplishmentsResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgPlayerHeroRecentAccomplishments hero_accomplishments = 2; } message CMsgClientToGCSubmitPlayerMatchSurvey { - optional uint64 match_id = 1; - optional sint32 rating = 3; - optional uint32 flags = 4; + optional uint64 match_id = 1; + optional sint32 rating = 3; + optional uint32 flags = 4; } message CMsgClientToGCSubmitPlayerMatchSurveyResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eAlreadySubmitted = 4; - k_ePlayerNotValid = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eAlreadySubmitted = 4; + k_ePlayerNotValid = 5; + } - optional .CMsgClientToGCSubmitPlayerMatchSurveyResponse.EResponse eresult = 1 [default = k_eInternalError]; - optional uint32 account_id = 2; + optional .CMsgClientToGCSubmitPlayerMatchSurveyResponse.EResponse eresult = 1 [default = k_eInternalError]; + optional uint32 account_id = 2; } message CMsgGCToClientVACReminder { } message CMsgClientToGCUnderDraftRequest { - optional uint32 account_id = 1; - optional uint32 event_id = 2; + optional uint32 account_id = 1; + optional uint32 event_id = 2; } message CMsgClientToGCUnderDraftResponse { - optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; - optional uint32 account_id = 2; - optional uint32 event_id = 3; - optional .CMsgUnderDraftData draft_data = 4; + optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; + optional uint32 account_id = 2; + optional uint32 event_id = 3; + optional .CMsgUnderDraftData draft_data = 4; } message CMsgClientToGCUnderDraftReroll { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCUnderDraftRerollResponse { - optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; - optional uint32 event_id = 2; - optional .CMsgUnderDraftData draft_data = 3; + optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; + optional uint32 event_id = 2; + optional .CMsgUnderDraftData draft_data = 3; } message CMsgClientToGCUnderDraftBuy { - optional uint32 event_id = 1; - optional uint32 slot_id = 2; + optional uint32 event_id = 1; + optional uint32 slot_id = 2; } message CMsgGCToClientGuildUnderDraftGoldUpdated { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCUnderDraftBuyResponse { - optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; - optional uint32 event_id = 2; - optional uint32 slot_id = 3; - optional .CMsgUnderDraftData draft_data = 4; + optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; + optional uint32 event_id = 2; + optional uint32 slot_id = 3; + optional .CMsgUnderDraftData draft_data = 4; } message CMsgClientToGCUnderDraftRollBackBench { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCUnderDraftRollBackBenchResponse { - optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; - optional uint32 event_id = 2; - optional .CMsgUnderDraftData draft_data = 3; + optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; + optional uint32 event_id = 2; + optional .CMsgUnderDraftData draft_data = 3; } message CMsgClientToGCUnderDraftSell { - optional uint32 event_id = 1; - optional uint32 slot_id = 2; + optional uint32 event_id = 1; + optional uint32 slot_id = 2; } message CMsgClientToGCUnderDraftSellResponse { - optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; - optional uint32 event_id = 2; - optional uint32 slot_id = 3; - optional .CMsgUnderDraftData draft_data = 4; + optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; + optional uint32 event_id = 2; + optional uint32 slot_id = 3; + optional .CMsgUnderDraftData draft_data = 4; } message CMsgClientToGCUnderDraftRedeemReward { - optional uint32 event_id = 1; - optional uint32 action_id = 2; + optional uint32 event_id = 1; + optional uint32 action_id = 2; } message CMsgClientToGCUnderDraftRedeemRewardResponse { - optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; + optional .EUnderDraftResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCSubmitDraftTriviaMatchAnswer { - optional bool chose_radiant_as_winner = 1; - optional uint32 event_id = 2; - optional uint32 end_time = 3; + optional bool chose_radiant_as_winner = 1; + optional uint32 event_id = 2; + optional uint32 end_time = 3; } message CMsgClientToGCSubmitDraftTriviaMatchAnswerResponse { - optional .EDOTADraftTriviaAnswerResult result = 1 [default = k_EDOTADraftTriviaAnswerResult_Success]; + optional .EDOTADraftTriviaAnswerResult result = 1 [default = k_EDOTADraftTriviaAnswerResult_Success]; } message CMsgDraftTriviaVoteCount { - optional uint32 total_votes = 1; - optional uint32 radiant_votes = 2; - optional uint32 dire_votes = 3; + optional uint32 total_votes = 1; + optional uint32 radiant_votes = 2; + optional uint32 dire_votes = 3; } message CMsgClientToGCRequestReporterUpdates { } message CMsgClientToGCRequestReporterUpdatesResponse { - message ReporterUpdate { - optional uint64 match_id = 1; - optional int32 hero_id = 2; - optional uint32 report_reason = 3; - optional uint32 timestamp = 4; - } - - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooBusy = 3; - k_eNotPermitted = 4; - k_eNotToSoon = 5; - k_eNotValid = 6; - } - - optional .CMsgClientToGCRequestReporterUpdatesResponse.EResponse enum_result = 1 [default = k_eInternalError]; - repeated .CMsgClientToGCRequestReporterUpdatesResponse.ReporterUpdate updates = 2; - optional int32 num_reported = 3; - optional int32 num_no_action_taken = 4; + message ReporterUpdate { + optional uint64 match_id = 1; + optional int32 hero_id = 2; + optional uint32 report_reason = 3; + optional uint32 timestamp = 4; + } + + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooBusy = 3; + k_eNotPermitted = 4; + k_eNotToSoon = 5; + k_eNotValid = 6; + } + + optional .CMsgClientToGCRequestReporterUpdatesResponse.EResponse enum_result = 1 [default = k_eInternalError]; + repeated .CMsgClientToGCRequestReporterUpdatesResponse.ReporterUpdate updates = 2; + optional int32 num_reported = 3; + optional int32 num_no_action_taken = 4; } message CMsgClientToGCAcknowledgeReporterUpdates { - repeated uint64 match_ids = 1; + repeated uint64 match_ids = 1; } message CMsgClientToGCRecalibrateMMR { } message CMsgClientToGCRecalibrateMMRResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooBusy = 3; - k_eNotPermitted = 4; - k_eNotToSoon = 5; - k_eNotValid = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooBusy = 3; + k_eNotPermitted = 4; + k_eNotToSoon = 5; + k_eNotValid = 6; + } - optional .CMsgClientToGCRecalibrateMMRResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgClientToGCRecalibrateMMRResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgDOTAPostGameItemAwardNotification { - optional uint32 receiver_account_id = 1; - repeated uint32 item_def_index = 2; - optional uint32 action_id = 3; + optional uint32 receiver_account_id = 1; + repeated uint32 item_def_index = 2; + optional uint32 action_id = 3; } message CMsgClientToGCGetOWMatchDetails { } message CMsgClientToGCGetOWMatchDetailsResponse { - message Marker { - optional uint32 start_game_time_s = 1; - optional uint32 end_game_time_s = 2; - } - - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooBusy = 3; - k_eNotPermitted = 4; - k_eNoCaseAvailable = 5; - } - - optional .CMsgClientToGCGetOWMatchDetailsResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint64 overwatch_replay_id = 2; - optional uint64 decryption_key = 3; - optional uint32 cluster = 4; - optional uint32 overwatch_salt = 5; - optional uint32 target_player_slot = 6; - repeated .CMsgClientToGCGetOWMatchDetailsResponse.Marker markers = 7; - optional .EOverwatchReportReason report_reason = 8 [default = k_EOverwatchReportReason_Unknown]; - optional int32 target_hero_id = 9; - optional uint32 rank_tier = 10; - optional uint32 lane_selection_flags = 11; + message Marker { + optional uint32 start_game_time_s = 1; + optional uint32 end_game_time_s = 2; + } + + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooBusy = 3; + k_eNotPermitted = 4; + k_eNoCaseAvailable = 5; + } + + optional .CMsgClientToGCGetOWMatchDetailsResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint64 overwatch_replay_id = 2; + optional uint64 decryption_key = 3; + optional uint32 cluster = 4; + optional uint32 overwatch_salt = 5; + optional uint32 target_player_slot = 6; + repeated .CMsgClientToGCGetOWMatchDetailsResponse.Marker markers = 7; + optional .EOverwatchReportReason report_reason = 8 [default = k_EOverwatchReportReason_Unknown]; + optional int32 target_hero_id = 9; + optional uint32 rank_tier = 10; + optional uint32 lane_selection_flags = 11; } message CMsgClientToGCSubmitOWConviction { - optional uint64 overwatch_replay_id = 1; - optional uint32 target_player_slot = 2; - optional .EOverwatchConviction cheating_conviction = 3 [default = k_EOverwatchConviction_None]; - optional .EOverwatchConviction griefing_conviction = 4 [default = k_EOverwatchConviction_None]; + optional uint64 overwatch_replay_id = 1; + optional uint32 target_player_slot = 2; + optional .EOverwatchConviction cheating_conviction = 3 [default = k_EOverwatchConviction_None]; + optional .EOverwatchConviction griefing_conviction = 4 [default = k_EOverwatchConviction_None]; } message CMsgClientToGCSubmitOWConvictionResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooBusy = 3; - k_eNotPermitted = 4; - k_eInvalidReplayID = 5; - k_eInvalidConviction = 6; - k_eInvalidPlayerSlot = 7; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooBusy = 3; + k_eNotPermitted = 4; + k_eInvalidReplayID = 5; + k_eInvalidConviction = 6; + k_eInvalidPlayerSlot = 7; + } - optional .CMsgClientToGCSubmitOWConvictionResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint64 overwatch_replay_id = 2; + optional .CMsgClientToGCSubmitOWConvictionResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint64 overwatch_replay_id = 2; } message CMsgClientToGCChinaSSAURLRequest { } message CMsgClientToGCChinaSSAURLResponse { - optional string agreement_url = 1; + optional string agreement_url = 1; } message CMsgClientToGCChinaSSAAcceptedRequest { } message CMsgClientToGCChinaSSAAcceptedResponse { - optional bool agreement_accepted = 1; + optional bool agreement_accepted = 1; } message CMsgGCToClientOverwatchCasesAvailable { - optional fixed32 expire_time = 1; + optional fixed32 expire_time = 1; } message CMsgClientToGCStartWatchingOverwatch { - optional uint64 overwatch_replay_id = 1; - optional uint32 target_player_slot = 2; + optional uint64 overwatch_replay_id = 1; + optional uint32 target_player_slot = 2; } message CMsgClientToGCStopWatchingOverwatch { - optional uint64 overwatch_replay_id = 1; - optional uint32 target_player_slot = 2; + optional uint64 overwatch_replay_id = 1; + optional uint32 target_player_slot = 2; } message CMsgClientToGCOverwatchReplayError { - optional uint64 overwatch_replay_id = 1; + optional uint64 overwatch_replay_id = 1; } message CMsgClientToGCGetDPCFavorites { } message CMsgClientToGCGetDPCFavoritesResponse { - message Favorite { - optional .EDPCFavoriteType favorite_type = 1 [default = FAVORITE_TYPE_ALL]; - optional uint32 favorite_id = 2; - } + message Favorite { + optional .EDPCFavoriteType favorite_type = 1 [default = FAVORITE_TYPE_ALL]; + optional uint32 favorite_id = 2; + } - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidRequest = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidRequest = 5; + } - optional .CMsgClientToGCGetDPCFavoritesResponse.EResponse result = 1 [default = k_eInternalError]; - repeated .CMsgClientToGCGetDPCFavoritesResponse.Favorite favorites = 2; + optional .CMsgClientToGCGetDPCFavoritesResponse.EResponse result = 1 [default = k_eInternalError]; + repeated .CMsgClientToGCGetDPCFavoritesResponse.Favorite favorites = 2; } message CMsgClientToGCSetDPCFavoriteState { - optional .EDPCFavoriteType favorite_type = 1 [default = FAVORITE_TYPE_ALL]; - optional uint32 favorite_id = 2; - optional bool enabled = 3; + optional .EDPCFavoriteType favorite_type = 1 [default = FAVORITE_TYPE_ALL]; + optional uint32 favorite_id = 2; + optional bool enabled = 3; } message CMsgClientToGCSetDPCFavoriteStateResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eFavoriteTypeOutOfRange = 2; - k_eLockFailed = 3; - k_eAlreadyFavorited = 4; - k_eAlreadyUnfavorited = 5; - k_eInsertRecordFailed = 6; - k_eRemoveRecordFailed = 7; - k_eTimeout = 8; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eFavoriteTypeOutOfRange = 2; + k_eLockFailed = 3; + k_eAlreadyFavorited = 4; + k_eAlreadyUnfavorited = 5; + k_eInsertRecordFailed = 6; + k_eRemoveRecordFailed = 7; + k_eTimeout = 8; + } - optional .CMsgClientToGCSetDPCFavoriteStateResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgClientToGCSetDPCFavoriteStateResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCSetEventActiveSeasonID { - optional uint32 event_id = 1; - optional uint32 active_season_id = 2; + optional uint32 event_id = 1; + optional uint32 active_season_id = 2; } message CMsgClientToGCSetEventActiveSeasonIDResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eDisabled = 2; - k_eTooBusy = 3; - k_eNotAllowed = 4; - k_eTimeout = 5; - k_eInternalSuccessNoChange = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eDisabled = 2; + k_eTooBusy = 3; + k_eNotAllowed = 4; + k_eTimeout = 5; + k_eInternalSuccessNoChange = 6; + } - optional .CMsgClientToGCSetEventActiveSeasonIDResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgClientToGCSetEventActiveSeasonIDResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCPurchaseLabyrinthBlessings { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - repeated int32 blessing_ids = 2; - optional bool debug = 3; - optional bool debug_remove = 4; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + repeated int32 blessing_ids = 2; + optional bool debug = 3; + optional bool debug_remove = 4; } message CMsgClientToGCPurchaseLabyrinthBlessingsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eNoSuchBlessing = 2; - k_eNotEnoughShards = 3; - k_eNoPath = 4; - k_eTimeout = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eNoSuchBlessing = 2; + k_eNotEnoughShards = 3; + k_eNoPath = 4; + k_eTimeout = 5; + } - optional .CMsgClientToGCPurchaseLabyrinthBlessingsResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgClientToGCPurchaseLabyrinthBlessingsResponse.EResponse result = 1 [default = k_eInternalError]; } message CMsgClientToGCGetStickerbookRequest { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCGetStickerbookResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eNotAllowed = 3; - k_eTooBusy = 4; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eNotAllowed = 3; + k_eTooBusy = 4; + } - optional .CMsgClientToGCGetStickerbookResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgStickerbook stickerbook = 2; + optional .CMsgClientToGCGetStickerbookResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgStickerbook stickerbook = 2; } message CMsgClientToGCCreateStickerbookPageRequest { - optional uint32 team_id = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - optional .EStickerbookPageType page_type = 3 [default = STICKER_PAGE_GENERIC]; + optional uint32 team_id = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + optional .EStickerbookPageType page_type = 3 [default = STICKER_PAGE_GENERIC]; } message CMsgClientToGCCreateStickerbookPageResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooManyPages = 3; - k_eTooBusy = 4; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooManyPages = 3; + k_eTooBusy = 4; + } - optional .CMsgClientToGCCreateStickerbookPageResponse.EResponse response = 1 [default = k_eInternalError]; - optional uint32 page_number = 2; + optional .CMsgClientToGCCreateStickerbookPageResponse.EResponse response = 1 [default = k_eInternalError]; + optional uint32 page_number = 2; } message CMsgClientToGCDeleteStickerbookPageRequest { - optional uint32 page_num = 1; - optional uint32 sticker_count = 2; - optional uint32 sticker_max = 3; + optional uint32 page_num = 1; + optional uint32 sticker_count = 2; + optional uint32 sticker_max = 3; } message CMsgClientToGCDeleteStickerbookPageResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eInvalidStickerCount = 3; - k_eTooBusy = 4; - k_eInvalidStickerMax = 5; - k_eInvalidPage = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eInvalidStickerCount = 3; + k_eTooBusy = 4; + k_eInvalidStickerMax = 5; + k_eInvalidPage = 6; + } - optional .CMsgClientToGCDeleteStickerbookPageResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCDeleteStickerbookPageResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCPlaceStickersRequest { - message StickerItem { - optional uint32 page_num = 2; - optional .CMsgStickerbookSticker sticker = 3; - } + message StickerItem { + optional uint32 page_num = 2; + optional .CMsgStickerbookSticker sticker = 3; + } - repeated .CMsgClientToGCPlaceStickersRequest.StickerItem sticker_items = 1; + repeated .CMsgClientToGCPlaceStickersRequest.StickerItem sticker_items = 1; } message CMsgClientToGCPlaceStickersResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eMissingItem = 3; - k_eTooBusy = 4; - k_eDuplicateItem = 5; - k_eInvalidPage = 6; - k_ePageTypeMismatch = 7; - k_eTooManyStickers = 8; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eMissingItem = 3; + k_eTooBusy = 4; + k_eDuplicateItem = 5; + k_eInvalidPage = 6; + k_ePageTypeMismatch = 7; + k_eTooManyStickers = 8; + } - optional .CMsgClientToGCPlaceStickersResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCPlaceStickersResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCPlaceCollectionStickersRequest { - message Slot { - optional uint32 page_num = 1; - optional uint32 slot = 2; - optional uint64 new_item_id = 3; - optional uint32 old_item_def_id = 4; - optional uint32 old_quality = 5; - } + message Slot { + optional uint32 page_num = 1; + optional uint32 slot = 2; + optional uint64 new_item_id = 3; + optional uint32 old_item_def_id = 4; + optional uint32 old_quality = 5; + } - repeated .CMsgClientToGCPlaceCollectionStickersRequest.Slot slots = 1; + repeated .CMsgClientToGCPlaceCollectionStickersRequest.Slot slots = 1; } message CMsgClientToGCPlaceCollectionStickersResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eMissingItem = 3; - k_eTooBusy = 4; - k_eDuplicateItem = 5; - k_eInvalidPage = 6; - k_ePageTypeMismatch = 7; - k_eOldItemMismatch = 8; - k_eInvalidSlot = 9; - k_eSlotTypeMismatch = 10; - } - - optional .CMsgClientToGCPlaceCollectionStickersResponse.EResponse response = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eMissingItem = 3; + k_eTooBusy = 4; + k_eDuplicateItem = 5; + k_eInvalidPage = 6; + k_ePageTypeMismatch = 7; + k_eOldItemMismatch = 8; + k_eInvalidSlot = 9; + k_eSlotTypeMismatch = 10; + } + + optional .CMsgClientToGCPlaceCollectionStickersResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOrderStickerbookTeamPageRequest { - optional .CMsgStickerbookTeamPageOrderSequence page_order_sequence = 1; + optional .CMsgStickerbookTeamPageOrderSequence page_order_sequence = 1; } message CMsgClientToGCOrderStickerbookTeamPageResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooManyPages = 3; - k_eTooBusy = 4; - k_eInvalidPage = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooManyPages = 3; + k_eTooBusy = 4; + k_eInvalidPage = 5; + } - optional .CMsgClientToGCOrderStickerbookTeamPageResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCOrderStickerbookTeamPageResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCSetHeroSticker { - optional int32 hero_id = 1; - optional uint64 new_item_id = 2; - optional uint64 old_item_id = 3; + optional int32 hero_id = 1; + optional uint64 new_item_id = 2; + optional uint64 old_item_id = 3; } message CMsgClientToGCSetHeroStickerResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eMissingItem = 3; - k_eTooBusy = 4; - k_eOldItemMismatch = 5; - k_eInvalidHero = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eMissingItem = 3; + k_eTooBusy = 4; + k_eOldItemMismatch = 5; + k_eInvalidHero = 6; + } - optional .CMsgClientToGCSetHeroStickerResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCSetHeroStickerResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCGetHeroStickers { } message CMsgClientToGCGetHeroStickersResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooBusy = 4; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooBusy = 4; + } - optional .CMsgClientToGCGetHeroStickersResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgStickerHeroes sticker_heroes = 2; + optional .CMsgClientToGCGetHeroStickersResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgStickerHeroes sticker_heroes = 2; } message CMsgClientToGCSetFavoritePage { - optional uint32 page_num = 1; - optional bool clear = 2; + optional uint32 page_num = 1; + optional bool clear = 2; } message CMsgClientToGCSetFavoritePageResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooBusy = 4; - k_eInvalidPage = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooBusy = 4; + k_eInvalidPage = 5; + } - optional .CMsgClientToGCSetFavoritePageResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCSetFavoritePageResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCClaimSwag { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 action_id = 2; - optional uint32 data = 3; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 action_id = 2; + optional uint32 data = 3; } message CMsgClientToGCClaimSwagResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooBusy = 4; - k_eAlreadyClaimed = 5; - k_eDisabled = 6; - k_eInvalidRequest = 7; - k_eUserNotEligible = 8; - k_eStorageError = 9; - k_eRewardDisabled = 10; - } - - optional .CMsgClientToGCClaimSwagResponse.EResponse response = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooBusy = 4; + k_eAlreadyClaimed = 5; + k_eDisabled = 6; + k_eInvalidRequest = 7; + k_eUserNotEligible = 8; + k_eStorageError = 9; + k_eRewardDisabled = 10; + } + + optional .CMsgClientToGCClaimSwagResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCCollectorsCacheAvailableDataRequest { - optional uint32 contest_id = 1; + optional uint32 contest_id = 1; } message CMsgGCToClientCollectorsCacheAvailableDataResponse { - message Vote { - enum EVoteType { - k_eUp = 0; - k_eDown = 1; - } + message Vote { + enum EVoteType { + k_eUp = 0; + k_eDown = 1; + } - optional uint32 item_def = 1; - optional .CMsgGCToClientCollectorsCacheAvailableDataResponse.Vote.EVoteType vote_type = 2 [default = k_eUp]; - } + optional uint32 item_def = 1; + optional .CMsgGCToClientCollectorsCacheAvailableDataResponse.Vote.EVoteType vote_type = 2 [default = k_eUp]; + } - repeated .CMsgGCToClientCollectorsCacheAvailableDataResponse.Vote votes = 1; + repeated .CMsgGCToClientCollectorsCacheAvailableDataResponse.Vote votes = 1; } message CMsgClientToGCUploadMatchClip { - optional .CMatchClip match_clip = 1; + optional .CMatchClip match_clip = 1; } message CMsgGCToClientUploadMatchClipResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTimeout = 2; - k_eTooBusy = 4; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTimeout = 2; + k_eTooBusy = 4; + } - optional .CMsgGCToClientUploadMatchClipResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgGCToClientUploadMatchClipResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCMapStatsRequest { } message CMsgGCToClientMapStatsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + } - optional .CMsgGCToClientMapStatsResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgMapStatsSnapshot personal_stats = 2; - optional .CMsgGlobalMapStats global_stats = 3; + optional .CMsgGCToClientMapStatsResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgMapStatsSnapshot personal_stats = 2; + optional .CMsgGlobalMapStats global_stats = 3; } message CMsgRoadToTIAssignedQuest { - optional uint32 quest_id = 1; - optional uint32 difficulty = 2; - optional uint32 progress_flags = 3; - optional uint32 half_credit_flags = 4; - optional bool completed = 5; + optional uint32 quest_id = 1; + optional uint32 difficulty = 2; + optional uint32 progress_flags = 3; + optional uint32 half_credit_flags = 4; + optional bool completed = 5; } message CMsgRoadToTIUserData { - repeated .CMsgRoadToTIAssignedQuest quests = 1; + repeated .CMsgRoadToTIAssignedQuest quests = 1; } message CMsgClientToGCRoadToTIGetQuests { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCRoadToTIGetQuestsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidID = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidID = 5; + } - optional .CMsgClientToGCRoadToTIGetQuestsResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgRoadToTIUserData quest_data = 2; + optional .CMsgClientToGCRoadToTIGetQuestsResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgRoadToTIUserData quest_data = 2; } message CMsgClientToGCRoadToTIGetActiveQuest { - optional uint32 event_id = 1; + optional uint32 event_id = 1; } message CMsgClientToGCRoadToTIGetActiveQuestResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eNone = 2; - k_eTooBusy = 3; - k_eDisabled = 4; - k_eTimeout = 5; - k_eInvalidID = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eNone = 2; + k_eTooBusy = 3; + k_eDisabled = 4; + k_eTimeout = 5; + k_eInvalidID = 6; + } - optional .CMsgClientToGCRoadToTIGetActiveQuestResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgRoadToTIAssignedQuest quest_data = 2; + optional .CMsgClientToGCRoadToTIGetActiveQuestResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgRoadToTIAssignedQuest quest_data = 2; } message CMsgGCToClientRoadToTIQuestDataUpdated { - optional uint32 event_id = 1; - optional .CMsgRoadToTIUserData quest_data = 2; + optional uint32 event_id = 1; + optional .CMsgRoadToTIUserData quest_data = 2; } message CMsgClientToGCRoadToTIUseItem { - optional uint32 event_id = 1; - optional uint32 item_type = 2; - optional uint32 hero_index = 3; + optional uint32 event_id = 1; + optional uint32 item_type = 2; + optional uint32 hero_index = 3; } message CMsgClientToGCRoadToTIUseItemResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eBadInput = 2; - k_eNoItem = 3; - k_eDisabled = 4; - k_eTimeout = 5; - k_eInvalidID = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eBadInput = 2; + k_eNoItem = 3; + k_eDisabled = 4; + k_eTimeout = 5; + k_eInvalidID = 6; + } - optional .CMsgClientToGCRoadToTIUseItemResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCRoadToTIUseItemResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCRoadToTIDevForceQuest { - optional uint32 event_id = 1; - optional bool force_match_type = 2; - optional uint32 force_id = 3; + optional uint32 event_id = 1; + optional bool force_match_type = 2; + optional uint32 force_id = 3; } message CMsgLobbyRoadToTIMatchQuestData { - optional .CMsgRoadToTIAssignedQuest quest_data = 1; - optional uint32 quest_period = 2; - optional uint32 quest_number = 3; + optional .CMsgRoadToTIAssignedQuest quest_data = 1; + optional uint32 quest_period = 2; + optional uint32 quest_number = 3; } message CMsgClientToGCNewBloomGift { - optional uint32 defindex = 1; - optional uint64 lobby_id = 2; - repeated uint32 target_account_ids = 3; + optional uint32 defindex = 1; + optional uint64 lobby_id = 2; + repeated uint32 target_account_ids = 3; } message CMsgClientToGCNewBloomGiftResponse { - optional .ENewBloomGiftingResponse result = 1 [default = kENewBloomGifting_UnknownFailure]; - repeated uint32 received_account_ids = 2; + optional .ENewBloomGiftingResponse result = 1 [default = kENewBloomGifting_UnknownFailure]; + repeated uint32 received_account_ids = 2; } message CMsgClientToGCSetBannedHeroes { - repeated int32 banned_hero_ids = 1; + repeated int32 banned_hero_ids = 1; } message CMsgClientToGCUpdateComicBookStats { - message SingleStat { - optional .CMsgClientToGCUpdateComicBookStat_Type stat_type = 1 [default = CMsgClientToGCUpdateComicBookStat_Type_HighestPageRead]; - optional uint32 stat_value = 2; - } + message SingleStat { + optional .CMsgClientToGCUpdateComicBookStat_Type stat_type = 1 [default = CMsgClientToGCUpdateComicBookStat_Type_HighestPageRead]; + optional uint32 stat_value = 2; + } - message LanguageStats { - optional uint32 comic_id = 1; - optional uint32 client_language = 2; - optional uint32 client_comic_language = 3; - } + message LanguageStats { + optional uint32 comic_id = 1; + optional uint32 client_language = 2; + optional uint32 client_comic_language = 3; + } - optional uint32 comic_id = 1; - repeated .CMsgClientToGCUpdateComicBookStats.SingleStat stats = 2; - optional .CMsgClientToGCUpdateComicBookStats.LanguageStats language_stats = 3; + optional uint32 comic_id = 1; + repeated .CMsgClientToGCUpdateComicBookStats.SingleStat stats = 2; + optional .CMsgClientToGCUpdateComicBookStats.LanguageStats language_stats = 3; } message CMsgGCRankedPlayerInfoSubmit { - optional string name = 1; + optional string name = 1; } message CMsgGCRankedPlayerInfoSubmitResponse { - enum EResult { - SUCCESS = 0; - ERROR_UNSPECIFIED = 1; - } + enum EResult { + SUCCESS = 0; + ERROR_UNSPECIFIED = 1; + } - optional .CMsgGCRankedPlayerInfoSubmitResponse.EResult result = 1 [default = SUCCESS]; + optional .CMsgGCRankedPlayerInfoSubmitResponse.EResult result = 1 [default = SUCCESS]; } message CMsgDOTAClaimGatedEvent { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; } message CMsgDOTAClaimGatedEventResponse { - enum ResultCode { - Success = 0; - InvalidEvent = 1; - EventNotActive = 2; - UserIneligible = 3; - AlreadyClaimed = 4; - ServerError = 5; - RateLimit = 6; - } + enum ResultCode { + Success = 0; + InvalidEvent = 1; + EventNotActive = 2; + UserIneligible = 3; + AlreadyClaimed = 4; + ServerError = 5; + RateLimit = 6; + } - optional .CMsgDOTAClaimGatedEventResponse.ResultCode result = 1 [default = Success]; + optional .CMsgDOTAClaimGatedEventResponse.ResultCode result = 1 [default = Success]; } message CMsgClientToGCGetEventRanking { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 account_id = 2; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 account_id = 2; } message CMsgClientToGCGetEventRankingResponse { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 account_id = 2; - optional float score = 3; - optional float percentile = 4; - optional uint32 final_rank_bucket = 5; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 account_id = 2; + optional float score = 3; + optional float percentile = 4; + optional uint32 final_rank_bucket = 5; } message CMsgClientToGCGetEventCoupon { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - repeated uint32 coupon_ids = 2; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + repeated uint32 coupon_ids = 2; } message CMsgClientToGCGetEventCouponResponse { - message Coupon { - optional uint32 coupon_id = 1; - optional string coupon_code = 2; - } - - enum ResultCode { - Success = 0; - InvalidEvent = 1; - EventNotActive = 2; - UserIneligible = 3; - ServerError = 4; - Timeout = 5; - MultipleCoupons = 6; - } - - optional .CMsgClientToGCGetEventCouponResponse.ResultCode result = 1 [default = Success]; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - repeated .CMsgClientToGCGetEventCouponResponse.Coupon coupons = 3; + message Coupon { + optional uint32 coupon_id = 1; + optional string coupon_code = 2; + } + + enum ResultCode { + Success = 0; + InvalidEvent = 1; + EventNotActive = 2; + UserIneligible = 3; + ServerError = 4; + Timeout = 5; + MultipleCoupons = 6; + } + + optional .CMsgClientToGCGetEventCouponResponse.ResultCode result = 1 [default = Success]; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + repeated .CMsgClientToGCGetEventCouponResponse.Coupon coupons = 3; +} + +message CMsgClientToGCConvertEventPoints { + optional .EEvent event_id_points_to_buy = 1 [default = EVENT_ID_NONE]; + optional .EEvent event_id_points_to_spend = 2 [default = EVENT_ID_NONE]; + optional uint32 num_points_to_buy = 3; + optional uint32 num_points_to_spend = 4; +} + +message CMsgClientToGCConvertEventPointsResponse { + enum ResultCode { + Success = 0; + InvalidEvent = 1; + EventNotActive = 2; + UserIneligible = 3; + ServerError = 4; + Timeout = 5; + } + + optional .CMsgClientToGCConvertEventPointsResponse.ResultCode result = 1 [default = Success]; +} + +message CMsgClientToGCInviteToDemoMode { + optional fixed64 server_id = 1; + optional fixed64 invited_player_id = 2; +} + +message CMsgGCToClientInviteToDemoMode { + optional fixed64 server_id = 1; + optional fixed64 from_player = 2; + optional bool party_invite = 3; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_client_team.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_client_team.proto index 282ea892..b14115ad 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_client_team.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_client_team.proto @@ -6,273 +6,273 @@ option optimize_for = SPEED; option java_generic_services = false; enum ETeamInviteResult { - TEAM_INVITE_SUCCESS = 0; - TEAM_INVITE_FAILURE_INVITE_REJECTED = 1; - TEAM_INVITE_FAILURE_INVITE_TIMEOUT = 2; - TEAM_INVITE_ERROR_TEAM_AT_MEMBER_LIMIT = 3; - TEAM_INVITE_ERROR_TEAM_LOCKED = 4; - TEAM_INVITE_ERROR_INVITEE_NOT_AVAILABLE = 5; - TEAM_INVITE_ERROR_INVITEE_BUSY = 6; - TEAM_INVITE_ERROR_INVITEE_ALREADY_MEMBER = 7; - TEAM_INVITE_ERROR_INVITEE_AT_TEAM_LIMIT = 8; - TEAM_INVITE_ERROR_INVITEE_INSUFFICIENT_PLAY_TIME = 9; - TEAM_INVITE_ERROR_INVITER_INVALID_ACCOUNT_TYPE = 10; - TEAM_INVITE_ERROR_INVITER_NOT_ADMIN = 11; - TEAM_INVITE_ERROR_INCORRECT_USER_RESPONDED = 12; - TEAM_INVITE_ERROR_UNSPECIFIED = 13; + TEAM_INVITE_SUCCESS = 0; + TEAM_INVITE_FAILURE_INVITE_REJECTED = 1; + TEAM_INVITE_FAILURE_INVITE_TIMEOUT = 2; + TEAM_INVITE_ERROR_TEAM_AT_MEMBER_LIMIT = 3; + TEAM_INVITE_ERROR_TEAM_LOCKED = 4; + TEAM_INVITE_ERROR_INVITEE_NOT_AVAILABLE = 5; + TEAM_INVITE_ERROR_INVITEE_BUSY = 6; + TEAM_INVITE_ERROR_INVITEE_ALREADY_MEMBER = 7; + TEAM_INVITE_ERROR_INVITEE_AT_TEAM_LIMIT = 8; + TEAM_INVITE_ERROR_INVITEE_INSUFFICIENT_PLAY_TIME = 9; + TEAM_INVITE_ERROR_INVITER_INVALID_ACCOUNT_TYPE = 10; + TEAM_INVITE_ERROR_INVITER_NOT_ADMIN = 11; + TEAM_INVITE_ERROR_INCORRECT_USER_RESPONDED = 12; + TEAM_INVITE_ERROR_UNSPECIFIED = 13; } message CMsgDOTATeamInfo { - message HeroStats { - optional int32 hero_id = 1; - optional uint32 picks = 2; - optional uint32 wins = 3; - optional uint32 bans = 4; - optional float avg_kills = 5; - optional float avg_deaths = 6; - optional float avg_assists = 7; - optional float avg_gpm = 8; - optional float avg_xpm = 9; - } - - message MemberStats { - optional uint32 account_id = 1; - optional uint32 wins_with_team = 2; - optional uint32 losses_with_team = 3; - repeated .CMsgDOTATeamInfo.HeroStats top_heroes = 4; - optional float avg_kills = 5; - optional float avg_deaths = 6; - optional float avg_assists = 7; - } - - message TeamStats { - repeated .CMsgDOTATeamInfo.HeroStats played_heroes = 1; - optional float farming = 2; - optional float fighting = 3; - optional float versatility = 4; - optional float avg_kills = 5; - optional float avg_deaths = 6; - optional float avg_duration = 7; - } - - message DPCResult { - optional uint32 league_id = 1; - optional uint32 standing = 2; - optional uint32 points = 3; - optional uint32 earnings = 4; - optional uint32 timestamp = 5; - } - - message Member { - optional uint32 account_id = 1; - optional uint32 time_joined = 2; - optional bool admin = 3; - optional string pro_name = 6; - optional .Fantasy_Roles role = 8 [default = FANTASY_ROLE_UNDEFINED]; - optional string real_name = 9; - } - - message AuditEntry { - optional uint32 audit_action = 1; - optional uint32 timestamp = 2; - optional uint32 account_id = 3; - } - - repeated .CMsgDOTATeamInfo.Member members = 1; - optional uint32 team_id = 2; - optional string name = 3; - optional string tag = 4; - optional uint32 time_created = 5; - optional bool pro = 6; - optional bool pickup_team = 8; - optional uint64 ugc_logo = 9; - optional uint64 ugc_base_logo = 10; - optional uint64 ugc_banner_logo = 11; - optional uint64 ugc_sponsor_logo = 12; - optional string country_code = 13; - optional string url = 14; - optional uint32 wins = 15; - optional uint32 losses = 16; - optional uint32 games_played_total = 19; - optional uint32 games_played_matchmaking = 20; - optional string url_logo = 24; - repeated .CMsgDOTATeamInfo.AuditEntry audit_entries = 31; - optional .ELeagueRegion region = 29 [default = LEAGUE_REGION_UNSET]; - optional string abbreviation = 32; - repeated .CMsgDOTATeamInfo.MemberStats member_stats = 33; - optional .CMsgDOTATeamInfo.TeamStats team_stats = 34; - repeated .CMsgDOTATeamInfo.DPCResult dpc_results = 35; - optional string color_primary = 37; - optional string color_secondary = 38; - optional uint32 team_captain = 39; + message HeroStats { + optional int32 hero_id = 1; + optional uint32 picks = 2; + optional uint32 wins = 3; + optional uint32 bans = 4; + optional float avg_kills = 5; + optional float avg_deaths = 6; + optional float avg_assists = 7; + optional float avg_gpm = 8; + optional float avg_xpm = 9; + } + + message MemberStats { + optional uint32 account_id = 1; + optional uint32 wins_with_team = 2; + optional uint32 losses_with_team = 3; + repeated .CMsgDOTATeamInfo.HeroStats top_heroes = 4; + optional float avg_kills = 5; + optional float avg_deaths = 6; + optional float avg_assists = 7; + } + + message TeamStats { + repeated .CMsgDOTATeamInfo.HeroStats played_heroes = 1; + optional float farming = 2; + optional float fighting = 3; + optional float versatility = 4; + optional float avg_kills = 5; + optional float avg_deaths = 6; + optional float avg_duration = 7; + } + + message DPCResult { + optional uint32 league_id = 1; + optional uint32 standing = 2; + optional uint32 points = 3; + optional uint32 earnings = 4; + optional uint32 timestamp = 5; + } + + message Member { + optional uint32 account_id = 1; + optional uint32 time_joined = 2; + optional bool admin = 3; + optional string pro_name = 6; + optional .Fantasy_Roles role = 8 [default = FANTASY_ROLE_UNDEFINED]; + optional string real_name = 9; + } + + message AuditEntry { + optional uint32 audit_action = 1; + optional uint32 timestamp = 2; + optional uint32 account_id = 3; + } + + repeated .CMsgDOTATeamInfo.Member members = 1; + optional uint32 team_id = 2; + optional string name = 3; + optional string tag = 4; + optional uint32 time_created = 5; + optional bool pro = 6; + optional bool pickup_team = 8; + optional uint64 ugc_logo = 9; + optional uint64 ugc_base_logo = 10; + optional uint64 ugc_banner_logo = 11; + optional uint64 ugc_sponsor_logo = 12; + optional string country_code = 13; + optional string url = 14; + optional uint32 wins = 15; + optional uint32 losses = 16; + optional uint32 games_played_total = 19; + optional uint32 games_played_matchmaking = 20; + optional string url_logo = 24; + repeated .CMsgDOTATeamInfo.AuditEntry audit_entries = 31; + optional .ELeagueRegion region = 29 [default = LEAGUE_REGION_UNSET]; + optional string abbreviation = 32; + repeated .CMsgDOTATeamInfo.MemberStats member_stats = 33; + optional .CMsgDOTATeamInfo.TeamStats team_stats = 34; + repeated .CMsgDOTATeamInfo.DPCResult dpc_results = 35; + optional string color_primary = 37; + optional string color_secondary = 38; + optional uint32 team_captain = 39; } message CMsgDOTATeamsInfo { - optional uint32 league_id = 1; - repeated .CMsgDOTATeamInfo teams = 2; + optional uint32 league_id = 1; + repeated .CMsgDOTATeamInfo teams = 2; } message CMsgDOTATeamInfoList { - repeated .CMsgDOTATeamInfo teams = 1; + repeated .CMsgDOTATeamInfo teams = 1; } message CMsgDOTATeamInfoCache { - optional uint32 cache_timestamp = 1; - optional .CMsgDOTATeamInfoList team_list = 2; + optional uint32 cache_timestamp = 1; + optional .CMsgDOTATeamInfoList team_list = 2; } message CMsgDOTAMyTeamInfoRequest { } message CMsgDOTACreateTeam { - optional string name = 1; - optional string tag = 2; - optional uint64 logo = 3; - optional uint64 base_logo = 4; - optional uint64 banner_logo = 5; - optional uint64 sponsor_logo = 6; - optional string country_code = 7; - optional string url = 8; - optional bool pickup_team = 9; - optional string abbreviation = 10; + optional string name = 1; + optional string tag = 2; + optional uint64 logo = 3; + optional uint64 base_logo = 4; + optional uint64 banner_logo = 5; + optional uint64 sponsor_logo = 6; + optional string country_code = 7; + optional string url = 8; + optional bool pickup_team = 9; + optional string abbreviation = 10; } message CMsgDOTACreateTeamResponse { - enum Result { - INVALID = -1; - SUCCESS = 0; - NAME_EMPTY = 1; - NAME_BAD_CHARACTERS = 2; - NAME_TAKEN = 3; - NAME_TOO_LONG = 4; - TAG_EMPTY = 5; - TAG_BAD_CHARACTERS = 6; - TAG_TAKEN = 7; - TAG_TOO_LONG = 8; - CREATOR_BUSY = 9; - UNSPECIFIED_ERROR = 10; - CREATOR_TEAM_LIMIT_REACHED = 11; - NO_LOGO = 12; - CREATOR_TEAM_CREATION_COOLDOWN = 13; - LOGO_UPLOAD_FAILED = 14; - NAME_CHANGED_TOO_RECENTLY = 15; - CREATOR_INSUFFICIENT_LEVEL = 16; - INVALID_ACCOUNT_TYPE = 17; - } - - optional .CMsgDOTACreateTeamResponse.Result result = 1 [default = INVALID]; - optional uint32 team_id = 2; + enum Result { + INVALID = -1; + SUCCESS = 0; + NAME_EMPTY = 1; + NAME_BAD_CHARACTERS = 2; + NAME_TAKEN = 3; + NAME_TOO_LONG = 4; + TAG_EMPTY = 5; + TAG_BAD_CHARACTERS = 6; + TAG_TAKEN = 7; + TAG_TOO_LONG = 8; + CREATOR_BUSY = 9; + UNSPECIFIED_ERROR = 10; + CREATOR_TEAM_LIMIT_REACHED = 11; + NO_LOGO = 12; + CREATOR_TEAM_CREATION_COOLDOWN = 13; + LOGO_UPLOAD_FAILED = 14; + NAME_CHANGED_TOO_RECENTLY = 15; + CREATOR_INSUFFICIENT_LEVEL = 16; + INVALID_ACCOUNT_TYPE = 17; + } + + optional .CMsgDOTACreateTeamResponse.Result result = 1 [default = INVALID]; + optional uint32 team_id = 2; } message CMsgDOTAEditTeamDetails { - optional uint32 team_id = 1; - optional string name = 2; - optional string tag = 3; - optional uint64 logo = 4; - optional uint64 base_logo = 5; - optional uint64 banner_logo = 6; - optional uint64 sponsor_logo = 7; - optional string country_code = 8; - optional string url = 9; - optional bool in_use_by_party = 10; - optional string abbreviation = 11; + optional uint32 team_id = 1; + optional string name = 2; + optional string tag = 3; + optional uint64 logo = 4; + optional uint64 base_logo = 5; + optional uint64 banner_logo = 6; + optional uint64 sponsor_logo = 7; + optional string country_code = 8; + optional string url = 9; + optional bool in_use_by_party = 10; + optional string abbreviation = 11; } message CMsgDOTAEditTeamDetailsResponse { - enum Result { - SUCCESS = 0; - FAILURE_INVALID_ACCOUNT_TYPE = 1; - FAILURE_NOT_MEMBER = 2; - FAILURE_TEAM_LOCKED = 3; - FAILURE_UNSPECIFIED_ERROR = 4; - } - - optional .CMsgDOTAEditTeamDetailsResponse.Result result = 1 [default = SUCCESS]; + enum Result { + SUCCESS = 0; + FAILURE_INVALID_ACCOUNT_TYPE = 1; + FAILURE_NOT_MEMBER = 2; + FAILURE_TEAM_LOCKED = 3; + FAILURE_UNSPECIFIED_ERROR = 4; + } + + optional .CMsgDOTAEditTeamDetailsResponse.Result result = 1 [default = SUCCESS]; } message CMsgDOTATeamInvite_InviterToGC { - optional uint32 account_id = 1; - optional uint32 team_id = 2; + optional uint32 account_id = 1; + optional uint32 team_id = 2; } message CMsgDOTATeamInvite_GCImmediateResponseToInviter { - optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS]; - optional string invitee_name = 2; - optional uint32 required_play_time = 3; + optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS]; + optional string invitee_name = 2; + optional uint32 required_play_time = 3; } message CMsgDOTATeamInvite_GCRequestToInvitee { - optional uint32 inviter_account_id = 1; - optional string team_name = 2; - optional string team_tag = 3; - optional uint64 logo = 4; + optional uint32 inviter_account_id = 1; + optional string team_name = 2; + optional string team_tag = 3; + optional uint64 logo = 4; } message CMsgDOTATeamInvite_InviteeResponseToGC { - optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS]; + optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS]; } message CMsgDOTATeamInvite_GCResponseToInviter { - optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS]; - optional string invitee_name = 2; + optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS]; + optional string invitee_name = 2; } message CMsgDOTATeamInvite_GCResponseToInvitee { - optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS]; - optional string team_name = 2; + optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS]; + optional string team_name = 2; } message CMsgDOTAKickTeamMember { - optional uint32 account_id = 1; - optional uint32 team_id = 2; + optional uint32 account_id = 1; + optional uint32 team_id = 2; } message CMsgDOTAKickTeamMemberResponse { - enum Result { - SUCCESS = 0; - FAILURE_INVALID_ACCOUNT_TYPE = 1; - FAILURE_KICKER_NOT_ADMIN = 2; - FAILURE_KICKEE_NOT_MEMBER = 3; - FAILURE_TEAM_LOCKED = 4; - FAILURE_UNSPECIFIED_ERROR = 5; - } - - optional .CMsgDOTAKickTeamMemberResponse.Result result = 1 [default = SUCCESS]; + enum Result { + SUCCESS = 0; + FAILURE_INVALID_ACCOUNT_TYPE = 1; + FAILURE_KICKER_NOT_ADMIN = 2; + FAILURE_KICKEE_NOT_MEMBER = 3; + FAILURE_TEAM_LOCKED = 4; + FAILURE_UNSPECIFIED_ERROR = 5; + } + + optional .CMsgDOTAKickTeamMemberResponse.Result result = 1 [default = SUCCESS]; } message CMsgDOTATransferTeamAdmin { - optional uint32 new_admin_account_id = 1; - optional uint32 team_id = 2; + optional uint32 new_admin_account_id = 1; + optional uint32 team_id = 2; } message CMsgDOTATransferTeamAdminResponse { - enum Result { - SUCCESS = 0; - FAILURE_INVALID_ACCOUNT_TYPE = 1; - FAILURE_NOT_ADMIN = 2; - FAILURE_SAME_ACCOUNT = 3; - FAILURE_NOT_MEMBER = 4; - FAILURE_UNSPECIFIED_ERROR = 5; - } - - optional .CMsgDOTATransferTeamAdminResponse.Result result = 1 [default = SUCCESS]; + enum Result { + SUCCESS = 0; + FAILURE_INVALID_ACCOUNT_TYPE = 1; + FAILURE_NOT_ADMIN = 2; + FAILURE_SAME_ACCOUNT = 3; + FAILURE_NOT_MEMBER = 4; + FAILURE_UNSPECIFIED_ERROR = 5; + } + + optional .CMsgDOTATransferTeamAdminResponse.Result result = 1 [default = SUCCESS]; } message CMsgDOTALeaveTeam { - optional uint32 team_id = 1; + optional uint32 team_id = 1; } message CMsgDOTALeaveTeamResponse { - enum Result { - SUCCESS = 0; - FAILURE_NOT_MEMBER = 1; - FAILURE_TEAM_LOCKED = 2; - FAILURE_UNSPECIFIED_ERROR = 3; - } - - optional .CMsgDOTALeaveTeamResponse.Result result = 1 [default = SUCCESS]; + enum Result { + SUCCESS = 0; + FAILURE_NOT_MEMBER = 1; + FAILURE_TEAM_LOCKED = 2; + FAILURE_UNSPECIFIED_ERROR = 3; + } + + optional .CMsgDOTALeaveTeamResponse.Result result = 1 [default = SUCCESS]; } message CMsgDOTABetaParticipation { - optional uint32 access_rights = 1; + optional uint32 access_rights = 1; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common.proto index 9c9ed51b..0c2e544f 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common.proto @@ -9,1943 +9,1944 @@ option optimize_for = SPEED; option java_generic_services = false; enum ESpecialPingValue { - k_ESpecialPingValue_NoData = 16382; - k_ESpecialPingValue_Failed = 16383; + k_ESpecialPingValue_NoData = 16382; + k_ESpecialPingValue_Failed = 16383; } enum EDOTAGCSessionNeed { - k_EDOTAGCSessionNeed_Unknown = 0; - k_EDOTAGCSessionNeed_UserNoSessionNeeded = 100; - k_EDOTAGCSessionNeed_UserInOnlineGame = 101; - k_EDOTAGCSessionNeed_UserInLocalGame = 102; - k_EDOTAGCSessionNeed_UserInUIWasConnected = 103; - k_EDOTAGCSessionNeed_UserInUINeverConnected = 104; - k_EDOTAGCSessionNeed_UserTutorials = 105; - k_EDOTAGCSessionNeed_UserInUIWasConnectedIdle = 106; - k_EDOTAGCSessionNeed_UserInUINeverConnectedIdle = 107; - k_EDOTAGCSessionNeed_GameServerOnline = 200; - k_EDOTAGCSessionNeed_GameServerLocal = 201; - k_EDOTAGCSessionNeed_GameServerIdle = 202; - k_EDOTAGCSessionNeed_GameServerRelay = 203; - k_EDOTAGCSessionNeed_GameServerLocalUpload = 204; + k_EDOTAGCSessionNeed_Unknown = 0; + k_EDOTAGCSessionNeed_UserNoSessionNeeded = 100; + k_EDOTAGCSessionNeed_UserInOnlineGame = 101; + k_EDOTAGCSessionNeed_UserInLocalGame = 102; + k_EDOTAGCSessionNeed_UserInUIWasConnected = 103; + k_EDOTAGCSessionNeed_UserInUINeverConnected = 104; + k_EDOTAGCSessionNeed_UserTutorials = 105; + k_EDOTAGCSessionNeed_UserInUIWasConnectedIdle = 106; + k_EDOTAGCSessionNeed_UserInUINeverConnectedIdle = 107; + k_EDOTAGCSessionNeed_GameServerOnline = 200; + k_EDOTAGCSessionNeed_GameServerLocal = 201; + k_EDOTAGCSessionNeed_GameServerIdle = 202; + k_EDOTAGCSessionNeed_GameServerRelay = 203; + k_EDOTAGCSessionNeed_GameServerLocalUpload = 204; } enum EDOTAMatchPlayerTimeCustomStat { - k_EDOTA_MatchPlayerTimeCustomStat_HPRegenUnderT1Towers = 1; - k_EDOTA_MatchPlayerTimeCustomStat_MagicDamageReducedWithNewFormula_Absolute = 2; - k_EDOTA_MatchPlayerTimeCustomStat_MagicDamageReducedWithNewFormula_PercentOfTotalHP = 3; + k_EDOTA_MatchPlayerTimeCustomStat_HPRegenUnderT1Towers = 1; + k_EDOTA_MatchPlayerTimeCustomStat_MagicDamageReducedWithNewFormula_Absolute = 2; + k_EDOTA_MatchPlayerTimeCustomStat_MagicDamageReducedWithNewFormula_PercentOfTotalHP = 3; } enum DOTA_TournamentEvents { - TE_FIRST_BLOOD = 0; - TE_GAME_END = 1; - TE_MULTI_KILL = 2; - TE_HERO_DENY = 3; - TE_AEGIS_DENY = 4; - TE_AEGIS_STOLEN = 5; - TE_GODLIKE = 6; - TE_COURIER_KILL = 7; - TE_ECHOSLAM = 8; - TE_RAPIER = 9; - TE_EARLY_ROSHAN = 10; - TE_BLACK_HOLE = 11; + TE_FIRST_BLOOD = 0; + TE_GAME_END = 1; + TE_MULTI_KILL = 2; + TE_HERO_DENY = 3; + TE_AEGIS_DENY = 4; + TE_AEGIS_STOLEN = 5; + TE_GODLIKE = 6; + TE_COURIER_KILL = 7; + TE_ECHOSLAM = 8; + TE_RAPIER = 9; + TE_EARLY_ROSHAN = 10; + TE_BLACK_HOLE = 11; } enum EBroadcastTimelineEvent { - EBroadcastTimelineEvent_MatchStarted = 1; - EBroadcastTimelineEvent_GameStateChanged = 2; - EBroadcastTimelineEvent_TowerDeath = 3; - EBroadcastTimelineEvent_BarracksDeath = 4; - EBroadcastTimelineEvent_AncientDeath = 5; - EBroadcastTimelineEvent_RoshanDeath = 6; - EBroadcastTimelineEvent_HeroDeath = 7; - EBroadcastTimelineEvent_TeamFight = 8; - EBroadcastTimelineEvent_FirstBlood = 9; + EBroadcastTimelineEvent_MatchStarted = 1; + EBroadcastTimelineEvent_GameStateChanged = 2; + EBroadcastTimelineEvent_TowerDeath = 3; + EBroadcastTimelineEvent_BarracksDeath = 4; + EBroadcastTimelineEvent_AncientDeath = 5; + EBroadcastTimelineEvent_RoshanDeath = 6; + EBroadcastTimelineEvent_HeroDeath = 7; + EBroadcastTimelineEvent_TeamFight = 8; + EBroadcastTimelineEvent_FirstBlood = 9; } enum ECustomGameWhitelistState { - CUSTOM_GAME_WHITELIST_STATE_UNKNOWN = 0; - CUSTOM_GAME_WHITELIST_STATE_APPROVED = 1; - CUSTOM_GAME_WHITELIST_STATE_REJECTED = 2; + CUSTOM_GAME_WHITELIST_STATE_UNKNOWN = 0; + CUSTOM_GAME_WHITELIST_STATE_APPROVED = 1; + CUSTOM_GAME_WHITELIST_STATE_REJECTED = 2; } enum EDOTATriviaQuestionCategory { - k_EDOTATriviaQuestionCategory_AbilityIcon = 0; - k_EDOTATriviaQuestionCategory_AbilityCooldown = 1; - k_EDOTATriviaQuestionCategory_HeroAttributes = 2; - k_EDOTATriviaQuestionCategory_HeroMovementSpeed = 3; - k_EDOTATriviaQuestionCategory_TalentTree = 4; - k_EDOTATriviaQuestionCategory_HeroStats = 5; - k_EDOTATriviaQuestionCategory_ItemPrice = 6; - k_EDOTATriviaQuestionCategory_AbilitySound = 7; - k_EDOTATriviaQuestionCategory_InvokerSpells = 8; - k_EDOTATriviaQuestionCategory_AbilityManaCost = 9; - k_EDOTATriviaQuestionCategory_HeroAttackSound = 10; - k_EDOTATriviaQuestionCategory_AbilityName = 11; - k_EDOTATriviaQuestionCategory_ItemComponents = 12; - k_EDOTATriviaQuestionCategory_ItemLore = 13; - k_EDOTATriviaQuestionCategory_ItemPassives = 14; - k_EDOTATriviaQuestionCategory_STATIC_QUESTIONS_END = 15; - k_EDOTATriviaQuestionCategory_DYNAMIC_QUESTIONS_START = 99; - k_EDOTATriviaQuestionCategory_Dynamic_ItemBuild = 100; + k_EDOTATriviaQuestionCategory_AbilityIcon = 0; + k_EDOTATriviaQuestionCategory_AbilityCooldown = 1; + k_EDOTATriviaQuestionCategory_HeroAttributes = 2; + k_EDOTATriviaQuestionCategory_HeroMovementSpeed = 3; + k_EDOTATriviaQuestionCategory_TalentTree = 4; + k_EDOTATriviaQuestionCategory_HeroStats = 5; + k_EDOTATriviaQuestionCategory_ItemPrice = 6; + k_EDOTATriviaQuestionCategory_AbilitySound = 7; + k_EDOTATriviaQuestionCategory_InvokerSpells = 8; + k_EDOTATriviaQuestionCategory_AbilityManaCost = 9; + k_EDOTATriviaQuestionCategory_HeroAttackSound = 10; + k_EDOTATriviaQuestionCategory_AbilityName = 11; + k_EDOTATriviaQuestionCategory_ItemComponents = 12; + k_EDOTATriviaQuestionCategory_ItemLore = 13; + k_EDOTATriviaQuestionCategory_ItemPassives = 14; + k_EDOTATriviaQuestionCategory_STATIC_QUESTIONS_END = 15; + k_EDOTATriviaQuestionCategory_DYNAMIC_QUESTIONS_START = 99; + k_EDOTATriviaQuestionCategory_Dynamic_ItemBuild = 100; } enum EOverwatchConviction { - k_EOverwatchConviction_None = 0; - k_EOverwatchConviction_NotGuilty = 1; - k_EOverwatchConviction_GuiltUnclear = 2; - k_EOverwatchConviction_Guilty = 3; + k_EOverwatchConviction_None = 0; + k_EOverwatchConviction_NotGuilty = 1; + k_EOverwatchConviction_GuiltUnclear = 2; + k_EOverwatchConviction_Guilty = 3; } enum EHeroRelicRarity { - HERO_RELIC_RARITY_INVALID = -1; - HERO_RELIC_RARITY_COMMON = 0; - HERO_RELIC_RARITY_RARE = 1; + HERO_RELIC_RARITY_INVALID = -1; + HERO_RELIC_RARITY_COMMON = 0; + HERO_RELIC_RARITY_RARE = 1; } enum EStickerbookAuditAction { - STICKERBOOK_AUDIT_CREATE_PAGE = 0; - STICKERBOOK_AUDIT_DELETE_PAGE = 1; - STICKERBOOK_AUDIT_STICK_STICKERS = 2; - STICKERBOOK_AUDIT_REPLACE_STICKERS = 3; - STICKERBOOK_AUDIT_HERO_STICKER = 4; + STICKERBOOK_AUDIT_CREATE_PAGE = 0; + STICKERBOOK_AUDIT_DELETE_PAGE = 1; + STICKERBOOK_AUDIT_STICK_STICKERS = 2; + STICKERBOOK_AUDIT_REPLACE_STICKERS = 3; + STICKERBOOK_AUDIT_HERO_STICKER = 4; } enum EStickerbookPageType { - STICKER_PAGE_GENERIC = 0; - STICKER_PAGE_TEAM = 1; - STICKER_PAGE_TALENT = 2; + STICKER_PAGE_GENERIC = 0; + STICKER_PAGE_TEAM = 1; + STICKER_PAGE_TALENT = 2; } enum ENewBloomGiftingResponse { - kENewBloomGifting_Success = 0; - kENewBloomGifting_UnknownFailure = 1; - kENewBloomGifting_MalformedRequest = 2; - kENewBloomGifting_FeatureDisabled = 3; - kENewBloomGifting_ItemNotFound = 4; - kENewBloomGifting_PlayerNotAllowedToGiveGifts = 5; - kENewBloomGifting_TargetNotAllowedToReceiveGifts = 6; - kENewBloomGifting_ServerNotAuthorized = 100; - kENewBloomGifting_PlayerNotInLobby = 101; - kENewBloomGifting_TargetNotInLobby = 102; - kENewBloomGifting_LobbyNotEligible = 103; - kENewBloomGifting_TargetNotFriend = 200; - kENewBloomGifting_TargetFriendDurationTooShort = 201; + kENewBloomGifting_Success = 0; + kENewBloomGifting_UnknownFailure = 1; + kENewBloomGifting_MalformedRequest = 2; + kENewBloomGifting_FeatureDisabled = 3; + kENewBloomGifting_ItemNotFound = 4; + kENewBloomGifting_PlayerNotAllowedToGiveGifts = 5; + kENewBloomGifting_TargetNotAllowedToReceiveGifts = 6; + kENewBloomGifting_ServerNotAuthorized = 100; + kENewBloomGifting_PlayerNotInLobby = 101; + kENewBloomGifting_TargetNotInLobby = 102; + kENewBloomGifting_LobbyNotEligible = 103; + kENewBloomGifting_TargetNotFriend = 200; + kENewBloomGifting_TargetFriendDurationTooShort = 201; } message CSODOTAGameAccountClient { - message RoleHandicap { - optional uint32 role = 1; - optional float handicap = 2; - } - - optional uint32 account_id = 1 [(key_field) = true]; - optional uint32 wins = 3; - optional uint32 losses = 4; - optional uint32 xp = 12; - optional uint32 level = 13; - optional uint32 initial_skill = 14; - optional uint32 leaver_count = 15; - optional uint32 secondary_leaver_count = 58; - optional uint32 low_priority_until_date = 18; - optional uint32 prevent_text_chat_until_date = 20; - optional uint32 prevent_voice_until_date = 21; - optional uint32 prevent_public_text_chat_until_date = 86; - optional uint32 prevent_new_player_chat_until_date = 122; - optional uint32 last_abandoned_game_date = 22; - optional uint32 last_secondary_abandoned_game_date = 59; - optional uint32 leaver_penalty_count = 23; - optional uint32 completed_game_streak = 24; - optional uint32 account_disabled_until_date = 38; - optional uint32 account_disabled_count = 39; - optional uint32 match_disabled_until_date = 41; - optional uint32 match_disabled_count = 42; - optional uint32 shutdownlawterminatetimestamp = 47; - optional uint32 low_priority_games_remaining = 48; - optional uint32 recruitment_level = 55; - optional bool has_new_notifications = 56; - optional bool is_league_admin = 57; - optional uint32 casual_games_played = 60; - optional uint32 solo_competitive_games_played = 61; - optional uint32 party_competitive_games_played = 62; - optional uint32 casual_1v1_games_played = 65; - optional int32 curr_all_hero_challenge_id = 67; - optional uint32 play_time_points = 68; - optional uint32 account_flags = 69; - optional uint32 play_time_level = 70; - optional uint32 player_behavior_seq_num_last_report = 71; - optional uint32 player_behavior_score_last_report = 72; - optional bool player_behavior_report_old_data = 73; - optional uint32 tourney_skill_level = 74; - optional uint32 tourney_recent_participation_date = 85; - optional uint64 anchored_phone_number_id = 88; - optional uint32 ranked_matchmaking_ban_until_date = 89; - optional uint32 recent_game_time_1 = 90; - optional uint32 recent_game_time_2 = 91; - optional uint32 recent_game_time_3 = 92; - optional uint64 favorite_team_packed = 103; - optional uint32 recent_report_time = 104; - optional uint32 custom_game_disabled_until_date = 105; - optional uint32 recent_win_time_1 = 106; - optional uint32 recent_win_time_2 = 107; - optional uint32 recent_win_time_3 = 108; - optional uint32 coach_rating = 109; - optional uint32 queue_points = 114; - repeated .CSODOTAGameAccountClient.RoleHandicap role_handicaps = 115; - optional uint32 event_mode_recent_time = 120; - optional uint32 mmr_recalibration_time = 121; - repeated int32 banned_hero_ids = 123; + message RoleHandicap { + optional uint32 role = 1; + optional float handicap = 2; + } + + optional uint32 account_id = 1 [(key_field) = true]; + optional uint32 wins = 3; + optional uint32 losses = 4; + optional uint32 xp = 12; + optional uint32 level = 13; + optional uint32 initial_skill = 14; + optional uint32 leaver_count = 15; + optional uint32 secondary_leaver_count = 58; + optional uint32 low_priority_until_date = 18; + optional uint32 prevent_text_chat_until_date = 20; + optional uint32 prevent_voice_until_date = 21; + optional uint32 prevent_public_text_chat_until_date = 86; + optional uint32 prevent_new_player_chat_until_date = 122; + optional uint32 last_abandoned_game_date = 22; + optional uint32 last_secondary_abandoned_game_date = 59; + optional uint32 leaver_penalty_count = 23; + optional uint32 completed_game_streak = 24; + optional uint32 account_disabled_until_date = 38; + optional uint32 account_disabled_count = 39; + optional uint32 match_disabled_until_date = 41; + optional uint32 match_disabled_count = 42; + optional uint32 shutdownlawterminatetimestamp = 47; + optional uint32 low_priority_games_remaining = 48; + optional uint32 recruitment_level = 55; + optional bool has_new_notifications = 56; + optional bool is_league_admin = 57; + optional uint32 casual_games_played = 60; + optional uint32 solo_competitive_games_played = 61; + optional uint32 party_competitive_games_played = 62; + optional uint32 casual_1v1_games_played = 65; + optional int32 curr_all_hero_challenge_id = 67; + optional uint32 play_time_points = 68; + optional uint32 account_flags = 69; + optional uint32 play_time_level = 70; + optional uint32 player_behavior_seq_num_last_report = 71; + optional uint32 player_behavior_score_last_report = 72; + optional bool player_behavior_report_old_data = 73; + optional uint32 tourney_skill_level = 74; + optional uint32 tourney_recent_participation_date = 85; + optional uint64 anchored_phone_number_id = 88; + optional uint32 ranked_matchmaking_ban_until_date = 89; + optional uint32 recent_game_time_1 = 90; + optional uint32 recent_game_time_2 = 91; + optional uint32 recent_game_time_3 = 92; + optional uint64 favorite_team_packed = 103; + optional uint32 recent_report_time = 104; + optional uint32 custom_game_disabled_until_date = 105; + optional uint32 recent_win_time_1 = 106; + optional uint32 recent_win_time_2 = 107; + optional uint32 recent_win_time_3 = 108; + optional uint32 coach_rating = 109; + optional uint32 queue_points = 114; + repeated .CSODOTAGameAccountClient.RoleHandicap role_handicaps = 115; + optional uint32 event_mode_recent_time = 120; + optional uint32 mmr_recalibration_time = 121; + repeated int32 banned_hero_ids = 123; } message CSODOTAGameAccountPlus { - optional uint32 account_id = 1 [(key_field) = true]; - optional uint32 original_start_date = 2; - optional uint32 plus_flags = 3; - optional uint32 plus_status = 4; - optional uint32 prepaid_time_start = 5; - optional uint32 prepaid_time_balance = 6; - optional fixed32 next_payment_date = 7; - optional fixed64 steam_agreement_id = 8; + optional uint32 account_id = 1 [(key_field) = true]; + optional uint32 original_start_date = 2; + optional uint32 plus_flags = 3; + optional uint32 plus_status = 4; + optional uint32 prepaid_time_start = 5; + optional uint32 prepaid_time_balance = 6; + optional fixed32 next_payment_date = 7; + optional fixed64 steam_agreement_id = 8; } message CSODOTAChatWheel { - optional uint32 message_id = 1 [default = 4294967295, (key_field) = true]; + optional uint32 message_id = 1 [default = 4294967295, (key_field) = true]; } message CMsgLobbyFeaturedGamemodeProgress { - message AccountProgress { - optional uint32 account_id = 1; - optional uint32 current_value = 2; - optional uint32 max_value = 3; - } + message AccountProgress { + optional uint32 account_id = 1; + optional uint32 current_value = 2; + optional uint32 max_value = 3; + } - repeated .CMsgLobbyFeaturedGamemodeProgress.AccountProgress accounts = 1; + repeated .CMsgLobbyFeaturedGamemodeProgress.AccountProgress accounts = 1; } message CMsgBattleCupVictory { - optional uint32 account_id = 1; - optional uint32 win_date = 2; - optional uint32 valid_until = 3; - optional uint32 skill_level = 4; - optional uint32 tournament_id = 5; - optional uint32 division_id = 6; - optional uint32 team_id = 7; - optional uint32 streak = 8; - optional uint32 trophy_id = 9; + optional uint32 account_id = 1; + optional uint32 win_date = 2; + optional uint32 valid_until = 3; + optional uint32 skill_level = 4; + optional uint32 tournament_id = 5; + optional uint32 division_id = 6; + optional uint32 team_id = 7; + optional uint32 streak = 8; + optional uint32 trophy_id = 9; } message CMsgLobbyBattleCupVictoryList { - repeated .CMsgBattleCupVictory winners = 1; + repeated .CMsgBattleCupVictory winners = 1; } message CMsgDOTABroadcastNotification { - optional string message = 1; + optional string message = 1; } message CProtoItemHeroStatue { - optional int32 hero_id = 1; - optional uint32 status_effect_index = 2; - optional string sequence_name = 3; - optional float cycle = 4; - repeated uint32 wearable = 5; - optional string inscription = 6; - repeated uint32 style = 7; - optional bool tournament_drop = 8; + optional int32 hero_id = 1; + optional uint32 status_effect_index = 2; + optional string sequence_name = 3; + optional float cycle = 4; + repeated uint32 wearable = 5; + optional string inscription = 6; + repeated uint32 style = 7; + optional bool tournament_drop = 8; } message CMatchPlayerAbilityUpgrade { - optional int32 ability = 1 [default = -1]; - optional uint32 time = 2; + optional int32 ability = 1 [default = -1]; + optional uint32 time = 2; } message CMatchPlayerTimedCustomStat { - optional .EDOTAMatchPlayerTimeCustomStat stat = 2 [default = k_EDOTA_MatchPlayerTimeCustomStat_HPRegenUnderT1Towers]; - optional float value = 3; + optional .EDOTAMatchPlayerTimeCustomStat stat = 2 [default = k_EDOTA_MatchPlayerTimeCustomStat_HPRegenUnderT1Towers]; + optional float value = 3; } message CMatchPlayerTimedStats { - optional uint32 time = 1; - optional uint32 kills = 2; - optional uint32 deaths = 3; - optional uint32 assists = 4; - optional uint32 net_worth = 5; - optional uint32 xp = 6; - optional uint32 last_hits = 7; - optional uint32 denies = 8; - optional uint32 bounty_rune_gold = 9; - optional uint32 range_creep_upgrade_gold = 10; - optional uint32 observer_wards_dewarded = 11; - optional uint32 reliable_gold_earned = 12; - optional uint32 gold_loss_prevented = 13; - optional uint32 hero_kill_gold = 14; - optional uint32 creep_kill_gold = 15; - optional uint32 building_gold = 16; - optional uint32 other_gold = 17; - optional uint32 comeback_gold = 18; - optional uint32 experimental_gold = 19; - optional uint32 experimental2_gold = 20; - optional uint32 creep_deny_gold = 21; - optional uint32 tp_scrolls_purchased_1 = 22; - optional uint32 tp_scrolls_purchased_2 = 23; - optional uint32 tp_scrolls_purchased_3 = 24; - optional uint32 tp_scrolls_purchased_4 = 25; - optional uint32 tp_scrolls_purchased_5 = 26; - optional uint32 neutral_gold = 27; - optional uint32 courier_gold = 28; - optional uint32 roshan_gold = 29; - optional uint32 income_gold = 30; - optional uint32 item_value = 36; - optional uint32 support_gold_spent = 37; - optional uint32 camps_stacked = 38; - optional uint32 wards_placed = 39; - optional uint32 triple_kills = 40; - optional uint32 rampages = 41; - repeated .CMatchPlayerTimedCustomStat custom_stats = 42; + optional uint32 time = 1; + optional uint32 kills = 2; + optional uint32 deaths = 3; + optional uint32 assists = 4; + optional uint32 net_worth = 5; + optional uint32 xp = 6; + optional uint32 last_hits = 7; + optional uint32 denies = 8; + optional uint32 bounty_rune_gold = 9; + optional uint32 range_creep_upgrade_gold = 10; + optional uint32 observer_wards_dewarded = 11; + optional uint32 reliable_gold_earned = 12; + optional uint32 gold_loss_prevented = 13; + optional uint32 hero_kill_gold = 14; + optional uint32 creep_kill_gold = 15; + optional uint32 building_gold = 16; + optional uint32 other_gold = 17; + optional uint32 comeback_gold = 18; + optional uint32 experimental_gold = 19; + optional uint32 experimental2_gold = 20; + optional uint32 creep_deny_gold = 21; + optional uint32 tp_scrolls_purchased_1 = 22; + optional uint32 tp_scrolls_purchased_2 = 23; + optional uint32 tp_scrolls_purchased_3 = 24; + optional uint32 tp_scrolls_purchased_4 = 25; + optional uint32 tp_scrolls_purchased_5 = 26; + optional uint32 neutral_gold = 27; + optional uint32 courier_gold = 28; + optional uint32 roshan_gold = 29; + optional uint32 income_gold = 30; + optional uint32 item_value = 36; + optional uint32 support_gold_spent = 37; + optional uint32 camps_stacked = 38; + optional uint32 wards_placed = 39; + optional uint32 triple_kills = 40; + optional uint32 rampages = 41; + repeated .CMatchPlayerTimedCustomStat custom_stats = 42; } message CMatchTeamTimedStats { - optional uint32 time = 1; - optional uint32 enemy_towers_killed = 2; - optional uint32 enemy_barracks_killed = 3; - optional uint32 enemy_towers_status = 4; - optional uint32 enemy_barracks_status = 5; + optional uint32 time = 1; + optional uint32 enemy_towers_killed = 2; + optional uint32 enemy_barracks_killed = 3; + optional uint32 enemy_towers_status = 4; + optional uint32 enemy_barracks_status = 5; } message CMatchAdditionalUnitInventory { - optional string unit_name = 1; - repeated int32 items = 2; + optional string unit_name = 1; + repeated int32 items = 2; } message CMatchPlayerPermanentBuff { - optional uint32 permanent_buff = 1; - optional uint32 stack_count = 2; - optional uint32 grant_time = 3; + optional uint32 permanent_buff = 1; + optional uint32 stack_count = 2; + optional uint32 grant_time = 3; } message CMatchHeroSelectEvent { - optional bool is_pick = 1; - optional uint32 team = 2; - optional int32 hero_id = 3; + optional bool is_pick = 1; + optional uint32 team = 2; + optional int32 hero_id = 3; } message CMatchClip { - optional uint64 match_id = 1; - optional uint32 player_account_id = 2; - optional uint32 game_time_seconds = 3; - optional uint32 duration_seconds = 4; - optional uint32 player_id = 5; - optional int32 hero_id = 6; - optional int32 ability_id = 7 [default = -1]; - optional uint32 camera_mode = 8; - optional string comment = 9; + optional uint64 match_id = 1; + optional uint32 player_account_id = 2; + optional uint32 game_time_seconds = 3; + optional uint32 duration_seconds = 4; + optional uint32 player_id = 5; + optional int32 hero_id = 6; + optional int32 ability_id = 7 [default = -1]; + optional uint32 camera_mode = 8; + optional string comment = 9; } message CPartySearchClientParty { - optional fixed64 party_id = 1; - optional int32 beacon_type = 2; - repeated fixed32 party_members = 3; + optional fixed64 party_id = 1; + optional int32 beacon_type = 2; + repeated fixed32 party_members = 3; } message CMsgDOTAHasItemQuery { - optional uint32 account_id = 1; - optional uint64 item_id = 2; + optional uint32 account_id = 1; + optional uint64 item_id = 2; } message CMsgDOTAHasItemResponse { - optional bool has_item = 1; + optional bool has_item = 1; } message CMsgGCGetPlayerCardItemInfo { - optional uint32 account_id = 1; - repeated uint64 player_card_item_ids = 2; - optional uint32 all_for_event = 3; + optional uint32 account_id = 1; + repeated uint64 player_card_item_ids = 2; + optional uint32 all_for_event = 3; } message CMsgGCGetPlayerCardItemInfoResponse { - message PlayerCardInfo { - optional uint64 player_card_item_id = 1; - optional uint32 account_id = 2; - optional uint64 packed_bonuses = 3; - } + message PlayerCardInfo { + optional uint64 player_card_item_id = 1; + optional uint32 account_id = 2; + optional uint64 packed_bonuses = 3; + } - repeated .CMsgGCGetPlayerCardItemInfoResponse.PlayerCardInfo player_card_infos = 1; + repeated .CMsgGCGetPlayerCardItemInfoResponse.PlayerCardInfo player_card_infos = 1; } message CSODOTAMapLocationState { - optional uint32 account_id = 1 [(key_field) = true]; - optional int32 location_id = 2 [(key_field) = true]; - optional bool completed = 3; + optional uint32 account_id = 1 [(key_field) = true]; + optional int32 location_id = 2 [(key_field) = true]; + optional bool completed = 3; } message CMsgLeagueAdminList { - repeated uint32 account_ids = 1; + repeated uint32 account_ids = 1; } message CMsgDOTAProfileCard { - message Slot { - message Trophy { - optional uint32 trophy_id = 1; - optional uint32 trophy_score = 2; - } - - message Stat { - optional .CMsgDOTAProfileCard.EStatID stat_id = 1 [default = k_eStat_Wins]; - optional uint32 stat_score = 2; - } - - message Item { - optional bytes serialized_item = 1; - optional uint64 item_id = 2; - } - - message Hero { - optional int32 hero_id = 1; - optional uint32 hero_wins = 2; - optional uint32 hero_losses = 3; - } - - message Emoticon { - optional uint32 emoticon_id = 1; - } - - message Team { - optional uint32 team_id = 1; - } - - optional uint32 slot_id = 1; - optional .CMsgDOTAProfileCard.Slot.Trophy trophy = 2; - optional .CMsgDOTAProfileCard.Slot.Stat stat = 3; - optional .CMsgDOTAProfileCard.Slot.Item item = 4; - optional .CMsgDOTAProfileCard.Slot.Hero hero = 5; - optional .CMsgDOTAProfileCard.Slot.Emoticon emoticon = 6; - optional .CMsgDOTAProfileCard.Slot.Team team = 7; - } - - enum EStatID { - k_eStat_Wins = 3; - k_eStat_Commends = 4; - k_eStat_GamesPlayed = 5; - k_eStat_FirstMatchDate = 6; - k_eStat_PreviousSeasonRank = 7; - k_eStat_GamesMVP = 8; - } - - optional uint32 account_id = 1; - repeated .CMsgDOTAProfileCard.Slot slots = 3; - optional uint32 badge_points = 4; - optional uint32 event_id = 6; - optional .CMsgBattleCupVictory recent_battle_cup_victory = 7; - optional uint32 rank_tier = 8; - optional uint32 leaderboard_rank = 9; - optional bool is_plus_subscriber = 10; - optional uint32 plus_original_start_date = 11; - optional uint32 rank_tier_score = 12; - optional uint32 leaderboard_rank_core = 17; - optional uint32 title = 23; - optional uint64 favorite_team_packed = 24; - optional uint32 lifetime_games = 25; - optional uint32 event_level = 26; + message Slot { + message Trophy { + optional uint32 trophy_id = 1; + optional uint32 trophy_score = 2; + } + + message Stat { + optional .CMsgDOTAProfileCard.EStatID stat_id = 1 [default = k_eStat_Wins]; + optional uint32 stat_score = 2; + } + + message Item { + optional bytes serialized_item = 1; + optional uint64 item_id = 2; + } + + message Hero { + optional int32 hero_id = 1; + optional uint32 hero_wins = 2; + optional uint32 hero_losses = 3; + } + + message Emoticon { + optional uint32 emoticon_id = 1; + } + + message Team { + optional uint32 team_id = 1; + } + + optional uint32 slot_id = 1; + optional .CMsgDOTAProfileCard.Slot.Trophy trophy = 2; + optional .CMsgDOTAProfileCard.Slot.Stat stat = 3; + optional .CMsgDOTAProfileCard.Slot.Item item = 4; + optional .CMsgDOTAProfileCard.Slot.Hero hero = 5; + optional .CMsgDOTAProfileCard.Slot.Emoticon emoticon = 6; + optional .CMsgDOTAProfileCard.Slot.Team team = 7; + } + + enum EStatID { + k_eStat_Wins = 3; + k_eStat_Commends = 4; + k_eStat_GamesPlayed = 5; + k_eStat_FirstMatchDate = 6; + k_eStat_PreviousSeasonRank = 7; + k_eStat_GamesMVP = 8; + } + + optional uint32 account_id = 1; + repeated .CMsgDOTAProfileCard.Slot slots = 3; + optional uint32 badge_points = 4; + optional uint32 event_id = 6; + optional .CMsgBattleCupVictory recent_battle_cup_victory = 7; + optional uint32 rank_tier = 8; + optional uint32 leaderboard_rank = 9; + optional bool is_plus_subscriber = 10; + optional uint32 plus_original_start_date = 11; + optional uint32 rank_tier_score = 12; + optional uint32 leaderboard_rank_core = 17; + optional uint32 title = 23; + optional uint64 favorite_team_packed = 24; + optional uint32 lifetime_games = 25; + optional uint32 event_level = 26; } message CSODOTAPlayerChallenge { - optional uint32 account_id = 1 [(key_field) = true]; - optional uint32 event_id = 2 [(key_field) = true]; - optional uint32 slot_id = 3 [(key_field) = true]; - optional uint32 int_param_0 = 5; - optional uint32 int_param_1 = 6; - optional uint32 created_time = 7; - optional uint32 completed = 8; - optional uint32 sequence_id = 9; - optional uint32 challenge_tier = 10; - optional uint32 flags = 11; - optional uint32 attempts = 12; - optional uint32 complete_limit = 13; - optional uint32 quest_rank = 14; - optional uint32 max_quest_rank = 15; - optional uint32 instance_id = 16; - optional int32 hero_id = 17; - optional uint32 template_id = 18; + optional uint32 account_id = 1 [(key_field) = true]; + optional uint32 event_id = 2 [(key_field) = true]; + optional uint32 slot_id = 3 [(key_field) = true]; + optional uint32 int_param_0 = 5; + optional uint32 int_param_1 = 6; + optional uint32 created_time = 7; + optional uint32 completed = 8; + optional uint32 sequence_id = 9; + optional uint32 challenge_tier = 10; + optional uint32 flags = 11; + optional uint32 attempts = 12; + optional uint32 complete_limit = 13; + optional uint32 quest_rank = 14; + optional uint32 max_quest_rank = 15; + optional uint32 instance_id = 16; + optional int32 hero_id = 17; + optional uint32 template_id = 18; } message CMsgClientToGCRerollPlayerChallenge { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 sequence_id = 3; - optional int32 hero_id = 4; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 sequence_id = 3; + optional int32 hero_id = 4; } message CMsgGCRerollPlayerChallengeResponse { - enum EResult { - eResult_Success = 0; - eResult_Dropped = 1; - eResult_NotFound = 2; - eResult_CantReroll = 3; - eResult_ServerError = 4; - } + enum EResult { + eResult_Success = 0; + eResult_Dropped = 1; + eResult_NotFound = 2; + eResult_CantReroll = 3; + eResult_ServerError = 4; + } - optional .CMsgGCRerollPlayerChallengeResponse.EResult result = 1 [default = eResult_Success]; + optional .CMsgGCRerollPlayerChallengeResponse.EResult result = 1 [default = eResult_Success]; } message CMsgGCTopCustomGamesList { - repeated uint64 top_custom_games = 1; - optional uint64 game_of_the_day = 2; + repeated uint64 top_custom_games = 1; + optional uint64 game_of_the_day = 2; } message CMsgDOTARealtimeGameStats { - message TeamDetails { - optional uint32 team_number = 1; - optional uint32 team_id = 2; - optional string team_name = 3; - optional fixed64 team_logo = 4; - optional string team_tag = 10; - optional uint32 score = 5; - optional uint32 net_worth = 9; - repeated .CMsgDOTARealtimeGameStats.PlayerDetails players = 6; - optional bool only_team = 7; - optional uint32 cheers = 8; - optional string team_logo_url = 11; - } - - message ItemDetails { - optional int32 item_ability_id = 1 [default = -1]; - optional string name = 2; - optional int32 time = 3; - optional bool sold = 4; - optional uint32 stackcount = 5; - } - - message AbilityDetails { - optional int32 id = 1 [default = -1]; - optional string name = 2; - optional uint32 level = 3; - optional float cooldown = 4; - optional float cooldown_max = 5; - } - - message HeroToHeroStats { - optional int32 victimid = 1 [default = -1]; - optional uint32 kills = 2; - optional uint32 assists = 3; - } - - message AbilityList { - repeated int32 id = 1; - } - - message PlayerDetails { - optional uint32 accountid = 1; - optional int32 playerid = 2 [default = -1]; - optional string name = 3; - optional uint32 team = 4; - optional int32 heroid = 5; - optional uint32 healthpoints = 6; - optional uint32 maxhealthpoints = 7; - optional float healthregenrate = 8; - optional uint32 manapoints = 9; - optional uint32 maxmanapoints = 10; - optional float manaregenrate = 11; - optional uint32 base_strength = 12; - optional uint32 base_agility = 13; - optional uint32 base_intelligence = 14; - optional int32 base_armor = 15; - optional uint32 base_movespeed = 16; - optional uint32 base_damage = 17; - optional uint32 strength = 18; - optional uint32 agility = 19; - optional uint32 intelligence = 20; - optional int32 armor = 21; - optional uint32 movespeed = 22; - optional uint32 damage = 23; - optional uint32 hero_damage = 24; - optional uint32 tower_damage = 25; - repeated .CMsgDOTARealtimeGameStats.AbilityDetails abilities = 26; - optional uint32 level = 27; - optional uint32 kill_count = 28; - optional uint32 death_count = 29; - optional uint32 assists_count = 30; - optional uint32 denies_count = 31; - optional uint32 lh_count = 32; - optional uint32 hero_healing = 33; - optional uint32 gold_per_min = 34; - optional uint32 xp_per_min = 35; - optional uint32 net_gold = 36; - optional uint32 gold = 37; - optional float x = 38; - optional float y = 39; - optional int32 respawn_time = 40; - optional uint32 ultimate_cooldown = 41; - optional bool has_buyback = 42; - repeated .CMsgDOTARealtimeGameStats.ItemDetails items = 43; - repeated .CMsgDOTARealtimeGameStats.ItemDetails stashitems = 44; - repeated .CMsgDOTARealtimeGameStats.ItemDetails itemshoppinglist = 45; - repeated .CMsgDOTARealtimeGameStats.AbilityList levelpoints = 46; - repeated .CMsgDOTARealtimeGameStats.HeroToHeroStats hero_to_hero_stats = 47; - optional bool has_ultimate = 48; - optional bool has_ultimate_mana = 49; - optional uint32 team_slot = 50; - } - - message BuildingDetails { - optional uint32 team = 2; - optional float heading = 3; - optional uint32 lane = 4; - optional uint32 tier = 5; - optional uint32 type = 6; - optional float x = 7; - optional float y = 8; - optional bool destroyed = 9; - } - - message KillDetails { - optional int32 player_id = 1 [default = -1]; - optional int32 death_time = 2; - optional int32 killer_player_id = 3 [default = -1]; - } - - message BroadcasterDetails { - optional int32 player_id = 1 [default = -1]; - } - - message PickBanDetails { - optional int32 hero = 1; - optional uint32 team = 2; - } - - message MatchDetails { - optional fixed64 server_steam_id = 1; - optional uint64 match_id = 2; - optional uint32 timestamp = 3; - optional float time_of_day = 4; - optional bool is_nightstalker_night = 5; - optional int32 game_time = 6; - optional uint32 game_state = 19; - optional uint32 teamid_radiant = 8; - optional uint32 teamid_dire = 9; - repeated .CMsgDOTARealtimeGameStats.PickBanDetails picks = 10; - repeated .CMsgDOTARealtimeGameStats.PickBanDetails bans = 11; - repeated .CMsgDOTARealtimeGameStats.KillDetails kills = 12; - repeated .CMsgDOTARealtimeGameStats.BroadcasterDetails broadcasters = 13; - optional uint32 game_mode = 14; - optional uint32 league_id = 15; - optional uint32 league_node_id = 18; - optional bool single_team = 16; - optional uint32 cheers_peak = 17; - optional uint32 lobby_type = 20; - optional uint32 start_timestamp = 21; - optional bool is_player_draft = 22; - } - - message GraphData { - message LocationStats { - repeated int32 stats = 1; - } - - message TeamLocationStats { - repeated .CMsgDOTARealtimeGameStats.GraphData.LocationStats loc_stats = 1; - } - - enum eStat { - CreepGoldEarned = 0; - KillGoldEarned = 1; - DeathAndBuybackGoldLost = 2; - XPEarned = 3; - } - - enum eLocation { - BotLane = 0; - MidLane = 1; - TopLane = 2; - Jungle = 3; - Ancients = 4; - Other = 5; - } - - repeated int32 graph_gold = 1; - repeated int32 graph_xp = 2; - repeated int32 graph_kill = 3; - repeated int32 graph_tower = 4; - repeated int32 graph_rax = 5; - repeated .CMsgDOTARealtimeGameStats.GraphData.TeamLocationStats team_loc_stats = 6; - } - - optional .CMsgDOTARealtimeGameStats.MatchDetails match = 1; - repeated .CMsgDOTARealtimeGameStats.TeamDetails teams = 2; - repeated .CMsgDOTARealtimeGameStats.BuildingDetails buildings = 3; - optional .CMsgDOTARealtimeGameStats.GraphData graph_data = 4; - optional bool delta_frame = 5; + message TeamDetails { + optional uint32 team_number = 1; + optional uint32 team_id = 2; + optional string team_name = 3; + optional fixed64 team_logo = 4; + optional string team_tag = 10; + optional uint32 score = 5; + optional uint32 net_worth = 9; + repeated .CMsgDOTARealtimeGameStats.PlayerDetails players = 6; + optional bool only_team = 7; + optional uint32 cheers = 8; + optional string team_logo_url = 11; + } + + message ItemDetails { + optional int32 item_ability_id = 1 [default = -1]; + optional string name = 2; + optional int32 time = 3; + optional bool sold = 4; + optional uint32 stackcount = 5; + } + + message AbilityDetails { + optional int32 id = 1 [default = -1]; + optional string name = 2; + optional uint32 level = 3; + optional float cooldown = 4; + optional float cooldown_max = 5; + } + + message HeroToHeroStats { + optional int32 victimid = 1 [default = -1]; + optional uint32 kills = 2; + optional uint32 assists = 3; + } + + message AbilityList { + repeated int32 id = 1; + } + + message PlayerDetails { + optional uint32 accountid = 1; + optional int32 playerid = 2 [default = -1]; + optional string name = 3; + optional uint32 team = 4; + optional int32 heroid = 5; + optional uint32 healthpoints = 6; + optional uint32 maxhealthpoints = 7; + optional float healthregenrate = 8; + optional uint32 manapoints = 9; + optional uint32 maxmanapoints = 10; + optional float manaregenrate = 11; + optional uint32 base_strength = 12; + optional uint32 base_agility = 13; + optional uint32 base_intelligence = 14; + optional int32 base_armor = 15; + optional uint32 base_movespeed = 16; + optional uint32 base_damage = 17; + optional uint32 strength = 18; + optional uint32 agility = 19; + optional uint32 intelligence = 20; + optional int32 armor = 21; + optional uint32 movespeed = 22; + optional uint32 damage = 23; + optional uint32 hero_damage = 24; + optional uint32 tower_damage = 25; + repeated .CMsgDOTARealtimeGameStats.AbilityDetails abilities = 26; + optional uint32 level = 27; + optional uint32 kill_count = 28; + optional uint32 death_count = 29; + optional uint32 assists_count = 30; + optional uint32 denies_count = 31; + optional uint32 lh_count = 32; + optional uint32 hero_healing = 33; + optional uint32 gold_per_min = 34; + optional uint32 xp_per_min = 35; + optional uint32 net_gold = 36; + optional uint32 gold = 37; + optional float x = 38; + optional float y = 39; + optional int32 respawn_time = 40; + optional uint32 ultimate_cooldown = 41; + optional bool has_buyback = 42; + repeated .CMsgDOTARealtimeGameStats.ItemDetails items = 43; + repeated .CMsgDOTARealtimeGameStats.ItemDetails stashitems = 44; + repeated .CMsgDOTARealtimeGameStats.ItemDetails itemshoppinglist = 45; + repeated .CMsgDOTARealtimeGameStats.AbilityList levelpoints = 46; + repeated .CMsgDOTARealtimeGameStats.HeroToHeroStats hero_to_hero_stats = 47; + optional bool has_ultimate = 48; + optional bool has_ultimate_mana = 49; + optional uint32 team_slot = 50; + } + + message BuildingDetails { + optional uint32 team = 2; + optional float heading = 3; + optional uint32 lane = 4; + optional uint32 tier = 5; + optional uint32 type = 6; + optional float x = 7; + optional float y = 8; + optional bool destroyed = 9; + } + + message KillDetails { + optional int32 player_id = 1 [default = -1]; + optional int32 death_time = 2; + optional int32 killer_player_id = 3 [default = -1]; + } + + message BroadcasterDetails { + optional int32 player_id = 1 [default = -1]; + } + + message PickBanDetails { + optional int32 hero = 1; + optional uint32 team = 2; + } + + message MatchDetails { + optional fixed64 server_steam_id = 1; + optional uint64 match_id = 2; + optional uint32 timestamp = 3; + optional float time_of_day = 4; + optional bool is_nightstalker_night = 5; + optional int32 game_time = 6; + optional uint32 game_state = 19; + optional uint32 teamid_radiant = 8; + optional uint32 teamid_dire = 9; + repeated .CMsgDOTARealtimeGameStats.PickBanDetails picks = 10; + repeated .CMsgDOTARealtimeGameStats.PickBanDetails bans = 11; + repeated .CMsgDOTARealtimeGameStats.KillDetails kills = 12; + repeated .CMsgDOTARealtimeGameStats.BroadcasterDetails broadcasters = 13; + optional uint32 game_mode = 14; + optional uint32 league_id = 15; + optional uint32 league_node_id = 18; + optional bool single_team = 16; + optional uint32 cheers_peak = 17; + optional uint32 lobby_type = 20; + optional uint32 start_timestamp = 21; + optional bool is_player_draft = 22; + } + + message GraphData { + message LocationStats { + repeated int32 stats = 1; + } + + message TeamLocationStats { + repeated .CMsgDOTARealtimeGameStats.GraphData.LocationStats loc_stats = 1; + } + + enum eStat { + CreepGoldEarned = 0; + KillGoldEarned = 1; + DeathAndBuybackGoldLost = 2; + XPEarned = 3; + } + + enum eLocation { + BotLane = 0; + MidLane = 1; + TopLane = 2; + Jungle = 3; + Ancients = 4; + Other = 5; + } + + repeated int32 graph_gold = 1; + repeated int32 graph_xp = 2; + repeated int32 graph_kill = 3; + repeated int32 graph_tower = 4; + repeated int32 graph_rax = 5; + repeated .CMsgDOTARealtimeGameStats.GraphData.TeamLocationStats team_loc_stats = 6; + } + + optional .CMsgDOTARealtimeGameStats.MatchDetails match = 1; + repeated .CMsgDOTARealtimeGameStats.TeamDetails teams = 2; + repeated .CMsgDOTARealtimeGameStats.BuildingDetails buildings = 3; + optional .CMsgDOTARealtimeGameStats.GraphData graph_data = 4; + optional bool delta_frame = 5; } message CMsgDOTARealtimeGameStatsTerse { - message TeamDetails { - optional uint32 team_number = 1; - optional uint32 team_id = 2; - optional string team_name = 3; - optional string team_tag = 8; - optional fixed64 team_logo = 4; - optional uint32 score = 5; - optional uint32 net_worth = 7; - optional string team_logo_url = 9; - repeated .CMsgDOTARealtimeGameStatsTerse.PlayerDetails players = 6; - } - - message PlayerDetails { - optional uint32 accountid = 1; - optional int32 playerid = 2 [default = -1]; - optional string name = 3; - optional uint32 team = 4; - optional int32 heroid = 5; - optional uint32 level = 6; - optional uint32 kill_count = 7; - optional uint32 death_count = 8; - optional uint32 assists_count = 9; - optional uint32 denies_count = 10; - optional uint32 lh_count = 11; - optional uint32 gold = 12; - optional float x = 13; - optional float y = 14; - optional uint32 net_worth = 15; - repeated int32 abilities = 16; - repeated int32 items = 17; - optional uint32 team_slot = 18; - } - - message BuildingDetails { - optional uint32 team = 1; - optional float heading = 2; - optional uint32 type = 3; - optional uint32 lane = 4; - optional uint32 tier = 5; - optional float x = 6; - optional float y = 7; - optional bool destroyed = 8; - } - - message PickBanDetails { - optional int32 hero = 1; - optional uint32 team = 2; - } - - message MatchDetails { - optional fixed64 server_steam_id = 1; - optional uint64 match_id = 2; - optional uint32 timestamp = 3; - optional int32 game_time = 4; - repeated uint32 steam_broadcaster_account_ids = 6; - optional uint32 game_mode = 7; - optional uint32 league_id = 8; - optional uint32 league_node_id = 9; - optional uint32 game_state = 10; - repeated .CMsgDOTARealtimeGameStatsTerse.PickBanDetails picks = 11; - repeated .CMsgDOTARealtimeGameStatsTerse.PickBanDetails bans = 12; - optional uint32 lobby_type = 13; - optional uint32 start_timestamp = 14; - optional bool is_player_draft = 15; - } - - message GraphData { - repeated int32 graph_gold = 1; - } - - optional .CMsgDOTARealtimeGameStatsTerse.MatchDetails match = 1; - repeated .CMsgDOTARealtimeGameStatsTerse.TeamDetails teams = 2; - repeated .CMsgDOTARealtimeGameStatsTerse.BuildingDetails buildings = 3; - optional .CMsgDOTARealtimeGameStatsTerse.GraphData graph_data = 4; - optional bool delta_frame = 5; + message TeamDetails { + optional uint32 team_number = 1; + optional uint32 team_id = 2; + optional string team_name = 3; + optional string team_tag = 8; + optional fixed64 team_logo = 4; + optional uint32 score = 5; + optional uint32 net_worth = 7; + optional string team_logo_url = 9; + repeated .CMsgDOTARealtimeGameStatsTerse.PlayerDetails players = 6; + } + + message PlayerDetails { + optional uint32 accountid = 1; + optional int32 playerid = 2 [default = -1]; + optional string name = 3; + optional uint32 team = 4; + optional int32 heroid = 5; + optional uint32 level = 6; + optional uint32 kill_count = 7; + optional uint32 death_count = 8; + optional uint32 assists_count = 9; + optional uint32 denies_count = 10; + optional uint32 lh_count = 11; + optional uint32 gold = 12; + optional float x = 13; + optional float y = 14; + optional uint32 net_worth = 15; + repeated int32 abilities = 16; + repeated int32 items = 17; + optional uint32 team_slot = 18; + } + + message BuildingDetails { + optional uint32 team = 1; + optional float heading = 2; + optional uint32 type = 3; + optional uint32 lane = 4; + optional uint32 tier = 5; + optional float x = 6; + optional float y = 7; + optional bool destroyed = 8; + } + + message PickBanDetails { + optional int32 hero = 1; + optional uint32 team = 2; + } + + message MatchDetails { + optional fixed64 server_steam_id = 1; + optional uint64 match_id = 2; + optional uint32 timestamp = 3; + optional int32 game_time = 4; + repeated uint32 steam_broadcaster_account_ids = 6; + optional uint32 game_mode = 7; + optional uint32 league_id = 8; + optional uint32 league_node_id = 9; + optional uint32 game_state = 10; + repeated .CMsgDOTARealtimeGameStatsTerse.PickBanDetails picks = 11; + repeated .CMsgDOTARealtimeGameStatsTerse.PickBanDetails bans = 12; + optional uint32 lobby_type = 13; + optional uint32 start_timestamp = 14; + optional bool is_player_draft = 15; + } + + message GraphData { + repeated int32 graph_gold = 1; + } + + optional .CMsgDOTARealtimeGameStatsTerse.MatchDetails match = 1; + repeated .CMsgDOTARealtimeGameStatsTerse.TeamDetails teams = 2; + repeated .CMsgDOTARealtimeGameStatsTerse.BuildingDetails buildings = 3; + optional .CMsgDOTARealtimeGameStatsTerse.GraphData graph_data = 4; + optional bool delta_frame = 5; } message CMsgDOTABroadcastTimelineEvent { - optional .EBroadcastTimelineEvent event = 1 [default = EBroadcastTimelineEvent_MatchStarted]; - optional fixed32 timestamp = 2; - optional uint32 data = 3; - optional string string_data = 4; + optional .EBroadcastTimelineEvent event = 1 [default = EBroadcastTimelineEvent_MatchStarted]; + optional fixed32 timestamp = 2; + optional uint32 data = 3; + optional string string_data = 4; } message CMsgGCToClientMatchGroupsVersion { - optional uint32 matchgroups_version = 1; + optional uint32 matchgroups_version = 1; } message CMsgDOTASDOHeroStatsHistory { - optional uint64 match_id = 1; - optional uint32 game_mode = 2; - optional uint32 lobby_type = 3; - optional uint32 start_time = 4; - optional bool won = 5; - optional uint32 gpm = 6; - optional uint32 xpm = 7; - optional uint32 kills = 8; - optional uint32 deaths = 9; - optional uint32 assists = 10; + optional uint64 match_id = 1; + optional uint32 game_mode = 2; + optional uint32 lobby_type = 3; + optional uint32 start_time = 4; + optional bool won = 5; + optional uint32 gpm = 6; + optional uint32 xpm = 7; + optional uint32 kills = 8; + optional uint32 deaths = 9; + optional uint32 assists = 10; } message CMsgPredictionChoice { - optional uint32 value = 1; - optional string name = 2; - optional uint32 min_raw_value = 3; - optional uint32 max_raw_value = 4; + optional uint32 value = 1; + optional string name = 2; + optional uint32 min_raw_value = 3; + optional uint32 max_raw_value = 4; } message CMsgInGamePrediction { - message QueryKeyValues { - optional string name = 1; - optional string value = 2; - } - - enum ERawValueType_t { - Number = 0; - Time = 1; - } - - enum EPredictionType { - Generic = 0; - Hero = 1; - Team = 2; - Player = 3; - Special = 4; - YesNo = 5; - QualifiersTeam = 6; - } - - enum EResolutionType_t { - InvalidQuery = 0; - FirstToPassQuery = 1; - LastToPassQuery = 2; - LastRemainingQuery = 3; - MaxToPassQuery = 4; - MinToPassQuery = 5; - SumQuery = 6; - MaxTeamSumToPassQuery = 7; - MinTeamSumToPassQuery = 8; - } - - enum ERandomSelectionGroup_t { - EarlyGame = 0; - MidGame = 1; - LateGame = 2; - Count = 3; - } - - optional uint32 id = 1; - optional string name = 2; - optional .CMsgInGamePrediction.EPredictionType type = 3 [default = Generic]; - optional .CMsgInGamePrediction.ERandomSelectionGroup_t group = 4 [default = EarlyGame]; - optional string question = 5; - repeated .CMsgPredictionChoice choices = 6; - repeated string required_heroes = 7; - optional string query_name = 8; - repeated .CMsgInGamePrediction.QueryKeyValues query_values = 9; - optional .CMsgInGamePrediction.EResolutionType_t answer_resolution_type = 10 [default = InvalidQuery]; - optional uint32 points_to_grant = 11; - optional uint32 reward_action = 12; - optional uint32 debug_force_selection = 13; - optional .CMsgInGamePrediction.ERawValueType_t raw_value_type = 14 [default = Number]; + message QueryKeyValues { + optional string name = 1; + optional string value = 2; + } + + enum ERawValueType_t { + Number = 0; + Time = 1; + } + + enum EPredictionType { + Generic = 0; + Hero = 1; + Team = 2; + Player = 3; + Special = 4; + YesNo = 5; + QualifiersTeam = 6; + } + + enum EResolutionType_t { + InvalidQuery = 0; + FirstToPassQuery = 1; + LastToPassQuery = 2; + LastRemainingQuery = 3; + MaxToPassQuery = 4; + MinToPassQuery = 5; + SumQuery = 6; + MaxTeamSumToPassQuery = 7; + MinTeamSumToPassQuery = 8; + } + + enum ERandomSelectionGroup_t { + EarlyGame = 0; + MidGame = 1; + LateGame = 2; + Count = 3; + } + + optional uint32 id = 1; + optional string name = 2; + optional .CMsgInGamePrediction.EPredictionType type = 3 [default = Generic]; + optional .CMsgInGamePrediction.ERandomSelectionGroup_t group = 4 [default = EarlyGame]; + optional string question = 5; + repeated .CMsgPredictionChoice choices = 6; + repeated string required_heroes = 7; + optional string query_name = 8; + repeated .CMsgInGamePrediction.QueryKeyValues query_values = 9; + optional .CMsgInGamePrediction.EResolutionType_t answer_resolution_type = 10 [default = InvalidQuery]; + optional uint32 points_to_grant = 11; + optional uint32 reward_action = 12; + optional uint32 debug_force_selection = 13; + optional .CMsgInGamePrediction.ERawValueType_t raw_value_type = 14 [default = Number]; } message CMsgDOTASeasonPredictions { - message Prediction { - message Answers { - optional uint32 answer_id = 1; - } - - enum EPredictionType { - Generic = 0; - Hero = 1; - Team = 2; - Player = 3; - Special = 4; - YesNo = 5; - QualifiersTeam = 6; - LastChanceTeam = 7; - } - - enum EAnswerType { - SingleInt = 0; - SingleFloat = 1; - MultipleInt = 2; - MultipleFloat = 3; - AnswerTeam = 4; - SingleTime = 5; - MultipleTime = 6; - NoAnswer = 7; - } - - optional .CMsgDOTASeasonPredictions.Prediction.EPredictionType type = 1 [default = Generic]; - optional string question = 2; - repeated .CMsgPredictionChoice choices = 3; - optional uint32 selection_id = 4; - optional uint32 start_date = 5; - optional uint32 lock_date = 6; - optional uint32 reward = 7; - optional .CMsgDOTASeasonPredictions.Prediction.EAnswerType answer_type = 8 [default = SingleInt]; - optional uint32 answer_id = 9; - repeated .CMsgDOTASeasonPredictions.Prediction.Answers answers = 10; - optional string query_name = 11; - optional uint32 lock_on_selection_id = 13; - optional uint32 lock_on_selection_value = 14; - optional bool lock_on_selection_set = 15; - optional bool use_answer_value_ranges = 16; - optional .ELeagueRegion region = 17 [default = LEAGUE_REGION_UNSET]; - repeated .ELeaguePhase phases = 18; - optional .EEvent reward_event = 19 [default = EVENT_ID_NONE]; - optional uint32 league_node_id = 20; - optional string reward_event_action = 21; - } - - repeated .CMsgDOTASeasonPredictions.Prediction predictions = 1; - repeated .CMsgInGamePrediction in_game_predictions = 2; - optional uint32 in_game_prediction_count_per_game = 3; - optional uint32 in_game_prediction_voting_period_minutes = 4; + message Prediction { + message Answers { + optional uint32 answer_id = 1; + } + + enum EPredictionType { + Generic = 0; + Hero = 1; + Team = 2; + Player = 3; + Special = 4; + YesNo = 5; + QualifiersTeam = 6; + LastChanceTeam = 7; + } + + enum EAnswerType { + SingleInt = 0; + SingleFloat = 1; + MultipleInt = 2; + MultipleFloat = 3; + AnswerTeam = 4; + SingleTime = 5; + MultipleTime = 6; + NoAnswer = 7; + } + + optional .CMsgDOTASeasonPredictions.Prediction.EPredictionType type = 1 [default = Generic]; + optional string question = 2; + repeated .CMsgPredictionChoice choices = 3; + optional uint32 selection_id = 4; + optional uint32 start_date = 5; + optional uint32 lock_date = 6; + optional uint32 reward = 7; + optional .CMsgDOTASeasonPredictions.Prediction.EAnswerType answer_type = 8 [default = SingleInt]; + optional uint32 answer_id = 9; + repeated .CMsgDOTASeasonPredictions.Prediction.Answers answers = 10; + optional string query_name = 11; + optional uint32 lock_on_selection_id = 13; + optional uint32 lock_on_selection_value = 14; + optional bool lock_on_selection_set = 15; + optional bool use_answer_value_ranges = 16; + optional .ELeagueRegion region = 17 [default = LEAGUE_REGION_UNSET]; + repeated .ELeaguePhase phases = 18; + optional .EEvent reward_event = 19 [default = EVENT_ID_NONE]; + optional uint32 league_node_id = 20; + optional string reward_event_action = 21; + } + + repeated .CMsgDOTASeasonPredictions.Prediction predictions = 1; + repeated .CMsgInGamePrediction in_game_predictions = 2; + optional uint32 in_game_prediction_count_per_game = 3; + optional uint32 in_game_prediction_voting_period_minutes = 4; } message CMsgAvailablePredictions { - message MatchPrediction { - optional uint64 match_id = 1; - repeated .CMsgInGamePrediction predictions = 2; - } + message MatchPrediction { + optional uint64 match_id = 1; + repeated .CMsgInGamePrediction predictions = 2; + } - repeated .CMsgAvailablePredictions.MatchPrediction match_predictions = 1; + repeated .CMsgAvailablePredictions.MatchPrediction match_predictions = 1; } message CMsgLeagueWatchedGames { - message Series { - optional uint32 node_id = 1; - repeated uint32 game = 2; - } + message Series { + optional uint32 node_id = 1; + repeated uint32 game = 2; + } - message League { - optional uint32 league_id = 1; - repeated .CMsgLeagueWatchedGames.Series series = 2; - } + message League { + optional uint32 league_id = 1; + repeated .CMsgLeagueWatchedGames.Series series = 2; + } - repeated .CMsgLeagueWatchedGames.League leagues = 1; + repeated .CMsgLeagueWatchedGames.League leagues = 1; } message CMsgDOTAMatch { - option (maximum_size_bytes) = 4096; - - message Player { - message CustomGameData { - optional uint32 dota_team = 1; - optional bool winner = 2; - } - - message HeroDamageReceived { - optional uint32 pre_reduction = 1; - optional uint32 post_reduction = 2; - optional .CMsgDOTAMatch.Player.HeroDamageType damage_type = 3 [default = HERO_DAMAGE_PHYSICAL]; - } - - enum HeroDamageType { - HERO_DAMAGE_PHYSICAL = 0; - HERO_DAMAGE_MAGICAL = 1; - HERO_DAMAGE_PURE = 2; - } - - optional uint32 account_id = 1; - optional uint32 player_slot = 2; - optional int32 hero_id = 3; - optional int32 item_0 = 4 [default = -1]; - optional int32 item_1 = 5 [default = -1]; - optional int32 item_2 = 6 [default = -1]; - optional int32 item_3 = 7 [default = -1]; - optional int32 item_4 = 8 [default = -1]; - optional int32 item_5 = 9 [default = -1]; - optional int32 item_6 = 59 [default = -1]; - optional int32 item_7 = 60 [default = -1]; - optional int32 item_8 = 61 [default = -1]; - optional int32 item_9 = 76 [default = -1]; - optional int32 item_10 = 83 [default = -1]; - optional int32 item_10_lvl = 84; - optional float expected_team_contribution = 10; - optional float scaled_metric = 11; - optional uint32 previous_rank = 12; - optional sint32 rank_change = 13; - optional uint32 mmr_type = 74; - optional uint32 kills = 14; - optional uint32 deaths = 15; - optional uint32 assists = 16; - optional uint32 leaver_status = 17; - optional uint32 gold = 18; - optional uint32 last_hits = 19; - optional uint32 denies = 20; - optional uint32 gold_per_min = 21; - optional uint32 xp_per_min = 22; - optional uint32 gold_spent = 23; - optional uint32 hero_damage = 24; - optional uint32 tower_damage = 25; - optional uint32 hero_healing = 26; - optional uint32 level = 27; - optional uint32 time_last_seen = 28; - optional string player_name = 29; - optional uint32 support_ability_value = 30; - optional bool feeding_detected = 32; - optional uint32 search_rank = 34; - optional uint32 search_rank_uncertainty = 35; - optional int32 rank_uncertainty_change = 36; - optional uint32 hero_play_count = 37; - optional fixed64 party_id = 38; - optional uint32 scaled_hero_damage = 54; - optional uint32 scaled_tower_damage = 55; - optional uint32 scaled_hero_healing = 56; - optional float scaled_kills = 39; - optional float scaled_deaths = 40; - optional float scaled_assists = 41; - optional uint32 claimed_farm_gold = 42; - optional uint32 support_gold = 43; - optional uint32 claimed_denies = 44; - optional uint32 claimed_misses = 45; - optional uint32 misses = 46; - repeated .CMatchPlayerAbilityUpgrade ability_upgrades = 47; - repeated .CMatchAdditionalUnitInventory additional_units_inventory = 48; - repeated .CMatchPlayerPermanentBuff permanent_buffs = 57; - optional string pro_name = 72; - optional string real_name = 73; - optional .CMsgDOTAMatch.Player.CustomGameData custom_game_data = 50; - optional bool active_plus_subscription = 51; - optional uint32 net_worth = 52; - optional uint32 bot_difficulty = 58; - optional uint32 hero_pick_order = 63; - optional bool hero_was_randomed = 64; - optional bool hero_was_dota_plus_suggestion = 69; - repeated .CMsgDOTAMatch.Player.HeroDamageReceived hero_damage_received = 67; - repeated .CMsgDOTAMatch.Player.HeroDamageReceived hero_damage_dealt = 79; - optional uint32 seconds_dead = 70; - optional uint32 gold_lost_to_death = 71; - optional uint32 lane_selection_flags = 75; - optional uint32 bounty_runes = 77; - optional uint32 outposts_captured = 78; - optional .DOTA_GC_TEAM team_number = 80 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional uint32 team_slot = 81; - optional uint32 selected_facet = 82; - } - - message BroadcasterInfo { - optional uint32 account_id = 1; - optional string name = 2; - } - - message BroadcasterChannel { - optional string country_code = 1; - optional string description = 2; - repeated .CMsgDOTAMatch.BroadcasterInfo broadcaster_infos = 3; - optional string language_code = 4; - } - - message Coach { - optional uint32 account_id = 1; - optional string coach_name = 2; - optional uint32 coach_rating = 3; - optional uint32 coach_team = 4; - optional uint64 coach_party_id = 5; - optional bool is_private_coach = 6; - } - - message CustomGameData { - optional uint64 custom_game_id = 1; - optional string map_name = 2; - } - - enum ReplayState { - REPLAY_AVAILABLE = 0; - REPLAY_NOT_RECORDED = 1; - REPLAY_EXPIRED = 2; - } - - optional uint32 duration = 3; - optional fixed32 starttime = 4; - repeated .CMsgDOTAMatch.Player players = 5; - optional uint64 match_id = 6; - repeated uint32 tower_status = 8; - repeated uint32 barracks_status = 9; - optional uint32 cluster = 10; - optional uint32 first_blood_time = 12; - optional fixed32 replay_salt = 13; - optional fixed32 server_ip = 14; - optional uint32 server_port = 15; - optional uint32 lobby_type = 16; - optional uint32 human_players = 17; - optional uint32 average_skill = 18; - optional float game_balance = 19; - optional uint32 radiant_team_id = 20; - optional uint32 dire_team_id = 21; - optional uint32 leagueid = 22; - optional string radiant_team_name = 23; - optional string dire_team_name = 24; - optional uint64 radiant_team_logo = 25; - optional uint64 dire_team_logo = 26; - optional string radiant_team_logo_url = 54; - optional string dire_team_logo_url = 55; - optional uint32 radiant_team_complete = 27; - optional uint32 dire_team_complete = 28; - optional .DOTA_GameMode game_mode = 31 [default = DOTA_GAMEMODE_NONE]; - repeated .CMatchHeroSelectEvent picks_bans = 32; - optional uint64 match_seq_num = 33; - optional .CMsgDOTAMatch.ReplayState replay_state = 34 [default = REPLAY_AVAILABLE]; - optional uint32 radiant_guild_id = 35; - optional uint32 dire_guild_id = 36; - optional string radiant_team_tag = 37; - optional string dire_team_tag = 38; - optional uint32 series_id = 39; - optional uint32 series_type = 40; - repeated .CMsgDOTAMatch.BroadcasterChannel broadcaster_channels = 43; - optional uint32 engine = 44; - optional .CMsgDOTAMatch.CustomGameData custom_game_data = 45; - optional uint32 match_flags = 46; - optional fixed32 private_metadata_key = 47; - optional uint32 radiant_team_score = 48; - optional uint32 dire_team_score = 49; - optional .EMatchOutcome match_outcome = 50 [default = k_EMatchOutcome_Unknown]; - optional uint32 tournament_id = 51; - optional uint32 tournament_round = 52; - optional uint32 pre_game_duration = 53; - repeated .CMsgDOTAMatch.Coach coaches = 57; + option (maximum_size_bytes) = 4096; + + message Player { + message CustomGameData { + optional uint32 dota_team = 1; + optional bool winner = 2; + } + + message HeroDamageReceived { + optional uint32 pre_reduction = 1; + optional uint32 post_reduction = 2; + optional .CMsgDOTAMatch.Player.HeroDamageType damage_type = 3 [default = HERO_DAMAGE_PHYSICAL]; + } + + enum HeroDamageType { + HERO_DAMAGE_PHYSICAL = 0; + HERO_DAMAGE_MAGICAL = 1; + HERO_DAMAGE_PURE = 2; + } + + optional uint32 account_id = 1; + optional uint32 player_slot = 2; + optional int32 hero_id = 3; + optional int32 item_0 = 4 [default = -1]; + optional int32 item_1 = 5 [default = -1]; + optional int32 item_2 = 6 [default = -1]; + optional int32 item_3 = 7 [default = -1]; + optional int32 item_4 = 8 [default = -1]; + optional int32 item_5 = 9 [default = -1]; + optional int32 item_6 = 59 [default = -1]; + optional int32 item_7 = 60 [default = -1]; + optional int32 item_8 = 61 [default = -1]; + optional int32 item_9 = 76 [default = -1]; + optional int32 item_10 = 83 [default = -1]; + optional int32 item_10_lvl = 84; + optional float expected_team_contribution = 10; + optional float scaled_metric = 11; + optional uint32 previous_rank = 12; + optional sint32 rank_change = 13; + optional uint32 mmr_type = 74; + optional uint32 kills = 14; + optional uint32 deaths = 15; + optional uint32 assists = 16; + optional uint32 leaver_status = 17; + optional uint32 gold = 18; + optional uint32 last_hits = 19; + optional uint32 denies = 20; + optional uint32 gold_per_min = 21; + optional uint32 xp_per_min = 22; + optional uint32 gold_spent = 23; + optional uint32 hero_damage = 24; + optional uint32 tower_damage = 25; + optional uint32 hero_healing = 26; + optional uint32 disable_duration = 85; + optional uint32 level = 27; + optional uint32 time_last_seen = 28; + optional string player_name = 29; + optional uint32 support_ability_value = 30; + optional bool feeding_detected = 32; + optional uint32 search_rank = 34; + optional uint32 search_rank_uncertainty = 35; + optional int32 rank_uncertainty_change = 36; + optional uint32 hero_play_count = 37; + optional fixed64 party_id = 38; + optional uint32 scaled_hero_damage = 54; + optional uint32 scaled_tower_damage = 55; + optional uint32 scaled_hero_healing = 56; + optional float scaled_kills = 39; + optional float scaled_deaths = 40; + optional float scaled_assists = 41; + optional uint32 claimed_farm_gold = 42; + optional uint32 support_gold = 43; + optional uint32 claimed_denies = 44; + optional uint32 claimed_misses = 45; + optional uint32 misses = 46; + repeated .CMatchPlayerAbilityUpgrade ability_upgrades = 47; + repeated .CMatchAdditionalUnitInventory additional_units_inventory = 48; + repeated .CMatchPlayerPermanentBuff permanent_buffs = 57; + optional string pro_name = 72; + optional string real_name = 73; + optional .CMsgDOTAMatch.Player.CustomGameData custom_game_data = 50; + optional bool active_plus_subscription = 51; + optional uint32 net_worth = 52; + optional uint32 bot_difficulty = 58; + optional uint32 hero_pick_order = 63; + optional bool hero_was_randomed = 64; + optional bool hero_was_dota_plus_suggestion = 69; + repeated .CMsgDOTAMatch.Player.HeroDamageReceived hero_damage_received = 67; + repeated .CMsgDOTAMatch.Player.HeroDamageReceived hero_damage_dealt = 79; + optional uint32 seconds_dead = 70; + optional uint32 gold_lost_to_death = 71; + optional uint32 lane_selection_flags = 75; + optional uint32 bounty_runes = 77; + optional uint32 outposts_captured = 78; + optional .DOTA_GC_TEAM team_number = 80 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional uint32 team_slot = 81; + optional uint32 selected_facet = 82; + } + + message BroadcasterInfo { + optional uint32 account_id = 1; + optional string name = 2; + } + + message BroadcasterChannel { + optional string country_code = 1; + optional string description = 2; + repeated .CMsgDOTAMatch.BroadcasterInfo broadcaster_infos = 3; + optional string language_code = 4; + } + + message Coach { + optional uint32 account_id = 1; + optional string coach_name = 2; + optional uint32 coach_rating = 3; + optional uint32 coach_team = 4; + optional uint64 coach_party_id = 5; + optional bool is_private_coach = 6; + } + + message CustomGameData { + optional uint64 custom_game_id = 1; + optional string map_name = 2; + } + + enum ReplayState { + REPLAY_AVAILABLE = 0; + REPLAY_NOT_RECORDED = 1; + REPLAY_EXPIRED = 2; + } + + optional uint32 duration = 3; + optional fixed32 starttime = 4; + repeated .CMsgDOTAMatch.Player players = 5; + optional uint64 match_id = 6; + repeated uint32 tower_status = 8; + repeated uint32 barracks_status = 9; + optional uint32 cluster = 10; + optional uint32 first_blood_time = 12; + optional fixed32 replay_salt = 13; + optional fixed32 server_ip = 14; + optional uint32 server_port = 15; + optional uint32 lobby_type = 16; + optional uint32 human_players = 17; + optional uint32 average_skill = 18; + optional float game_balance = 19; + optional uint32 radiant_team_id = 20; + optional uint32 dire_team_id = 21; + optional uint32 leagueid = 22; + optional string radiant_team_name = 23; + optional string dire_team_name = 24; + optional uint64 radiant_team_logo = 25; + optional uint64 dire_team_logo = 26; + optional string radiant_team_logo_url = 54; + optional string dire_team_logo_url = 55; + optional uint32 radiant_team_complete = 27; + optional uint32 dire_team_complete = 28; + optional .DOTA_GameMode game_mode = 31 [default = DOTA_GAMEMODE_NONE]; + repeated .CMatchHeroSelectEvent picks_bans = 32; + optional uint64 match_seq_num = 33; + optional .CMsgDOTAMatch.ReplayState replay_state = 34 [default = REPLAY_AVAILABLE]; + optional uint32 radiant_guild_id = 35; + optional uint32 dire_guild_id = 36; + optional string radiant_team_tag = 37; + optional string dire_team_tag = 38; + optional uint32 series_id = 39; + optional uint32 series_type = 40; + repeated .CMsgDOTAMatch.BroadcasterChannel broadcaster_channels = 43; + optional uint32 engine = 44; + optional .CMsgDOTAMatch.CustomGameData custom_game_data = 45; + optional uint32 match_flags = 46; + optional fixed32 private_metadata_key = 47; + optional uint32 radiant_team_score = 48; + optional uint32 dire_team_score = 49; + optional .EMatchOutcome match_outcome = 50 [default = k_EMatchOutcome_Unknown]; + optional uint32 tournament_id = 51; + optional uint32 tournament_round = 52; + optional uint32 pre_game_duration = 53; + repeated .CMsgDOTAMatch.Coach coaches = 57; } message CMsgPlayerCard { - message StatModifier { - optional uint32 stat = 1; - optional uint32 value = 2; - } + message StatModifier { + optional uint32 stat = 1; + optional uint32 value = 2; + } - optional uint32 account_id = 1; - repeated .CMsgPlayerCard.StatModifier stat_modifier = 2; + optional uint32 account_id = 1; + repeated .CMsgPlayerCard.StatModifier stat_modifier = 2; } message CMsgDOTAFantasyPlayerStats { - optional uint32 player_account_id = 1; - optional uint64 match_id = 2; - optional bool match_completed = 3; - optional uint32 team_id = 4; - optional uint32 league_id = 5; - optional uint32 delay = 6; - optional uint32 series_id = 7; - optional uint32 series_type = 8; - optional uint32 kills = 10; - optional uint32 deaths = 11; - optional uint32 cs = 12; - optional float gpm = 13; - optional uint32 tower_kills = 14; - optional uint32 roshan_kills = 15; - optional float teamfight_participation = 16; - optional uint32 wards_placed = 17; - optional uint32 camps_stacked = 18; - optional uint32 runes_grabbed = 19; - optional uint32 first_blood = 20; - optional float stuns = 21; - optional uint32 smokes = 22; - optional uint32 watchers = 24; - optional uint32 lotuses = 25; - optional uint32 tormentors = 26; - optional uint32 courier_kills = 27; - optional fixed64 title_stats = 28; - optional uint32 madstone = 29; + optional uint32 player_account_id = 1; + optional uint64 match_id = 2; + optional bool match_completed = 3; + optional uint32 team_id = 4; + optional uint32 league_id = 5; + optional uint32 delay = 6; + optional uint32 series_id = 7; + optional uint32 series_type = 8; + optional uint32 kills = 10; + optional uint32 deaths = 11; + optional uint32 cs = 12; + optional float gpm = 13; + optional uint32 tower_kills = 14; + optional uint32 roshan_kills = 15; + optional float teamfight_participation = 16; + optional uint32 wards_placed = 17; + optional uint32 camps_stacked = 18; + optional uint32 runes_grabbed = 19; + optional uint32 first_blood = 20; + optional float stuns = 21; + optional uint32 smokes = 22; + optional uint32 watchers = 24; + optional uint32 lotuses = 25; + optional uint32 tormentors = 26; + optional uint32 courier_kills = 27; + optional fixed64 title_stats = 28; + optional uint32 madstone = 29; } message CMsgDOTAFantasyPlayerMatchStats { - repeated .CMsgDOTAFantasyPlayerStats matches = 1; + repeated .CMsgDOTAFantasyPlayerStats matches = 1; } message CMsgDOTABotDebugInfo { - message Bot { - message Mode { - optional uint32 mode_id = 1; - optional float desire = 2; - optional int32 target_entity = 3 [default = -1]; - optional uint32 target_x = 4; - optional uint32 target_y = 5; - optional uint32 target_z = 6; - } - - message Action { - optional uint32 action_id = 1; - optional string action_target = 2; - } - - optional int32 player_owner_id = 1 [default = -1]; - optional int32 hero_id = 2; - optional uint32 difficulty = 3; - optional uint32 power_current = 4; - optional uint32 power_max = 5; - optional uint32 move_target_x = 6; - optional uint32 move_target_y = 7; - optional uint32 move_target_z = 8; - optional uint32 active_mode_id = 9; - optional float execution_time = 10; - repeated .CMsgDOTABotDebugInfo.Bot.Mode modes = 11; - optional .CMsgDOTABotDebugInfo.Bot.Action action = 12; - } - - repeated .CMsgDOTABotDebugInfo.Bot bots = 1; - optional float desire_push_lane_top = 2; - optional float desire_push_lane_mid = 3; - optional float desire_push_lane_bot = 4; - optional float desire_defend_lane_top = 5; - optional float desire_defend_lane_mid = 6; - optional float desire_defend_lane_bot = 7; - optional float desire_farm_lane_top = 8; - optional float desire_farm_lane_mid = 9; - optional float desire_farm_lane_bot = 10; - optional float desire_farm_roshan = 11; - optional float execution_time = 12; - repeated uint32 rune_status = 13; + message Bot { + message Mode { + optional uint32 mode_id = 1; + optional float desire = 2; + optional int32 target_entity = 3 [default = -1]; + optional uint32 target_x = 4; + optional uint32 target_y = 5; + optional uint32 target_z = 6; + } + + message Action { + optional uint32 action_id = 1; + optional string action_target = 2; + } + + optional int32 player_owner_id = 1 [default = -1]; + optional int32 hero_id = 2; + optional uint32 difficulty = 3; + optional uint32 power_current = 4; + optional uint32 power_max = 5; + optional uint32 move_target_x = 6; + optional uint32 move_target_y = 7; + optional uint32 move_target_z = 8; + optional uint32 active_mode_id = 9; + optional float execution_time = 10; + repeated .CMsgDOTABotDebugInfo.Bot.Mode modes = 11; + optional .CMsgDOTABotDebugInfo.Bot.Action action = 12; + } + + repeated .CMsgDOTABotDebugInfo.Bot bots = 1; + optional float desire_push_lane_top = 2; + optional float desire_push_lane_mid = 3; + optional float desire_push_lane_bot = 4; + optional float desire_defend_lane_top = 5; + optional float desire_defend_lane_mid = 6; + optional float desire_defend_lane_bot = 7; + optional float desire_farm_lane_top = 8; + optional float desire_farm_lane_mid = 9; + optional float desire_farm_lane_bot = 10; + optional float desire_farm_roshan = 11; + optional float execution_time = 12; + repeated uint32 rune_status = 13; } message CMsgSuccessfulHero { - optional int32 hero_id = 1; - optional float win_percent = 2; - optional uint32 longest_streak = 3; + optional int32 hero_id = 1; + optional float win_percent = 2; + optional uint32 longest_streak = 3; } message CMsgRecentMatchInfo { - optional uint64 match_id = 1; - optional .DOTA_GameMode game_mode = 2 [default = DOTA_GAMEMODE_NONE]; - optional uint32 kills = 3; - optional uint32 deaths = 4; - optional uint32 assists = 5; - optional uint32 duration = 6; - optional uint32 player_slot = 7; - optional .EMatchOutcome match_outcome = 8 [default = k_EMatchOutcome_Unknown]; - optional uint32 timestamp = 9; - optional uint32 lobby_type = 10; - optional uint32 team_number = 11; + optional uint64 match_id = 1; + optional .DOTA_GameMode game_mode = 2 [default = DOTA_GAMEMODE_NONE]; + optional uint32 kills = 3; + optional uint32 deaths = 4; + optional uint32 assists = 5; + optional uint32 duration = 6; + optional uint32 player_slot = 7; + optional .EMatchOutcome match_outcome = 8 [default = k_EMatchOutcome_Unknown]; + optional uint32 timestamp = 9; + optional uint32 lobby_type = 10; + optional uint32 team_number = 11; } message CMsgMatchTips { - message SingleTip { - optional uint32 source_account_id = 1; - optional uint32 target_account_id = 2; - optional uint32 tip_amount = 3; - optional .EEvent event_id = 4 [default = EVENT_ID_NONE]; - } + message SingleTip { + optional uint32 source_account_id = 1; + optional uint32 target_account_id = 2; + optional uint32 tip_amount = 3; + optional .EEvent event_id = 4 [default = EVENT_ID_NONE]; + } - repeated .CMsgMatchTips.SingleTip tips = 2; + repeated .CMsgMatchTips.SingleTip tips = 2; } message CMsgDOTAMatchMinimal { - message Player { - optional uint32 account_id = 1; - optional int32 hero_id = 2; - optional uint32 kills = 3; - optional uint32 deaths = 4; - optional uint32 assists = 5; - repeated int32 items = 6; - optional uint32 player_slot = 7; - optional string pro_name = 8; - optional uint32 level = 9; - optional .DOTA_GC_TEAM team_number = 10 [default = DOTA_GC_TEAM_GOOD_GUYS]; - } - - message Tourney { - optional uint32 league_id = 1; - optional uint32 series_type = 8; - optional uint32 series_game = 9; - optional uint32 weekend_tourney_tournament_id = 10; - optional uint32 weekend_tourney_season_trophy_id = 11; - optional uint32 weekend_tourney_division = 12; - optional uint32 weekend_tourney_skill_level = 13; - optional uint32 radiant_team_id = 2; - optional string radiant_team_name = 3; - optional fixed64 radiant_team_logo = 4; - optional string radiant_team_logo_url = 14; - optional uint32 dire_team_id = 5; - optional string dire_team_name = 6; - optional fixed64 dire_team_logo = 7; - optional string dire_team_logo_url = 15; - } - - optional uint64 match_id = 1; - optional fixed32 start_time = 2; - optional uint32 duration = 3; - optional .DOTA_GameMode game_mode = 4 [default = DOTA_GAMEMODE_NONE]; - repeated .CMsgDOTAMatchMinimal.Player players = 6; - optional .CMsgDOTAMatchMinimal.Tourney tourney = 7; - optional .EMatchOutcome match_outcome = 8 [default = k_EMatchOutcome_Unknown]; - optional uint32 radiant_score = 9; - optional uint32 dire_score = 10; - optional uint32 lobby_type = 11; - optional bool is_player_draft = 12; + message Player { + optional uint32 account_id = 1; + optional int32 hero_id = 2; + optional uint32 kills = 3; + optional uint32 deaths = 4; + optional uint32 assists = 5; + repeated int32 items = 6; + optional uint32 player_slot = 7; + optional string pro_name = 8; + optional uint32 level = 9; + optional .DOTA_GC_TEAM team_number = 10 [default = DOTA_GC_TEAM_GOOD_GUYS]; + } + + message Tourney { + optional uint32 league_id = 1; + optional uint32 series_type = 8; + optional uint32 series_game = 9; + optional uint32 weekend_tourney_tournament_id = 10; + optional uint32 weekend_tourney_season_trophy_id = 11; + optional uint32 weekend_tourney_division = 12; + optional uint32 weekend_tourney_skill_level = 13; + optional uint32 radiant_team_id = 2; + optional string radiant_team_name = 3; + optional fixed64 radiant_team_logo = 4; + optional string radiant_team_logo_url = 14; + optional uint32 dire_team_id = 5; + optional string dire_team_name = 6; + optional fixed64 dire_team_logo = 7; + optional string dire_team_logo_url = 15; + } + + optional uint64 match_id = 1; + optional fixed32 start_time = 2; + optional uint32 duration = 3; + optional .DOTA_GameMode game_mode = 4 [default = DOTA_GAMEMODE_NONE]; + repeated .CMsgDOTAMatchMinimal.Player players = 6; + optional .CMsgDOTAMatchMinimal.Tourney tourney = 7; + optional .EMatchOutcome match_outcome = 8 [default = k_EMatchOutcome_Unknown]; + optional uint32 radiant_score = 9; + optional uint32 dire_score = 10; + optional uint32 lobby_type = 11; + optional bool is_player_draft = 12; } message CMsgConsumableUsage { - optional uint32 item_def = 1; - optional int32 quantity_change = 2; + optional uint32 item_def = 1; + optional int32 quantity_change = 2; } message CMsgMatchConsumableUsage { - message PlayerUsage { - optional uint32 account_id = 1; - repeated .CMsgConsumableUsage consumables_used = 2; - } + message PlayerUsage { + optional uint32 account_id = 1; + repeated .CMsgConsumableUsage consumables_used = 2; + } - repeated .CMsgMatchConsumableUsage.PlayerUsage player_consumables_used = 1; + repeated .CMsgMatchConsumableUsage.PlayerUsage player_consumables_used = 1; } message CMsgMatchEventActionGrants { - message PlayerGrants { - optional uint32 account_id = 1; - repeated .CMsgPendingEventAward actions_granted = 3; - } + message PlayerGrants { + optional uint32 account_id = 1; + repeated .CMsgPendingEventAward actions_granted = 3; + } - repeated .CMsgMatchEventActionGrants.PlayerGrants player_grants = 1; + repeated .CMsgMatchEventActionGrants.PlayerGrants player_grants = 1; } message CMsgCustomGameWhitelist { - optional uint32 version = 1; - repeated uint64 custom_games_whitelist = 2; - optional bool disable_whitelist = 3; + optional uint32 version = 1; + repeated uint64 custom_games_whitelist = 2; + optional bool disable_whitelist = 3; } message CMsgCustomGameWhitelistForEdit { - message WhitelistEntry { - optional uint64 custom_game_id = 1; - optional .ECustomGameWhitelistState whitelist_state = 2 [default = CUSTOM_GAME_WHITELIST_STATE_UNKNOWN]; - } + message WhitelistEntry { + optional uint64 custom_game_id = 1; + optional .ECustomGameWhitelistState whitelist_state = 2 [default = CUSTOM_GAME_WHITELIST_STATE_UNKNOWN]; + } - repeated .CMsgCustomGameWhitelistForEdit.WhitelistEntry whitelist_entries = 1; + repeated .CMsgCustomGameWhitelistForEdit.WhitelistEntry whitelist_entries = 1; } message CMsgPlayerRecentMatchInfo { - optional uint64 match_id = 1; - optional uint32 timestamp = 2; - optional uint32 duration = 3; - optional bool win = 4; - optional int32 hero_id = 5; - optional uint32 kills = 6; - optional uint32 deaths = 7; - optional uint32 assists = 8; + optional uint64 match_id = 1; + optional uint32 timestamp = 2; + optional uint32 duration = 3; + optional bool win = 4; + optional int32 hero_id = 5; + optional uint32 kills = 6; + optional uint32 deaths = 7; + optional uint32 assists = 8; } message CMsgPlayerMatchRecord { - optional uint32 wins = 1; - optional uint32 losses = 2; + optional uint32 wins = 1; + optional uint32 losses = 2; } message CMsgPlayerRecentMatchOutcomes { - optional uint32 outcomes = 1; - optional uint32 match_count = 2; + optional uint32 outcomes = 1; + optional uint32 match_count = 2; } message CMsgPlayerRecentCommends { - optional uint32 commends = 1; - optional uint32 match_count = 2; + optional uint32 commends = 1; + optional uint32 match_count = 2; } message CMsgPlayerRecentAccomplishments { - optional .CMsgPlayerRecentMatchOutcomes recent_outcomes = 1; - optional .CMsgPlayerMatchRecord total_record = 2; - optional uint32 prediction_streak = 3; - optional uint32 plus_prediction_streak = 4; - optional .CMsgPlayerRecentCommends recent_commends = 5; - optional uint32 first_match_timestamp = 6; - optional .CMsgPlayerRecentMatchInfo last_match = 7; - optional .CMsgPlayerRecentMatchOutcomes recent_mvps = 8; + optional .CMsgPlayerRecentMatchOutcomes recent_outcomes = 1; + optional .CMsgPlayerMatchRecord total_record = 2; + optional uint32 prediction_streak = 3; + optional uint32 plus_prediction_streak = 4; + optional .CMsgPlayerRecentCommends recent_commends = 5; + optional uint32 first_match_timestamp = 6; + optional .CMsgPlayerRecentMatchInfo last_match = 7; + optional .CMsgPlayerRecentMatchOutcomes recent_mvps = 8; } message CMsgPlayerHeroRecentAccomplishments { - optional .CMsgPlayerRecentMatchOutcomes recent_outcomes = 1; - optional .CMsgPlayerMatchRecord total_record = 2; - optional .CMsgPlayerRecentMatchInfo last_match = 3; + optional .CMsgPlayerRecentMatchOutcomes recent_outcomes = 1; + optional .CMsgPlayerMatchRecord total_record = 2; + optional .CMsgPlayerRecentMatchInfo last_match = 3; } message CMsgRecentAccomplishments { - optional .CMsgPlayerRecentAccomplishments player_accomplishments = 1; - optional .CMsgPlayerHeroRecentAccomplishments hero_accomplishments = 2; + optional .CMsgPlayerRecentAccomplishments player_accomplishments = 1; + optional .CMsgPlayerHeroRecentAccomplishments hero_accomplishments = 2; } message CMsgServerToGCRequestPlayerRecentAccomplishments { - optional uint32 account_id = 1; - optional int32 hero_id = 2; + optional uint32 account_id = 1; + optional int32 hero_id = 2; } message CMsgServerToGCRequestPlayerRecentAccomplishmentsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + } - optional .CMsgServerToGCRequestPlayerRecentAccomplishmentsResponse.EResponse result = 1 [default = k_eInternalError]; - optional .CMsgRecentAccomplishments player_accomplishments = 2; + optional .CMsgServerToGCRequestPlayerRecentAccomplishmentsResponse.EResponse result = 1 [default = k_eInternalError]; + optional .CMsgRecentAccomplishments player_accomplishments = 2; } message CMsgArcanaVoteMatchVotes { - optional uint32 match_id = 1; - optional int32 hero_id = 2; - optional uint32 vote_count = 3; + optional uint32 match_id = 1; + optional int32 hero_id = 2; + optional uint32 vote_count = 3; } message CMsgGCtoGCAssociatedExploiterAccountInfo { - optional uint32 account_id = 1; - optional uint32 num_matches_to_search = 2; - optional uint32 min_shared_match_count = 3; - optional uint32 num_additional_players = 4; + optional uint32 account_id = 1; + optional uint32 num_matches_to_search = 2; + optional uint32 min_shared_match_count = 3; + optional uint32 num_additional_players = 4; } message CMsgGCtoGCAssociatedExploiterAccountInfoResponse { - message Account { - optional uint32 account_id = 1; - optional uint32 num_common_matches = 2; - optional uint32 earliest_common_match = 3; - optional uint32 latest_common_match = 4; - optional uint32 generation = 5; - optional string persona = 6; - optional bool already_banned = 7; - } + message Account { + optional uint32 account_id = 1; + optional uint32 num_common_matches = 2; + optional uint32 earliest_common_match = 3; + optional uint32 latest_common_match = 4; + optional uint32 generation = 5; + optional string persona = 6; + optional bool already_banned = 7; + } - repeated .CMsgGCtoGCAssociatedExploiterAccountInfoResponse.Account accounts = 1; + repeated .CMsgGCtoGCAssociatedExploiterAccountInfoResponse.Account accounts = 1; } message CMsgPullTabsData { - message Slot { - optional uint32 event_id = 1; - optional uint32 board_id = 2; - optional int32 hero_id = 3; - optional uint32 action_id = 4; - optional bool redeemed = 5; - } + message Slot { + optional uint32 event_id = 1; + optional uint32 board_id = 2; + optional int32 hero_id = 3; + optional uint32 action_id = 4; + optional bool redeemed = 5; + } - message Jackpot { - optional uint32 board_id = 1; - optional uint32 action_id = 2; - optional int32 hero_id = 3; - } + message Jackpot { + optional uint32 board_id = 1; + optional uint32 action_id = 2; + optional int32 hero_id = 3; + } - repeated .CMsgPullTabsData.Slot slots = 1; - repeated .CMsgPullTabsData.Jackpot jackpots = 2; - optional uint32 last_board = 3; + repeated .CMsgPullTabsData.Slot slots = 1; + repeated .CMsgPullTabsData.Jackpot jackpots = 2; + optional uint32 last_board = 3; } message CMsgUnderDraftData { - message BenchSlot { - optional uint32 slot_id = 1; - optional int32 hero_id = 2; - optional uint32 stars = 3; - } + message BenchSlot { + optional uint32 slot_id = 1; + optional int32 hero_id = 2; + optional uint32 stars = 3; + } - message ShopSlot { - optional uint32 slot_id = 1; - optional int32 hero_id = 2; - optional bool is_special_reward = 3; - } + message ShopSlot { + optional uint32 slot_id = 1; + optional int32 hero_id = 2; + optional bool is_special_reward = 3; + } - repeated .CMsgUnderDraftData.BenchSlot bench_slots = 1; - repeated .CMsgUnderDraftData.ShopSlot shop_slots = 2; - optional uint32 gold = 3; - optional uint32 total_gold = 4; - optional bool not_restorable = 5; + repeated .CMsgUnderDraftData.BenchSlot bench_slots = 1; + repeated .CMsgUnderDraftData.ShopSlot shop_slots = 2; + optional uint32 gold = 3; + optional uint32 total_gold = 4; + optional bool not_restorable = 5; } message CMsgPlayerTitleData { - repeated uint32 title = 1; - repeated uint32 event_id = 2; - optional uint32 active = 3; + repeated uint32 title = 1; + repeated uint32 event_id = 2; + optional uint32 active = 3; } message CMsgDOTATriviaQuestion { - optional uint32 question_id = 1; - optional .EDOTATriviaQuestionCategory category = 2 [default = k_EDOTATriviaQuestionCategory_AbilityIcon]; - optional uint32 timestamp = 3; - optional string question_value = 4; - repeated string answer_values = 5; - optional uint32 correct_answer_index = 6; + optional uint32 question_id = 1; + optional .EDOTATriviaQuestionCategory category = 2 [default = k_EDOTATriviaQuestionCategory_AbilityIcon]; + optional uint32 timestamp = 3; + optional string question_value = 4; + repeated string answer_values = 5; + optional uint32 correct_answer_index = 6; } message CMsgDOTATriviaQuestionAnswersSummary { - optional bool summary_available = 1; - repeated uint32 picked_count = 2; + optional bool summary_available = 1; + repeated uint32 picked_count = 2; } message CMsgGameDataSpecialValueBonus { - optional string name = 1; - optional float value = 2; - optional uint32 operation = 3; + optional string name = 1; + optional float value = 2; + optional uint32 operation = 3; } message CMsgGameDataSpecialValues { - optional string name = 1; - repeated float values_float = 2; - optional bool is_percentage = 4; - optional string heading_loc = 5; - repeated .CMsgGameDataSpecialValueBonus bonuses = 6; - repeated float values_shard = 7; - repeated float values_scepter = 8; - optional .CMsgGameDataFacetAbilityBonus facet_bonus = 9; - optional string required_facet = 10; + optional string name = 1; + repeated float values_float = 2; + optional bool is_percentage = 4; + optional string heading_loc = 5; + repeated .CMsgGameDataSpecialValueBonus bonuses = 6; + repeated float values_shard = 7; + repeated float values_scepter = 8; + optional .CMsgGameDataFacetAbilityBonus facet_bonus = 9; + optional string required_facet = 10; } message CMsgGameDataFacetAbilityBonus { - optional string name = 1; - repeated float values = 2; - optional uint32 operation = 3; + optional string name = 1; + repeated float values = 2; + optional uint32 operation = 3; } message CMsgGameDataAbilityOrItem { - optional int32 id = 1 [default = -1]; - optional string name = 2; - optional string name_loc = 5; - optional string desc_loc = 6; - optional string lore_loc = 7; - repeated string notes_loc = 8; - optional string shard_loc = 9; - optional string scepter_loc = 10; - repeated string facets_loc = 11; - optional uint32 type = 20; - optional uint64 behavior = 21; - optional uint32 target_team = 22; - optional uint32 target_type = 23; - optional uint32 flags = 24; - optional uint32 damage = 25; - optional uint32 immunity = 26; - optional uint32 dispellable = 27; - optional uint32 max_level = 28; - repeated uint32 cast_ranges = 30; - repeated float cast_points = 31; - repeated float channel_times = 32; - repeated float cooldowns = 33; - repeated float durations = 34; - repeated uint32 damages = 35; - repeated uint32 mana_costs = 36; - repeated uint32 gold_costs = 37; - repeated uint32 health_costs = 38; - repeated .CMsgGameDataSpecialValues special_values = 40; - optional bool is_item = 50; - optional bool ability_has_scepter = 60; - optional bool ability_has_shard = 61; - optional bool ability_is_granted_by_scepter = 62; - optional bool ability_is_granted_by_shard = 63; - optional bool ability_is_innate = 64; - optional uint32 item_cost = 70; - optional uint32 item_initial_charges = 71; - optional uint32 item_neutral_tier = 72; - optional uint32 item_stock_max = 73; - optional float item_stock_time = 74; - optional uint32 item_quality = 85; + optional int32 id = 1 [default = -1]; + optional string name = 2; + optional string name_loc = 5; + optional string desc_loc = 6; + optional string lore_loc = 7; + repeated string notes_loc = 8; + optional string shard_loc = 9; + optional string scepter_loc = 10; + repeated string facets_loc = 11; + optional uint32 type = 20; + optional uint64 behavior = 21; + optional uint32 target_team = 22; + optional uint32 target_type = 23; + optional uint32 flags = 24; + optional uint32 damage = 25; + optional uint32 immunity = 26; + optional uint32 dispellable = 27; + optional uint32 max_level = 28; + repeated uint32 cast_ranges = 30; + repeated float cast_points = 31; + repeated float channel_times = 32; + repeated float cooldowns = 33; + repeated float durations = 34; + repeated uint32 damages = 35; + repeated uint32 mana_costs = 36; + repeated uint32 gold_costs = 37; + repeated uint32 health_costs = 38; + repeated .CMsgGameDataSpecialValues special_values = 40; + optional bool is_item = 50; + optional bool ability_has_scepter = 60; + optional bool ability_has_shard = 61; + optional bool ability_is_granted_by_scepter = 62; + optional bool ability_is_granted_by_shard = 63; + optional bool ability_is_innate = 64; + optional uint32 item_cost = 70; + optional uint32 item_initial_charges = 71; + optional uint32 item_neutral_tier = 72; + optional uint32 item_stock_max = 73; + optional float item_stock_time = 74; + optional uint32 item_quality = 85; } message CMsgGameDataAbilityOrItemList { - repeated .CMsgGameDataAbilityOrItem abilities = 1; + repeated .CMsgGameDataAbilityOrItem abilities = 1; } message CMsgGameDataHero { - message Facet { - optional uint32 color = 1; - optional string title_loc = 2; - optional string description_loc = 3; - optional string name = 4; - optional string icon = 5; - optional int32 gradient_id = 6; - optional uint32 index = 7; - } - - optional int32 id = 1; - optional string name = 2; - optional uint32 order_id = 3; - optional string name_loc = 5; - optional string bio_loc = 6; - optional string hype_loc = 7; - optional string npe_desc_loc = 8; - repeated .CMsgGameDataHero.Facet facets = 43; - optional uint32 str_base = 10; - optional float str_gain = 11; - optional uint32 agi_base = 12; - optional float agi_gain = 13; - optional uint32 int_base = 14; - optional float int_gain = 15; - optional uint32 primary_attr = 20; - optional uint32 complexity = 21; - optional uint32 attack_capability = 22; - repeated uint32 role_levels = 23; - optional int32 damage_min = 24; - optional int32 damage_max = 25; - optional float attack_rate = 26; - optional uint32 attack_range = 27; - optional uint32 projectile_speed = 28; - optional float armor = 29; - optional uint32 magic_resistance = 30; - optional uint32 movement_speed = 31; - optional float turn_rate = 32; - optional uint32 sight_range_day = 33; - optional uint32 sight_range_night = 34; - optional uint32 max_health = 35; - optional float health_regen = 36; - optional uint32 max_mana = 37; - optional float mana_regen = 38; - repeated .CMsgGameDataAbilityOrItem abilities = 40; - repeated .CMsgGameDataAbilityOrItem talents = 41; - repeated .CMsgGameDataAbilityOrItemList facet_abilities = 42; + message Facet { + optional uint32 color = 1; + optional string title_loc = 2; + optional string description_loc = 3; + optional string name = 4; + optional string icon = 5; + optional int32 gradient_id = 6; + optional uint32 index = 7; + } + + optional int32 id = 1; + optional string name = 2; + optional uint32 order_id = 3; + optional string name_loc = 5; + optional string bio_loc = 6; + optional string hype_loc = 7; + optional string npe_desc_loc = 8; + repeated .CMsgGameDataHero.Facet facets = 43; + optional uint32 str_base = 10; + optional float str_gain = 11; + optional uint32 agi_base = 12; + optional float agi_gain = 13; + optional uint32 int_base = 14; + optional float int_gain = 15; + optional uint32 primary_attr = 20; + optional uint32 complexity = 21; + optional uint32 attack_capability = 22; + repeated uint32 role_levels = 23; + optional int32 damage_min = 24; + optional int32 damage_max = 25; + optional float attack_rate = 26; + optional uint32 attack_range = 27; + optional uint32 projectile_speed = 28; + optional float armor = 29; + optional uint32 magic_resistance = 30; + optional uint32 movement_speed = 31; + optional float turn_rate = 32; + optional uint32 sight_range_day = 33; + optional uint32 sight_range_night = 34; + optional uint32 max_health = 35; + optional float health_regen = 36; + optional uint32 max_mana = 37; + optional float mana_regen = 38; + repeated .CMsgGameDataAbilityOrItem abilities = 40; + repeated .CMsgGameDataAbilityOrItem talents = 41; + repeated .CMsgGameDataAbilityOrItemList facet_abilities = 42; } message CMsgGameDataAbilities { - repeated .CMsgGameDataAbilityOrItem abilities = 1; + repeated .CMsgGameDataAbilityOrItem abilities = 1; } message CMsgGameDataItems { - repeated .CMsgGameDataAbilityOrItem items = 1; + repeated .CMsgGameDataAbilityOrItem items = 1; } message CMsgGameDataHeroes { - repeated .CMsgGameDataHero heroes = 1; + repeated .CMsgGameDataHero heroes = 1; } message CMsgGameDataHeroList { - message HeroInfo { - optional int32 id = 1; - optional string name = 2; - optional string name_loc = 3; - optional string name_english_loc = 4; - optional uint32 primary_attr = 5; - optional uint32 complexity = 6; - } + message HeroInfo { + optional int32 id = 1; + optional string name = 2; + optional string name_loc = 3; + optional string name_english_loc = 4; + optional uint32 primary_attr = 5; + optional uint32 complexity = 6; + } - repeated .CMsgGameDataHeroList.HeroInfo heroes = 1; + repeated .CMsgGameDataHeroList.HeroInfo heroes = 1; } message CMsgGameDataItemAbilityList { - message ItemAbilityInfo { - message Recipe { - repeated int32 items = 1; - } + message ItemAbilityInfo { + message Recipe { + repeated int32 items = 1; + } - optional int32 id = 1 [default = -1]; - optional string name = 2; - optional string name_loc = 3; - optional string name_english_loc = 4; - optional int32 neutral_item_tier = 5; - optional bool is_pregame_suggested = 6; - optional bool is_earlygame_suggested = 7; - optional bool is_lategame_suggested = 8; - repeated .CMsgGameDataItemAbilityList.ItemAbilityInfo.Recipe recipes = 9; - } + optional int32 id = 1 [default = -1]; + optional string name = 2; + optional string name_loc = 3; + optional string name_english_loc = 4; + optional int32 neutral_item_tier = 5; + optional bool is_pregame_suggested = 6; + optional bool is_earlygame_suggested = 7; + optional bool is_lategame_suggested = 8; + repeated .CMsgGameDataItemAbilityList.ItemAbilityInfo.Recipe recipes = 9; + } - repeated .CMsgGameDataItemAbilityList.ItemAbilityInfo itemabilities = 1; + repeated .CMsgGameDataItemAbilityList.ItemAbilityInfo itemabilities = 1; } message CMsgLobbyAbilityDraftData { - optional bool shuffle_draft_order = 1; + optional bool shuffle_draft_order = 1; } message CSOEconItemDropRateBonus { - optional uint32 account_id = 1 [(key_field) = true]; - optional fixed32 expiration_date = 2; - optional float bonus = 3 [(key_field) = true]; - optional uint32 bonus_count = 4; - optional uint64 item_id = 5; - optional uint32 def_index = 6; - optional uint32 seconds_left = 7; - optional uint32 booster_type = 8 [(key_field) = true]; + optional uint32 account_id = 1 [(key_field) = true]; + optional fixed32 expiration_date = 2; + optional float bonus = 3 [(key_field) = true]; + optional uint32 bonus_count = 4; + optional uint64 item_id = 5; + optional uint32 def_index = 6; + optional uint32 seconds_left = 7; + optional uint32 booster_type = 8 [(key_field) = true]; } message CSOEconItemTournamentPassport { - optional uint32 account_id = 1; - optional uint32 league_id = 2; - optional uint64 item_id = 3; - optional uint32 original_purchaser_id = 4; - optional uint32 passports_bought = 5; - optional uint32 version = 6; - optional uint32 def_index = 7; - optional uint32 reward_flags = 8; + optional uint32 account_id = 1; + optional uint32 league_id = 2; + optional uint64 item_id = 3; + optional uint32 original_purchaser_id = 4; + optional uint32 passports_bought = 5; + optional uint32 version = 6; + optional uint32 def_index = 7; + optional uint32 reward_flags = 8; } message CMsgStickerbookSticker { - optional uint32 item_def_id = 1; - optional uint32 sticker_num = 2; - optional uint32 quality = 3; - optional float position_x = 4; - optional float position_y = 5; - optional float position_z = 8; - optional float rotation = 6; - optional float scale = 7; - optional uint64 source_item_id = 9; - optional uint32 depth_bias = 10; + optional uint32 item_def_id = 1; + optional uint32 sticker_num = 2; + optional uint32 quality = 3; + optional float position_x = 4; + optional float position_y = 5; + optional float position_z = 8; + optional float rotation = 6; + optional float scale = 7; + optional uint64 source_item_id = 9; + optional uint32 depth_bias = 10; } message CMsgStickerbookPage { - optional uint32 page_num = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - optional uint32 team_id = 3; - repeated .CMsgStickerbookSticker stickers = 4; - optional .EStickerbookPageType page_type = 5 [default = STICKER_PAGE_GENERIC]; + optional uint32 page_num = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + optional uint32 team_id = 3; + repeated .CMsgStickerbookSticker stickers = 4; + optional .EStickerbookPageType page_type = 5 [default = STICKER_PAGE_GENERIC]; } message CMsgStickerbookTeamPageOrderSequence { - repeated uint32 page_numbers = 1; + repeated uint32 page_numbers = 1; } message CMsgStickerbook { - repeated .CMsgStickerbookPage pages = 1; - optional .CMsgStickerbookTeamPageOrderSequence team_page_order_sequence = 2; - optional uint32 favorite_page_num = 3; + repeated .CMsgStickerbookPage pages = 1; + optional .CMsgStickerbookTeamPageOrderSequence team_page_order_sequence = 2; + optional uint32 favorite_page_num = 3; } message CMsgStickerHero { - optional int32 hero_id = 1; - optional uint32 item_def_id = 2; - optional uint32 quality = 3; - optional uint64 source_item_id = 4; + optional int32 hero_id = 1; + optional uint32 item_def_id = 2; + optional uint32 quality = 3; + optional uint64 source_item_id = 4; } message CMsgStickerHeroes { - repeated .CMsgStickerHero heroes = 1; + repeated .CMsgStickerHero heroes = 1; } message CMsgHeroRoleStats { - optional uint32 lane_selection_flags = 1; - optional uint32 match_count = 2; - optional uint32 win_count = 3; + optional uint32 lane_selection_flags = 1; + optional uint32 match_count = 2; + optional uint32 win_count = 3; } message CMsgHeroRoleHeroStats { - optional int32 hero_id = 1; - repeated .CMsgHeroRoleStats role_stats = 2; + optional int32 hero_id = 1; + repeated .CMsgHeroRoleStats role_stats = 2; } message CMsgHeroRoleRankStats { - optional uint32 rank_tier = 1; - repeated .CMsgHeroRoleHeroStats hero_stats = 2; + optional uint32 rank_tier = 1; + repeated .CMsgHeroRoleHeroStats hero_stats = 2; } message CMsgHeroRoleAllRanksStats { - optional uint32 start_timestamp = 1; - optional uint32 end_timestamp = 2; - repeated .CMsgHeroRoleRankStats rank_stats = 3; + optional uint32 start_timestamp = 1; + optional uint32 end_timestamp = 2; + repeated .CMsgHeroRoleRankStats rank_stats = 3; } message CMsgMapStatsSnapshot { - optional uint32 timestamp = 1; - optional uint64 lotuses_gained = 2; - optional uint64 wisdom_runes_gained = 3; - optional uint64 roshan_kills_day = 4; - optional uint64 roshan_kills_night = 5; - optional uint64 portals_used = 6; - optional uint64 watchers_taken = 7; - optional uint64 tormentor_kills = 8; - optional uint64 outposts_captured = 9; - optional uint64 shield_runes_gained = 10; + optional uint32 timestamp = 1; + optional uint64 lotuses_gained = 2; + optional uint64 wisdom_runes_gained = 3; + optional uint64 roshan_kills_day = 4; + optional uint64 roshan_kills_night = 5; + optional uint64 portals_used = 6; + optional uint64 watchers_taken = 7; + optional uint64 tormentor_kills = 8; + optional uint64 outposts_captured = 9; + optional uint64 shield_runes_gained = 10; } message CMsgGlobalMapStats { - optional .CMsgMapStatsSnapshot current = 1; - optional .CMsgMapStatsSnapshot window_start = 2; - optional .CMsgMapStatsSnapshot window_end = 3; + optional .CMsgMapStatsSnapshot current = 1; + optional .CMsgMapStatsSnapshot window_start = 2; + optional .CMsgMapStatsSnapshot window_end = 3; } message CMsgTrackedStat { - optional uint32 tracked_stat_id = 1; - optional int32 tracked_stat_value = 2; + optional uint32 tracked_stat_id = 1; + optional int32 tracked_stat_value = 2; } message CMsgDOTAClaimEventActionResponse { - message MysteryItemRewardData { - optional uint32 item_def = 1; - optional uint32 item_category = 2; - } - - message LootListRewardData { - repeated uint32 item_def = 1; - } - - message ActionListRewardData { - optional uint32 action_id = 1; - optional bytes result_reward_data = 2; - } - - message OverworldTokenRewardData { - message TokenQuantity { - optional uint32 token_id = 1; - optional uint32 token_count = 2; - } - - repeated .CMsgDOTAClaimEventActionResponse.OverworldTokenRewardData.TokenQuantity tokens = 1; - } - - message MonsterHunterMaterialRewardData { - message MaterialQuantity { - optional uint32 material_id = 1; - optional uint32 material_count = 2; - } - - repeated .CMsgDOTAClaimEventActionResponse.MonsterHunterMaterialRewardData.MaterialQuantity materials = 1; - } - - message GrantedRewardData { - optional uint32 grant_index = 1; - optional uint32 score_index = 2; - optional uint32 reward_index = 3; - optional bytes reward_data = 4; - optional uint32 action_id = 5; - } - - enum ResultCode { - Success = 0; - InvalidEvent = 1; - EventNotActive = 2; - InvalidAction = 3; - ServerError = 4; - InsufficientPoints = 5; - InsufficentLevel = 6; - AlreadyClaimed = 7; - SDOLockFailure = 8; - SDOLoadFailure = 9; - EventNotOwned = 10; - Timeout = 11; - RequiresPlusSubscription = 12; - InvalidItem = 13; - AsyncRewards = 14; - } - - optional .CMsgDOTAClaimEventActionResponse.ResultCode result = 1 [default = Success]; - repeated .CMsgDOTAClaimEventActionResponse.GrantedRewardData reward_results = 2; - optional uint32 action_id = 3; + message MysteryItemRewardData { + optional uint32 item_def = 1; + optional uint32 item_category = 2; + } + + message LootListRewardData { + repeated uint32 item_def = 1; + } + + message ActionListRewardData { + optional uint32 action_id = 1; + optional bytes result_reward_data = 2; + } + + message OverworldTokenRewardData { + message TokenQuantity { + optional uint32 token_id = 1; + optional uint32 token_count = 2; + } + + repeated .CMsgDOTAClaimEventActionResponse.OverworldTokenRewardData.TokenQuantity tokens = 1; + } + + message MonsterHunterMaterialRewardData { + message MaterialQuantity { + optional uint32 material_id = 1; + optional uint32 material_count = 2; + } + + repeated .CMsgDOTAClaimEventActionResponse.MonsterHunterMaterialRewardData.MaterialQuantity materials = 1; + } + + message GrantedRewardData { + optional uint32 grant_index = 1; + optional uint32 score_index = 2; + optional uint32 reward_index = 3; + optional bytes reward_data = 4; + optional uint32 action_id = 5; + } + + enum ResultCode { + Success = 0; + InvalidEvent = 1; + EventNotActive = 2; + InvalidAction = 3; + ServerError = 4; + InsufficientPoints = 5; + InsufficentLevel = 6; + AlreadyClaimed = 7; + SDOLockFailure = 8; + SDOLoadFailure = 9; + EventNotOwned = 10; + Timeout = 11; + RequiresPlusSubscription = 12; + InvalidItem = 13; + AsyncRewards = 14; + } + + optional .CMsgDOTAClaimEventActionResponse.ResultCode result = 1 [default = Success]; + repeated .CMsgDOTAClaimEventActionResponse.GrantedRewardData reward_results = 2; + optional uint32 action_id = 3; } message CMsgClientToGCDotaLabsFeedback { - optional uint32 language = 1; - optional uint32 feedback_item = 2; - optional string feedback = 3; + optional uint32 language = 1; + optional uint32 feedback_item = 2; + optional string feedback = 3; } message CMsgClientToGCDotaLabsFeedbackResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidItem = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidItem = 6; + } - optional .CMsgClientToGCDotaLabsFeedbackResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCDotaLabsFeedbackResponse.EResponse response = 1 [default = k_eInternalError]; } message CDotaMsg_PredictionResult { - message Prediction { - enum EResult { - k_eResult_ItemGranted = 1; - k_eResult_Destroyed = 2; - } + message Prediction { + enum EResult { + k_eResult_ItemGranted = 1; + k_eResult_Destroyed = 2; + } - optional uint32 item_def = 1; - optional uint32 num_correct = 2; - optional uint32 num_fails = 3; - optional .CDotaMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted]; - repeated uint32 granted_item_defs = 6; - } + optional uint32 item_def = 1; + optional uint32 num_correct = 2; + optional uint32 num_fails = 3; + optional .CDotaMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted]; + repeated uint32 granted_item_defs = 6; + } - optional uint32 account_id = 1; - optional uint64 match_id = 2; - optional bool correct = 3; - repeated .CDotaMsg_PredictionResult.Prediction predictions = 4; + optional uint32 account_id = 1; + optional uint64 match_id = 2; + optional bool correct = 3; + repeated .CDotaMsg_PredictionResult.Prediction predictions = 4; } message CDotaMsgStructuredTooltipProperties { - message AttributeValueValue { - optional float value = 1; - optional bool is_active_value = 2; - } - - message AttributeValue_Single { - optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue single_value = 1; - } - - message AttributeValue_Variable { - repeated .CDotaMsgStructuredTooltipProperties.AttributeValueValue values = 1; - } - - message AttributeValue_Delta { - optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue prev = 1; - optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue next = 2; - } - - message AttributeValue { - oneof attr_value { - .CDotaMsgStructuredTooltipProperties.AttributeValue_Single single = 1; - .CDotaMsgStructuredTooltipProperties.AttributeValue_Variable variable = 2; - .CDotaMsgStructuredTooltipProperties.AttributeValue_Delta delta = 3; - } - } - - message FacetDisplayProperties { - optional string facet_name_loc_token = 1; - optional string facet_desc_loc_token = 2; - optional string facet_icon_style_name = 3; - optional string facet_color_style_name = 4; - optional string facet_gradient_style_name = 5; - } - - message Attribute { - optional string name_loc_token = 1; - optional .CDotaMsgStructuredTooltipProperties.EAttributeType type = 2 [default = kUnknown]; - optional .CDotaMsgStructuredTooltipProperties.AttributeValue value = 3; - optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties facet = 4; - } - - message AttributeGroupDesc_Basic { - } - - message AttributeGroupDesc_Specific { - optional string title_loc_token = 1; - optional string desc_loc_token = 2; - } - - message AttributeGroupDesc_Facet { - optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties facet = 1; - } - - message AttributeGroupDescription { - oneof attr_group_desc { - .CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Basic basic = 1; - .CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Specific specific = 2; - .CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Facet facet = 3; - } - } - - message AttributeGroup { - optional .CDotaMsgStructuredTooltipProperties.AttributeGroupDescription desc = 1; - repeated .CDotaMsgStructuredTooltipProperties.Attribute attributes = 2; - } - - message ContentChunk_AttributeGroup { - repeated .CDotaMsgStructuredTooltipProperties.AttributeGroup groups = 1; - } - - message TooltipContentChunk { - oneof content_chunk { - .CDotaMsgStructuredTooltipProperties.ContentChunk_AttributeGroup attribute_group = 1; - } - } - - message SummaryDescriptionEmbedValue { - optional string name = 1; - optional .CDotaMsgStructuredTooltipProperties.EAttributeType type = 2 [default = kUnknown]; - optional .CDotaMsgStructuredTooltipProperties.AttributeValue value = 3; - } - - enum EAttributeType { - kUnknown = 0; - kDuration = 1; - kManaCost = 2; - kHealthCost = 3; - kCastRange = 4; - kAreaOfEffectRadius = 5; - kPhysicalDamage = 6; - kMagicalDamage = 7; - kPureDamage = 8; - kCooldown = 9; - kDebuffPercentage = 10; - kDebuffValue = 11; - kBuffPercentage = 12; - kBuffValue = 13; - } - - optional string ability_name_loc_token = 1; - optional string ability_category_loc_token = 2; - optional int32 ability_level = 3; - optional int32 current_mana_cost = 4; - optional int32 current_health_cost = 5; - optional float current_cooldown = 6; - optional string summary_description_loc_token = 7; - optional string summary_description_level_up_loc_token = 8; - repeated .CDotaMsgStructuredTooltipProperties.SummaryDescriptionEmbedValue summary_description_embed_values = 9; - optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties summary_description_facet = 10; - repeated .CDotaMsgStructuredTooltipProperties.TooltipContentChunk chunks = 20; + message AttributeValueValue { + optional float value = 1; + optional bool is_active_value = 2; + } + + message AttributeValue_Single { + optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue single_value = 1; + } + + message AttributeValue_Variable { + repeated .CDotaMsgStructuredTooltipProperties.AttributeValueValue values = 1; + } + + message AttributeValue_Delta { + optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue prev = 1; + optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue next = 2; + } + + message AttributeValue { + oneof attr_value { + .CDotaMsgStructuredTooltipProperties.AttributeValue_Single single = 1; + .CDotaMsgStructuredTooltipProperties.AttributeValue_Variable variable = 2; + .CDotaMsgStructuredTooltipProperties.AttributeValue_Delta delta = 3; + } + } + + message FacetDisplayProperties { + optional string facet_name_loc_token = 1; + optional string facet_desc_loc_token = 2; + optional string facet_icon_style_name = 3; + optional string facet_color_style_name = 4; + optional string facet_gradient_style_name = 5; + } + + message Attribute { + optional string name_loc_token = 1; + optional .CDotaMsgStructuredTooltipProperties.EAttributeType type = 2 [default = kUnknown]; + optional .CDotaMsgStructuredTooltipProperties.AttributeValue value = 3; + optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties facet = 4; + } + + message AttributeGroupDesc_Basic { + } + + message AttributeGroupDesc_Specific { + optional string title_loc_token = 1; + optional string desc_loc_token = 2; + } + + message AttributeGroupDesc_Facet { + optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties facet = 1; + } + + message AttributeGroupDescription { + oneof attr_group_desc { + .CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Basic basic = 1; + .CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Specific specific = 2; + .CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Facet facet = 3; + } + } + + message AttributeGroup { + optional .CDotaMsgStructuredTooltipProperties.AttributeGroupDescription desc = 1; + repeated .CDotaMsgStructuredTooltipProperties.Attribute attributes = 2; + } + + message ContentChunk_AttributeGroup { + repeated .CDotaMsgStructuredTooltipProperties.AttributeGroup groups = 1; + } + + message TooltipContentChunk { + oneof content_chunk { + .CDotaMsgStructuredTooltipProperties.ContentChunk_AttributeGroup attribute_group = 1; + } + } + + message SummaryDescriptionEmbedValue { + optional string name = 1; + optional .CDotaMsgStructuredTooltipProperties.EAttributeType type = 2 [default = kUnknown]; + optional .CDotaMsgStructuredTooltipProperties.AttributeValue value = 3; + } + + enum EAttributeType { + kUnknown = 0; + kDuration = 1; + kManaCost = 2; + kHealthCost = 3; + kCastRange = 4; + kAreaOfEffectRadius = 5; + kPhysicalDamage = 6; + kMagicalDamage = 7; + kPureDamage = 8; + kCooldown = 9; + kDebuffPercentage = 10; + kDebuffValue = 11; + kBuffPercentage = 12; + kBuffValue = 13; + } + + optional string ability_name_loc_token = 1; + optional string ability_category_loc_token = 2; + optional int32 ability_level = 3; + optional int32 current_mana_cost = 4; + optional int32 current_health_cost = 5; + optional float current_cooldown = 6; + optional string summary_description_loc_token = 7; + optional string summary_description_level_up_loc_token = 8; + repeated .CDotaMsgStructuredTooltipProperties.SummaryDescriptionEmbedValue summary_description_embed_values = 9; + optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties summary_description_facet = 10; + repeated .CDotaMsgStructuredTooltipProperties.TooltipContentChunk chunks = 20; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_lobby.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_lobby.proto index 0c7e119e..326a119b 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_lobby.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_lobby.proto @@ -8,392 +8,392 @@ option optimize_for = SPEED; option java_generic_services = false; enum ELobbyMemberCoachRequestState { - k_eLobbyMemberCoachRequestState_None = 0; - k_eLobbyMemberCoachRequestState_Accepted = 1; - k_eLobbyMemberCoachRequestState_Rejected = 2; + k_eLobbyMemberCoachRequestState_None = 0; + k_eLobbyMemberCoachRequestState_Accepted = 1; + k_eLobbyMemberCoachRequestState_Rejected = 2; } enum LobbyDotaTVDelay { - LobbyDotaTV_10 = 0; - LobbyDotaTV_120 = 1; - LobbyDotaTV_300 = 2; - LobbyDotaTV_900 = 3; + LobbyDotaTV_10 = 0; + LobbyDotaTV_120 = 1; + LobbyDotaTV_300 = 2; + LobbyDotaTV_900 = 3; } enum LobbyDotaPauseSetting { - LobbyDotaPauseSetting_Unlimited = 0; - LobbyDotaPauseSetting_Limited = 1; - LobbyDotaPauseSetting_Disabled = 2; + LobbyDotaPauseSetting_Unlimited = 0; + LobbyDotaPauseSetting_Limited = 1; + LobbyDotaPauseSetting_Disabled = 2; } message CMsgLobbyCoachFriendRequest { - optional uint32 coach_account_id = 1; - optional uint32 player_account_id = 2; - optional .ELobbyMemberCoachRequestState request_state = 3 [default = k_eLobbyMemberCoachRequestState_None]; + optional uint32 coach_account_id = 1; + optional uint32 player_account_id = 2; + optional .ELobbyMemberCoachRequestState request_state = 3 [default = k_eLobbyMemberCoachRequestState_None]; } message CMsgLobbyPlayerPlusSubscriptionData { - message HeroBadge { - optional int32 hero_id = 1; - optional uint32 hero_badge_xp = 2; - } + message HeroBadge { + optional int32 hero_id = 1; + optional uint32 hero_badge_xp = 2; + } - repeated .CMsgLobbyPlayerPlusSubscriptionData.HeroBadge hero_badges = 1; + repeated .CMsgLobbyPlayerPlusSubscriptionData.HeroBadge hero_badges = 1; } message CMsgEventActionData { - optional uint32 action_id = 1; - optional uint32 action_score = 2; + optional uint32 action_id = 1; + optional uint32 action_score = 2; } message CMsgPeriodicResourceData { - optional uint32 periodic_resource_id = 1; - optional uint32 remaining = 2; - optional uint32 max = 3; + optional uint32 periodic_resource_id = 1; + optional uint32 remaining = 2; + optional uint32 max = 3; } message CMsgLobbyEventPoints { - message AccountPoints { - optional uint32 account_id = 1; - optional uint32 normal_points = 2; - optional uint32 premium_points = 3; - optional bool owned = 4; - optional uint32 event_level = 7; - optional uint64 active_effects_mask = 12; - optional uint32 wager_streak = 23; - repeated .CMsgEventActionData event_game_custom_actions = 25; - optional uint32 tip_amount_index = 26; - optional uint32 active_event_season_id = 27; - optional uint32 teleport_fx_level = 28; - repeated .CMsgEventActionData networked_event_actions = 30; - repeated .CMsgPeriodicResourceData periodic_resources = 31; - repeated .CExtraMsgBlock extra_event_messages = 32; - } - - optional uint32 event_id = 1; - repeated .CMsgLobbyEventPoints.AccountPoints account_points = 2; + message AccountPoints { + optional uint32 account_id = 1; + optional uint32 normal_points = 2; + optional uint32 premium_points = 3; + optional bool owned = 4; + optional uint32 event_level = 7; + optional uint64 active_effects_mask = 12; + optional uint32 wager_streak = 23; + repeated .CMsgEventActionData event_game_custom_actions = 25; + optional uint32 tip_amount_index = 26; + optional uint32 active_event_season_id = 27; + optional uint32 teleport_fx_level = 28; + repeated .CMsgEventActionData networked_event_actions = 30; + repeated .CMsgPeriodicResourceData periodic_resources = 31; + repeated .CExtraMsgBlock extra_event_messages = 32; + } + + optional uint32 event_id = 1; + repeated .CMsgLobbyEventPoints.AccountPoints account_points = 2; } message CMsgLobbyEventGameData { - optional uint32 game_seed = 1; - optional uint32 event_window_start_time = 2; + optional uint32 game_seed = 1; + optional uint32 event_window_start_time = 2; } message CSODOTALobbyInvite { - message LobbyMember { - optional string name = 1; - optional fixed64 steam_id = 2; - } - - optional uint64 group_id = 1 [(key_field) = true]; - optional fixed64 sender_id = 2; - optional string sender_name = 3; - repeated .CSODOTALobbyInvite.LobbyMember members = 4; - optional uint64 custom_game_id = 5; - optional fixed64 invite_gid = 6; - optional fixed64 custom_game_crc = 7; - optional fixed32 custom_game_timestamp = 8; + message LobbyMember { + optional string name = 1; + optional fixed64 steam_id = 2; + } + + optional uint64 group_id = 1 [(key_field) = true]; + optional fixed64 sender_id = 2; + optional string sender_name = 3; + repeated .CSODOTALobbyInvite.LobbyMember members = 4; + optional uint64 custom_game_id = 5; + optional fixed64 invite_gid = 6; + optional fixed64 custom_game_crc = 7; + optional fixed32 custom_game_timestamp = 8; } message CSODOTALobbyMember { - optional fixed64 id = 1 [(key_field) = true]; - optional int32 hero_id = 2; - optional .DOTA_GC_TEAM team = 3 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional uint32 slot = 7; - optional .DOTALeaverStatus_t leaver_status = 16 [default = DOTA_LEAVER_NONE]; - optional uint32 leaver_actions = 28; - optional .DOTA_GC_TEAM coach_team = 23 [default = DOTA_GC_TEAM_NOTEAM]; - repeated uint32 custom_game_product_ids = 31; - optional .DOTA_GC_TEAM live_spectator_team = 40 [default = DOTA_GC_TEAM_NOTEAM]; - repeated .CMsgPendingEventAward pending_awards = 44; - repeated .CMsgPendingEventAward pending_awards_on_victory = 45; - optional uint32 reports_available = 52; - optional uint32 live_spectator_account_id = 55; - optional uint32 comms_reports_available = 56; + optional fixed64 id = 1 [(key_field) = true]; + optional int32 hero_id = 2; + optional .DOTA_GC_TEAM team = 3 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional uint32 slot = 7; + optional .DOTALeaverStatus_t leaver_status = 16 [default = DOTA_LEAVER_NONE]; + optional uint32 leaver_actions = 28; + optional .DOTA_GC_TEAM coach_team = 23 [default = DOTA_GC_TEAM_NOTEAM]; + repeated uint32 custom_game_product_ids = 31; + optional .DOTA_GC_TEAM live_spectator_team = 40 [default = DOTA_GC_TEAM_NOTEAM]; + repeated .CMsgPendingEventAward pending_awards = 44; + repeated .CMsgPendingEventAward pending_awards_on_victory = 45; + optional uint32 reports_available = 52; + optional uint32 live_spectator_account_id = 55; + optional uint32 comms_reports_available = 56; } message CSODOTAServerLobbyMember { } message CSODOTAStaticLobbyMember { - optional string name = 1; - optional uint64 party_id = 2; - optional uint32 channel = 3 [default = 6]; - optional bool cameraman = 4; + optional string name = 1; + optional uint64 party_id = 2; + optional uint32 channel = 3 [default = 6]; + optional bool cameraman = 4; } message CSODOTAServerStaticLobbyMember { - optional fixed64 steam_id = 1; - optional int32 rank_tier = 3; - optional int32 leaderboard_rank = 4 [default = -1]; - optional int32 lane_selection_flags = 5; - optional .EDOTAMMRBoostType rank_mmr_boost_type = 6 [default = k_EDOTAMMRBoostType_None]; - optional int32 coach_rating = 7; - repeated uint32 coached_account_ids = 8; - optional bool was_mvp_last_game = 9; - optional bool can_earn_rewards = 10; - optional bool is_plus_subscriber = 11; - optional uint64 favorite_team_packed = 12; - optional bool is_steam_china = 13; - optional uint32 title = 14; - optional uint32 guild_id = 15; - repeated fixed32 disabled_random_hero_bits = 16; - repeated int32 disabled_hero_id = 17; - repeated int32 enabled_hero_id = 18; - repeated int32 banned_hero_ids = 19; + optional fixed64 steam_id = 1; + optional int32 rank_tier = 3; + optional int32 leaderboard_rank = 4 [default = -1]; + optional int32 lane_selection_flags = 5; + optional .EDOTAMMRBoostType rank_mmr_boost_type = 6 [default = k_EDOTAMMRBoostType_None]; + optional int32 coach_rating = 7; + repeated uint32 coached_account_ids = 8; + optional bool was_mvp_last_game = 9; + optional bool can_earn_rewards = 10; + optional bool is_plus_subscriber = 11; + optional uint64 favorite_team_packed = 12; + optional bool is_steam_china = 13; + optional uint32 title = 14; + optional uint32 guild_id = 15; + repeated fixed32 disabled_random_hero_bits = 16; + repeated int32 disabled_hero_id = 17; + repeated int32 enabled_hero_id = 18; + repeated int32 banned_hero_ids = 19; } message CLobbyTeamDetails { - optional string team_name = 1; - optional string team_tag = 3; - optional uint32 team_id = 4; - optional uint64 team_logo = 5; - optional uint64 team_base_logo = 6; - optional uint64 team_banner_logo = 7; - optional bool team_complete = 8; - optional uint32 rank = 15; - optional sint32 rank_change = 16; - optional bool is_home_team = 17; - optional bool is_challenge_match = 18; - optional uint64 challenge_match_token_account = 19; - optional string team_logo_url = 20; - optional string team_abbreviation = 21; + optional string team_name = 1; + optional string team_tag = 3; + optional uint32 team_id = 4; + optional uint64 team_logo = 5; + optional uint64 team_base_logo = 6; + optional uint64 team_banner_logo = 7; + optional bool team_complete = 8; + optional uint32 rank = 15; + optional sint32 rank_change = 16; + optional bool is_home_team = 17; + optional bool is_challenge_match = 18; + optional uint64 challenge_match_token_account = 19; + optional string team_logo_url = 20; + optional string team_abbreviation = 21; } message CLobbyGuildDetails { - optional uint32 guild_id = 1; - optional uint32 guild_primary_color = 2; - optional uint32 guild_secondary_color = 3; - optional uint32 guild_pattern = 4; - optional uint64 guild_logo = 5; - optional uint32 guild_points = 6; - optional uint32 guild_event = 7; - optional uint32 guild_flags = 8; - optional .DOTA_GC_TEAM team_for_guild = 9 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional string guild_tag = 10; - optional uint32 guild_weekly_percentile = 11; + optional uint32 guild_id = 1; + optional uint32 guild_primary_color = 2; + optional uint32 guild_secondary_color = 3; + optional uint32 guild_pattern = 4; + optional uint64 guild_logo = 5; + optional uint32 guild_points = 6; + optional uint32 guild_event = 7; + optional uint32 guild_flags = 8; + optional .DOTA_GC_TEAM team_for_guild = 9 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional string guild_tag = 10; + optional uint32 guild_weekly_percentile = 11; } message CLobbyTimedRewardDetails { - optional uint32 item_def_index = 2; - optional bool is_supply_crate = 3; - optional bool is_timed_drop = 4; - optional uint32 account_id = 5; - optional uint32 origin = 6; + optional uint32 item_def_index = 2; + optional bool is_supply_crate = 3; + optional bool is_timed_drop = 4; + optional uint32 account_id = 5; + optional uint32 origin = 6; } message CLobbyBroadcastChannelInfo { - optional uint32 channel_id = 1; - optional string country_code = 2; - optional string description = 3; - optional string language_code = 4; + optional uint32 channel_id = 1; + optional string country_code = 2; + optional string description = 3; + optional string language_code = 4; } message CLobbyGuildChallenge { - optional uint32 guild_id = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - optional uint32 challenge_instance_id = 3; - optional uint32 challenge_parameter = 4; - optional uint32 challenge_timestamp = 5; - optional uint32 challenge_period_serial = 6; - optional uint32 challenge_progress_at_start = 7; - repeated uint32 eligible_account_ids = 8; + optional uint32 guild_id = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + optional uint32 challenge_instance_id = 3; + optional uint32 challenge_parameter = 4; + optional uint32 challenge_timestamp = 5; + optional uint32 challenge_period_serial = 6; + optional uint32 challenge_progress_at_start = 7; + repeated uint32 eligible_account_ids = 8; } message CDOTALobbyMatchQualityData { - optional uint32 overall_quality = 1; - optional uint32 team_balance = 2; - optional uint32 match_skill_range = 3; - optional uint32 match_behavior = 4; + optional uint32 overall_quality = 1; + optional uint32 team_balance = 2; + optional uint32 match_skill_range = 3; + optional uint32 match_behavior = 4; } message CSODOTALobby { - message CExtraMsg { - optional uint32 id = 1; - optional bytes contents = 2; - } - - enum State { - UI = 0; - READYUP = 4; - SERVERSETUP = 1; - RUN = 2; - POSTGAME = 3; - NOTREADY = 5; - SERVERASSIGN = 6; - } - - enum LobbyType { - INVALID = -1; - CASUAL_MATCH = 0; - PRACTICE = 1; - COOP_BOT_MATCH = 4; - COMPETITIVE_MATCH = 7; - WEEKEND_TOURNEY = 9; - LOCAL_BOT_MATCH = 10; - SPECTATOR = 11; - EVENT_MATCH = 12; - NEW_PLAYER_POOL = 14; - FEATURED_GAMEMODE = 15; - AUTOMATED_BOT_ONLY_MATCH = 16; - } - - optional uint64 lobby_id = 1 [(key_field) = true]; - repeated .CSODOTALobbyMember all_members = 120; - repeated uint32 member_indices = 121; - repeated uint32 left_member_indices = 122; - repeated uint32 free_member_indices = 123; - optional fixed64 leader_id = 11; - optional fixed64 server_id = 6 [default = 0]; - optional uint32 game_mode = 3; - repeated fixed64 pending_invites = 10; - optional .CSODOTALobby.State state = 4 [default = UI]; - optional string connect = 5; - optional .CSODOTALobby.LobbyType lobby_type = 12 [default = INVALID]; - optional bool allow_cheats = 13; - optional bool fill_with_bots = 14; - optional string game_name = 16; - repeated .CLobbyTeamDetails team_details = 17; - optional uint32 tournament_id = 19; - optional uint32 tournament_game_id = 20; - optional uint32 server_region = 21 [default = 0]; - optional .DOTA_GameState game_state = 22 [default = DOTA_GAMERULES_STATE_INIT]; - optional uint32 num_spectators = 23; - optional uint32 matchgroup = 25; - optional .DOTA_CM_PICK cm_pick = 28 [default = DOTA_CM_RANDOM]; - optional uint64 match_id = 30; - optional bool allow_spectating = 31 [default = true]; - optional .DOTABotDifficulty bot_difficulty_radiant = 36 [default = BOT_DIFFICULTY_HARD]; - optional string pass_key = 39; - optional uint32 leagueid = 42; - optional uint32 penalty_level_radiant = 43 [default = 0]; - optional uint32 penalty_level_dire = 44 [default = 0]; - optional uint32 series_type = 46; - optional uint32 radiant_series_wins = 47; - optional uint32 dire_series_wins = 48; - optional bool allchat = 51 [default = false]; - optional .LobbyDotaTVDelay dota_tv_delay = 53 [default = LobbyDotaTV_10]; - optional string custom_game_mode = 54; - optional string custom_map_name = 55; - optional uint32 custom_difficulty = 56; - optional bool lan = 57; - repeated .CLobbyBroadcastChannelInfo broadcast_channel_info = 58; - optional uint32 first_leaver_accountid = 59; - optional uint32 series_id = 60; - optional bool low_priority = 61; - repeated .CSODOTALobby.CExtraMsg extra_messages = 62; - optional bool first_blood_happened = 65; - optional .EMatchOutcome match_outcome = 70 [default = k_EMatchOutcome_Unknown]; - optional bool mass_disconnect = 67; - optional uint64 custom_game_id = 68; - optional uint32 custom_min_players = 71; - optional uint32 custom_max_players = 72; - optional .DOTALobbyVisibility visibility = 75 [default = DOTALobbyVisibility_Public]; - optional fixed64 custom_game_crc = 76; - optional bool custom_game_auto_created_lobby = 77; - optional fixed32 custom_game_timestamp = 80; - repeated uint64 previous_series_matches = 81; - optional uint64 previous_match_override = 82; - optional uint32 game_start_time = 87; - optional .LobbyDotaPauseSetting pause_setting = 88 [default = LobbyDotaPauseSetting_Unlimited]; - optional uint32 weekend_tourney_division_id = 90; - optional uint32 weekend_tourney_skill_level = 91; - optional uint32 weekend_tourney_bracket_round = 92; - optional .DOTABotDifficulty bot_difficulty_dire = 93 [default = BOT_DIFFICULTY_HARD]; - optional uint64 bot_radiant = 94; - optional uint64 bot_dire = 95; - repeated .EEvent event_progression_enabled = 96; - optional .DOTASelectionPriorityRules selection_priority_rules = 97 [default = k_DOTASelectionPriorityRules_Manual]; - optional uint32 series_previous_selection_priority_team_id = 98; - optional uint32 series_current_selection_priority_team_id = 99; - optional .DOTASelectionPriorityChoice series_current_priority_team_choice = 100 [default = k_DOTASelectionPriorityChoice_Invalid]; - optional .DOTASelectionPriorityChoice series_current_non_priority_team_choice = 101 [default = k_DOTASelectionPriorityChoice_Invalid]; - optional bool series_current_selection_priority_used_coin_toss = 102; - optional .EEvent current_primary_event = 103 [default = EVENT_ID_NONE]; - optional .EEvent current_primary_event_for_display = 104 [default = EVENT_ID_NONE]; - repeated int32 emergency_disabled_hero_ids = 105; - optional fixed64 custom_game_private_key = 106; - optional bool custom_game_penalties = 107; - optional string lan_host_ping_location = 109; - optional uint32 league_node_id = 110; - optional uint32 match_duration = 111; - optional uint32 league_phase = 113; - optional bool experimental_gameplay_enabled = 116; - repeated .CLobbyGuildChallenge guild_challenges = 117; - repeated .CLobbyGuildDetails guild_details = 118; - repeated int32 requested_hero_ids = 124; - repeated .CMsgLobbyCoachFriendRequest coach_friend_requests = 125; - optional bool is_in_steam_china = 126; - optional bool with_scenario_save = 127; - optional uint32 lobby_creation_time = 128; - optional string event_game_definition = 129; - optional .CDOTALobbyMatchQualityData match_quality_data = 131; - repeated int32 requested_hero_teams = 132; + message CExtraMsg { + optional uint32 id = 1; + optional bytes contents = 2; + } + + enum State { + UI = 0; + READYUP = 4; + SERVERSETUP = 1; + RUN = 2; + POSTGAME = 3; + NOTREADY = 5; + SERVERASSIGN = 6; + } + + enum LobbyType { + INVALID = -1; + CASUAL_MATCH = 0; + PRACTICE = 1; + COOP_BOT_MATCH = 4; + COMPETITIVE_MATCH = 7; + WEEKEND_TOURNEY = 9; + LOCAL_BOT_MATCH = 10; + SPECTATOR = 11; + EVENT_MATCH = 12; + NEW_PLAYER_POOL = 14; + FEATURED_GAMEMODE = 15; + AUTOMATED_BOT_ONLY_MATCH = 16; + } + + optional uint64 lobby_id = 1 [(key_field) = true]; + repeated .CSODOTALobbyMember all_members = 120; + repeated uint32 member_indices = 121; + repeated uint32 left_member_indices = 122; + repeated uint32 free_member_indices = 123; + optional fixed64 leader_id = 11; + optional fixed64 server_id = 6 [default = 0]; + optional uint32 game_mode = 3; + repeated fixed64 pending_invites = 10; + optional .CSODOTALobby.State state = 4 [default = UI]; + optional string connect = 5; + optional .CSODOTALobby.LobbyType lobby_type = 12 [default = INVALID]; + optional bool allow_cheats = 13; + optional bool fill_with_bots = 14; + optional string game_name = 16; + repeated .CLobbyTeamDetails team_details = 17; + optional uint32 tournament_id = 19; + optional uint32 tournament_game_id = 20; + optional uint32 server_region = 21 [default = 0]; + optional .DOTA_GameState game_state = 22 [default = DOTA_GAMERULES_STATE_INIT]; + optional uint32 num_spectators = 23; + optional uint32 matchgroup = 25; + optional .DOTA_CM_PICK cm_pick = 28 [default = DOTA_CM_RANDOM]; + optional uint64 match_id = 30; + optional bool allow_spectating = 31 [default = true]; + optional .DOTABotDifficulty bot_difficulty_radiant = 36 [default = BOT_DIFFICULTY_HARD]; + optional string pass_key = 39; + optional uint32 leagueid = 42; + optional uint32 penalty_level_radiant = 43 [default = 0]; + optional uint32 penalty_level_dire = 44 [default = 0]; + optional uint32 series_type = 46; + optional uint32 radiant_series_wins = 47; + optional uint32 dire_series_wins = 48; + optional bool allchat = 51 [default = false]; + optional .LobbyDotaTVDelay dota_tv_delay = 53 [default = LobbyDotaTV_10]; + optional string custom_game_mode = 54; + optional string custom_map_name = 55; + optional uint32 custom_difficulty = 56; + optional bool lan = 57; + repeated .CLobbyBroadcastChannelInfo broadcast_channel_info = 58; + optional uint32 first_leaver_accountid = 59; + optional uint32 series_id = 60; + optional bool low_priority = 61; + repeated .CSODOTALobby.CExtraMsg extra_messages = 62; + optional bool first_blood_happened = 65; + optional .EMatchOutcome match_outcome = 70 [default = k_EMatchOutcome_Unknown]; + optional bool mass_disconnect = 67; + optional uint64 custom_game_id = 68; + optional uint32 custom_min_players = 71; + optional uint32 custom_max_players = 72; + optional .DOTALobbyVisibility visibility = 75 [default = DOTALobbyVisibility_Public]; + optional fixed64 custom_game_crc = 76; + optional bool custom_game_auto_created_lobby = 77; + optional fixed32 custom_game_timestamp = 80; + repeated uint64 previous_series_matches = 81; + optional uint64 previous_match_override = 82; + optional uint32 game_start_time = 87; + optional .LobbyDotaPauseSetting pause_setting = 88 [default = LobbyDotaPauseSetting_Unlimited]; + optional uint32 weekend_tourney_division_id = 90; + optional uint32 weekend_tourney_skill_level = 91; + optional uint32 weekend_tourney_bracket_round = 92; + optional .DOTABotDifficulty bot_difficulty_dire = 93 [default = BOT_DIFFICULTY_HARD]; + optional uint64 bot_radiant = 94; + optional uint64 bot_dire = 95; + repeated .EEvent event_progression_enabled = 96; + optional .DOTASelectionPriorityRules selection_priority_rules = 97 [default = k_DOTASelectionPriorityRules_Manual]; + optional uint32 series_previous_selection_priority_team_id = 98; + optional uint32 series_current_selection_priority_team_id = 99; + optional .DOTASelectionPriorityChoice series_current_priority_team_choice = 100 [default = k_DOTASelectionPriorityChoice_Invalid]; + optional .DOTASelectionPriorityChoice series_current_non_priority_team_choice = 101 [default = k_DOTASelectionPriorityChoice_Invalid]; + optional bool series_current_selection_priority_used_coin_toss = 102; + optional .EEvent current_primary_event = 103 [default = EVENT_ID_NONE]; + optional .EEvent current_primary_event_for_display = 104 [default = EVENT_ID_NONE]; + repeated int32 emergency_disabled_hero_ids = 105; + optional fixed64 custom_game_private_key = 106; + optional bool custom_game_penalties = 107; + optional string lan_host_ping_location = 109; + optional uint32 league_node_id = 110; + optional uint32 match_duration = 111; + optional uint32 league_phase = 113; + optional bool experimental_gameplay_enabled = 116; + repeated .CLobbyGuildChallenge guild_challenges = 117; + repeated .CLobbyGuildDetails guild_details = 118; + repeated int32 requested_hero_ids = 124; + repeated .CMsgLobbyCoachFriendRequest coach_friend_requests = 125; + optional bool is_in_steam_china = 126; + optional bool with_scenario_save = 127; + optional uint32 lobby_creation_time = 128; + optional string event_game_definition = 129; + optional .CDOTALobbyMatchQualityData match_quality_data = 131; + repeated int32 requested_hero_teams = 132; } message CSODOTAServerLobby { - repeated .CSODOTAServerLobbyMember all_members = 1; - repeated .CSODOTALobby.CExtraMsg extra_startup_messages = 2; - optional bool broadcast_active = 3; + repeated .CSODOTAServerLobbyMember all_members = 1; + repeated .CSODOTALobby.CExtraMsg extra_startup_messages = 2; + optional bool broadcast_active = 3; } message CSODOTAStaticLobby { - repeated .CSODOTAStaticLobbyMember all_members = 1; - optional bool is_player_draft = 2; - optional bool is_last_match_in_series = 3; + repeated .CSODOTAStaticLobbyMember all_members = 1; + optional bool is_player_draft = 2; + optional bool is_last_match_in_series = 3; } message CSODOTAServerStaticLobby { - repeated .CSODOTAServerStaticLobbyMember all_members = 1; - optional float post_patch_strategy_time_buffer = 2; - repeated .CMsgLobbyEventPoints lobby_event_points = 3; - optional string broadcast_url = 4; + repeated .CSODOTAServerStaticLobbyMember all_members = 1; + optional float post_patch_strategy_time_buffer = 2; + repeated .CMsgLobbyEventPoints lobby_event_points = 3; + optional string broadcast_url = 4; } message CMsgAdditionalLobbyStartupAccountData { - message ChatWheelMessageRange { - optional uint32 message_id_start = 1 [default = 4294967295]; - optional uint32 message_id_end = 2 [default = 4294967295]; - } - - message PingWheelMessageRange { - optional uint32 message_id_start = 1 [default = 4294967295]; - optional uint32 message_id_end = 2 [default = 4294967295]; - } - - optional uint32 account_id = 1; - optional .CMsgLobbyPlayerPlusSubscriptionData plus_data = 2; - repeated .CMsgAdditionalLobbyStartupAccountData.ChatWheelMessageRange unlocked_chat_wheel_message_ranges = 3; - repeated .CMsgAdditionalLobbyStartupAccountData.PingWheelMessageRange unlocked_ping_wheel_message_ranges = 4; + message ChatWheelMessageRange { + optional uint32 message_id_start = 1 [default = 4294967295]; + optional uint32 message_id_end = 2 [default = 4294967295]; + } + + message PingWheelMessageRange { + optional uint32 message_id_start = 1 [default = 4294967295]; + optional uint32 message_id_end = 2 [default = 4294967295]; + } + + optional uint32 account_id = 1; + optional .CMsgLobbyPlayerPlusSubscriptionData plus_data = 2; + repeated .CMsgAdditionalLobbyStartupAccountData.ChatWheelMessageRange unlocked_chat_wheel_message_ranges = 3; + repeated .CMsgAdditionalLobbyStartupAccountData.PingWheelMessageRange unlocked_ping_wheel_message_ranges = 4; } message CMsgLobbyInitializationComplete { } message CMsgLobbyPlaytestDetails { - optional string json = 1; + optional string json = 1; } message CMsgLocalServerGuildData { - optional uint32 guild_id = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - optional uint32 guild_points = 3; - optional uint64 guild_logo = 4; - optional uint32 guild_primary_color = 5; - optional uint32 guild_secondary_color = 6; - optional uint32 guild_pattern = 7; - optional uint32 guild_flags = 8; - optional uint32 guild_weekly_percentile = 9; + optional uint32 guild_id = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + optional uint32 guild_points = 3; + optional uint64 guild_logo = 4; + optional uint32 guild_primary_color = 5; + optional uint32 guild_secondary_color = 6; + optional uint32 guild_pattern = 7; + optional uint32 guild_flags = 8; + optional uint32 guild_weekly_percentile = 9; } message CMsgLocalServerFakeLobbyData { - optional uint32 account_id = 1; - repeated .CMsgLobbyEventPoints event_points = 2; - optional bool is_plus_subscriber = 3; - optional uint32 primary_event_id = 4; - optional uint32 favorite_team = 5; - optional uint32 favorite_team_quality = 6; - optional .CMsgLocalServerGuildData guild_info = 7; - optional uint32 teleport_fx_level = 8; - optional .CMsgAdditionalLobbyStartupAccountData additional_data = 9; + optional uint32 account_id = 1; + repeated .CMsgLobbyEventPoints event_points = 2; + optional bool is_plus_subscriber = 3; + optional uint32 primary_event_id = 4; + optional uint32 favorite_team = 5; + optional uint32 favorite_team_quality = 6; + optional .CMsgLocalServerGuildData guild_info = 7; + optional uint32 teleport_fx_level = 8; + optional .CMsgAdditionalLobbyStartupAccountData additional_data = 9; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_match_management.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_match_management.proto index 0165e1f7..926e8d7f 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_match_management.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_match_management.proto @@ -8,500 +8,503 @@ option optimize_for = SPEED; option java_generic_services = false; enum ELaneSelection { - k_ELaneSelection_SAFELANE = 0; - k_ELaneSelection_OFFLANE = 1; - k_ELaneSelection_MIDLANE = 2; - k_ELaneSelection_SUPPORT = 3; - k_ELaneSelection_HARDSUPPORT = 4; + k_ELaneSelection_SAFELANE = 0; + k_ELaneSelection_OFFLANE = 1; + k_ELaneSelection_MIDLANE = 2; + k_ELaneSelection_SUPPORT = 3; + k_ELaneSelection_HARDSUPPORT = 4; } enum ELaneSelectionFlags { - k_ELaneSelectionFlags_SAFELANE = 1; - k_ELaneSelectionFlags_OFFLANE = 2; - k_ELaneSelectionFlags_MIDLANE = 4; - k_ELaneSelectionFlags_SUPPORT = 8; - k_ELaneSelectionFlags_HARDSUPPORT = 16; - k_ELaneSelectionFlagGroup_None = 0; - k_ELaneSelectionFlagGroup_CORE = 7; - k_ELaneSelectionFlagGroup_SUPPORT = 24; - k_ELaneSelectionFlagGroup_ALL = 31; + k_ELaneSelectionFlags_SAFELANE = 1; + k_ELaneSelectionFlags_OFFLANE = 2; + k_ELaneSelectionFlags_MIDLANE = 4; + k_ELaneSelectionFlags_SUPPORT = 8; + k_ELaneSelectionFlags_HARDSUPPORT = 16; + k_ELaneSelectionFlagGroup_None = 0; + k_ELaneSelectionFlagGroup_CORE = 7; + k_ELaneSelectionFlagGroup_SUPPORT = 24; + k_ELaneSelectionFlagGroup_ALL = 31; + k_ELaneSelectionFlagGroup_HIGHDEMAND = 18; } enum EPartyMatchmakingFlags { - k_EPartyMatchmakingFlags_None = 0; - k_EPartyMatchmakingFlags_LargeRankSpread = 1; + k_EPartyMatchmakingFlags_None = 0; + k_EPartyMatchmakingFlags_LargeRankSpread = 1; } enum EHighPriorityMMState { - k_EHighPriorityMM_Unknown = 0; - k_EHighPriorityMM_MissingMMData = 1; - k_EHighPriorityMM_ResourceMissing = 2; - k_EHighPriorityMM_ManuallyDisabled = 3; - k_EHighPriorityMM_Min_Enabled = 64; - k_EHighPriorityMM_AllRolesSelected = 65; - k_EHighPriorityMM_UsingResource = 66; - k_EHighPriorityMM_FiveStack = 67; - k_EHighPriorityMM_HighDemand = 68; + k_EHighPriorityMM_Unknown = 0; + k_EHighPriorityMM_MissingMMData = 1; + k_EHighPriorityMM_ResourceMissing = 2; + k_EHighPriorityMM_ManuallyDisabled = 3; + k_EHighPriorityMM_Min_Enabled = 64; + k_EHighPriorityMM_AllRolesSelected = 65; + k_EHighPriorityMM_UsingResource = 66; + k_EHighPriorityMM_FiveStack = 67; + k_EHighPriorityMM_HighDemand = 68; } enum EReadyCheckStatus { - k_EReadyCheckStatus_Unknown = 0; - k_EReadyCheckStatus_NotReady = 1; - k_EReadyCheckStatus_Ready = 2; + k_EReadyCheckStatus_Unknown = 0; + k_EReadyCheckStatus_NotReady = 1; + k_EReadyCheckStatus_Ready = 2; } enum EReadyCheckRequestResult { - k_EReadyCheckRequestResult_Success = 0; - k_EReadyCheckRequestResult_AlreadyInProgress = 1; - k_EReadyCheckRequestResult_NotInParty = 2; - k_EReadyCheckRequestResult_SendError = 3; - k_EReadyCheckRequestResult_UnknownError = 4; + k_EReadyCheckRequestResult_Success = 0; + k_EReadyCheckRequestResult_AlreadyInProgress = 1; + k_EReadyCheckRequestResult_NotInParty = 2; + k_EReadyCheckRequestResult_SendError = 3; + k_EReadyCheckRequestResult_UnknownError = 4; } enum EMatchBehaviorScoreVariance { - k_EMatchBehaviorScoreVariance_Invalid = 0; - k_EMatchBehaviorScoreVariance_Low = 1; - k_EMatchBehaviorScoreVariance_Medium = 2; - k_EMatchBehaviorScoreVariance_High = 3; + k_EMatchBehaviorScoreVariance_Invalid = 0; + k_EMatchBehaviorScoreVariance_Low = 1; + k_EMatchBehaviorScoreVariance_Medium = 2; + k_EMatchBehaviorScoreVariance_High = 3; } message CSODOTAPartyMember { - optional bool is_coach = 2; - repeated uint32 region_ping_codes = 4 [packed = true]; - repeated uint32 region_ping_times = 5 [packed = true]; - optional uint32 region_ping_failed_bitmask = 6; - optional bool is_plus_subscriber = 10; - optional uint32 tourney_skill_level = 7; - optional uint32 tourney_buyin = 8; - optional uint32 tourney_prevent_until = 9; - optional bool mm_data_valid = 13; - optional uint32 lane_selection_flags = 11; - optional bool high_priority_disabled = 14; - optional bool has_hp_resource = 15; - optional bool joined_from_partyfinder = 12; - optional bool is_steam_china = 16; - repeated int32 banned_hero_ids = 17; + optional bool is_coach = 2; + repeated uint32 region_ping_codes = 4 [packed = true]; + repeated uint32 region_ping_times = 5 [packed = true]; + optional uint32 region_ping_failed_bitmask = 6; + optional bool is_plus_subscriber = 10; + optional uint32 tourney_skill_level = 7; + optional uint32 tourney_buyin = 8; + optional uint32 tourney_prevent_until = 9; + optional bool mm_data_valid = 13; + optional uint32 lane_selection_flags = 11; + optional bool high_priority_disabled = 14; + optional bool has_hp_resource = 15; + optional bool joined_from_partyfinder = 12; + optional bool is_steam_china = 16; + repeated int32 banned_hero_ids = 17; } message CSODOTAParty { - enum State { - UI = 0; - FINDING_MATCH = 1; - IN_MATCH = 2; - } + enum State { + UI = 0; + FINDING_MATCH = 1; + IN_MATCH = 2; + } - optional uint64 party_id = 1 [(key_field) = true]; - optional fixed64 leader_id = 2; - repeated fixed64 member_ids = 3; - optional uint32 game_modes = 4; - optional .CSODOTAParty.State state = 6 [default = UI]; - optional uint32 effective_started_matchmaking_time = 7; - optional uint32 raw_started_matchmaking_time = 32; - optional uint32 attempt_start_time = 33; - optional uint32 attempt_num = 34; - optional uint32 matchgroups = 11; - optional uint32 low_priority_account_id = 19; - optional .MatchType match_type = 21 [default = MATCH_TYPE_CASUAL]; - optional uint32 team_id = 23; - optional string team_name = 51; - optional uint64 team_ui_logo = 52; - optional uint64 team_base_logo = 53; - optional uint32 match_disabled_until_date = 24; - optional uint32 match_disabled_account_id = 25; - optional uint32 matchmaking_max_range_minutes = 26; - optional uint32 matchlanguages = 27; - repeated .CSODOTAPartyMember members = 29; - optional uint32 low_priority_games_remaining = 35; - optional bool open_for_join_requests = 40; - repeated .CSODOTAPartyInvite sent_invites = 41; - repeated .CSODOTAPartyInvite recv_invites = 42; - optional uint32 account_flags = 43; - optional uint32 region_select_flags = 44; - optional uint32 exclusive_tournament_id = 45; - optional uint32 tourney_division_id = 47; - optional uint32 tourney_schedule_time = 48; - optional uint32 tourney_skill_level = 49; - optional uint32 tourney_bracket_round = 50; - optional uint32 tourney_queue_deadline_time = 54; - optional .ETourneyQueueDeadlineState tourney_queue_deadline_state = 55 [default = k_ETourneyQueueDeadlineState_Normal]; - optional uint32 party_builder_slots_to_fill = 56; - optional uint32 party_builder_match_groups = 57; - optional uint32 party_builder_start_time = 58; - optional bool solo_queue = 59; - optional uint32 steam_clan_account_id = 61; - optional .CMsgReadyCheckStatus ready_check = 62; - optional uint32 custom_game_disabled_until_date = 63; - optional uint32 custom_game_disabled_account_id = 64; - optional bool is_challenge_match = 65; - optional bool party_search_beacon_active = 66; - optional uint32 matchmaking_flags = 67; - optional .EHighPriorityMMState high_priority_state = 68 [default = k_EHighPriorityMM_Unknown]; - optional bool lane_selections_enabled = 69; - optional uint32 custom_game_difficulty_mask = 70; - optional bool is_steam_china = 71; - optional uint32 bot_difficulty_mask = 72; - optional uint32 bot_script_index_mask = 73; - optional bool restricted_from_ranked = 74; - optional uint32 restricted_from_ranked_account_id = 75; - optional uint32 rank_spread_likert_scale = 76; - optional uint32 behavior_score_likert_scale = 77; - optional bool contains_required_playtester = 78; + optional uint64 party_id = 1 [(key_field) = true]; + optional fixed64 leader_id = 2; + repeated fixed64 member_ids = 3; + optional uint32 game_modes = 4; + optional .CSODOTAParty.State state = 6 [default = UI]; + optional uint32 effective_started_matchmaking_time = 7; + optional uint32 raw_started_matchmaking_time = 32; + optional uint32 attempt_start_time = 33; + optional uint32 attempt_num = 34; + optional uint32 matchgroups = 11; + optional uint32 low_priority_account_id = 19; + optional .MatchType match_type = 21 [default = MATCH_TYPE_CASUAL]; + optional uint32 team_id = 23; + optional string team_name = 51; + optional uint64 team_ui_logo = 52; + optional uint64 team_base_logo = 53; + optional uint32 match_disabled_until_date = 24; + optional uint32 match_disabled_account_id = 25; + optional uint32 matchmaking_max_range_minutes = 26; + optional uint32 matchlanguages = 27; + repeated .CSODOTAPartyMember members = 29; + optional uint32 low_priority_games_remaining = 35; + optional bool open_for_join_requests = 40; + repeated .CSODOTAPartyInvite sent_invites = 41; + repeated .CSODOTAPartyInvite recv_invites = 42; + optional uint32 account_flags = 43; + optional uint32 region_select_flags = 44; + optional uint32 exclusive_tournament_id = 45; + optional uint32 tourney_division_id = 47; + optional uint32 tourney_schedule_time = 48; + optional uint32 tourney_skill_level = 49; + optional uint32 tourney_bracket_round = 50; + optional uint32 tourney_queue_deadline_time = 54; + optional .ETourneyQueueDeadlineState tourney_queue_deadline_state = 55 [default = k_ETourneyQueueDeadlineState_Normal]; + optional uint32 party_builder_slots_to_fill = 56; + optional uint32 party_builder_match_groups = 57; + optional uint32 party_builder_start_time = 58; + optional bool solo_queue = 59; + optional uint32 steam_clan_account_id = 61; + optional .CMsgReadyCheckStatus ready_check = 62; + optional uint32 custom_game_disabled_until_date = 63; + optional uint32 custom_game_disabled_account_id = 64; + optional bool is_challenge_match = 65; + optional bool party_search_beacon_active = 66; + optional uint32 matchmaking_flags = 67; + optional .EHighPriorityMMState high_priority_state = 68 [default = k_EHighPriorityMM_Unknown]; + optional bool lane_selections_enabled = 69; + optional uint32 custom_game_difficulty_mask = 70; + optional bool is_steam_china = 71; + optional uint32 bot_difficulty_mask = 72; + optional uint32 bot_script_index_mask = 73; + optional bool restricted_from_ranked = 74; + optional uint32 restricted_from_ranked_account_id = 75; + optional uint32 rank_spread_likert_scale = 76; + optional uint32 behavior_score_likert_scale = 77; + optional bool contains_required_playtester = 78; } message CSODOTAPartyInvite { - message PartyMember { - optional string name = 1; - optional fixed64 steam_id = 2; - optional bool is_coach = 4; - } + message PartyMember { + optional string name = 1; + optional fixed64 steam_id = 2; + optional bool is_coach = 4; + } - optional uint64 group_id = 1 [(key_field) = true]; - optional fixed64 sender_id = 2; - optional string sender_name = 3; - repeated .CSODOTAPartyInvite.PartyMember members = 4; - optional uint32 team_id = 5; - optional bool low_priority_status = 6; - optional bool as_coach = 7; - optional fixed64 invite_gid = 8; + optional uint64 group_id = 1 [(key_field) = true]; + optional fixed64 sender_id = 2; + optional string sender_name = 3; + repeated .CSODOTAPartyInvite.PartyMember members = 4; + optional uint32 team_id = 5; + optional bool low_priority_status = 6; + optional bool as_coach = 7; + optional fixed64 invite_gid = 8; } message CMsgLeaverState { - optional uint32 lobby_state = 1; - optional .DOTA_GameState game_state = 2 [default = DOTA_GAMERULES_STATE_INIT]; - optional bool leaver_detected = 3; - optional bool first_blood_happened = 4; - optional bool discard_match_results = 5; - optional bool mass_disconnect = 6; + optional uint32 lobby_state = 1; + optional .DOTA_GameState game_state = 2 [default = DOTA_GAMERULES_STATE_INIT]; + optional bool leaver_detected = 3; + optional bool first_blood_happened = 4; + optional bool discard_match_results = 5; + optional bool mass_disconnect = 6; } message CMsgReadyCheckStatus { - message ReadyMember { - optional uint32 account_id = 1; - optional .EReadyCheckStatus ready_status = 2 [default = k_EReadyCheckStatus_Unknown]; - } + message ReadyMember { + optional uint32 account_id = 1; + optional .EReadyCheckStatus ready_status = 2 [default = k_EReadyCheckStatus_Unknown]; + } - optional uint32 start_timestamp = 1; - optional uint32 finish_timestamp = 2; - optional uint32 initiator_account_id = 3; - repeated .CMsgReadyCheckStatus.ReadyMember ready_members = 4; + optional uint32 start_timestamp = 1; + optional uint32 finish_timestamp = 2; + optional uint32 initiator_account_id = 3; + repeated .CMsgReadyCheckStatus.ReadyMember ready_members = 4; } message CMsgPartyReadyCheckRequest { } message CMsgPartyReadyCheckResponse { - optional .EReadyCheckRequestResult result = 1 [default = k_EReadyCheckRequestResult_Success]; + optional .EReadyCheckRequestResult result = 1 [default = k_EReadyCheckRequestResult_Success]; } message CMsgPartyReadyCheckAcknowledge { - optional .EReadyCheckStatus ready_status = 1 [default = k_EReadyCheckStatus_Unknown]; + optional .EReadyCheckStatus ready_status = 1 [default = k_EReadyCheckStatus_Unknown]; } message CMsgLobbyEventGameDetails { - optional bytes kv_data = 1; + optional bytes kv_data = 1; } message CMsgMatchMatchmakingStats { - optional uint32 average_queue_time = 1; - optional uint32 maximum_queue_time = 2; - optional .EMatchBehaviorScoreVariance behavior_score_variance = 3 [default = k_EMatchBehaviorScoreVariance_Invalid]; + optional uint32 average_queue_time = 1; + optional uint32 maximum_queue_time = 2; + optional .EMatchBehaviorScoreVariance behavior_score_variance = 3 [default = k_EMatchBehaviorScoreVariance_Invalid]; } message CMvpData { - message MvpDatum { - message MvpAccolade { - enum MvpAccoladeType { - kills = 1; - deaths = 2; - assists = 3; - net_worth = 5; - item_value = 6; - support_gold_spent = 7; - wards_placed = 8; - dewards = 9; - camps_stacked = 10; - last_hits = 11; - denies = 12; - kKillEaterEvent_Killing_Sprees = 13; - kKillEaterEvent_Godlike = 14; - kKillEaterEvent_Towers_Destroyed = 15; - kKillEaterEventType_Invoker_SunstrikeKills = 16; - kKillEaterEventType_Axe_Culls = 17; - kKillEaterEventType_Axe_BattleHungerKills = 18; - kKillEaterEventType_LowHealthKills = 19; - kKillEaterEventType_Invoker_TornadoKills = 20; - kKillEaterEventType_Sven_DoubleStuns = 21; - kKillEaterEventType_Sven_WarcryAssists = 22; - kKillEaterEventType_Sven_CleaveDoubleKills = 23; - kKillEaterEventType_Sven_TeleportInterrupts = 24; - kKillEaterEventType_Faceless_MultiChrono = 25; - kKillEaterEventType_Faceless_ChronoKills = 26; - kKillEaterEventType_Ursa_MultiShocks = 27; - kKillEaterEventType_RoshanKills = 28; - kKillEaterEventType_Lion_FingerKills = 29; - kKillEaterEventType_Riki_SmokedHeroKills = 32; - kKillEaterEventType_HeroesRevealedWithDust = 33; - kKillEaterEventType_SkeletonKing_ReincarnationKills = 34; - kKillEaterEventType_Skywrath_FlareKills = 35; - kKillEaterEventType_Leshrac_SplitEarthStuns = 36; - kKillEaterEventType_Mirana_MaxStunArrows = 37; - kKillEaterEventType_PhantomAssassin_CoupdeGraceCrits = 38; - kKillEaterEventType_PhantomAssassin_DaggerCrits = 39; - kKillEaterEventType_Meepo_Earthbinds = 40; - kKillEaterEventType_Bloodseeker_RuptureKills = 41; - kKillEaterEventType_Slark_LeashedEnemies = 42; - kKillEaterEventType_Disruptor_FountainGlimpses = 43; - kKillEaterEventType_Rubick_SpellsStolen = 44; - kKillEaterEventType_Rubick_UltimatesStolen = 45; - kKillEaterEventType_Doom_EnemiesDoomed = 46; - kKillEaterEventType_Omniknight_Purifications = 47; - kKillEaterEventType_Omniknight_AlliesRepelled = 48; - kKillEaterEventType_Omniknight_EnemiesRepelled = 49; - kKillEaterEventType_Warlock_FiveHeroFatalBonds = 50; - kKillEaterEventType_CrystalMaiden_FrostbittenEnemies = 51; - kKillEaterEventType_CrystalMaiden_CrystalNovas = 52; - kKillEaterEventType_Kunkka_DoubleHeroTorrents = 53; - kKillEaterEventType_Kunkka_TripleHeroGhostShips = 54; - kKillEaterEventType_NagaSiren_EnemiesEnsnared = 55; - kKillEaterEventType_NagaSiren_TripleHeroRipTides = 56; - kKillEaterEventType_Lycan_KillsDuringShapeshift = 57; - kKillEaterEventType_Pudge_DismemberKills = 58; - kKillEaterEventType_Pudge_EnemyHeroesHooked = 59; - kKillEaterEventType_Pudge_HookKills = 60; - kKillEaterEventType_Pudge_UnseenEnemyHeroesHooked = 61; - kKillEaterEventType_DrowRanger_EnemiesSilenced = 62; - kKillEaterEventType_DrowRanger_MultiHeroSilences = 63; - kKillEaterEventType_DrowRanger_SilencedKills = 64; - kKillEaterEventType_DrowRanger_FrostArrowKills = 65; - kKillEaterEventType_DragonKnight_KillsInDragonForm = 66; - kKillEaterEventType_DragonKnight_BreatheFireKills = 67; - kKillEaterEventType_DragonKnight_SplashKills = 68; - kKillEaterEventType_WitchDoctor_CaskStuns = 69; - kKillEaterEventType_WitchDoctor_MaledictKills = 70; - kKillEaterEventType_WitchDoctor_MultiHeroMaledicts = 71; - kKillEaterEventType_WitchDoctor_DeathWardKills = 72; - kKillEaterEventType_Disruptor_ThunderStrikeKills = 73; - kKillEaterEventType_Disruptor_HeroesGlimpsed = 74; - kKillEaterEventType_CrystalMaiden_FreezingFieldKills = 75; - kKillEaterEventType_Medusa_EnemiesPetrified = 77; - kKillEaterEventType_Warlock_FatalBondsKills = 78; - kKillEaterEventType_Warlock_GolemKills = 79; - kKillEaterEventType_Tusk_WalrusPunches = 80; - kKillEaterEventType_Tusk_SnowballStuns = 81; - kKillEaterEventType_Earthshaker_FissureStuns = 82; - kKillEaterEventType_Earthshaker_3HeroEchoslams = 83; - kKillEaterEventType_SandKing_BurrowstrikeStuns = 84; - kKillEaterEventType_SandKing_EpicenterKills = 85; - kKillEaterEventType_SkywrathMage_AncientSealKills = 86; - kKillEaterEventType_SkywrathMage_ConcussiveShotKills = 87; - kKillEaterEventType_Luna_LucentBeamKills = 88; - kKillEaterEventType_Luna_EclipseKills = 89; - kKillEaterEventType_KeeperOfTheLight_IlluminateKills = 90; - kKillEaterEventType_KeeperOfTheLight_ManaLeakStuns = 91; - kKillEaterEventType_KeeperOfTheLight_TeammatesRecalled = 92; - kKillEaterEventType_LegionCommander_DuelsWon = 93; - kKillEaterEventType_Beastmaster_RoarKills = 94; - kKillEaterEventType_Beastmaster_RoarMultiKills = 95; - kKillEaterEventType_Windrunner_FocusFireBuildings = 96; - kKillEaterEventType_Windrunner_PowershotKills = 97; - kKillEaterEventType_PhantomAssassin_DaggerLastHits = 98; - kKillEaterEventType_PhantomAssassin_PhantomStrikeKills = 99; - kKillEaterEventType_DeathProphet_CryptSwarmKills = 100; - kKillEaterEventType_DeathProphet_ExorcismBuildingKills = 101; - kKillEaterEventType_DeathProphet_ExorcismSpiritsSummoned = 102; - kKillEaterEventType_DeathProphet_MultiHeroSilences = 103; - kKillEaterEventType_Abaddon_MistCoilKills = 104; - kKillEaterEventType_Abaddon_MistCoilHealed = 105; - kKillEaterEventType_Abaddon_AphoticShieldKills = 106; - kKillEaterEventType_Lich_ChainFrostTripleKills = 107; - kKillEaterEventType_Lich_ChainFrostMultiKills = 108; - kKillEaterEventType_Lich_ChainFrostBounces = 109; - kKillEaterEventType_Ursa_EnragedKills = 110; - kKillEaterEventType_Ursa_EarthshockKills = 111; - kKillEaterEventType_Lina_LagunaBladeKills = 112; - kKillEaterEventType_Lina_DragonSlaveKills = 113; - kKillEaterEventType_Lina_LightStrikeArrayStuns = 114; - kKillEaterEvent_Barracks_Destroyed = 115; - kKillEaterEvent_TemplarAssassin_MeldKills = 116; - kKillEaterEvent_TemplarAssassin_HeroesSlowed = 117; - kKillEaterEvent_Sniper_AssassinationKills = 118; - kKillEaterEvent_Sniper_HeadshotStuns = 119; - kKillEaterEvent_EarthSpirit_SmashStuns = 120; - kKillEaterEvent_EarthSpirit_GripSilences = 121; - kKillEaterEvent_ShadowShaman_ShackleKills = 122; - kKillEaterEvent_ShadowShaman_HexKills = 123; - kKillEaterEvent_Centaur_EnemiesStomped = 124; - kKillEaterEvent_Centaur_DoubleEdgeKills = 125; - kKillEaterEvent_Centaur_ReturnKills = 126; - kKillEaterEvent_EmberSpirit_EnemiesChained = 127; - kKillEaterEvent_EmberSpirit_SleightOfFistMultiKills = 128; - kKillEaterEvent_Puck_OrbKills = 129; - kKillEaterEvent_VengefulSpirit_EnemiesStunned = 130; - kKillEaterEvent_Lifestealer_RageKills = 131; - kKillEaterEvent_Lifestealer_OpenWoundsKills = 132; - kKillEaterEvent_Lifestealer_InfestKills = 133; - kKillEaterEvent_ElderTitan_SpiritKills = 134; - kKillEaterEvent_ElderTitan_GoodStomps = 135; - kKillEaterEvent_Clockwerk_RocketKills = 136; - kKillEaterEvent_Clockwerk_BlindRocketKills = 137; - kKillEaterEvent_StormSpirit_BallKills = 138; - kKillEaterEvent_StormSpirit_DoubleRemnantKills = 139; - kKillEaterEvent_StormSpirit_VortexKills = 140; - kKillEaterEvent_Tinker_DoubleMissileKills = 141; - kKillEaterEvent_Tinker_LaserKills = 142; - kKillEaterEvent_Techies_SuicideKills = 143; - kKillEaterEvent_Techies_LandMineKills = 144; - kKillEaterEvent_Techies_StatisTrapStuns = 145; - kKillEaterEvent_Techies_RemoteMineKills = 146; - kKillEaterEvent_ShadowFiend_TripleRazeKills = 147; - kKillEaterEvent_ShadowFiend_RequiemMultiKills = 148; - kKillEaterEvent_ShadowFiend_QRazeKills = 149; - kKillEaterEvent_ShadowFiend_WRazeKills = 150; - kKillEaterEvent_ShadowFiend_ERazeKills = 151; - kKillEaterEvent_Oracle_FatesEdictKills = 152; - kKillEaterEvent_Oracle_FalsePromiseSaves = 153; - kKillEaterEvent_Juggernaut_OmnislashKills = 154; - kKillEaterEventType_SkeletonKing_SkeletonHeroKills = 157; - kKillEaterEventType_DarkWillow_CursedCrownTripleStuns = 158; - kKillEaterEventType_Dazzle_ShallowGraveSaves = 159; - kKillEaterEventType_Dazzle_PoisonTouchKills = 160; - kKillEaterEventType_ThreeManMeks = 161; - kKillEaterEventType_Viper_PoisonAttackKills = 162; - kKillEaterEventType_Viper_CorrosiveSkinKills = 163; - kKillEaterEventType_ThreeHeroVeils = 164; - kKillEaterEventType_Viper_KillsDuringViperStrike = 165; - kKillEaterEventType_SolarCrestKills = 166; - kKillEaterEventType_Tiny_TreeThrowKills = 167; - kKillEaterEventType_Riki_BackstabKills = 168; - kKillEaterEventType_Phoenix_ThreeHeroSupernovaStuns = 169; - kKillEaterEventType_Terrorblade_MetamorphosisKills = 170; - kKillEaterEventType_Lion_GreatFingerKills = 171; - kKillEaterEventType_Antimage_SpellsBlockedWithAghanims = 172; - kKillEaterEventType_Antimage_ThreeManManaVoids = 173; - kKillEaterEventType_ArcWarden_TempestDoubleKills = 174; - kKillEaterEventType_ArcWarden_SparkWraithKills = 175; - kKillEaterEventType_Bane_BrainSapKills = 176; - kKillEaterEventType_Bane_FiendsGripKills = 177; - kKillEaterEventType_Batrider_TripleHeroFlamebreaks = 178; - kKillEaterEventType_Batrider_DoubleHeroLassoes = 179; - kKillEaterEventType_Brewmaster_KillsDuringPrimalSplit = 180; - kKillEaterEventType_Bristleback_KillsUnderFourQuillStacks = 181; - kKillEaterEventType_Bristleback_TripleHeroNasalGoo = 182; - kKillEaterEventType_Broodmother_SpiderlingHeroKills = 183; - kKillEaterEventType_Broodmother_KillsInsideWeb = 184; - kKillEaterEventType_Centaur_ThreeHeroStampede = 185; - kKillEaterEventType_ChaosKnight_RealityRiftKills = 186; - kKillEaterEventType_Chen_KillsWithPenitence = 187; - kKillEaterEventType_CrystalMaiden_TwoHeroCrystalNovas = 188; - kKillEaterEventType_CrystalMaiden_ThreeHeroFreezingFields = 189; - kKillEaterEventType_Dazzle_ShadowWaveKills = 190; - kKillEaterEventType_DeathProphet_SiphonKills = 191; - kKillEaterEventType_DeathProphet_ExorcismKillsDuringEuls = 192; - kKillEaterEventType_Disruptor_ThreeHeroKineticFieldStaticStorm = 193; - kKillEaterEventType_Doom_InfernalBladeBurnKills = 194; - kKillEaterEventType_DrowRanger_PrecisionAuraCreepTowerKills = 195; - kKillEaterEventType_EmberSpirit_RemnantKills = 196; - kKillEaterEventType_EmberSpirit_SleightOfFistKills = 197; - kKillEaterEventType_Enigma_MidnightPulseBlackHoleCombos = 198; - kKillEaterEventType_Enigma_ThreeManBlackHoles = 199; - kKillEaterEventType_FacelessVoid_MultiHeroTimeDilation = 200; - kKillEaterEventType_Gyrocopter_ThreeHeroFlakCannon = 201; - kKillEaterEventType_Gyrocopter_HomingMissileKills = 202; - kKillEaterEventType_Gyrocopter_RocketBarrageKills = 203; - kKillEaterEventType_Huskar_KillsDuringLifeBreak = 204; - kKillEaterEventType_Huskar_BurningSpearKills = 205; - kKillEaterEventType_Invoker_MultiHeroIceWall = 206; - kKillEaterEventType_Invoker_ThreeHeroEMP = 207; - kKillEaterEventType_Invoker_ThreeHeroDeafeningBlast = 208; - kKillEaterEventType_Invoker_MultiHeroChaosMeteor = 209; - kKillEaterEventType_Jakiro_MultiHeroDualBreath = 210; - kKillEaterEventType_Jakiro_IcePathMacropyreCombos = 211; - kKillEaterEventType_Leshrac_PulseNovaKills = 212; - kKillEaterEventType_Leshrac_ThreeHeroLightningStorm = 213; - kKillEaterEventType_Lion_ThreeHeroFingerOfDeath = 214; - kKillEaterEventType_Meepo_PoofKills = 215; - kKillEaterEventType_Meepo_MultiHeroEarthbinds = 216; - kKillEaterEventType_NightStalker_NighttimeKills = 217; - kKillEaterEventType_Morphling_KillsDuringReplicate = 218; - kKillEaterEventType_OgreMagi_FireblastKills = 219; - kKillEaterEventType_OgreMagi_IgniteKills = 220; - kKillEaterEventType_DominatingKillStreaks = 221; - kKillEaterEventType_MegaKillStreaks = 222; - kKillEaterEventType_Alchemist_AghanimsGiven = 223; - kKillEaterEventType_VeilsLeadingToKills = 224; - kKillEaterEventType_DustLeadingToKills = 225; - kKillEaterEventType_WitchDoctor_MultiHeroCaskStuns = 226; - kKillEaterEventType_Weaver_ShukuchiKills = 227; - kKillEaterEventType_Windrunner_ShackleFocusFireKills = 228; - kKillEaterEventType_VengefulSpirit_VengeanceAuraIllusionKills = 229; - kKillEaterEventType_Tusk_WalrusPunchKills = 230; - kKillEaterEventType_Tinker_MultiHeroLasers = 231; - kKillEaterEventType_TemplarAssassin_MultiHeroPsiBlades = 232; - kKillEaterEventType_Sven_KillsDuringGodsStrength = 233; - kKillEaterEventType_Sniper_ThreeHeroShrapnels = 234; - kKillEaterEventType_Slark_KillsDuringShadowDance = 235; - kKillEaterEventType_ShadowShaman_MultiHeroEtherShocks = 236; - kKillEaterEventType_ShadowShaman_SerpentWardShackleKills = 237; - kKillEaterEventType_Riki_ThreeHeroTricksOfTheTrade = 238; - kKillEaterEventType_Razor_EyeOfTheStormKills = 239; - kKillEaterEventType_Pugna_LifeDrainKills = 240; - kKillEaterEventType_ObsidianDestroyer_SanitysEclipseKills = 241; - kKillEaterEventType_Oracle_MultiHeroFortunesEnd = 242; - kKillEaterEventType_Omniknight_PurificationKills = 243; - kKillEaterEventType_NightStalker_EnemyMissesUnderCripplingFear = 244; - kKillEaterEventType_Warlock_ThreeHeroFatalBonds = 245; - kKillEaterEventType_Riki_TricksOfTheTradeKills = 246; - kKillEaterEventType_Earthshaker_AftershockHits10 = 247; - kKillEaterEventType_Earthshaker_5HeroEchoslams = 248; - kKillEaterEventType_Lina_LagunaBladeHeroKills = 249; - kKillEaterEventType_Lina_LightStrikeHeroStuns = 250; - kKillEaterEventType_Earthshaker_FissureMultiStuns = 251; - kKillEaterEventType_Earthshaker_TotemKills = 252; - kKillEaterEventType_Pangolier_SwashbuckleKills = 253; - kKillEaterEventType_Furion_EnemyHeroesTrapped = 254; - kKillEaterEventType_Pangolier_HeartpiercerKills = 255; - kKillEaterEventType_Medusa_MultiHeroStoneGaze = 256; - kKillEaterEventType_Medusa_SplitShotKills = 257; - kKillEaterEventType_Mirana_MultiHeroStarstorm = 258; - kKillEaterEventType_Mirana_KillsFromMoonlightShadow = 259; - kKillEaterEventType_Magnus_MultiHeroSkewers = 260; - kKillEaterEventType_Magnus_MultiHeroReversePolarity = 261; - kKillEaterEventType_Magnus_HeroesSlowedWithShockwave = 262; - kKillEaterEventType_NagaSiren_MultiHeroSong = 263; - kKillEaterEventType_NagaSiren_AlliesHealedBySong = 264; - kKillEaterEventType_LoneDruid_MultiHeroRoar = 265; - kKillEaterEventType_LoneDruid_BattleCryKills = 266; - kKillEaterEventType_WinterWyvern_ThreeHeroCurses = 267; - kKillEaterEventType_Antimage_SpellsBlockedWithCounterspell = 268; - kKillEaterEventType_Mars_EnemiesKilledInArena = 269; - kKillEaterEventType_Mars_MultiHeroGodsRebuke = 270; - kKillEaterEventType_Mars_GodsRebukeKills = 271; - kKillEaterEventType_Snapfire_LizardBlobsKills = 272; - kKillEaterEventType_Snapfire_TwoHeroCookieStuns = 273; - Custom_KillStreak = 274; - kKillEaterEventType_Muerta_DeadShotKills = 275; - kKillEaterEventType_Muerta_PierceTheVeilKills = 276; - kKillEaterEventType_Muerta_MultiHeroDeadShot = 277; - kKillEaterEventType_Muerta_DeadShotsIntoTheCalling = 278; - kKillEaterEventType_Ringmaster_LongRangeDaggerHits = 279; - kKillEaterEventType_Ringmaster_MultiHeroWhips = 280; - kKillEaterEventType_Ringmaster_MultiHeroMesmerizes = 281; - kKillEaterEventType_Kez_ParryCounterAttacks = 282; - kKillEaterEventType_Kez_RavensVeilKills = 283; - kKillEaterEventType_Kez_RaptorDanceHealing = 284; - kKillEaterEventType_Kez_KillsDuringFalconRush = 285; - kKillEaterEventType_Seasonal_PartyHatsStolen = 286; - kKillEaterEventType_Seasonal_TallestHat = 287; - } + message MvpDatum { + message MvpAccolade { + enum MvpAccoladeType { + kills = 1; + deaths = 2; + assists = 3; + net_worth = 5; + item_value = 6; + support_gold_spent = 7; + wards_placed = 8; + dewards = 9; + camps_stacked = 10; + last_hits = 11; + denies = 12; + kKillEaterEvent_Killing_Sprees = 13; + kKillEaterEvent_Godlike = 14; + kKillEaterEvent_Towers_Destroyed = 15; + kKillEaterEventType_Invoker_SunstrikeKills = 16; + kKillEaterEventType_Axe_Culls = 17; + kKillEaterEventType_Axe_BattleHungerKills = 18; + kKillEaterEventType_LowHealthKills = 19; + kKillEaterEventType_Invoker_TornadoKills = 20; + kKillEaterEventType_Sven_DoubleStuns = 21; + kKillEaterEventType_Sven_WarcryAssists = 22; + kKillEaterEventType_Sven_CleaveDoubleKills = 23; + kKillEaterEventType_Sven_TeleportInterrupts = 24; + kKillEaterEventType_Faceless_MultiChrono = 25; + kKillEaterEventType_Faceless_ChronoKills = 26; + kKillEaterEventType_Ursa_MultiShocks = 27; + kKillEaterEventType_RoshanKills = 28; + kKillEaterEventType_Lion_FingerKills = 29; + kKillEaterEventType_Riki_SmokedHeroKills = 32; + kKillEaterEventType_HeroesRevealedWithDust = 33; + kKillEaterEventType_SkeletonKing_ReincarnationKills = 34; + kKillEaterEventType_Skywrath_FlareKills = 35; + kKillEaterEventType_Leshrac_SplitEarthStuns = 36; + kKillEaterEventType_Mirana_MaxStunArrows = 37; + kKillEaterEventType_PhantomAssassin_CoupdeGraceCrits = 38; + kKillEaterEventType_PhantomAssassin_DaggerCrits = 39; + kKillEaterEventType_Meepo_Earthbinds = 40; + kKillEaterEventType_Bloodseeker_RuptureKills = 41; + kKillEaterEventType_Slark_LeashedEnemies = 42; + kKillEaterEventType_Disruptor_FountainGlimpses = 43; + kKillEaterEventType_Rubick_SpellsStolen = 44; + kKillEaterEventType_Rubick_UltimatesStolen = 45; + kKillEaterEventType_Doom_EnemiesDoomed = 46; + kKillEaterEventType_Omniknight_Purifications = 47; + kKillEaterEventType_Omniknight_AlliesRepelled = 48; + kKillEaterEventType_Omniknight_EnemiesRepelled = 49; + kKillEaterEventType_Warlock_FiveHeroFatalBonds = 50; + kKillEaterEventType_CrystalMaiden_FrostbittenEnemies = 51; + kKillEaterEventType_CrystalMaiden_CrystalNovas = 52; + kKillEaterEventType_Kunkka_DoubleHeroTorrents = 53; + kKillEaterEventType_Kunkka_TripleHeroGhostShips = 54; + kKillEaterEventType_NagaSiren_EnemiesEnsnared = 55; + kKillEaterEventType_NagaSiren_TripleHeroRipTides = 56; + kKillEaterEventType_Lycan_KillsDuringShapeshift = 57; + kKillEaterEventType_Pudge_DismemberKills = 58; + kKillEaterEventType_Pudge_EnemyHeroesHooked = 59; + kKillEaterEventType_Pudge_HookKills = 60; + kKillEaterEventType_Pudge_UnseenEnemyHeroesHooked = 61; + kKillEaterEventType_DrowRanger_EnemiesSilenced = 62; + kKillEaterEventType_DrowRanger_MultiHeroSilences = 63; + kKillEaterEventType_DrowRanger_SilencedKills = 64; + kKillEaterEventType_DrowRanger_FrostArrowKills = 65; + kKillEaterEventType_DragonKnight_KillsInDragonForm = 66; + kKillEaterEventType_DragonKnight_BreatheFireKills = 67; + kKillEaterEventType_DragonKnight_SplashKills = 68; + kKillEaterEventType_WitchDoctor_CaskStuns = 69; + kKillEaterEventType_WitchDoctor_MaledictKills = 70; + kKillEaterEventType_WitchDoctor_MultiHeroMaledicts = 71; + kKillEaterEventType_WitchDoctor_DeathWardKills = 72; + kKillEaterEventType_Disruptor_ThunderStrikeKills = 73; + kKillEaterEventType_Disruptor_HeroesGlimpsed = 74; + kKillEaterEventType_CrystalMaiden_FreezingFieldKills = 75; + kKillEaterEventType_Medusa_EnemiesPetrified = 77; + kKillEaterEventType_Warlock_FatalBondsKills = 78; + kKillEaterEventType_Warlock_GolemKills = 79; + kKillEaterEventType_Tusk_WalrusPunches = 80; + kKillEaterEventType_Tusk_SnowballStuns = 81; + kKillEaterEventType_Earthshaker_FissureStuns = 82; + kKillEaterEventType_Earthshaker_3HeroEchoslams = 83; + kKillEaterEventType_SandKing_BurrowstrikeStuns = 84; + kKillEaterEventType_SandKing_EpicenterKills = 85; + kKillEaterEventType_SkywrathMage_AncientSealKills = 86; + kKillEaterEventType_SkywrathMage_ConcussiveShotKills = 87; + kKillEaterEventType_Luna_LucentBeamKills = 88; + kKillEaterEventType_Luna_EclipseKills = 89; + kKillEaterEventType_KeeperOfTheLight_IlluminateKills = 90; + kKillEaterEventType_KeeperOfTheLight_ManaLeakStuns = 91; + kKillEaterEventType_KeeperOfTheLight_TeammatesRecalled = 92; + kKillEaterEventType_LegionCommander_DuelsWon = 93; + kKillEaterEventType_Beastmaster_RoarKills = 94; + kKillEaterEventType_Beastmaster_RoarMultiKills = 95; + kKillEaterEventType_Windrunner_FocusFireBuildings = 96; + kKillEaterEventType_Windrunner_PowershotKills = 97; + kKillEaterEventType_PhantomAssassin_DaggerLastHits = 98; + kKillEaterEventType_PhantomAssassin_PhantomStrikeKills = 99; + kKillEaterEventType_DeathProphet_CryptSwarmKills = 100; + kKillEaterEventType_DeathProphet_ExorcismBuildingKills = 101; + kKillEaterEventType_DeathProphet_ExorcismSpiritsSummoned = 102; + kKillEaterEventType_DeathProphet_MultiHeroSilences = 103; + kKillEaterEventType_Abaddon_MistCoilKills = 104; + kKillEaterEventType_Abaddon_MistCoilHealed = 105; + kKillEaterEventType_Abaddon_AphoticShieldKills = 106; + kKillEaterEventType_Lich_ChainFrostTripleKills = 107; + kKillEaterEventType_Lich_ChainFrostMultiKills = 108; + kKillEaterEventType_Lich_ChainFrostBounces = 109; + kKillEaterEventType_Ursa_EnragedKills = 110; + kKillEaterEventType_Ursa_EarthshockKills = 111; + kKillEaterEventType_Lina_LagunaBladeKills = 112; + kKillEaterEventType_Lina_DragonSlaveKills = 113; + kKillEaterEventType_Lina_LightStrikeArrayStuns = 114; + kKillEaterEvent_Barracks_Destroyed = 115; + kKillEaterEvent_TemplarAssassin_MeldKills = 116; + kKillEaterEvent_TemplarAssassin_HeroesSlowed = 117; + kKillEaterEvent_Sniper_AssassinationKills = 118; + kKillEaterEvent_Sniper_HeadshotStuns = 119; + kKillEaterEvent_EarthSpirit_SmashStuns = 120; + kKillEaterEvent_EarthSpirit_GripSilences = 121; + kKillEaterEvent_ShadowShaman_ShackleKills = 122; + kKillEaterEvent_ShadowShaman_HexKills = 123; + kKillEaterEvent_Centaur_EnemiesStomped = 124; + kKillEaterEvent_Centaur_DoubleEdgeKills = 125; + kKillEaterEvent_Centaur_ReturnKills = 126; + kKillEaterEvent_EmberSpirit_EnemiesChained = 127; + kKillEaterEvent_EmberSpirit_SleightOfFistMultiKills = 128; + kKillEaterEvent_Puck_OrbKills = 129; + kKillEaterEvent_VengefulSpirit_EnemiesStunned = 130; + kKillEaterEvent_Lifestealer_RageKills = 131; + kKillEaterEvent_Lifestealer_OpenWoundsKills = 132; + kKillEaterEvent_Lifestealer_InfestKills = 133; + kKillEaterEvent_ElderTitan_SpiritKills = 134; + kKillEaterEvent_ElderTitan_GoodStomps = 135; + kKillEaterEvent_Clockwerk_RocketKills = 136; + kKillEaterEvent_Clockwerk_BlindRocketKills = 137; + kKillEaterEvent_StormSpirit_BallKills = 138; + kKillEaterEvent_StormSpirit_DoubleRemnantKills = 139; + kKillEaterEvent_StormSpirit_VortexKills = 140; + kKillEaterEvent_Tinker_DoubleMissileKills = 141; + kKillEaterEvent_Tinker_LaserKills = 142; + kKillEaterEvent_Techies_SuicideKills = 143; + kKillEaterEvent_Techies_LandMineKills = 144; + kKillEaterEvent_Techies_StatisTrapStuns = 145; + kKillEaterEvent_Techies_RemoteMineKills = 146; + kKillEaterEvent_ShadowFiend_TripleRazeKills = 147; + kKillEaterEvent_ShadowFiend_RequiemMultiKills = 148; + kKillEaterEvent_ShadowFiend_QRazeKills = 149; + kKillEaterEvent_ShadowFiend_WRazeKills = 150; + kKillEaterEvent_ShadowFiend_ERazeKills = 151; + kKillEaterEvent_Oracle_FatesEdictKills = 152; + kKillEaterEvent_Oracle_FalsePromiseSaves = 153; + kKillEaterEvent_Juggernaut_OmnislashKills = 154; + kKillEaterEventType_SkeletonKing_SkeletonHeroKills = 157; + kKillEaterEventType_DarkWillow_CursedCrownTripleStuns = 158; + kKillEaterEventType_Dazzle_ShallowGraveSaves = 159; + kKillEaterEventType_Dazzle_PoisonTouchKills = 160; + kKillEaterEventType_ThreeManMeks = 161; + kKillEaterEventType_Viper_PoisonAttackKills = 162; + kKillEaterEventType_Viper_CorrosiveSkinKills = 163; + kKillEaterEventType_ThreeHeroVeils = 164; + kKillEaterEventType_Viper_KillsDuringViperStrike = 165; + kKillEaterEventType_SolarCrestKills = 166; + kKillEaterEventType_Tiny_TreeThrowKills = 167; + kKillEaterEventType_Riki_BackstabKills = 168; + kKillEaterEventType_Phoenix_ThreeHeroSupernovaStuns = 169; + kKillEaterEventType_Terrorblade_MetamorphosisKills = 170; + kKillEaterEventType_Lion_GreatFingerKills = 171; + kKillEaterEventType_Antimage_SpellsBlockedWithAghanims = 172; + kKillEaterEventType_Antimage_ThreeManManaVoids = 173; + kKillEaterEventType_ArcWarden_TempestDoubleKills = 174; + kKillEaterEventType_ArcWarden_SparkWraithKills = 175; + kKillEaterEventType_Bane_BrainSapKills = 176; + kKillEaterEventType_Bane_FiendsGripKills = 177; + kKillEaterEventType_Batrider_TripleHeroFlamebreaks = 178; + kKillEaterEventType_Batrider_DoubleHeroLassoes = 179; + kKillEaterEventType_Brewmaster_KillsDuringPrimalSplit = 180; + kKillEaterEventType_Bristleback_KillsUnderFourQuillStacks = 181; + kKillEaterEventType_Bristleback_TripleHeroNasalGoo = 182; + kKillEaterEventType_Broodmother_SpiderlingHeroKills = 183; + kKillEaterEventType_Broodmother_KillsInsideWeb = 184; + kKillEaterEventType_Centaur_ThreeHeroStampede = 185; + kKillEaterEventType_ChaosKnight_RealityRiftKills = 186; + kKillEaterEventType_Chen_KillsWithPenitence = 187; + kKillEaterEventType_CrystalMaiden_TwoHeroCrystalNovas = 188; + kKillEaterEventType_CrystalMaiden_ThreeHeroFreezingFields = 189; + kKillEaterEventType_Dazzle_ShadowWaveKills = 190; + kKillEaterEventType_DeathProphet_SiphonKills = 191; + kKillEaterEventType_DeathProphet_ExorcismKillsDuringEuls = 192; + kKillEaterEventType_Disruptor_ThreeHeroKineticFieldStaticStorm = 193; + kKillEaterEventType_Doom_InfernalBladeBurnKills = 194; + kKillEaterEventType_DrowRanger_PrecisionAuraCreepTowerKills = 195; + kKillEaterEventType_EmberSpirit_RemnantKills = 196; + kKillEaterEventType_EmberSpirit_SleightOfFistKills = 197; + kKillEaterEventType_Enigma_MidnightPulseBlackHoleCombos = 198; + kKillEaterEventType_Enigma_ThreeManBlackHoles = 199; + kKillEaterEventType_FacelessVoid_MultiHeroTimeDilation = 200; + kKillEaterEventType_Gyrocopter_ThreeHeroFlakCannon = 201; + kKillEaterEventType_Gyrocopter_HomingMissileKills = 202; + kKillEaterEventType_Gyrocopter_RocketBarrageKills = 203; + kKillEaterEventType_Huskar_KillsDuringLifeBreak = 204; + kKillEaterEventType_Huskar_BurningSpearKills = 205; + kKillEaterEventType_Invoker_MultiHeroIceWall = 206; + kKillEaterEventType_Invoker_ThreeHeroEMP = 207; + kKillEaterEventType_Invoker_ThreeHeroDeafeningBlast = 208; + kKillEaterEventType_Invoker_MultiHeroChaosMeteor = 209; + kKillEaterEventType_Jakiro_MultiHeroDualBreath = 210; + kKillEaterEventType_Jakiro_IcePathMacropyreCombos = 211; + kKillEaterEventType_Leshrac_PulseNovaKills = 212; + kKillEaterEventType_Leshrac_ThreeHeroLightningStorm = 213; + kKillEaterEventType_Lion_ThreeHeroFingerOfDeath = 214; + kKillEaterEventType_Meepo_PoofKills = 215; + kKillEaterEventType_Meepo_MultiHeroEarthbinds = 216; + kKillEaterEventType_NightStalker_NighttimeKills = 217; + kKillEaterEventType_Morphling_KillsDuringReplicate = 218; + kKillEaterEventType_OgreMagi_FireblastKills = 219; + kKillEaterEventType_OgreMagi_IgniteKills = 220; + kKillEaterEventType_DominatingKillStreaks = 221; + kKillEaterEventType_MegaKillStreaks = 222; + kKillEaterEventType_Alchemist_AghanimsGiven = 223; + kKillEaterEventType_VeilsLeadingToKills = 224; + kKillEaterEventType_DustLeadingToKills = 225; + kKillEaterEventType_WitchDoctor_MultiHeroCaskStuns = 226; + kKillEaterEventType_Weaver_ShukuchiKills = 227; + kKillEaterEventType_Windrunner_ShackleFocusFireKills = 228; + kKillEaterEventType_VengefulSpirit_VengeanceAuraIllusionKills = 229; + kKillEaterEventType_Tusk_WalrusPunchKills = 230; + kKillEaterEventType_Tinker_MultiHeroLasers = 231; + kKillEaterEventType_TemplarAssassin_MultiHeroPsiBlades = 232; + kKillEaterEventType_Sven_KillsDuringGodsStrength = 233; + kKillEaterEventType_Sniper_ThreeHeroShrapnels = 234; + kKillEaterEventType_Slark_KillsDuringShadowDance = 235; + kKillEaterEventType_ShadowShaman_MultiHeroEtherShocks = 236; + kKillEaterEventType_ShadowShaman_SerpentWardShackleKills = 237; + kKillEaterEventType_Riki_ThreeHeroTricksOfTheTrade = 238; + kKillEaterEventType_Razor_EyeOfTheStormKills = 239; + kKillEaterEventType_Pugna_LifeDrainKills = 240; + kKillEaterEventType_ObsidianDestroyer_SanitysEclipseKills = 241; + kKillEaterEventType_Oracle_MultiHeroFortunesEnd = 242; + kKillEaterEventType_Omniknight_PurificationKills = 243; + kKillEaterEventType_NightStalker_EnemyMissesUnderCripplingFear = 244; + kKillEaterEventType_Warlock_ThreeHeroFatalBonds = 245; + kKillEaterEventType_Riki_TricksOfTheTradeKills = 246; + kKillEaterEventType_Earthshaker_AftershockHits10 = 247; + kKillEaterEventType_Earthshaker_5HeroEchoslams = 248; + kKillEaterEventType_Lina_LagunaBladeHeroKills = 249; + kKillEaterEventType_Lina_LightStrikeHeroStuns = 250; + kKillEaterEventType_Earthshaker_FissureMultiStuns = 251; + kKillEaterEventType_Earthshaker_TotemKills = 252; + kKillEaterEventType_Pangolier_SwashbuckleKills = 253; + kKillEaterEventType_Furion_EnemyHeroesTrapped = 254; + kKillEaterEventType_Pangolier_HeartpiercerKills = 255; + kKillEaterEventType_Medusa_MultiHeroStoneGaze = 256; + kKillEaterEventType_Medusa_SplitShotKills = 257; + kKillEaterEventType_Mirana_MultiHeroStarstorm = 258; + kKillEaterEventType_Mirana_KillsFromMoonlightShadow = 259; + kKillEaterEventType_Magnus_MultiHeroSkewers = 260; + kKillEaterEventType_Magnus_MultiHeroReversePolarity = 261; + kKillEaterEventType_Magnus_HeroesSlowedWithShockwave = 262; + kKillEaterEventType_NagaSiren_MultiHeroSong = 263; + kKillEaterEventType_NagaSiren_AlliesHealedBySong = 264; + kKillEaterEventType_LoneDruid_MultiHeroRoar = 265; + kKillEaterEventType_LoneDruid_BattleCryKills = 266; + kKillEaterEventType_WinterWyvern_ThreeHeroCurses = 267; + kKillEaterEventType_Antimage_SpellsBlockedWithCounterspell = 268; + kKillEaterEventType_Mars_EnemiesKilledInArena = 269; + kKillEaterEventType_Mars_MultiHeroGodsRebuke = 270; + kKillEaterEventType_Mars_GodsRebukeKills = 271; + kKillEaterEventType_Snapfire_LizardBlobsKills = 272; + kKillEaterEventType_Snapfire_TwoHeroCookieStuns = 273; + Custom_KillStreak = 274; + kKillEaterEventType_Muerta_DeadShotKills = 275; + kKillEaterEventType_Muerta_PierceTheVeilKills = 276; + kKillEaterEventType_Muerta_MultiHeroDeadShot = 277; + kKillEaterEventType_Muerta_DeadShotsIntoTheCalling = 278; + kKillEaterEventType_Ringmaster_LongRangeDaggerHits = 279; + kKillEaterEventType_Ringmaster_MultiHeroWhips = 280; + kKillEaterEventType_Ringmaster_MultiHeroMesmerizes = 281; + kKillEaterEventType_Kez_ParryCounterAttacks = 282; + kKillEaterEventType_Kez_RavensVeilKills = 283; + kKillEaterEventType_Kez_RaptorDanceHealing = 284; + kKillEaterEventType_Kez_KillsDuringFalconRush = 285; + kKillEaterEventType_Seasonal_PartyHatsStolen = 286; + kKillEaterEventType_Seasonal_TallestHat = 287; + kKillEaterEventType_Largo_MultiHeroFrogstomp = 288; + kKillEaterEventType_Largo_AmphibianRhapsodyKillsAndAssists = 289; + } - optional .CMvpData.MvpDatum.MvpAccolade.MvpAccoladeType type = 1 [default = kills]; - optional float detail_value = 2; - } + optional .CMvpData.MvpDatum.MvpAccolade.MvpAccoladeType type = 1 [default = kills]; + optional float detail_value = 2; + } - optional uint32 player_slot = 1; - repeated .CMvpData.MvpDatum.MvpAccolade accolades = 2; - } + optional uint32 player_slot = 1; + repeated .CMvpData.MvpDatum.MvpAccolade accolades = 2; + } - repeated .CMvpData.MvpDatum mvps = 1; - repeated .CMvpData.MvpDatum event_mvps = 2; + repeated .CMvpData.MvpDatum mvps = 1; + repeated .CMvpData.MvpDatum event_mvps = 2; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_monster_hunter.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_monster_hunter.proto index 78c3aa0b..cc2fd417 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_monster_hunter.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_monster_hunter.proto @@ -9,343 +9,345 @@ option optimize_for = SPEED; option java_generic_services = false; enum EMonsterHunterAuditAction { - k_eMonsterHunterAuditAction_Invalid = 0; - k_eMonsterHunterAuditAction_DevModifyMaterials = 1; - k_eMonsterHunterAuditAction_DevGrantMaterials = 2; - k_eMonsterHunterAuditAction_DevResetAll = 3; - k_eMonsterHunterAuditAction_ClaimReward = 4; - k_eMonsterHunterAuditAction_MatchRewardsWin = 5; - k_eMonsterHunterAuditAction_MatchRewardsLose = 6; - k_eMonsterHunterAuditAction_MaterialTraderLost = 7; - k_eMonsterHunterAuditAction_MaterialTraderGained = 8; - k_eMonsterHunterAuditAction_RewardMaterialCost = 9; - k_eMonsterHunterAuditAction_SupportGrantMaterials = 10; - k_eMonsterHunterAuditAction_MaterialGiftSent = 11; - k_eMonsterHunterAuditAction_DevClaimInvestigationRewards = 12; - k_eMonsterHunterAuditAction_HeroCodexUpdate = 13; - k_eMonsterHunterAuditAction_EventActionReward = 14; + k_eMonsterHunterAuditAction_Invalid = 0; + k_eMonsterHunterAuditAction_DevModifyMaterials = 1; + k_eMonsterHunterAuditAction_DevGrantMaterials = 2; + k_eMonsterHunterAuditAction_DevResetAll = 3; + k_eMonsterHunterAuditAction_ClaimReward = 4; + k_eMonsterHunterAuditAction_MatchRewardsWin = 5; + k_eMonsterHunterAuditAction_MatchRewardsLose = 6; + k_eMonsterHunterAuditAction_MaterialTraderLost = 7; + k_eMonsterHunterAuditAction_MaterialTraderGained = 8; + k_eMonsterHunterAuditAction_RewardMaterialCost = 9; + k_eMonsterHunterAuditAction_SupportGrantMaterials = 10; + k_eMonsterHunterAuditAction_MaterialGiftSent = 11; + k_eMonsterHunterAuditAction_DevClaimInvestigationRewards = 12; + k_eMonsterHunterAuditAction_HeroCodexUpdate = 13; + k_eMonsterHunterAuditAction_EventActionReward = 14; + k_eMonsterHunterAuditAction_AutoCraft = 15; } enum EHeroCodexEntryStatType { - k_eHeroCodexEntryStatType_Killed = 0; - k_eHeroCodexEntryStatType_WinsPlayingAsHero = 1; - k_eHeroCodexEntryStatType_WinsWith = 2; - k_eHeroCodexEntryStatType_LossesPlayingAsHero = 3; - k_eHeroCodexEntryStatType_LossesWith = 4; - k_eHeroCodexEntryStatType_TurboWinsPlayingAsHero = 5; - k_eHeroCodexEntryStatType_TurboWinsWith = 6; - k_eHeroCodexEntryStatType_TurboLossesPlayingAsHero = 7; - k_eHeroCodexEntryStatType_TurboLossesWith = 8; - k_eHeroCodexEntryStatType_Count = 9; + k_eHeroCodexEntryStatType_Killed = 0; + k_eHeroCodexEntryStatType_WinsPlayingAsHero = 1; + k_eHeroCodexEntryStatType_WinsWith = 2; + k_eHeroCodexEntryStatType_LossesPlayingAsHero = 3; + k_eHeroCodexEntryStatType_LossesWith = 4; + k_eHeroCodexEntryStatType_TurboWinsPlayingAsHero = 5; + k_eHeroCodexEntryStatType_TurboWinsWith = 6; + k_eHeroCodexEntryStatType_TurboLossesPlayingAsHero = 7; + k_eHeroCodexEntryStatType_TurboLossesWith = 8; + k_eHeroCodexEntryStatType_Count = 9; } message CMsgMonsterHunterMaterialCount { - optional uint32 material_id = 1; - optional uint32 material_count = 2; + optional uint32 material_id = 1; + optional uint32 material_count = 2; } message CMsgMonsterHunterHeroCodexEntry { - repeated uint32 stats = 1; - optional bool unlocked = 2; + repeated uint32 stats = 1; + optional bool unlocked = 2; } message CMsgMonsterHunterUserData { - message HeroCodexEntry { - optional int32 key = 1; - optional .CMsgMonsterHunterHeroCodexEntry value = 2; - } + message HeroCodexEntry { + optional int32 key = 1; + optional .CMsgMonsterHunterHeroCodexEntry value = 2; + } - optional .CMsgMonsterHunterMaterialQuantity material_inventory = 1; - repeated .CMsgMonsterHunterUserData.HeroCodexEntry hero_codex = 2; - optional int32 unlocked_count = 3; + optional .CMsgMonsterHunterMaterialQuantity material_inventory = 1; + repeated .CMsgMonsterHunterUserData.HeroCodexEntry hero_codex = 2; + optional int32 unlocked_count = 3; } message CMsgMonsterHunterMatchRewards { - message Player { - message HuntReward { - optional int32 hero_id = 1; - optional .CMsgMonsterHunterMaterialQuantity materials = 2; - optional bool success = 3; - } + message Player { + message HuntReward { + optional int32 hero_id = 1; + optional .CMsgMonsterHunterMaterialQuantity materials = 2; + optional bool success = 3; + } - optional uint32 player_slot = 1; - optional .CMsgMonsterHunterMaterialQuantity possible_match_reward_materials = 2; - optional .CMsgMonsterHunterMaterialQuantity actual_match_reward_materials = 3; - optional .CMsgMonsterHunterMatchRewards.Player.HuntReward hunt_reward = 4; - repeated .CMsgMonsterHunterMatchRewards.Player.HuntReward denial_rewards = 5; - optional bool hunter_duel = 6; - } + optional uint32 player_slot = 1; + optional .CMsgMonsterHunterMaterialQuantity possible_match_reward_materials = 2; + optional .CMsgMonsterHunterMaterialQuantity actual_match_reward_materials = 3; + optional .CMsgMonsterHunterMatchRewards.Player.HuntReward hunt_reward = 4; + repeated .CMsgMonsterHunterMatchRewards.Player.HuntReward denial_rewards = 5; + optional bool hunter_duel = 6; + } - repeated .CMsgMonsterHunterMatchRewards.Player players = 1; + repeated .CMsgMonsterHunterMatchRewards.Player players = 1; } message CMsgClientToGCMonsterHunterGetUserData { } message CMsgClientToGCMonsterHunterGetUserDataResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + } - optional .CMsgClientToGCMonsterHunterGetUserDataResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgMonsterHunterUserData user_data = 2; + optional .CMsgClientToGCMonsterHunterGetUserDataResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgMonsterHunterUserData user_data = 2; } message CMsgGCToClientMonsterHunterUserDataUpdated { - optional .CMsgMonsterHunterUserData user_data = 1; + optional .CMsgMonsterHunterUserData user_data = 1; } message CMsgClientToGCMonsterHunterClaimReward { - oneof RewardType { - uint32 item_id = 1; - uint32 hunter_rank_reward = 2; - } + oneof RewardType { + uint32 item_id = 1; + uint32 hunter_rank_reward = 2; + } } message CMsgClientToGCMonsterHunterClaimRewardResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eRewardAlreadyClaimed = 5; - k_eNotEnoughMaterialsForReward = 6; - k_eNotEnoughResourceForReward = 7; - k_eRequiredHunterLevel = 8; - k_eDontHavePremium = 9; - } - - optional .CMsgClientToGCMonsterHunterClaimRewardResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgDOTAClaimEventActionResponse claim_response = 2; - optional .CMsgMonsterHunterMaterialQuantity materials_received = 3; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eRewardAlreadyClaimed = 5; + k_eNotEnoughMaterialsForReward = 6; + k_eNotEnoughResourceForReward = 7; + k_eRequiredHunterLevel = 8; + k_eDontHavePremium = 9; + } + + optional .CMsgClientToGCMonsterHunterClaimRewardResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgDOTAClaimEventActionResponse claim_response = 2; + optional .CMsgMonsterHunterMaterialQuantity materials_received = 3; } message CMsgMonsterHunterItemSet { - optional uint32 econ_item_id = 1; - optional uint32 set_index = 2; + optional uint32 econ_item_id = 1; + optional uint32 set_index = 2; } message CMsgClientToGCMonsterHunterClaimSetReward { - repeated .CMsgMonsterHunterItemSet item_sets = 1; + repeated .CMsgMonsterHunterItemSet item_sets = 1; } message CMsgClientToGCMonsterHunterClaimSetRewardResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eRewardAlreadyClaimed = 5; - k_eNotEnoughMaterialsForReward = 6; - k_eDontHavePremium = 7; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eRewardAlreadyClaimed = 5; + k_eNotEnoughMaterialsForReward = 6; + k_eDontHavePremium = 7; + } - optional .CMsgClientToGCMonsterHunterClaimSetRewardResponse.EResponse response = 1 [default = k_eInternalError]; - repeated .CMsgDOTAClaimEventActionResponse claim_responses = 2; + optional .CMsgClientToGCMonsterHunterClaimSetRewardResponse.EResponse response = 1 [default = k_eInternalError]; + repeated .CMsgDOTAClaimEventActionResponse claim_responses = 2; } message CMsgClientToGCMonsterHunterTradeMaterials { - optional .CMsgMonsterHunterMaterialQuantity material_offer = 1; - optional .CMsgMonsterHunterMaterialQuantity material_request = 2; - optional uint32 recipe_id = 3; + optional .CMsgMonsterHunterMaterialQuantity material_offer = 1; + optional .CMsgMonsterHunterMaterialQuantity material_request = 2; + optional uint32 recipe_id = 3; } message CMsgClientToGCMonsterHunterTradeMaterialsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidOffer = 6; - k_eNotEnoughMaterials = 7; - k_eRewardDoesNotMatchRecipe = 8; - } - - optional .CMsgClientToGCMonsterHunterTradeMaterialsResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgMonsterHunterMaterialQuantity materials_received = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidOffer = 6; + k_eNotEnoughMaterials = 7; + k_eRewardDoesNotMatchRecipe = 8; + k_eAlreadyClaimedMax = 9; + } + + optional .CMsgClientToGCMonsterHunterTradeMaterialsResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgMonsterHunterMaterialQuantity materials_received = 2; } message CMsgClientToGCMonsterHunterGiftMaterials { - optional .CMsgMonsterHunterMaterialCount token_gift = 1; - optional uint32 recipient_account_id = 2; - optional uint32 periodic_resource_id = 3; + optional .CMsgMonsterHunterMaterialCount token_gift = 1; + optional uint32 recipient_account_id = 2; + optional uint32 periodic_resource_id = 3; } message CMsgClientToGCMonsterHunterGiftMaterialsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidGift = 6; - k_eNotEnoughMaterials = 7; - k_eInvalidRecipient = 8; - k_eNotEnoughPeriodicResource = 9; - } - - optional .CMsgClientToGCMonsterHunterGiftMaterialsResponse.EResponse response = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidGift = 6; + k_eNotEnoughMaterials = 7; + k_eInvalidRecipient = 8; + k_eNotEnoughPeriodicResource = 9; + } + + optional .CMsgClientToGCMonsterHunterGiftMaterialsResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCMonsterHunterRequestMaterialsNeededByFriend { - optional uint32 friend_account_id = 1; + optional uint32 friend_account_id = 1; } message CMsgClientToGCMonsterHunterRequestMaterialsNeededByFriendResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidFriend = 6; - k_eTooManyRequests = 7; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidFriend = 6; + k_eTooManyRequests = 7; + } - optional .CMsgClientToGCMonsterHunterRequestMaterialsNeededByFriendResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgMonsterHunterMaterialQuantity token_quantity = 2; + optional .CMsgClientToGCMonsterHunterRequestMaterialsNeededByFriendResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgMonsterHunterMaterialQuantity token_quantity = 2; } message CMsgClientToGCMonsterHunterDevResetAll { - optional bool reset_codex_only = 1; + optional bool reset_codex_only = 1; } message CMsgClientToGCMonsterHunterDevResetAllResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + } - optional .CMsgClientToGCMonsterHunterDevResetAllResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCMonsterHunterDevResetAllResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCMonsterHunterDevGrantMaterials { - optional .CMsgMonsterHunterMaterialQuantity material_quantity = 1; + optional .CMsgMonsterHunterMaterialQuantity material_quantity = 1; } message CMsgClientToGCMonsterHunterDevGrantMaterialsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + } - optional .CMsgClientToGCMonsterHunterDevGrantMaterialsResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCMonsterHunterDevGrantMaterialsResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCMonsterHunterDevClearInventory { } message CMsgClientToGCMonsterHunterDevClearInventoryResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + } - optional .CMsgClientToGCMonsterHunterDevClearInventoryResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCMonsterHunterDevClearInventoryResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCMonsterHunterDevClaimInvestigationRewards { - optional .CMsgMonsterHunterInvestigationGameState investigation_game_state = 1; - optional bool win = 2; + optional .CMsgMonsterHunterInvestigationGameState investigation_game_state = 1; + optional bool win = 2; } message CMsgClientToGCMonsterHunterDevClaimInvestigationRewardsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + } - optional .CMsgClientToGCMonsterHunterDevClaimInvestigationRewardsResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCMonsterHunterDevClaimInvestigationRewardsResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCMonsterHunterClaimCodexReward { - optional uint32 codex_id = 1; - optional uint32 reward = 2; + optional uint32 codex_id = 1; + optional uint32 reward = 2; } message CMsgClientToGCMonsterHunterClaimCodexRewardResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eAlreadyClaimed = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eAlreadyClaimed = 6; + } - optional .CMsgClientToGCMonsterHunterClaimCodexRewardResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgDOTAClaimEventActionResponse claim_response = 2; + optional .CMsgClientToGCMonsterHunterClaimCodexRewardResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgDOTAClaimEventActionResponse claim_response = 2; } message CMsgDevModifyCodexAction { - enum EAction { - k_eClear = 0; - k_eAdd = 1; - } + enum EAction { + k_eClear = 0; + k_eAdd = 1; + } - optional uint32 codex_id = 1; - optional .EHeroCodexEntryStatType stat_type = 2 [default = k_eHeroCodexEntryStatType_Killed]; - optional .CMsgDevModifyCodexAction.EAction action = 3 [default = k_eClear]; + optional uint32 codex_id = 1; + optional .EHeroCodexEntryStatType stat_type = 2 [default = k_eHeroCodexEntryStatType_Killed]; + optional .CMsgDevModifyCodexAction.EAction action = 3 [default = k_eClear]; } message CMsgClientToGCMonsterHunterDevModifyHeroCodex { - repeated .CMsgDevModifyCodexAction actions = 1; + repeated .CMsgDevModifyCodexAction actions = 1; } message CMsgClientToGCMonsterHunterDevModifyHeroCodexResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + } - optional .CMsgClientToGCMonsterHunterDevModifyHeroCodexResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCMonsterHunterDevModifyHeroCodexResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCMonsterHunterFeedback { - optional uint32 language = 1; - optional string feedback = 2; + optional uint32 language = 1; + optional string feedback = 2; } message CMsgClientToGCMonsterHunterFeedbackResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - } - - optional .CMsgClientToGCMonsterHunterFeedbackResponse.EResponse response = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + } + + optional .CMsgClientToGCMonsterHunterFeedbackResponse.EResponse response = 1 [default = k_eInternalError]; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_overworld.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_overworld.proto index 3fd8e2a3..69c55234 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_overworld.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_common_overworld.proto @@ -10,495 +10,495 @@ option optimize_for = SPEED; option java_generic_services = false; enum EOverworldNodeState { - k_eOverworldNodeState_Invalid = 0; - k_eOverworldNodeState_Locked = 1; - k_eOverworldNodeState_Unlocked = 2; + k_eOverworldNodeState_Invalid = 0; + k_eOverworldNodeState_Locked = 1; + k_eOverworldNodeState_Unlocked = 2; } enum EOverworldPathState { - k_eOverworldPathState_Invalid = 0; - k_eOverworldPathState_Incomplete = 1; - k_eOverworldPathState_Complete = 2; + k_eOverworldPathState_Invalid = 0; + k_eOverworldPathState_Incomplete = 1; + k_eOverworldPathState_Complete = 2; } enum EOverworldAuditAction { - k_eOverworldAuditAction_Invalid = 0; - k_eOverworldAuditAction_DevModifyTokens = 1; - k_eOverworldAuditAction_DevClearInventory = 2; - k_eOverworldAuditAction_DevGrantTokens = 3; - k_eOverworldAuditAction_CompletePath = 4; - k_eOverworldAuditAction_ClaimEncounterReward = 5; - k_eOverworldAuditAction_DevResetNode = 6; - k_eOverworldAuditAction_DevResetPath = 7; - k_eOverworldAuditAction_MatchRewardsFull = 8; - k_eOverworldAuditAction_MatchRewardsHalf = 9; - k_eOverworldAuditAction_EventActionTokenGrant = 10; - k_eOverworldAuditAction_TokenTraderLost = 11; - k_eOverworldAuditAction_TokenTraderGained = 12; - k_eOverworldAuditAction_EncounterRewardTokenCost = 13; - k_eOverworldAuditAction_EncounterRewardTokenReward = 14; - k_eOverworldAuditAction_SupportGrantTokens = 16; - k_eOverworldAuditAction_TokenGiftSent = 17; + k_eOverworldAuditAction_Invalid = 0; + k_eOverworldAuditAction_DevModifyTokens = 1; + k_eOverworldAuditAction_DevClearInventory = 2; + k_eOverworldAuditAction_DevGrantTokens = 3; + k_eOverworldAuditAction_CompletePath = 4; + k_eOverworldAuditAction_ClaimEncounterReward = 5; + k_eOverworldAuditAction_DevResetNode = 6; + k_eOverworldAuditAction_DevResetPath = 7; + k_eOverworldAuditAction_MatchRewardsFull = 8; + k_eOverworldAuditAction_MatchRewardsHalf = 9; + k_eOverworldAuditAction_EventActionTokenGrant = 10; + k_eOverworldAuditAction_TokenTraderLost = 11; + k_eOverworldAuditAction_TokenTraderGained = 12; + k_eOverworldAuditAction_EncounterRewardTokenCost = 13; + k_eOverworldAuditAction_EncounterRewardTokenReward = 14; + k_eOverworldAuditAction_SupportGrantTokens = 16; + k_eOverworldAuditAction_TokenGiftSent = 17; } enum EOverworldMinigameAction { - k_eOverworldMinigameAction_Invalid = 0; - k_eOverworldMinigameAction_DevReset = 1; - k_eOverworldMinigameAction_DevGiveCurrency = 2; - k_eOverworldMinigameAction_Purchase = 3; - k_eOverworldMinigameAction_SetOption = 4; - k_eOverworldMinigameAction_ReportCurrencyGained = 5; - k_eOverworldMinigameAction_UnlockDifficulty = 6; + k_eOverworldMinigameAction_Invalid = 0; + k_eOverworldMinigameAction_DevReset = 1; + k_eOverworldMinigameAction_DevGiveCurrency = 2; + k_eOverworldMinigameAction_Purchase = 3; + k_eOverworldMinigameAction_SetOption = 4; + k_eOverworldMinigameAction_ReportCurrencyGained = 5; + k_eOverworldMinigameAction_UnlockDifficulty = 6; } message CMsgOverworldTokenCount { - optional uint32 token_id = 1; - optional uint32 token_count = 2; + optional uint32 token_id = 1; + optional uint32 token_count = 2; } message CMsgOverworldTokenQuantity { - repeated .CMsgOverworldTokenCount token_counts = 1; + repeated .CMsgOverworldTokenCount token_counts = 1; } message CMsgOverworldEncounterTokenTreasureData { - message RewardOption { - optional uint32 reward_data = 1; - optional .CMsgOverworldTokenQuantity token_cost = 2; - optional .CMsgOverworldTokenQuantity token_reward = 3; - } + message RewardOption { + optional uint32 reward_data = 1; + optional .CMsgOverworldTokenQuantity token_cost = 2; + optional .CMsgOverworldTokenQuantity token_reward = 3; + } - repeated .CMsgOverworldEncounterTokenTreasureData.RewardOption reward_options = 1; + repeated .CMsgOverworldEncounterTokenTreasureData.RewardOption reward_options = 1; } message CMsgOverworldEncounterTokenQuestData { - message Quest { - optional uint32 reward_data = 1; - optional .CMsgOverworldTokenQuantity token_cost = 2; - optional .CMsgOverworldTokenQuantity token_reward = 3; - } + message Quest { + optional uint32 reward_data = 1; + optional .CMsgOverworldTokenQuantity token_cost = 2; + optional .CMsgOverworldTokenQuantity token_reward = 3; + } - repeated .CMsgOverworldEncounterTokenQuestData.Quest quests = 1; + repeated .CMsgOverworldEncounterTokenQuestData.Quest quests = 1; } message CMsgOverworldHeroList { - repeated int32 hero_ids = 1; + repeated int32 hero_ids = 1; } message CMsgOverworldEncounterChooseHeroData { - optional .CMsgOverworldHeroList hero_list = 1; - optional bool additive = 2; + optional .CMsgOverworldHeroList hero_list = 1; + optional bool additive = 2; } message CMsgOverworldEncounterProgressData { - optional int32 choice = 1; - optional int32 progress = 2; - optional int32 max_progress = 3; - optional bool visited = 4; + optional int32 choice = 1; + optional int32 progress = 2; + optional int32 max_progress = 3; + optional bool visited = 4; } message CMsgOverworldEncounterData { - repeated .CExtraMsgBlock extra_encounter_data = 1; + repeated .CExtraMsgBlock extra_encounter_data = 1; } message CMsgOverworldNode { - optional uint32 node_id = 1; - optional .EOverworldNodeState node_state = 2 [default = k_eOverworldNodeState_Invalid]; - optional .CMsgOverworldEncounterData node_encounter_data = 3; + optional uint32 node_id = 1; + optional .EOverworldNodeState node_state = 2 [default = k_eOverworldNodeState_Invalid]; + optional .CMsgOverworldEncounterData node_encounter_data = 3; } message CMsgOverworldPath { - optional uint32 path_id = 1; - optional .CMsgOverworldTokenQuantity path_cost = 2; - optional .EOverworldPathState path_state = 3 [default = k_eOverworldPathState_Invalid]; + optional uint32 path_id = 1; + optional .CMsgOverworldTokenQuantity path_cost = 2; + optional .EOverworldPathState path_state = 3 [default = k_eOverworldPathState_Invalid]; } message CMsgOverworldMinigameCustomData { - oneof minigame_type { - .CMsgSurvivorsUserData survivors_data = 1; - } + oneof minigame_type { + .CMsgSurvivorsUserData survivors_data = 1; + } } message CMsgOverworldMinigameUserData { - optional uint32 node_id = 1; - optional uint32 currency_amount = 2; - optional .CMsgOverworldMinigameCustomData custom_data = 3; + optional uint32 node_id = 1; + optional uint32 currency_amount = 2; + optional .CMsgOverworldMinigameCustomData custom_data = 3; } message CMsgOverworldUserData { - message MinigameDataEntry { - optional uint32 key = 1; - optional .CMsgOverworldMinigameUserData value = 2; - } + message MinigameDataEntry { + optional uint32 key = 1; + optional .CMsgOverworldMinigameUserData value = 2; + } - optional .CMsgOverworldTokenQuantity token_inventory = 1; - repeated .CMsgOverworldNode overworld_nodes = 2; - repeated .CMsgOverworldPath overworld_paths = 3; - optional uint32 current_node_id = 4; - repeated .CMsgOverworldUserData.MinigameDataEntry minigame_data = 5; + optional .CMsgOverworldTokenQuantity token_inventory = 1; + repeated .CMsgOverworldNode overworld_nodes = 2; + repeated .CMsgOverworldPath overworld_paths = 3; + optional uint32 current_node_id = 4; + repeated .CMsgOverworldUserData.MinigameDataEntry minigame_data = 5; } message CMsgOverworldMatchRewards { - message Player { - optional uint32 player_slot = 1; - optional .CMsgOverworldTokenQuantity tokens = 2; - optional uint32 overworld_id = 3; - } + message Player { + optional uint32 player_slot = 1; + optional .CMsgOverworldTokenQuantity tokens = 2; + optional uint32 overworld_id = 3; + } - repeated .CMsgOverworldMatchRewards.Player players = 1; + repeated .CMsgOverworldMatchRewards.Player players = 1; } message CMsgClientToGCOverworldGetUserData { - optional uint32 overworld_id = 1; + optional uint32 overworld_id = 1; } message CMsgClientToGCOverworldGetUserDataResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidOverworld = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidOverworld = 5; + } - optional .CMsgClientToGCOverworldGetUserDataResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgOverworldUserData user_data = 2; + optional .CMsgClientToGCOverworldGetUserDataResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgOverworldUserData user_data = 2; } message CMsgGCToClientOverworldUserDataUpdated { - optional uint32 overworld_id = 1; - optional .CMsgOverworldUserData user_data = 2; + optional uint32 overworld_id = 1; + optional .CMsgOverworldUserData user_data = 2; } message CMsgClientToGCOverworldCompletePath { - optional uint32 overworld_id = 1; - optional uint32 path_id = 2; + optional uint32 overworld_id = 1; + optional uint32 path_id = 2; } message CMsgClientToGCOverworldCompletePathResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidOverworld = 5; - k_eInvalidPath = 6; - k_eNotEnoughTokens = 7; - k_ePathIsLocked = 8; - k_ePathAlreadyUnlocked = 9; - k_eEventExpired = 10; - } - - optional .CMsgClientToGCOverworldCompletePathResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgDOTAClaimEventActionResponse claim_response = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidOverworld = 5; + k_eInvalidPath = 6; + k_eNotEnoughTokens = 7; + k_ePathIsLocked = 8; + k_ePathAlreadyUnlocked = 9; + k_eEventExpired = 10; + } + + optional .CMsgClientToGCOverworldCompletePathResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgDOTAClaimEventActionResponse claim_response = 2; } message CMsgOverworldEncounterPitFighterRewardData { - optional uint32 token_id = 1; - optional uint32 choice = 2; + optional uint32 token_id = 1; + optional uint32 choice = 2; } message CMsgClientToGCOverworldClaimEncounterReward { - optional uint32 overworld_id = 1; - optional uint32 node_id = 2; - optional uint32 reward_data = 3; - optional uint32 periodic_resource_id = 4; - optional .CMsgOverworldEncounterData extra_reward_data = 5; - optional uint32 leaderboard_data = 6; - optional uint32 leaderboard_index = 7; - optional bool should_claim_reward = 8; + optional uint32 overworld_id = 1; + optional uint32 node_id = 2; + optional uint32 reward_data = 3; + optional uint32 periodic_resource_id = 4; + optional .CMsgOverworldEncounterData extra_reward_data = 5; + optional uint32 leaderboard_data = 6; + optional uint32 leaderboard_index = 7; + optional bool should_claim_reward = 8; } message CMsgClientToGCOverworldClaimEncounterRewardResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidOverworld = 5; - k_eInvalidNode = 6; - k_eNodeLocked = 7; - k_eRewardAlreadyClaimed = 8; - k_eNodeNotEncounter = 9; - k_eEncounterMissingRewards = 10; - k_eInvalidEncounterRewardStyle = 11; - k_eInvalidEncounterData = 12; - k_eNotEnoughTokensForReward = 13; - k_eNotEnoughResourceForReward = 14; - k_eInvalidRewardData = 15; - k_eEventExpired = 16; - } - - optional .CMsgClientToGCOverworldClaimEncounterRewardResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgDOTAClaimEventActionResponse claim_response = 2; - optional .CMsgOverworldTokenQuantity tokens_received = 3; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidOverworld = 5; + k_eInvalidNode = 6; + k_eNodeLocked = 7; + k_eRewardAlreadyClaimed = 8; + k_eNodeNotEncounter = 9; + k_eEncounterMissingRewards = 10; + k_eInvalidEncounterRewardStyle = 11; + k_eInvalidEncounterData = 12; + k_eNotEnoughTokensForReward = 13; + k_eNotEnoughResourceForReward = 14; + k_eInvalidRewardData = 15; + k_eEventExpired = 16; + } + + optional .CMsgClientToGCOverworldClaimEncounterRewardResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgDOTAClaimEventActionResponse claim_response = 2; + optional .CMsgOverworldTokenQuantity tokens_received = 3; } message CMsgClientToGCOverworldVisitEncounter { - optional uint32 overworld_id = 1; - optional uint32 node_id = 2; + optional uint32 overworld_id = 1; + optional uint32 node_id = 2; } message CMsgClientToGCOverworldVisitEncounterResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidOverworld = 5; - k_eInvalidNode = 6; - k_eNodeLocked = 7; - k_eNodeNotEncounter = 8; - k_eAlreadyVisited = 9; - } - - optional .CMsgClientToGCOverworldVisitEncounterResponse.EResponse response = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidOverworld = 5; + k_eInvalidNode = 6; + k_eNodeLocked = 7; + k_eNodeNotEncounter = 8; + k_eAlreadyVisited = 9; + } + + optional .CMsgClientToGCOverworldVisitEncounterResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOverworldMoveToNode { - optional uint32 overworld_id = 1; - optional uint32 node_id = 2; + optional uint32 overworld_id = 1; + optional uint32 node_id = 2; } message CMsgClientToGCOverworldMoveToNodeResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidOverworld = 5; - k_eInvalidNode = 6; - k_eNodeLocked = 7; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidOverworld = 5; + k_eInvalidNode = 6; + k_eNodeLocked = 7; + } - optional .CMsgClientToGCOverworldMoveToNodeResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCOverworldMoveToNodeResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOverworldTradeTokens { - optional uint32 overworld_id = 1; - optional .CMsgOverworldTokenQuantity token_offer = 2; - optional .CMsgOverworldTokenQuantity token_request = 3; - optional uint32 recipe = 4; - optional uint32 encounter_id = 5; + optional uint32 overworld_id = 1; + optional .CMsgOverworldTokenQuantity token_offer = 2; + optional .CMsgOverworldTokenQuantity token_request = 3; + optional uint32 recipe = 4; + optional uint32 encounter_id = 5; } message CMsgClientToGCOverworldTradeTokensResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eNodeLocked = 6; - k_eInvalidOverworld = 7; - k_eInvalidOffer = 8; - k_eNotEnoughTokens = 9; - k_eInvalidNode = 10; - k_eInvalidEncounter = 11; - k_eRewardDoesNotMatchRecipe = 12; - } - - optional .CMsgClientToGCOverworldTradeTokensResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgOverworldTokenQuantity tokens_received = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eNodeLocked = 6; + k_eInvalidOverworld = 7; + k_eInvalidOffer = 8; + k_eNotEnoughTokens = 9; + k_eInvalidNode = 10; + k_eInvalidEncounter = 11; + k_eRewardDoesNotMatchRecipe = 12; + } + + optional .CMsgClientToGCOverworldTradeTokensResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgOverworldTokenQuantity tokens_received = 2; } message CMsgClientToGCOverworldGiftTokens { - optional uint32 overworld_id = 1; - optional .CMsgOverworldTokenCount token_gift = 2; - optional uint32 recipient_account_id = 3; - optional uint32 periodic_resource_id = 4; + optional uint32 overworld_id = 1; + optional .CMsgOverworldTokenCount token_gift = 2; + optional uint32 recipient_account_id = 3; + optional uint32 periodic_resource_id = 4; } message CMsgClientToGCOverworldGiftTokensResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eNodeLocked = 6; - k_eInvalidOverworld = 7; - k_eInvalidGift = 8; - k_eNotEnoughTokens = 9; - k_eInvalidRecipient = 10; - k_eNotEnoughPeriodicResource = 11; - } - - optional .CMsgClientToGCOverworldGiftTokensResponse.EResponse response = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eNodeLocked = 6; + k_eInvalidOverworld = 7; + k_eInvalidGift = 8; + k_eNotEnoughTokens = 9; + k_eInvalidRecipient = 10; + k_eNotEnoughPeriodicResource = 11; + } + + optional .CMsgClientToGCOverworldGiftTokensResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOverworldRequestTokensNeededByFriend { - optional uint32 friend_account_id = 1; - optional uint32 overworld_id = 2; + optional uint32 friend_account_id = 1; + optional uint32 overworld_id = 2; } message CMsgClientToGCOverworldRequestTokensNeededByFriendResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eNodeLocked = 6; - k_eInvalidOverworld = 7; - k_eInvalidFriend = 8; - k_eTooManyRequests = 9; - } - - optional .CMsgClientToGCOverworldRequestTokensNeededByFriendResponse.EResponse response = 1 [default = k_eInternalError]; - optional .CMsgOverworldTokenQuantity token_quantity = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eNodeLocked = 6; + k_eInvalidOverworld = 7; + k_eInvalidFriend = 8; + k_eTooManyRequests = 9; + } + + optional .CMsgClientToGCOverworldRequestTokensNeededByFriendResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgOverworldTokenQuantity token_quantity = 2; } message CMsgClientToGCOverworldDevResetAll { - optional uint32 overworld_id = 1; + optional uint32 overworld_id = 1; } message CMsgClientToGCOverworldDevResetAllResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidOverworld = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidOverworld = 6; + } - optional .CMsgClientToGCOverworldDevResetAllResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCOverworldDevResetAllResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOverworldDevResetNode { - optional uint32 overworld_id = 1; - optional uint32 node_id = 2; + optional uint32 overworld_id = 1; + optional uint32 node_id = 2; } message CMsgClientToGCOverworldDevResetNodeResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidOverworld = 6; - k_eInvalidNode = 7; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidOverworld = 6; + k_eInvalidNode = 7; + } - optional .CMsgClientToGCOverworldDevResetNodeResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCOverworldDevResetNodeResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOverworldDevGrantTokens { - optional uint32 overworld_id = 1; - optional .CMsgOverworldTokenQuantity token_quantity = 2; + optional uint32 overworld_id = 1; + optional .CMsgOverworldTokenQuantity token_quantity = 2; } message CMsgClientToGCOverworldDevGrantTokensResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidOverworld = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidOverworld = 6; + } - optional .CMsgClientToGCOverworldDevGrantTokensResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCOverworldDevGrantTokensResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOverworldDevClearInventory { - optional uint32 overworld_id = 1; + optional uint32 overworld_id = 1; } message CMsgClientToGCOverworldDevClearInventoryResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidOverworld = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidOverworld = 6; + } - optional .CMsgClientToGCOverworldDevClearInventoryResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCOverworldDevClearInventoryResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOverworldFeedback { - optional uint32 language = 1; - optional uint32 overworld_id = 2; - optional string feedback = 3; + optional uint32 language = 1; + optional uint32 overworld_id = 2; + optional string feedback = 3; } message CMsgClientToGCOverworldFeedbackResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eNotAllowed = 5; - k_eInvalidOverworld = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eNotAllowed = 5; + k_eInvalidOverworld = 6; + } - optional .CMsgClientToGCOverworldFeedbackResponse.EResponse response = 1 [default = k_eInternalError]; + optional .CMsgClientToGCOverworldFeedbackResponse.EResponse response = 1 [default = k_eInternalError]; } message CMsgClientToGCOverworldGetDynamicImage { - optional uint32 magic = 1; - optional uint32 image_id = 2; - optional uint32 language = 3; + optional uint32 magic = 1; + optional uint32 image_id = 2; + optional uint32 language = 3; } message CMsgClientToGCOverworldGetDynamicImageResponse { - message Image { - optional uint32 width = 1; - optional uint32 height = 2; - optional .CMsgClientToGCOverworldGetDynamicImageResponse.EDynamicImageFormat format = 3 [default = k_eUnknown]; - optional bytes image_bytes = 4; - } + message Image { + optional uint32 width = 1; + optional uint32 height = 2; + optional .CMsgClientToGCOverworldGetDynamicImageResponse.EDynamicImageFormat format = 3 [default = k_eUnknown]; + optional bytes image_bytes = 4; + } - enum EDynamicImageFormat { - k_eUnknown = 0; - k_ePNG = 1; - k_eData = 2; - } + enum EDynamicImageFormat { + k_eUnknown = 0; + k_ePNG = 1; + k_eData = 2; + } - optional uint32 image_id = 1; - repeated .CMsgClientToGCOverworldGetDynamicImageResponse.Image images = 2; + optional uint32 image_id = 1; + repeated .CMsgClientToGCOverworldGetDynamicImageResponse.Image images = 2; } message CMsgClientToGCOverworldMinigameAction { - optional uint32 overworld_id = 1; - optional uint32 node_id = 2; - optional .EOverworldMinigameAction action = 3 [default = k_eOverworldMinigameAction_Invalid]; - optional uint32 selection = 4; - optional uint32 option_value = 5; - optional uint32 currency_amount = 6; + optional uint32 overworld_id = 1; + optional uint32 node_id = 2; + optional .EOverworldMinigameAction action = 3 [default = k_eOverworldMinigameAction_Invalid]; + optional uint32 selection = 4; + optional uint32 option_value = 5; + optional uint32 currency_amount = 6; } message CMsgClientToGCOverworldMinigameActionResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidOverworld = 5; - k_eInvalidNode = 6; - k_eNodeLocked = 7; - k_eInvalidSelection = 8; - k_eNotEnoughTokens = 9; - k_eNotEnoughMinigameCurrency = 10; - k_eNotAllowed = 11; - } - - optional .CMsgClientToGCOverworldMinigameActionResponse.EResponse response = 1 [default = k_eInternalError]; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidOverworld = 5; + k_eInvalidNode = 6; + k_eNodeLocked = 7; + k_eInvalidSelection = 8; + k_eNotEnoughTokens = 9; + k_eNotEnoughMinigameCurrency = 10; + k_eNotAllowed = 11; + } + + optional .CMsgClientToGCOverworldMinigameActionResponse.EResponse response = 1 [default = k_eInternalError]; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_msgid.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_msgid.proto index 8a91cbab..0a53ce0a 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_msgid.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_msgid.proto @@ -4,997 +4,1003 @@ option optimize_for = SPEED; option java_generic_services = false; enum EDOTAGCMsg { - k_EMsgGCDOTABase = 7000; - k_EMsgGCGameMatchSignOut = 7004; - k_EMsgGCGameMatchSignOutResponse = 7005; - k_EMsgGCJoinChatChannel = 7009; - k_EMsgGCJoinChatChannelResponse = 7010; - k_EMsgGCOtherJoinedChannel = 7013; - k_EMsgGCOtherLeftChannel = 7014; - k_EMsgServerToGCRequestStatus = 7026; - k_EMsgGCStartFindingMatch = 7033; - k_EMsgGCConnectedPlayers = 7034; - k_EMsgGCAbandonCurrentGame = 7035; - k_EMsgGCStopFindingMatch = 7036; - k_EMsgGCPracticeLobbyCreate = 7038; - k_EMsgGCPracticeLobbyLeave = 7040; - k_EMsgGCPracticeLobbyLaunch = 7041; - k_EMsgGCPracticeLobbyList = 7042; - k_EMsgGCPracticeLobbyListResponse = 7043; - k_EMsgGCPracticeLobbyJoin = 7044; - k_EMsgGCPracticeLobbySetDetails = 7046; - k_EMsgGCPracticeLobbySetTeamSlot = 7047; - k_EMsgGCInitialQuestionnaireResponse = 7049; - k_EMsgGCPracticeLobbyResponse = 7055; - k_EMsgGCBroadcastNotification = 7056; - k_EMsgGCLiveScoreboardUpdate = 7057; - k_EMsgGCRequestChatChannelList = 7060; - k_EMsgGCRequestChatChannelListResponse = 7061; - k_EMsgGCReadyUp = 7070; - k_EMsgGCKickedFromMatchmakingQueue = 7071; - k_EMsgGCLeaverDetected = 7072; - k_EMsgGCSpectateFriendGame = 7073; - k_EMsgGCSpectateFriendGameResponse = 7074; - k_EMsgGCReportsRemainingRequest = 7076; - k_EMsgGCReportsRemainingResponse = 7077; - k_EMsgGCSubmitPlayerReport = 7078; - k_EMsgGCSubmitPlayerReportResponse = 7079; - k_EMsgGCPracticeLobbyKick = 7081; - k_EMsgGCSubmitPlayerReportV2 = 7082; - k_EMsgGCSubmitPlayerReportResponseV2 = 7083; - k_EMsgGCRequestSaveGames = 7084; - k_EMsgGCRequestSaveGamesServer = 7085; - k_EMsgGCRequestSaveGamesResponse = 7086; - k_EMsgGCLeaverDetectedResponse = 7087; - k_EMsgGCPlayerFailedToConnect = 7088; - k_EMsgGCGCToRelayConnect = 7089; - k_EMsgGCGCToRelayConnectresponse = 7090; - k_EMsgGCWatchGame = 7091; - k_EMsgGCWatchGameResponse = 7092; - k_EMsgGCBanStatusRequest = 7093; - k_EMsgGCBanStatusResponse = 7094; - k_EMsgGCMatchDetailsRequest = 7095; - k_EMsgGCMatchDetailsResponse = 7096; - k_EMsgGCCancelWatchGame = 7097; - k_EMsgGCPopup = 7102; - k_EMsgGCFriendPracticeLobbyListRequest = 7111; - k_EMsgGCFriendPracticeLobbyListResponse = 7112; - k_EMsgGCPracticeLobbyJoinResponse = 7113; - k_EMsgGCCreateTeam = 7115; - k_EMsgGCCreateTeamResponse = 7116; - k_EMsgGCTeamInvite_InviterToGC = 7122; - k_EMsgGCTeamInvite_GCImmediateResponseToInviter = 7123; - k_EMsgGCTeamInvite_GCRequestToInvitee = 7124; - k_EMsgGCTeamInvite_InviteeResponseToGC = 7125; - k_EMsgGCTeamInvite_GCResponseToInviter = 7126; - k_EMsgGCTeamInvite_GCResponseToInvitee = 7127; - k_EMsgGCKickTeamMember = 7128; - k_EMsgGCKickTeamMemberResponse = 7129; - k_EMsgGCLeaveTeam = 7130; - k_EMsgGCLeaveTeamResponse = 7131; - k_EMsgGCApplyTeamToPracticeLobby = 7142; - k_EMsgGCTransferTeamAdmin = 7144; - k_EMsgGCPracticeLobbyJoinBroadcastChannel = 7149; - k_EMsgGC_TournamentItemEvent = 7150; - k_EMsgGC_TournamentItemEventResponse = 7151; - k_EMsgTeamFanfare = 7156; - k_EMsgResponseTeamFanfare = 7157; - k_EMsgGCEditTeamDetails = 7166; - k_EMsgGCEditTeamDetailsResponse = 7167; - k_EMsgGCReadyUpStatus = 7170; - k_EMsgGCToGCMatchCompleted = 7186; - k_EMsgGCBalancedShuffleLobby = 7188; - k_EMsgGCMatchmakingStatsRequest = 7197; - k_EMsgGCMatchmakingStatsResponse = 7198; - k_EMsgGCBotGameCreate = 7199; - k_EMsgGCSetMatchHistoryAccess = 7200; - k_EMsgGCSetMatchHistoryAccessResponse = 7201; - k_EMsgUpgradeLeagueItem = 7203; - k_EMsgUpgradeLeagueItemResponse = 7204; - k_EMsgGCWatchDownloadedReplay = 7206; - k_EMsgClientsRejoinChatChannels = 7217; - k_EMsgGCToGCGetUserChatInfo = 7218; - k_EMsgGCToGCGetUserChatInfoResponse = 7219; - k_EMsgGCToGCLeaveAllChatChannels = 7220; - k_EMsgGCToGCUpdateAccountChatBan = 7221; - k_EMsgGCToGCCanInviteUserToTeam = 7234; - k_EMsgGCToGCCanInviteUserToTeamResponse = 7235; - k_EMsgGCToGCGetUserRank = 7236; - k_EMsgGCToGCGetUserRankResponse = 7237; - k_EMsgGCToGCAdjustUserRank = 7238; - k_EMsgGCToGCAdjustUserRankResponse = 7239; - k_EMsgGCToGCUpdateTeamStats = 7240; - k_EMsgGCToGCValidateTeam = 7241; - k_EMsgGCToGCValidateTeamResponse = 7242; - k_EMsgGCToGCGetLeagueAdmin = 7255; - k_EMsgGCToGCGetLeagueAdminResponse = 7256; - k_EMsgGCLeaveChatChannel = 7272; - k_EMsgGCChatMessage = 7273; - k_EMsgGCGetHeroStandings = 7274; - k_EMsgGCGetHeroStandingsResponse = 7275; - k_EMsgGCItemEditorReservationsRequest = 7283; - k_EMsgGCItemEditorReservationsResponse = 7284; - k_EMsgGCItemEditorReserveItemDef = 7285; - k_EMsgGCItemEditorReserveItemDefResponse = 7286; - k_EMsgGCItemEditorReleaseReservation = 7287; - k_EMsgGCItemEditorReleaseReservationResponse = 7288; - k_EMsgGCFantasyLivePlayerStats = 7308; - k_EMsgGCFantasyFinalPlayerStats = 7309; - k_EMsgGCFlipLobbyTeams = 7320; - k_EMsgGCToGCEvaluateReportedPlayer = 7322; - k_EMsgGCToGCEvaluateReportedPlayerResponse = 7323; - k_EMsgGCToGCProcessPlayerReportForTarget = 7324; - k_EMsgGCToGCProcessReportSuccess = 7325; - k_EMsgGCNotifyAccountFlagsChange = 7326; - k_EMsgGCSetProfilePrivacy = 7327; - k_EMsgGCSetProfilePrivacyResponse = 7328; - k_EMsgGCClientSuspended = 7342; - k_EMsgGCPartyMemberSetCoach = 7343; - k_EMsgGCPracticeLobbySetCoach = 7346; - k_EMsgGCChatModeratorBan = 7359; - k_EMsgGCLobbyUpdateBroadcastChannelInfo = 7367; - k_EMsgGCToGCGrantTournamentItem = 7372; - k_EMsgGCToGCUpgradeTwitchViewerItems = 7375; - k_EMsgGCToGCGetLiveMatchAffiliates = 7376; - k_EMsgGCToGCGetLiveMatchAffiliatesResponse = 7377; - k_EMsgGCToGCUpdatePlayerPennantCounts = 7378; - k_EMsgGCToGCGetPlayerPennantCounts = 7379; - k_EMsgGCToGCGetPlayerPennantCountsResponse = 7380; - k_EMsgGCGameMatchSignOutPermissionRequest = 7381; - k_EMsgGCGameMatchSignOutPermissionResponse = 7382; - k_EMsgDOTAAwardEventPoints = 7384; - k_EMsgDOTAGetEventPoints = 7387; - k_EMsgDOTAGetEventPointsResponse = 7388; - k_EMsgGCPartyLeaderWatchGamePrompt = 7397; - k_EMsgGCCompendiumSetSelection = 7405; - k_EMsgGCCompendiumDataRequest = 7406; - k_EMsgGCCompendiumDataResponse = 7407; - k_EMsgDOTAGetPlayerMatchHistory = 7408; - k_EMsgDOTAGetPlayerMatchHistoryResponse = 7409; - k_EMsgGCToGCMatchmakingAddParty = 7410; - k_EMsgGCToGCMatchmakingRemoveParty = 7411; - k_EMsgGCToGCMatchmakingRemoveAllParties = 7412; - k_EMsgGCToGCMatchmakingMatchFound = 7413; - k_EMsgGCToGCUpdateMatchManagementStats = 7414; - k_EMsgGCToGCUpdateMatchmakingStats = 7415; - k_EMsgGCToServerPingRequest = 7416; - k_EMsgGCToServerPingResponse = 7417; - k_EMsgGCToServerEvaluateToxicChat = 7418; - k_EMsgServerToGCEvaluateToxicChat = 7419; - k_EMsgServerToGCEvaluateToxicChatResponse = 7420; - k_EMsgGCToGCProcessMatchLeaver = 7426; - k_EMsgGCNotificationsRequest = 7427; - k_EMsgGCNotificationsResponse = 7428; - k_EMsgGCToGCModifyNotification = 7429; - k_EMsgGCLeagueAdminList = 7434; - k_EMsgGCNotificationsMarkReadRequest = 7435; - k_EMsgServerToGCRequestBatchPlayerResources = 7450; - k_EMsgServerToGCRequestBatchPlayerResourcesResponse = 7451; - k_EMsgGCCompendiumSetSelectionResponse = 7453; - k_EMsgGCRankedPlayerInfoSubmit = 7454; - k_EMsgGCRankedPlayerInfoSubmitResponse = 7455; - k_EMsgGCPlayerInfoSubmit = 7456; - k_EMsgGCPlayerInfoSubmitResponse = 7457; - k_EMsgGCToGCGetAccountLevel = 7458; - k_EMsgGCToGCGetAccountLevelResponse = 7459; - k_EMsgDOTAGetWeekendTourneySchedule = 7464; - k_EMsgDOTAWeekendTourneySchedule = 7465; - k_EMsgGCJoinableCustomGameModesRequest = 7466; - k_EMsgGCJoinableCustomGameModesResponse = 7467; - k_EMsgGCJoinableCustomLobbiesRequest = 7468; - k_EMsgGCJoinableCustomLobbiesResponse = 7469; - k_EMsgGCQuickJoinCustomLobby = 7470; - k_EMsgGCQuickJoinCustomLobbyResponse = 7471; - k_EMsgGCToGCGrantEventPointAction = 7472; - k_EMsgGCToGCSetCompendiumSelection = 7478; - k_EMsgGCHasItemQuery = 7484; - k_EMsgGCHasItemResponse = 7485; - k_EMsgGCToGCGrantEventPointActionMsg = 7488; - k_EMsgGCToGCGetCompendiumSelections = 7492; - k_EMsgGCToGCGetCompendiumSelectionsResponse = 7493; - k_EMsgServerToGCMatchConnectionStats = 7494; - k_EMsgGCToClientTournamentItemDrop = 7495; - k_EMsgSQLDelayedGrantLeagueDrop = 7496; - k_EMsgServerGCUpdateSpectatorCount = 7497; - k_EMsgGCToGCEmoticonUnlock = 7501; - k_EMsgSignOutDraftInfo = 7502; - k_EMsgClientToGCEmoticonDataRequest = 7503; - k_EMsgGCToClientEmoticonData = 7504; - k_EMsgGCPracticeLobbyToggleBroadcastChannelCameramanStatus = 7505; - k_EMsgDOTARedeemItem = 7518; - k_EMsgDOTARedeemItemResponse = 7519; - k_EMsgClientToGCGetAllHeroProgress = 7521; - k_EMsgClientToGCGetAllHeroProgressResponse = 7522; - k_EMsgGCToGCGetServerForClient = 7523; - k_EMsgGCToGCGetServerForClientResponse = 7524; - k_EMsgSQLProcessTournamentGameOutcome = 7525; - k_EMsgSQLGrantTrophyToAccount = 7526; - k_EMsgClientToGCGetTrophyList = 7527; - k_EMsgClientToGCGetTrophyListResponse = 7528; - k_EMsgGCToClientTrophyAwarded = 7529; - k_EMsgGCGameBotMatchSignOut = 7530; - k_EMsgGCGameBotMatchSignOutPermissionRequest = 7531; - k_EMsgSignOutBotInfo = 7532; - k_EMsgGCToGCUpdateProfileCards = 7533; - k_EMsgClientToGCGetProfileCard = 7534; - k_EMsgClientToGCGetProfileCardResponse = 7535; - k_EMsgClientToGCGetBattleReport = 7536; - k_EMsgClientToGCGetBattleReportResponse = 7537; - k_EMsgClientToGCSetProfileCardSlots = 7538; - k_EMsgGCToClientProfileCardUpdated = 7539; - k_EMsgServerToGCVictoryPredictions = 7540; - k_EMsgClientToGCGetBattleReportAggregateStats = 7541; - k_EMsgClientToGCGetBattleReportAggregateStatsResponse = 7542; - k_EMsgClientToGCGetBattleReportInfo = 7543; - k_EMsgClientToGCGetBattleReportInfoResponse = 7544; - k_EMsgSignOutCommunicationSummary = 7545; - k_EMsgServerToGCRequestStatus_Response = 7546; - k_EMsgClientToGCCreateHeroStatue = 7547; - k_EMsgGCToClientHeroStatueCreateResult = 7548; - k_EMsgGCGCToLANServerRelayConnect = 7549; - k_EMsgClientToGCAcknowledgeBattleReport = 7550; - k_EMsgClientToGCAcknowledgeBattleReportResponse = 7551; - k_EMsgClientToGCGetBattleReportMatchHistory = 7552; - k_EMsgClientToGCGetBattleReportMatchHistoryResponse = 7553; - k_EMsgServerToGCReportKillSummaries = 7554; - k_EMsgGCToGCUpdatePlayerPredictions = 7561; - k_EMsgGCToServerPredictionResult = 7562; - k_EMsgGCToGCReplayMonitorValidateReplay = 7569; - k_EMsgLobbyEventPoints = 7572; - k_EMsgGCToGCGetCustomGameTickets = 7573; - k_EMsgGCToGCGetCustomGameTicketsResponse = 7574; - k_EMsgGCToGCCustomGamePlayed = 7576; - k_EMsgGCToGCGrantEventPointsToUser = 7577; - k_EMsgGameserverCrashReport = 7579; - k_EMsgGameserverCrashReportResponse = 7580; - k_EMsgGCToClientSteamDatagramTicket = 7581; - k_EMsgGCToGCSendAccountsEventPoints = 7583; - k_EMsgClientToGCRerollPlayerChallenge = 7584; - k_EMsgServerToGCRerollPlayerChallenge = 7585; - k_EMsgGCRerollPlayerChallengeResponse = 7586; - k_EMsgSignOutUpdatePlayerChallenge = 7587; - k_EMsgClientToGCSetPartyLeader = 7588; - k_EMsgClientToGCCancelPartyInvites = 7589; - k_EMsgSQLGrantLeagueMatchToTicketHolders = 7592; - k_EMsgGCToGCEmoticonUnlockNoRollback = 7594; - k_EMsgClientToGCApplyGemCombiner = 7603; - k_EMsgClientToGCGetAllHeroOrder = 7606; - k_EMsgClientToGCGetAllHeroOrderResponse = 7607; - k_EMsgSQLGCToGCGrantBadgePoints = 7608; - k_EMsgGCToGCCheckOwnsEntireEmoticonRange = 7611; - k_EMsgGCToGCCheckOwnsEntireEmoticonRangeResponse = 7612; - k_EMsgGCToClientRequestLaneSelection = 7623; - k_EMsgGCToClientRequestLaneSelectionResponse = 7624; - k_EMsgServerToGCCavernCrawlIsHeroActive = 7625; - k_EMsgServerToGCCavernCrawlIsHeroActiveResponse = 7626; - k_EMsgClientToGCPlayerCardSpecificPurchaseRequest = 7627; - k_EMsgClientToGCPlayerCardSpecificPurchaseResponse = 7628; - k_EMsgSQLSetIsLeagueAdmin = 7630; - k_EMsgGCToGCGetLiveLeagueMatches = 7631; - k_EMsgGCToGCGetLiveLeagueMatchesResponse = 7632; - k_EMsgDOTALeagueInfoListAdminsRequest = 7633; - k_EMsgDOTALeagueInfoListAdminsReponse = 7634; - k_EMsgGCToGCLeagueMatchStarted = 7645; - k_EMsgGCToGCLeagueMatchCompleted = 7646; - k_EMsgGCToGCLeagueMatchStartedResponse = 7647; - k_EMsgDOTALeagueAvailableLobbyNodesRequest = 7650; - k_EMsgDOTALeagueAvailableLobbyNodes = 7651; - k_EMsgGCToGCLeagueRequest = 7652; - k_EMsgGCToGCLeagueResponse = 7653; - k_EMsgGCToGCLeagueNodeGroupRequest = 7654; - k_EMsgGCToGCLeagueNodeGroupResponse = 7655; - k_EMsgGCToGCLeagueNodeRequest = 7656; - k_EMsgGCToGCLeagueNodeResponse = 7657; - k_EMsgGCToGCRealtimeStatsTerseRequest = 7658; - k_EMsgGCToGCRealtimeStatsTerseResponse = 7659; - k_EMsgGCToGCGetTopMatchesRequest = 7660; - k_EMsgGCToGCGetTopMatchesResponse = 7661; - k_EMsgClientToGCGetFilteredPlayers = 7662; - k_EMsgGCToClientGetFilteredPlayersResponse = 7663; - k_EMsgClientToGCRemoveFilteredPlayer = 7664; - k_EMsgGCToClientRemoveFilteredPlayerResponse = 7665; - k_EMsgGCToClientPlayerBeaconState = 7666; - k_EMsgGCToClientPartyBeaconUpdate = 7667; - k_EMsgGCToClientPartySearchInvite = 7668; - k_EMsgClientToGCUpdatePartyBeacon = 7669; - k_EMsgClientToGCRequestActiveBeaconParties = 7670; - k_EMsgGCToClientRequestActiveBeaconPartiesResponse = 7671; - k_EMsgClientToGCManageFavorites = 7672; - k_EMsgGCToClientManageFavoritesResponse = 7673; - k_EMsgClientToGCJoinPartyFromBeacon = 7674; - k_EMsgGCToClientJoinPartyFromBeaconResponse = 7675; - k_EMsgClientToGCGetFavoritePlayers = 7676; - k_EMsgGCToClientGetFavoritePlayersResponse = 7677; - k_EMsgClientToGCVerifyFavoritePlayers = 7678; - k_EMsgGCToClientVerifyFavoritePlayersResponse = 7679; - k_EMsgGCToClientPartySearchInvites = 7680; - k_EMsgGCToClientRequestMMInfo = 7681; - k_EMsgClientToGCMMInfo = 7682; - k_EMsgSignOutTextMuteInfo = 7683; - k_EMsgClientToGCPurchaseLabyrinthBlessings = 7684; - k_EMsgClientToGCPurchaseLabyrinthBlessingsResponse = 7685; - k_EMsgClientToGCPurchaseFilteredPlayerSlot = 7686; - k_EMsgGCToClientPurchaseFilteredPlayerSlotResponse = 7687; - k_EMsgClientToGCUpdateFilteredPlayerNote = 7688; - k_EMsgGCToClientUpdateFilteredPlayerNoteResponse = 7689; - k_EMsgClientToGCClaimSwag = 7690; - k_EMsgGCToClientClaimSwagResponse = 7691; - k_EMsgServerToGCLockCharmTrading = 8004; - k_EMsgClientToGCPlayerStatsRequest = 8006; - k_EMsgGCToClientPlayerStatsResponse = 8007; - k_EMsgGCClearPracticeLobbyTeam = 8008; - k_EMsgClientToGCFindTopSourceTVGames = 8009; - k_EMsgGCToClientFindTopSourceTVGamesResponse = 8010; - k_EMsgGCLobbyList = 8011; - k_EMsgGCLobbyListResponse = 8012; - k_EMsgGCPlayerStatsMatchSignOut = 8013; - k_EMsgClientToGCSocialFeedPostCommentRequest = 8016; - k_EMsgGCToClientSocialFeedPostCommentResponse = 8017; - k_EMsgClientToGCCustomGamesFriendsPlayedRequest = 8018; - k_EMsgGCToClientCustomGamesFriendsPlayedResponse = 8019; - k_EMsgClientToGCFriendsPlayedCustomGameRequest = 8020; - k_EMsgGCToClientFriendsPlayedCustomGameResponse = 8021; - k_EMsgGCTopCustomGamesList = 8024; - k_EMsgClientToGCSetPartyOpen = 8029; - k_EMsgClientToGCMergePartyInvite = 8030; - k_EMsgGCToClientMergeGroupInviteReply = 8031; - k_EMsgClientToGCMergePartyResponse = 8032; - k_EMsgGCToClientMergePartyResponseReply = 8033; - k_EMsgClientToGCGetProfileCardStats = 8034; - k_EMsgClientToGCGetProfileCardStatsResponse = 8035; - k_EMsgClientToGCTopLeagueMatchesRequest = 8036; - k_EMsgClientToGCTopFriendMatchesRequest = 8037; - k_EMsgGCToClientProfileCardStatsUpdated = 8040; - k_EMsgServerToGCRealtimeStats = 8041; - k_EMsgGCToServerRealtimeStatsStartStop = 8042; - k_EMsgGCToGCGetServersForClients = 8045; - k_EMsgGCToGCGetServersForClientsResponse = 8046; - k_EMsgGCPracticeLobbyKickFromTeam = 8047; - k_EMsgDOTAChatGetMemberCount = 8048; - k_EMsgDOTAChatGetMemberCountResponse = 8049; - k_EMsgClientToGCSocialFeedPostMessageRequest = 8050; - k_EMsgGCToClientSocialFeedPostMessageResponse = 8051; - k_EMsgCustomGameListenServerStartedLoading = 8052; - k_EMsgCustomGameClientFinishedLoading = 8053; - k_EMsgGCPracticeLobbyCloseBroadcastChannel = 8054; - k_EMsgGCStartFindingMatchResponse = 8055; - k_EMsgSQLGCToGCGrantAccountFlag = 8057; - k_EMsgGCToClientTopLeagueMatchesResponse = 8061; - k_EMsgGCToClientTopFriendMatchesResponse = 8062; - k_EMsgClientToGCMatchesMinimalRequest = 8063; - k_EMsgClientToGCMatchesMinimalResponse = 8064; - k_EMsgGCToClientChatRegionsEnabled = 8067; - k_EMsgClientToGCPingData = 8068; - k_EMsgGCToGCEnsureAccountInParty = 8071; - k_EMsgGCToGCEnsureAccountInPartyResponse = 8072; - k_EMsgClientToGCGetProfileTickets = 8073; - k_EMsgClientToGCGetProfileTicketsResponse = 8074; - k_EMsgGCToClientMatchGroupsVersion = 8075; - k_EMsgClientToGCH264Unsupported = 8076; - k_EMsgClientToGCWatchingBroadcast = 8077; - k_EMsgClientToGCGetQuestProgress = 8078; - k_EMsgClientToGCGetQuestProgressResponse = 8079; - k_EMsgSignOutXPCoins = 8080; - k_EMsgGCToClientMatchSignedOut = 8081; - k_EMsgGCGetHeroStatsHistory = 8082; - k_EMsgGCGetHeroStatsHistoryResponse = 8083; - k_EMsgClientToGCPrivateChatInvite = 8084; - k_EMsgClientToGCPrivateChatKick = 8088; - k_EMsgClientToGCPrivateChatPromote = 8089; - k_EMsgClientToGCPrivateChatDemote = 8090; - k_EMsgGCToClientPrivateChatResponse = 8091; - k_EMsgClientToGCLatestConductScorecardRequest = 8095; - k_EMsgClientToGCLatestConductScorecard = 8096; - k_EMsgClientToGCWageringRequest = 8099; - k_EMsgGCToClientWageringResponse = 8100; - k_EMsgClientToGCEventGoalsRequest = 8103; - k_EMsgClientToGCEventGoalsResponse = 8104; - k_EMsgGCToGCLeaguePredictionsUpdate = 8108; - k_EMsgGCToGCAddUserToPostGameChat = 8110; - k_EMsgClientToGCHasPlayerVotedForMVP = 8111; - k_EMsgClientToGCHasPlayerVotedForMVPResponse = 8112; - k_EMsgClientToGCVoteForMVP = 8113; - k_EMsgClientToGCVoteForMVPResponse = 8114; - k_EMsgGCToGCGetEventParticipation = 8115; - k_EMsgGCToGCGetEventParticipationResponse = 8116; - k_EMsgGCToClientAutomatedTournamentStateChange = 8117; - k_EMsgClientToGCWeekendTourneyOpts = 8118; - k_EMsgClientToGCWeekendTourneyOptsResponse = 8119; - k_EMsgClientToGCWeekendTourneyLeave = 8120; - k_EMsgClientToGCWeekendTourneyLeaveResponse = 8121; - k_EMsgClientToGCTeammateStatsRequest = 8124; - k_EMsgClientToGCTeammateStatsResponse = 8125; - k_EMsgClientToGCGetGiftPermissions = 8126; - k_EMsgClientToGCGetGiftPermissionsResponse = 8127; - k_EMsgClientToGCVoteForArcana = 8128; - k_EMsgClientToGCVoteForArcanaResponse = 8129; - k_EMsgClientToGCRequestArcanaVotesRemaining = 8130; - k_EMsgClientToGCRequestArcanaVotesRemainingResponse = 8131; - k_EMsgGCTransferTeamAdminResponse = 8132; - k_EMsgGCToClientTeamInfo = 8135; - k_EMsgGCToClientTeamsInfo = 8136; - k_EMsgClientToGCMyTeamInfoRequest = 8137; - k_EMsgClientToGCPublishUserStat = 8140; - k_EMsgGCToGCSignoutSpendWager = 8141; - k_EMsgGCSubmitLobbyMVPVote = 8144; - k_EMsgGCSubmitLobbyMVPVoteResponse = 8145; - k_EMsgSignOutCommunityGoalProgress = 8150; - k_EMsgGCToClientLobbyMVPAwarded = 8152; - k_EMsgGCToClientQuestProgressUpdated = 8153; - k_EMsgGCToClientWageringUpdate = 8154; - k_EMsgGCToClientArcanaVotesUpdate = 8155; - k_EMsgClientToGCSetSpectatorLobbyDetails = 8157; - k_EMsgClientToGCSetSpectatorLobbyDetailsResponse = 8158; - k_EMsgClientToGCCreateSpectatorLobby = 8159; - k_EMsgClientToGCCreateSpectatorLobbyResponse = 8160; - k_EMsgClientToGCSpectatorLobbyList = 8161; - k_EMsgClientToGCSpectatorLobbyListResponse = 8162; - k_EMsgSpectatorLobbyGameDetails = 8163; - k_EMsgServerToGCCompendiumInGamePredictionResults = 8166; - k_EMsgServerToGCCloseCompendiumInGamePredictionVoting = 8167; - k_EMsgClientToGCOpenPlayerCardPack = 8168; - k_EMsgClientToGCOpenPlayerCardPackResponse = 8169; - k_EMsgClientToGCSelectCompendiumInGamePrediction = 8170; - k_EMsgClientToGCSelectCompendiumInGamePredictionResponse = 8171; - k_EMsgClientToGCWeekendTourneyGetPlayerStats = 8172; - k_EMsgClientToGCWeekendTourneyGetPlayerStatsResponse = 8173; - k_EMsgClientToGCRecyclePlayerCard = 8174; - k_EMsgClientToGCRecyclePlayerCardResponse = 8175; - k_EMsgClientToGCCreatePlayerCardPack = 8176; - k_EMsgClientToGCCreatePlayerCardPackResponse = 8177; - k_EMsgClientToGCGetPlayerCardRosterRequest = 8178; - k_EMsgClientToGCGetPlayerCardRosterResponse = 8179; - k_EMsgClientToGCSetPlayerCardRosterRequest = 8180; - k_EMsgClientToGCSetPlayerCardRosterResponse = 8181; - k_EMsgServerToGCCloseCompendiumInGamePredictionVotingResponse = 8183; - k_EMsgLobbyBattleCupVictory = 8186; - k_EMsgGCGetPlayerCardItemInfo = 8187; - k_EMsgGCGetPlayerCardItemInfoResponse = 8188; - k_EMsgClientToGCRequestSteamDatagramTicket = 8189; - k_EMsgClientToGCRequestSteamDatagramTicketResponse = 8190; - k_EMsgGCToClientBattlePassRollupRequest = 8191; - k_EMsgGCToClientBattlePassRollupResponse = 8192; - k_EMsgClientToGCTransferSeasonalMMRRequest = 8193; - k_EMsgClientToGCTransferSeasonalMMRResponse = 8194; - k_EMsgGCToGCPublicChatCommunicationBan = 8195; - k_EMsgGCToGCUpdateAccountInfo = 8196; - k_EMsgGCChatReportPublicSpam = 8197; - k_EMsgClientToGCSetPartyBuilderOptions = 8198; - k_EMsgClientToGCSetPartyBuilderOptionsResponse = 8199; - k_EMsgGCToClientPlaytestStatus = 8200; - k_EMsgClientToGCJoinPlaytest = 8201; - k_EMsgClientToGCJoinPlaytestResponse = 8202; - k_EMsgLobbyPlaytestDetails = 8203; - k_EMsgDOTASetFavoriteTeam = 8204; - k_EMsgGCToClientBattlePassRollupListRequest = 8205; - k_EMsgGCToClientBattlePassRollupListResponse = 8206; - k_EMsgDOTAClaimEventAction = 8209; - k_EMsgDOTAClaimEventActionResponse = 8210; - k_EMsgDOTAGetPeriodicResource = 8211; - k_EMsgDOTAGetPeriodicResourceResponse = 8212; - k_EMsgDOTAPeriodicResourceUpdated = 8213; - k_EMsgServerToGCSpendWager = 8214; - k_EMsgGCToGCSignoutSpendWagerToken = 8215; - k_EMsgSubmitTriviaQuestionAnswer = 8216; - k_EMsgSubmitTriviaQuestionAnswerResponse = 8217; - k_EMsgClientToGCGiveTip = 8218; - k_EMsgClientToGCGiveTipResponse = 8219; - k_EMsgStartTriviaSession = 8220; - k_EMsgStartTriviaSessionResponse = 8221; - k_EMsgAnchorPhoneNumberRequest = 8222; - k_EMsgAnchorPhoneNumberResponse = 8223; - k_EMsgUnanchorPhoneNumberRequest = 8224; - k_EMsgUnanchorPhoneNumberResponse = 8225; - k_EMsgGCToGCSignoutSpendRankWager = 8229; - k_EMsgGCToGCGetFavoriteTeam = 8230; - k_EMsgGCToGCGetFavoriteTeamResponse = 8231; - k_EMsgSignOutEventGameData = 8232; - k_EMsgClientToGCQuickStatsRequest = 8238; - k_EMsgClientToGCQuickStatsResponse = 8239; - k_EMsgGCToGCSubtractEventPointsFromUser = 8240; - k_EMsgSelectionPriorityChoiceRequest = 8241; - k_EMsgSelectionPriorityChoiceResponse = 8242; - k_EMsgGCToGCCompendiumInGamePredictionResults = 8243; - k_EMsgGameAutographReward = 8244; - k_EMsgGameAutographRewardResponse = 8245; - k_EMsgDestroyLobbyRequest = 8246; - k_EMsgDestroyLobbyResponse = 8247; - k_EMsgPurchaseItemWithEventPoints = 8248; - k_EMsgPurchaseItemWithEventPointsResponse = 8249; - k_EMsgServerToGCMatchPlayerItemPurchaseHistory = 8250; - k_EMsgGCToGCGrantPlusHeroMatchResults = 8251; - k_EMsgServerToGCMatchStateHistory = 8255; - k_EMsgPurchaseHeroRandomRelic = 8258; - k_EMsgPurchaseHeroRandomRelicResponse = 8259; - k_EMsgClientToGCClaimEventActionUsingItem = 8260; - k_EMsgClientToGCClaimEventActionUsingItemResponse = 8261; - k_EMsgPartyReadyCheckRequest = 8262; - k_EMsgPartyReadyCheckResponse = 8263; - k_EMsgPartyReadyCheckAcknowledge = 8264; - k_EMsgGetRecentPlayTimeFriendsRequest = 8265; - k_EMsgGetRecentPlayTimeFriendsResponse = 8266; - k_EMsgGCToClientCommendNotification = 8267; - k_EMsgProfileRequest = 8268; - k_EMsgProfileResponse = 8269; - k_EMsgProfileUpdate = 8270; - k_EMsgProfileUpdateResponse = 8271; - k_EMsgHeroGlobalDataRequest = 8274; - k_EMsgHeroGlobalDataResponse = 8275; - k_EMsgClientToGCRequestPlusWeeklyChallengeResult = 8276; - k_EMsgClientToGCRequestPlusWeeklyChallengeResultResponse = 8277; - k_EMsgGCToGCGrantPlusPrepaidTime = 8278; - k_EMsgPrivateMetadataKeyRequest = 8279; - k_EMsgPrivateMetadataKeyResponse = 8280; - k_EMsgGCToGCReconcilePlusStatus = 8281; - k_EMsgGCToGCCheckPlusStatus = 8282; - k_EMsgGCToGCCheckPlusStatusResponse = 8283; - k_EMsgGCToGCReconcilePlusAutoGrantItems = 8284; - k_EMsgGCToGCReconcilePlusStatusUnreliable = 8285; - k_EMsgGCToClientCavernCrawlMapPathCompleted = 8288; - k_EMsgClientToGCCavernCrawlClaimRoom = 8289; - k_EMsgClientToGCCavernCrawlClaimRoomResponse = 8290; - k_EMsgClientToGCCavernCrawlUseItemOnRoom = 8291; - k_EMsgClientToGCCavernCrawlUseItemOnRoomResponse = 8292; - k_EMsgClientToGCCavernCrawlUseItemOnPath = 8293; - k_EMsgClientToGCCavernCrawlUseItemOnPathResponse = 8294; - k_EMsgClientToGCCavernCrawlRequestMapState = 8295; - k_EMsgClientToGCCavernCrawlRequestMapStateResponse = 8296; - k_EMsgSignOutTips = 8297; - k_EMsgClientToGCRequestEventPointLogV2 = 8298; - k_EMsgClientToGCRequestEventPointLogResponseV2 = 8299; - k_EMsgClientToGCRequestEventTipsSummary = 8300; - k_EMsgClientToGCRequestEventTipsSummaryResponse = 8301; - k_EMsgClientToGCRequestSocialFeed = 8303; - k_EMsgClientToGCRequestSocialFeedResponse = 8304; - k_EMsgClientToGCRequestSocialFeedComments = 8305; - k_EMsgClientToGCRequestSocialFeedCommentsResponse = 8306; - k_EMsgClientToGCCavernCrawlGetClaimedRoomCount = 8308; - k_EMsgClientToGCCavernCrawlGetClaimedRoomCountResponse = 8309; - k_EMsgGCToGCReconcilePlusAutoGrantItemsUnreliable = 8310; - k_EMsgServerToGCAddBroadcastTimelineEvent = 8311; - k_EMsgGCToServerUpdateSteamBroadcasting = 8312; - k_EMsgClientToGCRecordContestVote = 8313; - k_EMsgGCToClientRecordContestVoteResponse = 8314; - k_EMsgGCToGCGrantAutograph = 8315; - k_EMsgGCToGCGrantAutographResponse = 8316; - k_EMsgSignOutConsumableUsage = 8317; - k_EMsgLobbyEventGameDetails = 8318; - k_EMsgDevGrantEventPoints = 8319; - k_EMsgDevGrantEventPointsResponse = 8320; - k_EMsgDevGrantEventAction = 8321; - k_EMsgDevGrantEventActionResponse = 8322; - k_EMsgDevResetEventState = 8323; - k_EMsgDevResetEventStateResponse = 8324; - k_EMsgGCToGCReconcileEventOwnership = 8325; - k_EMsgConsumeEventSupportGrantItem = 8326; - k_EMsgConsumeEventSupportGrantItemResponse = 8327; - k_EMsgGCToClientClaimEventActionUsingItemCompleted = 8328; - k_EMsgGCToClientCavernCrawlMapUpdated = 8329; - k_EMsgServerToGCRequestPlayerRecentAccomplishments = 8330; - k_EMsgServerToGCRequestPlayerRecentAccomplishmentsResponse = 8331; - k_EMsgClientToGCRequestPlayerRecentAccomplishments = 8332; - k_EMsgClientToGCRequestPlayerRecentAccomplishmentsResponse = 8333; - k_EMsgClientToGCRequestPlayerHeroRecentAccomplishments = 8334; - k_EMsgClientToGCRequestPlayerHeroRecentAccomplishmentsResponse = 8335; - k_EMsgSignOutEventActionGrants = 8336; - k_EMsgClientToGCRequestPlayerCoachMatches = 8337; - k_EMsgClientToGCRequestPlayerCoachMatchesResponse = 8338; - k_EMsgClientToGCSubmitCoachTeammateRating = 8341; - k_EMsgClientToGCSubmitCoachTeammateRatingResponse = 8342; - k_EMsgGCToClientCoachTeammateRatingsChanged = 8343; - k_EMsgClientToGCRequestPlayerCoachMatch = 8345; - k_EMsgClientToGCRequestPlayerCoachMatchResponse = 8346; - k_EMsgClientToGCRequestContestVotes = 8347; - k_EMsgClientToGCRequestContestVotesResponse = 8348; - k_EMsgClientToGCMVPVoteTimeout = 8349; - k_EMsgClientToGCMVPVoteTimeoutResponse = 8350; - k_EMsgMatchMatchmakingStats = 8360; - k_EMsgClientToGCSubmitPlayerMatchSurvey = 8361; - k_EMsgClientToGCSubmitPlayerMatchSurveyResponse = 8362; - k_EMsgSQLGCToGCGrantAllHeroProgressAccount = 8363; - k_EMsgSQLGCToGCGrantAllHeroProgressVictory = 8364; - k_EMsgDevDeleteEventActions = 8365; - k_EMsgDevDeleteEventActionsResponse = 8366; - k_EMsgDevReloadAllEvents = 8367; - k_EMsgDevReloadAllEventsResponse = 8368; - k_EMsgGCToGCGetAllHeroCurrent = 8635; - k_EMsgGCToGCGetAllHeroCurrentResponse = 8636; - k_EMsgGCSubmitPlayerAvoidRequest = 8637; - k_EMsgGCSubmitPlayerAvoidRequestResponse = 8638; - k_EMsgGCToClientNotificationsUpdated = 8639; - k_EMsgGCtoGCAssociatedExploiterAccountInfo = 8640; - k_EMsgGCtoGCAssociatedExploiterAccountInfoResponse = 8641; - k_EMsgGCtoGCRequestRecalibrationCheck = 8642; - k_EMsgGCToClientVACReminder = 8643; - k_EMsgClientToGCUnderDraftBuy = 8644; - k_EMsgClientToGCUnderDraftBuyResponse = 8645; - k_EMsgClientToGCUnderDraftReroll = 8646; - k_EMsgClientToGCUnderDraftRerollResponse = 8647; - k_EMsgNeutralItemStats = 8648; - k_EMsgClientToGCCreateGuild = 8649; - k_EMsgClientToGCCreateGuildResponse = 8650; - k_EMsgClientToGCSetGuildInfo = 8651; - k_EMsgClientToGCSetGuildInfoResponse = 8652; - k_EMsgClientToGCAddGuildRole = 8653; - k_EMsgClientToGCAddGuildRoleResponse = 8654; - k_EMsgClientToGCModifyGuildRole = 8655; - k_EMsgClientToGCModifyGuildRoleResponse = 8656; - k_EMsgClientToGCRemoveGuildRole = 8657; - k_EMsgClientToGCRemoveGuildRoleResponse = 8658; - k_EMsgClientToGCJoinGuild = 8659; - k_EMsgClientToGCJoinGuildResponse = 8660; - k_EMsgClientToGCLeaveGuild = 8661; - k_EMsgClientToGCLeaveGuildResponse = 8662; - k_EMsgClientToGCInviteToGuild = 8663; - k_EMsgClientToGCInviteToGuildResponse = 8664; - k_EMsgClientToGCDeclineInviteToGuild = 8665; - k_EMsgClientToGCDeclineInviteToGuildResponse = 8666; - k_EMsgClientToGCCancelInviteToGuild = 8667; - k_EMsgClientToGCCancelInviteToGuildResponse = 8668; - k_EMsgClientToGCKickGuildMember = 8669; - k_EMsgClientToGCKickGuildMemberResponse = 8670; - k_EMsgClientToGCSetGuildMemberRole = 8671; - k_EMsgClientToGCSetGuildMemberRoleResponse = 8672; - k_EMsgClientToGCRequestGuildData = 8673; - k_EMsgClientToGCRequestGuildDataResponse = 8674; - k_EMsgGCToClientGuildDataUpdated = 8675; - k_EMsgClientToGCRequestGuildMembership = 8676; - k_EMsgClientToGCRequestGuildMembershipResponse = 8677; - k_EMsgGCToClientGuildMembershipUpdated = 8678; - k_EMsgClientToGCAcceptInviteToGuild = 8681; - k_EMsgClientToGCAcceptInviteToGuildResponse = 8682; - k_EMsgClientToGCSetGuildRoleOrder = 8683; - k_EMsgClientToGCSetGuildRoleOrderResponse = 8684; - k_EMsgClientToGCRequestGuildFeed = 8685; - k_EMsgClientToGCRequestGuildFeedResponse = 8686; - k_EMsgClientToGCRequestAccountGuildEventData = 8687; - k_EMsgClientToGCRequestAccountGuildEventDataResponse = 8688; - k_EMsgGCToClientAccountGuildEventDataUpdated = 8689; - k_EMsgClientToGCRequestActiveGuildContracts = 8690; - k_EMsgClientToGCRequestActiveGuildContractsResponse = 8691; - k_EMsgGCToClientActiveGuildContractsUpdated = 8692; - k_EMsgGCToClientGuildFeedUpdated = 8693; - k_EMsgClientToGCSelectGuildContract = 8694; - k_EMsgClientToGCSelectGuildContractResponse = 8695; - k_EMsgGCToGCCompleteGuildContracts = 8696; - k_EMsgClientToGCAddPlayerToGuildChat = 8698; - k_EMsgClientToGCAddPlayerToGuildChatResponse = 8699; - k_EMsgClientToGCUnderDraftSell = 8700; - k_EMsgClientToGCUnderDraftSellResponse = 8701; - k_EMsgClientToGCUnderDraftRequest = 8702; - k_EMsgClientToGCUnderDraftResponse = 8703; - k_EMsgClientToGCUnderDraftRedeemReward = 8704; - k_EMsgClientToGCUnderDraftRedeemRewardResponse = 8705; - k_EMsgGCToServerLobbyHeroBanRates = 8708; - k_EMsgSignOutGuildContractProgress = 8711; - k_EMsgSignOutMVPStats = 8712; - k_EMsgClientToGCRequestActiveGuildChallenge = 8713; - k_EMsgClientToGCRequestActiveGuildChallengeResponse = 8714; - k_EMsgGCToClientActiveGuildChallengeUpdated = 8715; - k_EMsgClientToGCRequestReporterUpdates = 8716; - k_EMsgClientToGCRequestReporterUpdatesResponse = 8717; - k_EMsgClientToGCAcknowledgeReporterUpdates = 8718; - k_EMsgSignOutGuildChallengeProgress = 8720; - k_EMsgClientToGCRequestGuildEventMembers = 8721; - k_EMsgClientToGCRequestGuildEventMembersResponse = 8722; - k_EMsgClientToGCReportGuildContent = 8725; - k_EMsgClientToGCReportGuildContentResponse = 8726; - k_EMsgClientToGCRequestAccountGuildPersonaInfo = 8727; - k_EMsgClientToGCRequestAccountGuildPersonaInfoResponse = 8728; - k_EMsgClientToGCRequestAccountGuildPersonaInfoBatch = 8729; - k_EMsgClientToGCRequestAccountGuildPersonaInfoBatchResponse = 8730; - k_EMsgGCToClientUnderDraftGoldUpdated = 8731; - k_EMsgSignOutBounties = 8733; - k_EMsgLobbyFeaturedGamemodeProgress = 8734; - k_EMsgLobbyGauntletProgress = 8735; - k_EMsgClientToGCSubmitDraftTriviaMatchAnswer = 8736; - k_EMsgClientToGCSubmitDraftTriviaMatchAnswerResponse = 8737; - k_EMsgGCToGCSignoutSpendBounty = 8738; - k_EMsgClientToGCApplyGauntletTicket = 8739; - k_EMsgClientToGCUnderDraftRollBackBench = 8740; - k_EMsgClientToGCUnderDraftRollBackBenchResponse = 8741; - k_EMsgGCToGCGetEventActionScore = 8742; - k_EMsgGCToGCGetEventActionScoreResponse = 8743; - k_EMsgServerToGCGetGuildContracts = 8744; - k_EMsgServerToGCGetGuildContractsResponse = 8745; - k_EMsgLobbyEventGameData = 8746; - k_EMsgGCToClientGuildMembersDataUpdated = 8747; - k_EMsgSignOutReportActivityMarkers = 8748; - k_EMsgSignOutDiretideCandy = 8749; - k_EMsgGCToClientPostGameItemAwardNotification = 8750; - k_EMsgClientToGCGetOWMatchDetails = 8751; - k_EMsgClientToGCGetOWMatchDetailsResponse = 8752; - k_EMsgClientToGCSubmitOWConviction = 8753; - k_EMsgClientToGCSubmitOWConvictionResponse = 8754; - k_EMsgGCToGCGetAccountSteamChina = 8755; - k_EMsgGCToGCGetAccountSteamChinaResponse = 8756; - k_EMsgClientToGCClaimLeaderboardRewards = 8757; - k_EMsgClientToGCClaimLeaderboardRewardsResponse = 8758; - k_EMsgClientToGCRecalibrateMMR = 8759; - k_EMsgClientToGCRecalibrateMMRResponse = 8760; - k_EMsgGCToGCGrantEventPointActionList = 8761; - k_EMsgClientToGCChinaSSAURLRequest = 8764; - k_EMsgClientToGCChinaSSAURLResponse = 8765; - k_EMsgClientToGCChinaSSAAcceptedRequest = 8766; - k_EMsgClientToGCChinaSSAAcceptedResponse = 8767; - k_EMsgSignOutOverwatchSuspicion = 8768; - k_EMsgServerToGCGetSuspicionConfig = 8769; - k_EMsgServerToGCGetSuspicionConfigResponse = 8770; - k_EMsgGCToGCGrantPlusHeroChallengeMatchResults = 8771; - k_EMsgGCToClientOverwatchCasesAvailable = 8772; - k_EMsgServerToGCAccountCheck = 8773; - k_EMsgClientToGCStartWatchingOverwatch = 8774; - k_EMsgClientToGCStopWatchingOverwatch = 8775; - k_EMsgSignOutPerfData = 8776; - k_EMsgClientToGCGetDPCFavorites = 8777; - k_EMsgClientToGCGetDPCFavoritesResponse = 8778; - k_EMsgClientToGCSetDPCFavoriteState = 8779; - k_EMsgClientToGCSetDPCFavoriteStateResponse = 8780; - k_EMsgClientToGCOverwatchReplayError = 8781; - k_EMsgServerToGCPlayerChallengeHistory = 8782; - k_EMsgSignOutBanData = 8783; - k_EMsgWebapiDPCSeasonResults = 8784; - k_EMsgClientToGCCoachFriend = 8785; - k_EMsgClientToGCCoachFriendResponse = 8786; - k_EMsgClientToGCRequestPrivateCoachingSession = 8787; - k_EMsgClientToGCRequestPrivateCoachingSessionResponse = 8788; - k_EMsgClientToGCAcceptPrivateCoachingSession = 8789; - k_EMsgClientToGCAcceptPrivateCoachingSessionResponse = 8790; - k_EMsgClientToGCLeavePrivateCoachingSession = 8791; - k_EMsgClientToGCLeavePrivateCoachingSessionResponse = 8792; - k_EMsgClientToGCGetCurrentPrivateCoachingSession = 8793; - k_EMsgClientToGCGetCurrentPrivateCoachingSessionResponse = 8794; - k_EMsgGCToClientPrivateCoachingSessionUpdated = 8795; - k_EMsgClientToGCSubmitPrivateCoachingSessionRating = 8796; - k_EMsgClientToGCSubmitPrivateCoachingSessionRatingResponse = 8797; - k_EMsgClientToGCGetAvailablePrivateCoachingSessions = 8798; - k_EMsgClientToGCGetAvailablePrivateCoachingSessionsResponse = 8799; - k_EMsgClientToGCGetAvailablePrivateCoachingSessionsSummary = 8800; - k_EMsgClientToGCGetAvailablePrivateCoachingSessionsSummaryResponse = 8801; - k_EMsgClientToGCJoinPrivateCoachingSessionLobby = 8802; - k_EMsgClientToGCJoinPrivateCoachingSessionLobbyResponse = 8803; - k_EMsgClientToGCRespondToCoachFriendRequest = 8804; - k_EMsgClientToGCRespondToCoachFriendRequestResponse = 8805; - k_EMsgClientToGCSetEventActiveSeasonID = 8806; - k_EMsgClientToGCSetEventActiveSeasonIDResponse = 8807; - k_EMsgServerToGCMatchPlayerNeutralItemEquipHistory = 8808; - k_EMsgServerToGCCompendiumChosenInGamePredictions = 8809; - k_EMsgClientToGCCreateTeamPlayerCardPack = 8810; - k_EMsgClientToGCCreateTeamPlayerCardPackResponse = 8811; - k_EMsgGCToServerSubmitCheerData = 8812; - k_EMsgGCToServerCheerConfig = 8813; - k_EMsgServerToGCGetCheerConfig = 8814; - k_EMsgServerToGCGetCheerConfigResponse = 8815; - k_EMsgGCToGCGrantAutographByID = 8816; - k_EMsgGCToServerCheerScalesOverride = 8817; - k_EMsgGCToServerGetCheerState = 8818; - k_EMsgServerToGCReportCheerState = 8819; - k_EMsgGCToServerScenarioSave = 8820; - k_EMsgGCToServerAbilityDraftLobbyData = 8821; - k_EMsgSignOutReportCommunications = 8822; - k_EMsgClientToGCBatchGetPlayerCardRosterRequest = 8823; - k_EMsgClientToGCBatchGetPlayerCardRosterResponse = 8824; - k_EMsgClientToGCGetStickerbookRequest = 8825; - k_EMsgClientToGCGetStickerbookResponse = 8826; - k_EMsgClientToGCCreateStickerbookPageRequest = 8827; - k_EMsgClientToGCCreateStickerbookPageResponse = 8828; - k_EMsgClientToGCDeleteStickerbookPageRequest = 8829; - k_EMsgClientToGCDeleteStickerbookPageResponse = 8830; - k_EMsgClientToGCPlaceStickersRequest = 8831; - k_EMsgClientToGCPlaceStickersResponse = 8832; - k_EMsgClientToGCPlaceCollectionStickersRequest = 8833; - k_EMsgClientToGCPlaceCollectionStickersResponse = 8834; - k_EMsgClientToGCOrderStickerbookTeamPageRequest = 8835; - k_EMsgClientToGCOrderStickerbookTeamPageResponse = 8836; - k_EMsgServerToGCGetStickerHeroes = 8837; - k_EMsgServerToGCGetStickerHeroesResponse = 8838; - k_EMsgClientToGCCandyShopGetUserData = 8840; - k_EMsgClientToGCCandyShopGetUserDataResponse = 8841; - k_EMsgGCToClientCandyShopUserDataUpdated = 8842; - k_EMsgClientToGCCandyShopPurchaseReward = 8843; - k_EMsgClientToGCCandyShopPurchaseRewardResponse = 8844; - k_EMsgClientToGCCandyShopDoExchange = 8845; - k_EMsgClientToGCCandyShopDoExchangeResponse = 8846; - k_EMsgClientToGCCandyShopDoVariableExchange = 8847; - k_EMsgClientToGCCandyShopDoVariableExchangeResponse = 8848; - k_EMsgClientToGCCandyShopRerollRewards = 8849; - k_EMsgClientToGCCandyShopRerollRewardsResponse = 8850; - k_EMsgClientToGCSetHeroSticker = 8851; - k_EMsgClientToGCSetHeroStickerResponse = 8852; - k_EMsgClientToGCGetHeroStickers = 8853; - k_EMsgClientToGCGetHeroStickersResponse = 8854; - k_EMsgClientToGCSetFavoritePage = 8855; - k_EMsgClientToGCSetFavoritePageResponse = 8856; - k_EMsgClientToGCCandyShopDevGrantCandy = 8857; - k_EMsgClientToGCCandyShopDevGrantCandyResponse = 8858; - k_EMsgClientToGCCandyShopDevClearInventory = 8859; - k_EMsgClientToGCCandyShopDevClearInventoryResponse = 8860; - k_EMsgClientToGCCandyShopOpenBags = 8861; - k_EMsgClientToGCCandyShopOpenBagsResponse = 8862; - k_EMsgClientToGCCandyShopDevGrantCandyBags = 8863; - k_EMsgClientToGCCandyShopDevGrantCandyBagsResponse = 8864; - k_EMsgClientToGCCandyShopDevShuffleExchange = 8865; - k_EMsgClientToGCCandyShopDevShuffleExchangeResponse = 8866; - k_EMsgClientToGCCandyShopDevGrantRerollCharges = 8867; - k_EMsgClientToGCCandyShopDevGrantRerollChargesResponse = 8868; - k_EMsgLobbyAdditionalAccountData = 8869; - k_EMsgServerToGCLobbyInitialized = 8870; - k_EMsgClientToGCCollectorsCacheAvailableDataRequest = 8871; - k_EMsgGCToClientCollectorsCacheAvailableDataResponse = 8872; - k_EMsgClientToGCUploadMatchClip = 8873; - k_EMsgGCToClientUploadMatchClipResponse = 8874; - k_EMsgSignOutMuertaMinigame = 8877; - k_EMsgGCToServerLobbyHeroRoleStats = 8878; - k_EMsgClientToGCRankRequest = 8879; - k_EMsgGCToClientRankResponse = 8880; - k_EMsgGCToClientRankUpdate = 8881; - k_EMsgSignOutMapStats = 8882; - k_EMsgClientToGCMapStatsRequest = 8883; - k_EMsgGCToClientMapStatsResponse = 8884; - k_EMsgClientToGCShowcaseGetUserData = 8886; - k_EMsgClientToGCShowcaseGetUserDataResponse = 8887; - k_EMsgClientToGCShowcaseSetUserData = 8888; - k_EMsgClientToGCShowcaseSetUserDataResponse = 8889; - k_EMsgClientToGCFantasyCraftingGetData = 8890; - k_EMsgClientToGCFantasyCraftingGetDataResponse = 8891; - k_EMsgClientToGCFantasyCraftingPerformOperation = 8892; - k_EMsgClientToGCFantasyCraftingPerformOperationResponse = 8893; - k_EMsgGCToClientFantasyCraftingGetDataUpdated = 8894; - k_EMsgClientToGCFantasyCraftingDevModifyTablet = 8895; - k_EMsgClientToGCFantasyCraftingDevModifyTabletResponse = 8896; - k_EMsgClientToGCRoadToTIGetQuests = 8897; - k_EMsgClientToGCRoadToTIGetQuestsResponse = 8898; - k_EMsgClientToGCRoadToTIGetActiveQuest = 8899; - k_EMsgClientToGCRoadToTIGetActiveQuestResponse = 8900; - k_EMsgClientToGCBingoGetUserData = 8901; - k_EMsgClientToGCBingoGetUserDataResponse = 8902; - k_EMsgClientToGCBingoClaimRow = 8903; - k_EMsgClientToGCBingoClaimRowResponse = 8904; - k_EMsgClientToGCBingoDevRerollCard = 8905; - k_EMsgClientToGCBingoDevRerollCardResponse = 8906; - k_EMsgClientToGCBingoGetStatsData = 8907; - k_EMsgClientToGCBingoGetStatsDataResponse = 8908; - k_EMsgGCToClientBingoUserDataUpdated = 8909; - k_EMsgGCToClientRoadToTIQuestDataUpdated = 8910; - k_EMsgClientToGCRoadToTIUseItem = 8911; - k_EMsgClientToGCRoadToTIUseItemResponse = 8912; - k_EMsgClientToGCShowcaseSubmitReport = 8913; - k_EMsgClientToGCShowcaseSubmitReportResponse = 8914; - k_EMsgClientToGCShowcaseAdminGetReportsRollupList = 8915; - k_EMsgClientToGCShowcaseAdminGetReportsRollupListResponse = 8916; - k_EMsgClientToGCShowcaseAdminGetReportsRollup = 8917; - k_EMsgClientToGCShowcaseAdminGetReportsRollupResponse = 8918; - k_EMsgClientToGCShowcaseAdminGetUserDetails = 8919; - k_EMsgClientToGCShowcaseAdminGetUserDetailsResponse = 8920; - k_EMsgClientToGCShowcaseAdminConvict = 8921; - k_EMsgClientToGCShowcaseAdminConvictResponse = 8922; - k_EMsgClientToGCShowcaseAdminExonerate = 8923; - k_EMsgClientToGCShowcaseAdminExonerateResponse = 8924; - k_EMsgClientToGCShowcaseAdminReset = 8925; - k_EMsgClientToGCShowcaseAdminResetResponse = 8926; - k_EMsgClientToGCShowcaseAdminLockAccount = 8927; - k_EMsgClientToGCShowcaseAdminLockAccountResponse = 8928; - k_EMsgClientToGCFantasyCraftingSelectPlayer = 8929; - k_EMsgClientToGCFantasyCraftingSelectPlayerResponse = 8930; - k_EMsgClientToGCFantasyCraftingGenerateTablets = 8931; - k_EMsgClientToGCFantasyCraftingGenerateTabletsResponse = 8932; - k_EMsgClientToGcFantasyCraftingUpgradeTablets = 8933; - k_EMsgClientToGcFantasyCraftingUpgradeTabletsResponse = 8934; - k_EMsgClientToGCFantasyCraftingRerollOptions = 8936; - k_EMsgClientToGCFantasyCraftingRerollOptionsResponse = 8937; - k_EMsgClientToGCRoadToTIDevForceQuest = 8935; - k_EMsgLobbyRoadToTIMatchQuestData = 8939; - k_EMsgClientToGCShowcaseModerationGetQueue = 8940; - k_EMsgClientToGCShowcaseModerationGetQueueResponse = 8941; - k_EMsgClientToGCShowcaseModerationApplyModeration = 8942; - k_EMsgClientToGCShowcaseModerationApplyModerationResponse = 8943; - k_EMsgClientToGCOverworldGetUserData = 8944; - k_EMsgClientToGCOverworldGetUserDataResponse = 8945; - k_EMsgClientToGCOverworldCompletePath = 8946; - k_EMsgClientToGCOverworldCompletePathResponse = 8947; - k_EMsgClientToGCOverworldClaimEncounterReward = 8948; - k_EMsgClientToGCOverworldClaimEncounterRewardResponse = 8949; - k_EMsgClientToGCOverworldDevResetAll = 8950; - k_EMsgClientToGCOverworldDevResetAllResponse = 8951; - k_EMsgClientToGCOverworldDevResetNode = 8952; - k_EMsgClientToGCOverworldDevResetNodeResponse = 8953; - k_EMsgClientToGCOverworldDevResetPath = 8954; - k_EMsgClientToGCOverworldDevResetPathResponse = 8955; - k_EMsgClientToGCOverworldDevGrantTokens = 8956; - k_EMsgClientToGCOverworldDevGrantTokensResponse = 8957; - k_EMsgClientToGCOverworldDevClearInventory = 8958; - k_EMsgClientToGCOverworldDevClearInventoryResponse = 8959; - k_EMsgServerToGCNewBloomGift = 8960; - k_EMsgServerToGCNewBloomGiftResponse = 8961; - k_EMsgGCToClientOverworldUserDataUpdated = 8962; - k_EMsgClientToGCOverworldMoveToNode = 8963; - k_EMsgClientToGCOverworldMoveToNodeResponse = 8964; - k_EMsgClientToGCNewBloomGift = 8965; - k_EMsgClientToGCNewBloomGiftResponse = 8966; - k_EMsgSignOutOverworld = 8967; - k_EMsgClientToGCSetBannedHeroes = 8969; - k_EMsgClientToGCOverworldTradeTokens = 8970; - k_EMsgClientToGCOverworldTradeTokensResponse = 8971; - k_EMsgOverworldEncounterTokenTreasureData = 8972; - k_EMsgOverworldEncounterTokenQuestData = 8973; - k_EMsgOverworldEncounterChooseHeroData = 8974; - k_EMsgClientToGCUpdateComicBookStats = 8975; - k_EMsgClientToGCCandyShopDevResetShop = 8976; - k_EMsgClientToGCCandyShopDevResetShopResponse = 8977; - k_EMsgOverworldEncounterProgressData = 8978; - k_EMsgClientToGCOverworldFeedback = 8979; - k_EMsgClientToGCOverworldFeedbackResponse = 8980; - k_EMsgClientToGCOverworldVisitEncounter = 8981; - k_EMsgClientToGCOverworldVisitEncounterResponse = 8982; - k_EMsgClientToGCOverworldGiftTokens = 8983; - k_EMsgClientToGCOverworldGiftTokensResponse = 8984; - k_EMsgClientToGCDotaLabsFeedback = 8985; - k_EMsgClientToGCDotaLabsFeedbackResponse = 8986; - k_EMsgOverworldEncounterPitFighterRewardData = 8987; - k_EMsgClientToGCOverworldGetDynamicImage = 8988; - k_EMsgClientToGCOverworldGetDynamicImageResponse = 8989; - k_EMsgClientToGCFightingGameChallengeFriend = 8990; - k_EMsgClientToGCFightingGameChallengeFriendResponse = 8991; - k_EMsgClientToGCFightingGameCancelChallengeFriend = 8992; - k_EMsgClientToGCFightingGameAnswerChallenge = 8993; - k_EMsgClientToGCFightingGameAnswerChallengeResponse = 8994; - k_EMsgGCToClientFightingGameChallenge = 8995; - k_EMsgGCToClientFightingGameStartMatch = 8996; - k_EMsgGCToClientFightingGameChallengeCanceled = 8997; - k_EMsgClientToGCBingoShuffleCard = 8999; - k_EMsgClientToGCBingoShuffleCardResponse = 9000; - k_EMsgClientToGCBingoModifySquare = 9001; - k_EMsgClientToGCBingoModifySquareResponse = 9002; - k_EMsgClientToGCBingoDevAddTokens = 9003; - k_EMsgClientToGCBingoDevAddTokensResponse = 9004; - k_EMsgClientToGCBingoDevClearInventory = 9005; - k_EMsgClientToGCBingoDevClearInventoryResponse = 9006; - k_EMsgGCCompendiumRemoveAllSelections = 9007; - k_EMsgGCCompendiumRemoveAllSelectionsResponse = 9008; - k_EMsgClientToGCOverworldMinigameAction = 9009; - k_EMsgClientToGCOverworldMinigameActionResponse = 9010; - k_EMsgClientToGCSurvivorsTelemetry = 9011; - k_EMsgClientToGCSurvivorsTelemetryResponse = 9012; - k_EMsgClientToGCOverworldRequestTokensNeededByFriend = 9013; - k_EMsgClientToGCOverworldRequestTokensNeededByFriendResponse = 9014; - k_EMsgClientToGCCraftworksGetUserData = 9015; - k_EMsgClientToGCCraftworksGetUserDataResponse = 9016; - k_EMsgGCToClientCraftworksUserDataUpdated = 9017; - k_EMsgClientToGCCraftworksCraftRecipe = 9018; - k_EMsgClientToGCCraftworksCraftRecipeResponse = 9019; - k_EMsgClientToGCCraftworksDevModifyComponents = 9020; - k_EMsgClientToGCCraftworksDevModifyComponentsResponse = 9021; - k_EMsgSignOutCraftworks = 9022; - k_EMsgClientToGCMonsterHunterGetUserData = 9023; - k_EMsgClientToGCMonsterHunterGetUserDataResponse = 9024; - k_EMsgClientToGCMonsterHunterClaimReward = 9025; - k_EMsgClientToGCMonsterHunterClaimRewardResponse = 9026; - k_EMsgClientToGCMonsterHunterTradeMaterials = 9027; - k_EMsgClientToGCMonsterHunterTradeMaterialsResponse = 9028; - k_EMsgClientToGCMonsterHunterGiftMaterials = 9029; - k_EMsgClientToGCMonsterHunterGiftMaterialsResponse = 9030; - k_EMsgClientToGCMonsterHunterRequestMaterialsNeededByFriend = 9031; - k_EMsgClientToGCMonsterHunterRequestMaterialsNeededByFriendResponse = 9032; - k_EMsgClientToGCMonsterHunterDevResetAll = 9033; - k_EMsgClientToGCMonsterHunterDevResetAllResponse = 9034; - k_EMsgClientToGCMonsterHunterDevGrantMaterials = 9035; - k_EMsgClientToGCMonsterHunterDevGrantMaterialsResponse = 9036; - k_EMsgClientToGCMonsterHunterDevClearInventory = 9037; - k_EMsgClientToGCMonsterHunterDevClearInventoryResponse = 9038; - k_EMsgClientToGCMonsterHunterDevClaimInvestigationRewards = 9039; - k_EMsgClientToGCMonsterHunterDevClaimInvestigationRewardsResponse = 9040; - k_EMsgGCToClientMonsterHunterUserDataUpdated = 9041; - k_EMsgSignOutMonsterHunter = 9042; - k_EMsgClientToGCClaimGatedEvent = 9043; - k_EMsgClientToGCClaimGatedEventResponse = 9044; - k_EMsgClientToGCMonsterHunterDevModifyHeroCodex = 9045; - k_EMsgClientToGCMonsterHunterDevModifyHeroCodexResponse = 9046; - k_EMsgClientToGCMonsterHunterClaimCodexReward = 9047; - k_EMsgClientToGCMonsterHunterClaimCodexRewardResponse = 9048; - k_EMsgClientToGCMonsterHunterClaimSetReward = 9049; - k_EMsgClientToGCMonsterHunterClaimSetRewardResponse = 9050; - k_EMsgClientToGCGetEventRanking = 9107; - k_EMsgClientToGCGetEventRankingResponse = 9108; - k_EMsgClientToGCGetEventCoupon = 9109; - k_EMsgClientToGCGetEventCouponResponse = 9110; + k_EMsgGCDOTABase = 7000; + k_EMsgGCGameMatchSignOut = 7004; + k_EMsgGCGameMatchSignOutResponse = 7005; + k_EMsgGCJoinChatChannel = 7009; + k_EMsgGCJoinChatChannelResponse = 7010; + k_EMsgGCOtherJoinedChannel = 7013; + k_EMsgGCOtherLeftChannel = 7014; + k_EMsgServerToGCRequestStatus = 7026; + k_EMsgGCStartFindingMatch = 7033; + k_EMsgGCConnectedPlayers = 7034; + k_EMsgGCAbandonCurrentGame = 7035; + k_EMsgGCStopFindingMatch = 7036; + k_EMsgGCPracticeLobbyCreate = 7038; + k_EMsgGCPracticeLobbyLeave = 7040; + k_EMsgGCPracticeLobbyLaunch = 7041; + k_EMsgGCPracticeLobbyList = 7042; + k_EMsgGCPracticeLobbyListResponse = 7043; + k_EMsgGCPracticeLobbyJoin = 7044; + k_EMsgGCPracticeLobbySetDetails = 7046; + k_EMsgGCPracticeLobbySetTeamSlot = 7047; + k_EMsgGCInitialQuestionnaireResponse = 7049; + k_EMsgGCPracticeLobbyResponse = 7055; + k_EMsgGCBroadcastNotification = 7056; + k_EMsgGCLiveScoreboardUpdate = 7057; + k_EMsgGCRequestChatChannelList = 7060; + k_EMsgGCRequestChatChannelListResponse = 7061; + k_EMsgGCReadyUp = 7070; + k_EMsgGCKickedFromMatchmakingQueue = 7071; + k_EMsgGCLeaverDetected = 7072; + k_EMsgGCSpectateFriendGame = 7073; + k_EMsgGCSpectateFriendGameResponse = 7074; + k_EMsgGCReportsRemainingRequest = 7076; + k_EMsgGCReportsRemainingResponse = 7077; + k_EMsgGCSubmitPlayerReport = 7078; + k_EMsgGCSubmitPlayerReportResponse = 7079; + k_EMsgGCPracticeLobbyKick = 7081; + k_EMsgGCSubmitPlayerReportV2 = 7082; + k_EMsgGCSubmitPlayerReportResponseV2 = 7083; + k_EMsgGCRequestSaveGames = 7084; + k_EMsgGCRequestSaveGamesServer = 7085; + k_EMsgGCRequestSaveGamesResponse = 7086; + k_EMsgGCLeaverDetectedResponse = 7087; + k_EMsgGCPlayerFailedToConnect = 7088; + k_EMsgGCGCToRelayConnect = 7089; + k_EMsgGCGCToRelayConnectresponse = 7090; + k_EMsgGCWatchGame = 7091; + k_EMsgGCWatchGameResponse = 7092; + k_EMsgGCBanStatusRequest = 7093; + k_EMsgGCBanStatusResponse = 7094; + k_EMsgGCMatchDetailsRequest = 7095; + k_EMsgGCMatchDetailsResponse = 7096; + k_EMsgGCCancelWatchGame = 7097; + k_EMsgGCPopup = 7102; + k_EMsgGCFriendPracticeLobbyListRequest = 7111; + k_EMsgGCFriendPracticeLobbyListResponse = 7112; + k_EMsgGCPracticeLobbyJoinResponse = 7113; + k_EMsgGCCreateTeam = 7115; + k_EMsgGCCreateTeamResponse = 7116; + k_EMsgGCTeamInvite_InviterToGC = 7122; + k_EMsgGCTeamInvite_GCImmediateResponseToInviter = 7123; + k_EMsgGCTeamInvite_GCRequestToInvitee = 7124; + k_EMsgGCTeamInvite_InviteeResponseToGC = 7125; + k_EMsgGCTeamInvite_GCResponseToInviter = 7126; + k_EMsgGCTeamInvite_GCResponseToInvitee = 7127; + k_EMsgGCKickTeamMember = 7128; + k_EMsgGCKickTeamMemberResponse = 7129; + k_EMsgGCLeaveTeam = 7130; + k_EMsgGCLeaveTeamResponse = 7131; + k_EMsgGCApplyTeamToPracticeLobby = 7142; + k_EMsgGCTransferTeamAdmin = 7144; + k_EMsgGCPracticeLobbyJoinBroadcastChannel = 7149; + k_EMsgGC_TournamentItemEvent = 7150; + k_EMsgGC_TournamentItemEventResponse = 7151; + k_EMsgTeamFanfare = 7156; + k_EMsgResponseTeamFanfare = 7157; + k_EMsgGCEditTeamDetails = 7166; + k_EMsgGCEditTeamDetailsResponse = 7167; + k_EMsgGCReadyUpStatus = 7170; + k_EMsgGCToGCMatchCompleted = 7186; + k_EMsgGCBalancedShuffleLobby = 7188; + k_EMsgGCMatchmakingStatsRequest = 7197; + k_EMsgGCMatchmakingStatsResponse = 7198; + k_EMsgGCBotGameCreate = 7199; + k_EMsgGCSetMatchHistoryAccess = 7200; + k_EMsgGCSetMatchHistoryAccessResponse = 7201; + k_EMsgUpgradeLeagueItem = 7203; + k_EMsgUpgradeLeagueItemResponse = 7204; + k_EMsgGCWatchDownloadedReplay = 7206; + k_EMsgClientsRejoinChatChannels = 7217; + k_EMsgGCToGCGetUserChatInfo = 7218; + k_EMsgGCToGCGetUserChatInfoResponse = 7219; + k_EMsgGCToGCLeaveAllChatChannels = 7220; + k_EMsgGCToGCUpdateAccountChatBan = 7221; + k_EMsgGCToGCCanInviteUserToTeam = 7234; + k_EMsgGCToGCCanInviteUserToTeamResponse = 7235; + k_EMsgGCToGCGetUserRank = 7236; + k_EMsgGCToGCGetUserRankResponse = 7237; + k_EMsgGCToGCAdjustUserRank = 7238; + k_EMsgGCToGCAdjustUserRankResponse = 7239; + k_EMsgGCToGCUpdateTeamStats = 7240; + k_EMsgGCToGCValidateTeam = 7241; + k_EMsgGCToGCValidateTeamResponse = 7242; + k_EMsgGCToGCGetLeagueAdmin = 7255; + k_EMsgGCToGCGetLeagueAdminResponse = 7256; + k_EMsgGCLeaveChatChannel = 7272; + k_EMsgGCChatMessage = 7273; + k_EMsgGCGetHeroStandings = 7274; + k_EMsgGCGetHeroStandingsResponse = 7275; + k_EMsgGCItemEditorReservationsRequest = 7283; + k_EMsgGCItemEditorReservationsResponse = 7284; + k_EMsgGCItemEditorReserveItemDef = 7285; + k_EMsgGCItemEditorReserveItemDefResponse = 7286; + k_EMsgGCItemEditorReleaseReservation = 7287; + k_EMsgGCItemEditorReleaseReservationResponse = 7288; + k_EMsgGCFantasyLivePlayerStats = 7308; + k_EMsgGCFantasyFinalPlayerStats = 7309; + k_EMsgGCFlipLobbyTeams = 7320; + k_EMsgGCToGCEvaluateReportedPlayer = 7322; + k_EMsgGCToGCEvaluateReportedPlayerResponse = 7323; + k_EMsgGCToGCProcessPlayerReportForTarget = 7324; + k_EMsgGCToGCProcessReportSuccess = 7325; + k_EMsgGCNotifyAccountFlagsChange = 7326; + k_EMsgGCSetProfilePrivacy = 7327; + k_EMsgGCSetProfilePrivacyResponse = 7328; + k_EMsgGCClientSuspended = 7342; + k_EMsgGCPartyMemberSetCoach = 7343; + k_EMsgGCPracticeLobbySetCoach = 7346; + k_EMsgGCChatModeratorBan = 7359; + k_EMsgGCLobbyUpdateBroadcastChannelInfo = 7367; + k_EMsgGCToGCGrantTournamentItem = 7372; + k_EMsgGCToGCUpgradeTwitchViewerItems = 7375; + k_EMsgGCToGCGetLiveMatchAffiliates = 7376; + k_EMsgGCToGCGetLiveMatchAffiliatesResponse = 7377; + k_EMsgGCToGCUpdatePlayerPennantCounts = 7378; + k_EMsgGCToGCGetPlayerPennantCounts = 7379; + k_EMsgGCToGCGetPlayerPennantCountsResponse = 7380; + k_EMsgGCGameMatchSignOutPermissionRequest = 7381; + k_EMsgGCGameMatchSignOutPermissionResponse = 7382; + k_EMsgDOTAAwardEventPoints = 7384; + k_EMsgDOTAGetEventPoints = 7387; + k_EMsgDOTAGetEventPointsResponse = 7388; + k_EMsgGCPartyLeaderWatchGamePrompt = 7397; + k_EMsgGCCompendiumSetSelection = 7405; + k_EMsgGCCompendiumDataRequest = 7406; + k_EMsgGCCompendiumDataResponse = 7407; + k_EMsgDOTAGetPlayerMatchHistory = 7408; + k_EMsgDOTAGetPlayerMatchHistoryResponse = 7409; + k_EMsgGCToGCMatchmakingAddParty = 7410; + k_EMsgGCToGCMatchmakingRemoveParty = 7411; + k_EMsgGCToGCMatchmakingRemoveAllParties = 7412; + k_EMsgGCToGCMatchmakingMatchFound = 7413; + k_EMsgGCToGCUpdateMatchManagementStats = 7414; + k_EMsgGCToGCUpdateMatchmakingStats = 7415; + k_EMsgGCToServerPingRequest = 7416; + k_EMsgGCToServerPingResponse = 7417; + k_EMsgGCToServerEvaluateToxicChat = 7418; + k_EMsgServerToGCEvaluateToxicChat = 7419; + k_EMsgServerToGCEvaluateToxicChatResponse = 7420; + k_EMsgGCToGCProcessMatchLeaver = 7426; + k_EMsgGCNotificationsRequest = 7427; + k_EMsgGCNotificationsResponse = 7428; + k_EMsgGCToGCModifyNotification = 7429; + k_EMsgGCLeagueAdminList = 7434; + k_EMsgGCNotificationsMarkReadRequest = 7435; + k_EMsgServerToGCRequestBatchPlayerResources = 7450; + k_EMsgServerToGCRequestBatchPlayerResourcesResponse = 7451; + k_EMsgGCCompendiumSetSelectionResponse = 7453; + k_EMsgGCRankedPlayerInfoSubmit = 7454; + k_EMsgGCRankedPlayerInfoSubmitResponse = 7455; + k_EMsgGCPlayerInfoSubmit = 7456; + k_EMsgGCPlayerInfoSubmitResponse = 7457; + k_EMsgGCToGCGetAccountLevel = 7458; + k_EMsgGCToGCGetAccountLevelResponse = 7459; + k_EMsgDOTAGetWeekendTourneySchedule = 7464; + k_EMsgDOTAWeekendTourneySchedule = 7465; + k_EMsgGCJoinableCustomGameModesRequest = 7466; + k_EMsgGCJoinableCustomGameModesResponse = 7467; + k_EMsgGCJoinableCustomLobbiesRequest = 7468; + k_EMsgGCJoinableCustomLobbiesResponse = 7469; + k_EMsgGCQuickJoinCustomLobby = 7470; + k_EMsgGCQuickJoinCustomLobbyResponse = 7471; + k_EMsgGCToGCGrantEventPointAction = 7472; + k_EMsgGCToGCSetCompendiumSelection = 7478; + k_EMsgGCHasItemQuery = 7484; + k_EMsgGCHasItemResponse = 7485; + k_EMsgGCToGCGrantEventPointActionMsg = 7488; + k_EMsgGCToGCGetCompendiumSelections = 7492; + k_EMsgGCToGCGetCompendiumSelectionsResponse = 7493; + k_EMsgServerToGCMatchConnectionStats = 7494; + k_EMsgGCToClientTournamentItemDrop = 7495; + k_EMsgSQLDelayedGrantLeagueDrop = 7496; + k_EMsgServerGCUpdateSpectatorCount = 7497; + k_EMsgGCToGCEmoticonUnlock = 7501; + k_EMsgSignOutDraftInfo = 7502; + k_EMsgClientToGCEmoticonDataRequest = 7503; + k_EMsgGCToClientEmoticonData = 7504; + k_EMsgGCPracticeLobbyToggleBroadcastChannelCameramanStatus = 7505; + k_EMsgDOTARedeemItem = 7518; + k_EMsgDOTARedeemItemResponse = 7519; + k_EMsgClientToGCGetAllHeroProgress = 7521; + k_EMsgClientToGCGetAllHeroProgressResponse = 7522; + k_EMsgGCToGCGetServerForClient = 7523; + k_EMsgGCToGCGetServerForClientResponse = 7524; + k_EMsgSQLProcessTournamentGameOutcome = 7525; + k_EMsgSQLGrantTrophyToAccount = 7526; + k_EMsgClientToGCGetTrophyList = 7527; + k_EMsgClientToGCGetTrophyListResponse = 7528; + k_EMsgGCToClientTrophyAwarded = 7529; + k_EMsgGCGameBotMatchSignOut = 7530; + k_EMsgGCGameBotMatchSignOutPermissionRequest = 7531; + k_EMsgSignOutBotInfo = 7532; + k_EMsgGCToGCUpdateProfileCards = 7533; + k_EMsgClientToGCGetProfileCard = 7534; + k_EMsgClientToGCGetProfileCardResponse = 7535; + k_EMsgClientToGCGetBattleReport = 7536; + k_EMsgClientToGCGetBattleReportResponse = 7537; + k_EMsgClientToGCSetProfileCardSlots = 7538; + k_EMsgGCToClientProfileCardUpdated = 7539; + k_EMsgServerToGCVictoryPredictions = 7540; + k_EMsgClientToGCGetBattleReportAggregateStats = 7541; + k_EMsgClientToGCGetBattleReportAggregateStatsResponse = 7542; + k_EMsgClientToGCGetBattleReportInfo = 7543; + k_EMsgClientToGCGetBattleReportInfoResponse = 7544; + k_EMsgSignOutCommunicationSummary = 7545; + k_EMsgServerToGCRequestStatus_Response = 7546; + k_EMsgClientToGCCreateHeroStatue = 7547; + k_EMsgGCToClientHeroStatueCreateResult = 7548; + k_EMsgGCGCToLANServerRelayConnect = 7549; + k_EMsgClientToGCAcknowledgeBattleReport = 7550; + k_EMsgClientToGCAcknowledgeBattleReportResponse = 7551; + k_EMsgClientToGCGetBattleReportMatchHistory = 7552; + k_EMsgClientToGCGetBattleReportMatchHistoryResponse = 7553; + k_EMsgServerToGCReportKillSummaries = 7554; + k_EMsgGCToGCUpdatePlayerPredictions = 7561; + k_EMsgGCToServerPredictionResult = 7562; + k_EMsgGCToGCReplayMonitorValidateReplay = 7569; + k_EMsgLobbyEventPoints = 7572; + k_EMsgGCToGCGetCustomGameTickets = 7573; + k_EMsgGCToGCGetCustomGameTicketsResponse = 7574; + k_EMsgGCToGCCustomGamePlayed = 7576; + k_EMsgGCToGCGrantEventPointsToUser = 7577; + k_EMsgGameserverCrashReport = 7579; + k_EMsgGameserverCrashReportResponse = 7580; + k_EMsgGCToClientSteamDatagramTicket = 7581; + k_EMsgGCToGCSendAccountsEventPoints = 7583; + k_EMsgClientToGCRerollPlayerChallenge = 7584; + k_EMsgServerToGCRerollPlayerChallenge = 7585; + k_EMsgGCRerollPlayerChallengeResponse = 7586; + k_EMsgSignOutUpdatePlayerChallenge = 7587; + k_EMsgClientToGCSetPartyLeader = 7588; + k_EMsgClientToGCCancelPartyInvites = 7589; + k_EMsgSQLGrantLeagueMatchToTicketHolders = 7592; + k_EMsgGCToGCEmoticonUnlockNoRollback = 7594; + k_EMsgClientToGCApplyGemCombiner = 7603; + k_EMsgClientToGCGetAllHeroOrder = 7606; + k_EMsgClientToGCGetAllHeroOrderResponse = 7607; + k_EMsgSQLGCToGCGrantBadgePoints = 7608; + k_EMsgGCToGCCheckOwnsEntireEmoticonRange = 7611; + k_EMsgGCToGCCheckOwnsEntireEmoticonRangeResponse = 7612; + k_EMsgGCToClientRequestLaneSelection = 7623; + k_EMsgGCToClientRequestLaneSelectionResponse = 7624; + k_EMsgServerToGCCavernCrawlIsHeroActive = 7625; + k_EMsgServerToGCCavernCrawlIsHeroActiveResponse = 7626; + k_EMsgClientToGCPlayerCardSpecificPurchaseRequest = 7627; + k_EMsgClientToGCPlayerCardSpecificPurchaseResponse = 7628; + k_EMsgSQLSetIsLeagueAdmin = 7630; + k_EMsgGCToGCGetLiveLeagueMatches = 7631; + k_EMsgGCToGCGetLiveLeagueMatchesResponse = 7632; + k_EMsgDOTALeagueInfoListAdminsRequest = 7633; + k_EMsgDOTALeagueInfoListAdminsReponse = 7634; + k_EMsgGCToGCLeagueMatchStarted = 7645; + k_EMsgGCToGCLeagueMatchCompleted = 7646; + k_EMsgGCToGCLeagueMatchStartedResponse = 7647; + k_EMsgDOTALeagueAvailableLobbyNodesRequest = 7650; + k_EMsgDOTALeagueAvailableLobbyNodes = 7651; + k_EMsgGCToGCLeagueRequest = 7652; + k_EMsgGCToGCLeagueResponse = 7653; + k_EMsgGCToGCLeagueNodeGroupRequest = 7654; + k_EMsgGCToGCLeagueNodeGroupResponse = 7655; + k_EMsgGCToGCLeagueNodeRequest = 7656; + k_EMsgGCToGCLeagueNodeResponse = 7657; + k_EMsgGCToGCRealtimeStatsTerseRequest = 7658; + k_EMsgGCToGCRealtimeStatsTerseResponse = 7659; + k_EMsgGCToGCGetTopMatchesRequest = 7660; + k_EMsgGCToGCGetTopMatchesResponse = 7661; + k_EMsgClientToGCGetFilteredPlayers = 7662; + k_EMsgGCToClientGetFilteredPlayersResponse = 7663; + k_EMsgClientToGCRemoveFilteredPlayer = 7664; + k_EMsgGCToClientRemoveFilteredPlayerResponse = 7665; + k_EMsgGCToClientPlayerBeaconState = 7666; + k_EMsgGCToClientPartyBeaconUpdate = 7667; + k_EMsgGCToClientPartySearchInvite = 7668; + k_EMsgClientToGCUpdatePartyBeacon = 7669; + k_EMsgClientToGCRequestActiveBeaconParties = 7670; + k_EMsgGCToClientRequestActiveBeaconPartiesResponse = 7671; + k_EMsgClientToGCManageFavorites = 7672; + k_EMsgGCToClientManageFavoritesResponse = 7673; + k_EMsgClientToGCJoinPartyFromBeacon = 7674; + k_EMsgGCToClientJoinPartyFromBeaconResponse = 7675; + k_EMsgClientToGCGetFavoritePlayers = 7676; + k_EMsgGCToClientGetFavoritePlayersResponse = 7677; + k_EMsgClientToGCVerifyFavoritePlayers = 7678; + k_EMsgGCToClientVerifyFavoritePlayersResponse = 7679; + k_EMsgGCToClientPartySearchInvites = 7680; + k_EMsgGCToClientRequestMMInfo = 7681; + k_EMsgClientToGCMMInfo = 7682; + k_EMsgSignOutTextMuteInfo = 7683; + k_EMsgClientToGCPurchaseLabyrinthBlessings = 7684; + k_EMsgClientToGCPurchaseLabyrinthBlessingsResponse = 7685; + k_EMsgClientToGCPurchaseFilteredPlayerSlot = 7686; + k_EMsgGCToClientPurchaseFilteredPlayerSlotResponse = 7687; + k_EMsgClientToGCUpdateFilteredPlayerNote = 7688; + k_EMsgGCToClientUpdateFilteredPlayerNoteResponse = 7689; + k_EMsgClientToGCClaimSwag = 7690; + k_EMsgGCToClientClaimSwagResponse = 7691; + k_EMsgServerToGCLockCharmTrading = 8004; + k_EMsgClientToGCPlayerStatsRequest = 8006; + k_EMsgGCToClientPlayerStatsResponse = 8007; + k_EMsgGCClearPracticeLobbyTeam = 8008; + k_EMsgClientToGCFindTopSourceTVGames = 8009; + k_EMsgGCToClientFindTopSourceTVGamesResponse = 8010; + k_EMsgGCLobbyList = 8011; + k_EMsgGCLobbyListResponse = 8012; + k_EMsgGCPlayerStatsMatchSignOut = 8013; + k_EMsgClientToGCSocialFeedPostCommentRequest = 8016; + k_EMsgGCToClientSocialFeedPostCommentResponse = 8017; + k_EMsgClientToGCCustomGamesFriendsPlayedRequest = 8018; + k_EMsgGCToClientCustomGamesFriendsPlayedResponse = 8019; + k_EMsgClientToGCFriendsPlayedCustomGameRequest = 8020; + k_EMsgGCToClientFriendsPlayedCustomGameResponse = 8021; + k_EMsgGCTopCustomGamesList = 8024; + k_EMsgClientToGCSetPartyOpen = 8029; + k_EMsgClientToGCMergePartyInvite = 8030; + k_EMsgGCToClientMergeGroupInviteReply = 8031; + k_EMsgClientToGCMergePartyResponse = 8032; + k_EMsgGCToClientMergePartyResponseReply = 8033; + k_EMsgClientToGCGetProfileCardStats = 8034; + k_EMsgClientToGCGetProfileCardStatsResponse = 8035; + k_EMsgClientToGCTopLeagueMatchesRequest = 8036; + k_EMsgClientToGCTopFriendMatchesRequest = 8037; + k_EMsgGCToClientProfileCardStatsUpdated = 8040; + k_EMsgServerToGCRealtimeStats = 8041; + k_EMsgGCToServerRealtimeStatsStartStop = 8042; + k_EMsgGCToGCGetServersForClients = 8045; + k_EMsgGCToGCGetServersForClientsResponse = 8046; + k_EMsgGCPracticeLobbyKickFromTeam = 8047; + k_EMsgDOTAChatGetMemberCount = 8048; + k_EMsgDOTAChatGetMemberCountResponse = 8049; + k_EMsgClientToGCSocialFeedPostMessageRequest = 8050; + k_EMsgGCToClientSocialFeedPostMessageResponse = 8051; + k_EMsgCustomGameListenServerStartedLoading = 8052; + k_EMsgCustomGameClientFinishedLoading = 8053; + k_EMsgGCPracticeLobbyCloseBroadcastChannel = 8054; + k_EMsgGCStartFindingMatchResponse = 8055; + k_EMsgSQLGCToGCGrantAccountFlag = 8057; + k_EMsgGCToClientTopLeagueMatchesResponse = 8061; + k_EMsgGCToClientTopFriendMatchesResponse = 8062; + k_EMsgClientToGCMatchesMinimalRequest = 8063; + k_EMsgClientToGCMatchesMinimalResponse = 8064; + k_EMsgGCToClientChatRegionsEnabled = 8067; + k_EMsgClientToGCPingData = 8068; + k_EMsgGCToGCEnsureAccountInParty = 8071; + k_EMsgGCToGCEnsureAccountInPartyResponse = 8072; + k_EMsgClientToGCGetProfileTickets = 8073; + k_EMsgClientToGCGetProfileTicketsResponse = 8074; + k_EMsgGCToClientMatchGroupsVersion = 8075; + k_EMsgClientToGCH264Unsupported = 8076; + k_EMsgClientToGCWatchingBroadcast = 8077; + k_EMsgClientToGCGetQuestProgress = 8078; + k_EMsgClientToGCGetQuestProgressResponse = 8079; + k_EMsgSignOutXPCoins = 8080; + k_EMsgGCToClientMatchSignedOut = 8081; + k_EMsgGCGetHeroStatsHistory = 8082; + k_EMsgGCGetHeroStatsHistoryResponse = 8083; + k_EMsgClientToGCPrivateChatInvite = 8084; + k_EMsgClientToGCPrivateChatKick = 8088; + k_EMsgClientToGCPrivateChatPromote = 8089; + k_EMsgClientToGCPrivateChatDemote = 8090; + k_EMsgGCToClientPrivateChatResponse = 8091; + k_EMsgClientToGCLatestConductScorecardRequest = 8095; + k_EMsgClientToGCLatestConductScorecard = 8096; + k_EMsgClientToGCWageringRequest = 8099; + k_EMsgGCToClientWageringResponse = 8100; + k_EMsgClientToGCEventGoalsRequest = 8103; + k_EMsgClientToGCEventGoalsResponse = 8104; + k_EMsgGCToGCLeaguePredictionsUpdate = 8108; + k_EMsgGCToGCAddUserToPostGameChat = 8110; + k_EMsgClientToGCHasPlayerVotedForMVP = 8111; + k_EMsgClientToGCHasPlayerVotedForMVPResponse = 8112; + k_EMsgClientToGCVoteForMVP = 8113; + k_EMsgClientToGCVoteForMVPResponse = 8114; + k_EMsgGCToGCGetEventParticipation = 8115; + k_EMsgGCToGCGetEventParticipationResponse = 8116; + k_EMsgGCToClientAutomatedTournamentStateChange = 8117; + k_EMsgClientToGCWeekendTourneyOpts = 8118; + k_EMsgClientToGCWeekendTourneyOptsResponse = 8119; + k_EMsgClientToGCWeekendTourneyLeave = 8120; + k_EMsgClientToGCWeekendTourneyLeaveResponse = 8121; + k_EMsgClientToGCTeammateStatsRequest = 8124; + k_EMsgClientToGCTeammateStatsResponse = 8125; + k_EMsgClientToGCGetGiftPermissions = 8126; + k_EMsgClientToGCGetGiftPermissionsResponse = 8127; + k_EMsgClientToGCVoteForArcana = 8128; + k_EMsgClientToGCVoteForArcanaResponse = 8129; + k_EMsgClientToGCRequestArcanaVotesRemaining = 8130; + k_EMsgClientToGCRequestArcanaVotesRemainingResponse = 8131; + k_EMsgGCTransferTeamAdminResponse = 8132; + k_EMsgGCToClientTeamInfo = 8135; + k_EMsgGCToClientTeamsInfo = 8136; + k_EMsgClientToGCMyTeamInfoRequest = 8137; + k_EMsgClientToGCPublishUserStat = 8140; + k_EMsgGCToGCSignoutSpendWager = 8141; + k_EMsgGCSubmitLobbyMVPVote = 8144; + k_EMsgGCSubmitLobbyMVPVoteResponse = 8145; + k_EMsgSignOutCommunityGoalProgress = 8150; + k_EMsgGCToClientLobbyMVPAwarded = 8152; + k_EMsgGCToClientQuestProgressUpdated = 8153; + k_EMsgGCToClientWageringUpdate = 8154; + k_EMsgGCToClientArcanaVotesUpdate = 8155; + k_EMsgClientToGCSetSpectatorLobbyDetails = 8157; + k_EMsgClientToGCSetSpectatorLobbyDetailsResponse = 8158; + k_EMsgClientToGCCreateSpectatorLobby = 8159; + k_EMsgClientToGCCreateSpectatorLobbyResponse = 8160; + k_EMsgClientToGCSpectatorLobbyList = 8161; + k_EMsgClientToGCSpectatorLobbyListResponse = 8162; + k_EMsgSpectatorLobbyGameDetails = 8163; + k_EMsgServerToGCCompendiumInGamePredictionResults = 8166; + k_EMsgServerToGCCloseCompendiumInGamePredictionVoting = 8167; + k_EMsgClientToGCOpenPlayerCardPack = 8168; + k_EMsgClientToGCOpenPlayerCardPackResponse = 8169; + k_EMsgClientToGCSelectCompendiumInGamePrediction = 8170; + k_EMsgClientToGCSelectCompendiumInGamePredictionResponse = 8171; + k_EMsgClientToGCWeekendTourneyGetPlayerStats = 8172; + k_EMsgClientToGCWeekendTourneyGetPlayerStatsResponse = 8173; + k_EMsgClientToGCRecyclePlayerCard = 8174; + k_EMsgClientToGCRecyclePlayerCardResponse = 8175; + k_EMsgClientToGCCreatePlayerCardPack = 8176; + k_EMsgClientToGCCreatePlayerCardPackResponse = 8177; + k_EMsgClientToGCGetPlayerCardRosterRequest = 8178; + k_EMsgClientToGCGetPlayerCardRosterResponse = 8179; + k_EMsgClientToGCSetPlayerCardRosterRequest = 8180; + k_EMsgClientToGCSetPlayerCardRosterResponse = 8181; + k_EMsgServerToGCCloseCompendiumInGamePredictionVotingResponse = 8183; + k_EMsgLobbyBattleCupVictory = 8186; + k_EMsgGCGetPlayerCardItemInfo = 8187; + k_EMsgGCGetPlayerCardItemInfoResponse = 8188; + k_EMsgClientToGCRequestSteamDatagramTicket = 8189; + k_EMsgClientToGCRequestSteamDatagramTicketResponse = 8190; + k_EMsgGCToClientBattlePassRollupRequest = 8191; + k_EMsgGCToClientBattlePassRollupResponse = 8192; + k_EMsgClientToGCTransferSeasonalMMRRequest = 8193; + k_EMsgClientToGCTransferSeasonalMMRResponse = 8194; + k_EMsgGCToGCPublicChatCommunicationBan = 8195; + k_EMsgGCToGCUpdateAccountInfo = 8196; + k_EMsgGCChatReportPublicSpam = 8197; + k_EMsgClientToGCSetPartyBuilderOptions = 8198; + k_EMsgClientToGCSetPartyBuilderOptionsResponse = 8199; + k_EMsgGCToClientPlaytestStatus = 8200; + k_EMsgClientToGCJoinPlaytest = 8201; + k_EMsgClientToGCJoinPlaytestResponse = 8202; + k_EMsgLobbyPlaytestDetails = 8203; + k_EMsgDOTASetFavoriteTeam = 8204; + k_EMsgGCToClientBattlePassRollupListRequest = 8205; + k_EMsgGCToClientBattlePassRollupListResponse = 8206; + k_EMsgDOTAClaimEventAction = 8209; + k_EMsgDOTAClaimEventActionResponse = 8210; + k_EMsgDOTAGetPeriodicResource = 8211; + k_EMsgDOTAGetPeriodicResourceResponse = 8212; + k_EMsgDOTAPeriodicResourceUpdated = 8213; + k_EMsgServerToGCSpendWager = 8214; + k_EMsgGCToGCSignoutSpendWagerToken = 8215; + k_EMsgSubmitTriviaQuestionAnswer = 8216; + k_EMsgSubmitTriviaQuestionAnswerResponse = 8217; + k_EMsgClientToGCGiveTip = 8218; + k_EMsgClientToGCGiveTipResponse = 8219; + k_EMsgStartTriviaSession = 8220; + k_EMsgStartTriviaSessionResponse = 8221; + k_EMsgAnchorPhoneNumberRequest = 8222; + k_EMsgAnchorPhoneNumberResponse = 8223; + k_EMsgUnanchorPhoneNumberRequest = 8224; + k_EMsgUnanchorPhoneNumberResponse = 8225; + k_EMsgGCToGCSignoutSpendRankWager = 8229; + k_EMsgGCToGCGetFavoriteTeam = 8230; + k_EMsgGCToGCGetFavoriteTeamResponse = 8231; + k_EMsgSignOutEventGameData = 8232; + k_EMsgClientToGCQuickStatsRequest = 8238; + k_EMsgClientToGCQuickStatsResponse = 8239; + k_EMsgGCToGCSubtractEventPointsFromUser = 8240; + k_EMsgSelectionPriorityChoiceRequest = 8241; + k_EMsgSelectionPriorityChoiceResponse = 8242; + k_EMsgGCToGCCompendiumInGamePredictionResults = 8243; + k_EMsgGameAutographReward = 8244; + k_EMsgGameAutographRewardResponse = 8245; + k_EMsgDestroyLobbyRequest = 8246; + k_EMsgDestroyLobbyResponse = 8247; + k_EMsgPurchaseItemWithEventPoints = 8248; + k_EMsgPurchaseItemWithEventPointsResponse = 8249; + k_EMsgServerToGCMatchPlayerItemPurchaseHistory = 8250; + k_EMsgGCToGCGrantPlusHeroMatchResults = 8251; + k_EMsgServerToGCMatchStateHistory = 8255; + k_EMsgPurchaseHeroRandomRelic = 8258; + k_EMsgPurchaseHeroRandomRelicResponse = 8259; + k_EMsgClientToGCClaimEventActionUsingItem = 8260; + k_EMsgClientToGCClaimEventActionUsingItemResponse = 8261; + k_EMsgPartyReadyCheckRequest = 8262; + k_EMsgPartyReadyCheckResponse = 8263; + k_EMsgPartyReadyCheckAcknowledge = 8264; + k_EMsgGetRecentPlayTimeFriendsRequest = 8265; + k_EMsgGetRecentPlayTimeFriendsResponse = 8266; + k_EMsgGCToClientCommendNotification = 8267; + k_EMsgProfileRequest = 8268; + k_EMsgProfileResponse = 8269; + k_EMsgProfileUpdate = 8270; + k_EMsgProfileUpdateResponse = 8271; + k_EMsgHeroGlobalDataRequest = 8274; + k_EMsgHeroGlobalDataResponse = 8275; + k_EMsgClientToGCRequestPlusWeeklyChallengeResult = 8276; + k_EMsgClientToGCRequestPlusWeeklyChallengeResultResponse = 8277; + k_EMsgGCToGCGrantPlusPrepaidTime = 8278; + k_EMsgPrivateMetadataKeyRequest = 8279; + k_EMsgPrivateMetadataKeyResponse = 8280; + k_EMsgGCToGCReconcilePlusStatus = 8281; + k_EMsgGCToGCCheckPlusStatus = 8282; + k_EMsgGCToGCCheckPlusStatusResponse = 8283; + k_EMsgGCToGCReconcilePlusAutoGrantItems = 8284; + k_EMsgGCToGCReconcilePlusStatusUnreliable = 8285; + k_EMsgGCToClientCavernCrawlMapPathCompleted = 8288; + k_EMsgClientToGCCavernCrawlClaimRoom = 8289; + k_EMsgClientToGCCavernCrawlClaimRoomResponse = 8290; + k_EMsgClientToGCCavernCrawlUseItemOnRoom = 8291; + k_EMsgClientToGCCavernCrawlUseItemOnRoomResponse = 8292; + k_EMsgClientToGCCavernCrawlUseItemOnPath = 8293; + k_EMsgClientToGCCavernCrawlUseItemOnPathResponse = 8294; + k_EMsgClientToGCCavernCrawlRequestMapState = 8295; + k_EMsgClientToGCCavernCrawlRequestMapStateResponse = 8296; + k_EMsgSignOutTips = 8297; + k_EMsgClientToGCRequestEventPointLogV2 = 8298; + k_EMsgClientToGCRequestEventPointLogResponseV2 = 8299; + k_EMsgClientToGCRequestEventTipsSummary = 8300; + k_EMsgClientToGCRequestEventTipsSummaryResponse = 8301; + k_EMsgClientToGCRequestSocialFeed = 8303; + k_EMsgClientToGCRequestSocialFeedResponse = 8304; + k_EMsgClientToGCRequestSocialFeedComments = 8305; + k_EMsgClientToGCRequestSocialFeedCommentsResponse = 8306; + k_EMsgClientToGCCavernCrawlGetClaimedRoomCount = 8308; + k_EMsgClientToGCCavernCrawlGetClaimedRoomCountResponse = 8309; + k_EMsgGCToGCReconcilePlusAutoGrantItemsUnreliable = 8310; + k_EMsgServerToGCAddBroadcastTimelineEvent = 8311; + k_EMsgGCToServerUpdateSteamBroadcasting = 8312; + k_EMsgClientToGCRecordContestVote = 8313; + k_EMsgGCToClientRecordContestVoteResponse = 8314; + k_EMsgGCToGCGrantAutograph = 8315; + k_EMsgGCToGCGrantAutographResponse = 8316; + k_EMsgSignOutConsumableUsage = 8317; + k_EMsgLobbyEventGameDetails = 8318; + k_EMsgDevGrantEventPoints = 8319; + k_EMsgDevGrantEventPointsResponse = 8320; + k_EMsgDevGrantEventAction = 8321; + k_EMsgDevGrantEventActionResponse = 8322; + k_EMsgDevResetEventState = 8323; + k_EMsgDevResetEventStateResponse = 8324; + k_EMsgGCToGCReconcileEventOwnership = 8325; + k_EMsgConsumeEventSupportGrantItem = 8326; + k_EMsgConsumeEventSupportGrantItemResponse = 8327; + k_EMsgGCToClientClaimEventActionUsingItemCompleted = 8328; + k_EMsgGCToClientCavernCrawlMapUpdated = 8329; + k_EMsgServerToGCRequestPlayerRecentAccomplishments = 8330; + k_EMsgServerToGCRequestPlayerRecentAccomplishmentsResponse = 8331; + k_EMsgClientToGCRequestPlayerRecentAccomplishments = 8332; + k_EMsgClientToGCRequestPlayerRecentAccomplishmentsResponse = 8333; + k_EMsgClientToGCRequestPlayerHeroRecentAccomplishments = 8334; + k_EMsgClientToGCRequestPlayerHeroRecentAccomplishmentsResponse = 8335; + k_EMsgSignOutEventActionGrants = 8336; + k_EMsgClientToGCRequestPlayerCoachMatches = 8337; + k_EMsgClientToGCRequestPlayerCoachMatchesResponse = 8338; + k_EMsgClientToGCSubmitCoachTeammateRating = 8341; + k_EMsgClientToGCSubmitCoachTeammateRatingResponse = 8342; + k_EMsgGCToClientCoachTeammateRatingsChanged = 8343; + k_EMsgClientToGCRequestPlayerCoachMatch = 8345; + k_EMsgClientToGCRequestPlayerCoachMatchResponse = 8346; + k_EMsgClientToGCRequestContestVotes = 8347; + k_EMsgClientToGCRequestContestVotesResponse = 8348; + k_EMsgClientToGCMVPVoteTimeout = 8349; + k_EMsgClientToGCMVPVoteTimeoutResponse = 8350; + k_EMsgMatchMatchmakingStats = 8360; + k_EMsgClientToGCSubmitPlayerMatchSurvey = 8361; + k_EMsgClientToGCSubmitPlayerMatchSurveyResponse = 8362; + k_EMsgSQLGCToGCGrantAllHeroProgressAccount = 8363; + k_EMsgSQLGCToGCGrantAllHeroProgressVictory = 8364; + k_EMsgDevDeleteEventActions = 8365; + k_EMsgDevDeleteEventActionsResponse = 8366; + k_EMsgDevReloadAllEvents = 8367; + k_EMsgDevReloadAllEventsResponse = 8368; + k_EMsgGCToGCGetAllHeroCurrent = 8635; + k_EMsgGCToGCGetAllHeroCurrentResponse = 8636; + k_EMsgGCSubmitPlayerAvoidRequest = 8637; + k_EMsgGCSubmitPlayerAvoidRequestResponse = 8638; + k_EMsgGCToClientNotificationsUpdated = 8639; + k_EMsgGCtoGCAssociatedExploiterAccountInfo = 8640; + k_EMsgGCtoGCAssociatedExploiterAccountInfoResponse = 8641; + k_EMsgGCtoGCRequestRecalibrationCheck = 8642; + k_EMsgGCToClientVACReminder = 8643; + k_EMsgClientToGCUnderDraftBuy = 8644; + k_EMsgClientToGCUnderDraftBuyResponse = 8645; + k_EMsgClientToGCUnderDraftReroll = 8646; + k_EMsgClientToGCUnderDraftRerollResponse = 8647; + k_EMsgNeutralItemStats = 8648; + k_EMsgClientToGCCreateGuild = 8649; + k_EMsgClientToGCCreateGuildResponse = 8650; + k_EMsgClientToGCSetGuildInfo = 8651; + k_EMsgClientToGCSetGuildInfoResponse = 8652; + k_EMsgClientToGCAddGuildRole = 8653; + k_EMsgClientToGCAddGuildRoleResponse = 8654; + k_EMsgClientToGCModifyGuildRole = 8655; + k_EMsgClientToGCModifyGuildRoleResponse = 8656; + k_EMsgClientToGCRemoveGuildRole = 8657; + k_EMsgClientToGCRemoveGuildRoleResponse = 8658; + k_EMsgClientToGCJoinGuild = 8659; + k_EMsgClientToGCJoinGuildResponse = 8660; + k_EMsgClientToGCLeaveGuild = 8661; + k_EMsgClientToGCLeaveGuildResponse = 8662; + k_EMsgClientToGCInviteToGuild = 8663; + k_EMsgClientToGCInviteToGuildResponse = 8664; + k_EMsgClientToGCDeclineInviteToGuild = 8665; + k_EMsgClientToGCDeclineInviteToGuildResponse = 8666; + k_EMsgClientToGCCancelInviteToGuild = 8667; + k_EMsgClientToGCCancelInviteToGuildResponse = 8668; + k_EMsgClientToGCKickGuildMember = 8669; + k_EMsgClientToGCKickGuildMemberResponse = 8670; + k_EMsgClientToGCSetGuildMemberRole = 8671; + k_EMsgClientToGCSetGuildMemberRoleResponse = 8672; + k_EMsgClientToGCRequestGuildData = 8673; + k_EMsgClientToGCRequestGuildDataResponse = 8674; + k_EMsgGCToClientGuildDataUpdated = 8675; + k_EMsgClientToGCRequestGuildMembership = 8676; + k_EMsgClientToGCRequestGuildMembershipResponse = 8677; + k_EMsgGCToClientGuildMembershipUpdated = 8678; + k_EMsgClientToGCAcceptInviteToGuild = 8681; + k_EMsgClientToGCAcceptInviteToGuildResponse = 8682; + k_EMsgClientToGCSetGuildRoleOrder = 8683; + k_EMsgClientToGCSetGuildRoleOrderResponse = 8684; + k_EMsgClientToGCRequestGuildFeed = 8685; + k_EMsgClientToGCRequestGuildFeedResponse = 8686; + k_EMsgClientToGCRequestAccountGuildEventData = 8687; + k_EMsgClientToGCRequestAccountGuildEventDataResponse = 8688; + k_EMsgGCToClientAccountGuildEventDataUpdated = 8689; + k_EMsgClientToGCRequestActiveGuildContracts = 8690; + k_EMsgClientToGCRequestActiveGuildContractsResponse = 8691; + k_EMsgGCToClientActiveGuildContractsUpdated = 8692; + k_EMsgGCToClientGuildFeedUpdated = 8693; + k_EMsgClientToGCSelectGuildContract = 8694; + k_EMsgClientToGCSelectGuildContractResponse = 8695; + k_EMsgGCToGCCompleteGuildContracts = 8696; + k_EMsgClientToGCAddPlayerToGuildChat = 8698; + k_EMsgClientToGCAddPlayerToGuildChatResponse = 8699; + k_EMsgClientToGCUnderDraftSell = 8700; + k_EMsgClientToGCUnderDraftSellResponse = 8701; + k_EMsgClientToGCUnderDraftRequest = 8702; + k_EMsgClientToGCUnderDraftResponse = 8703; + k_EMsgClientToGCUnderDraftRedeemReward = 8704; + k_EMsgClientToGCUnderDraftRedeemRewardResponse = 8705; + k_EMsgGCToServerLobbyHeroBanRates = 8708; + k_EMsgSignOutGuildContractProgress = 8711; + k_EMsgSignOutMVPStats = 8712; + k_EMsgClientToGCRequestActiveGuildChallenge = 8713; + k_EMsgClientToGCRequestActiveGuildChallengeResponse = 8714; + k_EMsgGCToClientActiveGuildChallengeUpdated = 8715; + k_EMsgClientToGCRequestReporterUpdates = 8716; + k_EMsgClientToGCRequestReporterUpdatesResponse = 8717; + k_EMsgClientToGCAcknowledgeReporterUpdates = 8718; + k_EMsgSignOutGuildChallengeProgress = 8720; + k_EMsgClientToGCRequestGuildEventMembers = 8721; + k_EMsgClientToGCRequestGuildEventMembersResponse = 8722; + k_EMsgClientToGCReportGuildContent = 8725; + k_EMsgClientToGCReportGuildContentResponse = 8726; + k_EMsgClientToGCRequestAccountGuildPersonaInfo = 8727; + k_EMsgClientToGCRequestAccountGuildPersonaInfoResponse = 8728; + k_EMsgClientToGCRequestAccountGuildPersonaInfoBatch = 8729; + k_EMsgClientToGCRequestAccountGuildPersonaInfoBatchResponse = 8730; + k_EMsgGCToClientUnderDraftGoldUpdated = 8731; + k_EMsgSignOutBounties = 8733; + k_EMsgLobbyFeaturedGamemodeProgress = 8734; + k_EMsgLobbyGauntletProgress = 8735; + k_EMsgClientToGCSubmitDraftTriviaMatchAnswer = 8736; + k_EMsgClientToGCSubmitDraftTriviaMatchAnswerResponse = 8737; + k_EMsgGCToGCSignoutSpendBounty = 8738; + k_EMsgClientToGCApplyGauntletTicket = 8739; + k_EMsgClientToGCUnderDraftRollBackBench = 8740; + k_EMsgClientToGCUnderDraftRollBackBenchResponse = 8741; + k_EMsgGCToGCGetEventActionScore = 8742; + k_EMsgGCToGCGetEventActionScoreResponse = 8743; + k_EMsgServerToGCGetGuildContracts = 8744; + k_EMsgServerToGCGetGuildContractsResponse = 8745; + k_EMsgLobbyEventGameData = 8746; + k_EMsgGCToClientGuildMembersDataUpdated = 8747; + k_EMsgSignOutReportActivityMarkers = 8748; + k_EMsgSignOutDiretideCandy = 8749; + k_EMsgGCToClientPostGameItemAwardNotification = 8750; + k_EMsgClientToGCGetOWMatchDetails = 8751; + k_EMsgClientToGCGetOWMatchDetailsResponse = 8752; + k_EMsgClientToGCSubmitOWConviction = 8753; + k_EMsgClientToGCSubmitOWConvictionResponse = 8754; + k_EMsgGCToGCGetAccountSteamChina = 8755; + k_EMsgGCToGCGetAccountSteamChinaResponse = 8756; + k_EMsgClientToGCClaimLeaderboardRewards = 8757; + k_EMsgClientToGCClaimLeaderboardRewardsResponse = 8758; + k_EMsgClientToGCRecalibrateMMR = 8759; + k_EMsgClientToGCRecalibrateMMRResponse = 8760; + k_EMsgGCToGCGrantEventPointActionList = 8761; + k_EMsgClientToGCChinaSSAURLRequest = 8764; + k_EMsgClientToGCChinaSSAURLResponse = 8765; + k_EMsgClientToGCChinaSSAAcceptedRequest = 8766; + k_EMsgClientToGCChinaSSAAcceptedResponse = 8767; + k_EMsgSignOutOverwatchSuspicion = 8768; + k_EMsgServerToGCGetSuspicionConfig = 8769; + k_EMsgServerToGCGetSuspicionConfigResponse = 8770; + k_EMsgGCToGCGrantPlusHeroChallengeMatchResults = 8771; + k_EMsgGCToClientOverwatchCasesAvailable = 8772; + k_EMsgServerToGCAccountCheck = 8773; + k_EMsgClientToGCStartWatchingOverwatch = 8774; + k_EMsgClientToGCStopWatchingOverwatch = 8775; + k_EMsgSignOutPerfData = 8776; + k_EMsgClientToGCGetDPCFavorites = 8777; + k_EMsgClientToGCGetDPCFavoritesResponse = 8778; + k_EMsgClientToGCSetDPCFavoriteState = 8779; + k_EMsgClientToGCSetDPCFavoriteStateResponse = 8780; + k_EMsgClientToGCOverwatchReplayError = 8781; + k_EMsgServerToGCPlayerChallengeHistory = 8782; + k_EMsgSignOutBanData = 8783; + k_EMsgWebapiDPCSeasonResults = 8784; + k_EMsgClientToGCCoachFriend = 8785; + k_EMsgClientToGCCoachFriendResponse = 8786; + k_EMsgClientToGCRequestPrivateCoachingSession = 8787; + k_EMsgClientToGCRequestPrivateCoachingSessionResponse = 8788; + k_EMsgClientToGCAcceptPrivateCoachingSession = 8789; + k_EMsgClientToGCAcceptPrivateCoachingSessionResponse = 8790; + k_EMsgClientToGCLeavePrivateCoachingSession = 8791; + k_EMsgClientToGCLeavePrivateCoachingSessionResponse = 8792; + k_EMsgClientToGCGetCurrentPrivateCoachingSession = 8793; + k_EMsgClientToGCGetCurrentPrivateCoachingSessionResponse = 8794; + k_EMsgGCToClientPrivateCoachingSessionUpdated = 8795; + k_EMsgClientToGCSubmitPrivateCoachingSessionRating = 8796; + k_EMsgClientToGCSubmitPrivateCoachingSessionRatingResponse = 8797; + k_EMsgClientToGCGetAvailablePrivateCoachingSessions = 8798; + k_EMsgClientToGCGetAvailablePrivateCoachingSessionsResponse = 8799; + k_EMsgClientToGCGetAvailablePrivateCoachingSessionsSummary = 8800; + k_EMsgClientToGCGetAvailablePrivateCoachingSessionsSummaryResponse = 8801; + k_EMsgClientToGCJoinPrivateCoachingSessionLobby = 8802; + k_EMsgClientToGCJoinPrivateCoachingSessionLobbyResponse = 8803; + k_EMsgClientToGCRespondToCoachFriendRequest = 8804; + k_EMsgClientToGCRespondToCoachFriendRequestResponse = 8805; + k_EMsgClientToGCSetEventActiveSeasonID = 8806; + k_EMsgClientToGCSetEventActiveSeasonIDResponse = 8807; + k_EMsgServerToGCMatchPlayerNeutralItemEquipHistory = 8808; + k_EMsgServerToGCCompendiumChosenInGamePredictions = 8809; + k_EMsgClientToGCCreateTeamPlayerCardPack = 8810; + k_EMsgClientToGCCreateTeamPlayerCardPackResponse = 8811; + k_EMsgGCToServerSubmitCheerData = 8812; + k_EMsgGCToServerCheerConfig = 8813; + k_EMsgServerToGCGetCheerConfig = 8814; + k_EMsgServerToGCGetCheerConfigResponse = 8815; + k_EMsgGCToGCGrantAutographByID = 8816; + k_EMsgGCToServerCheerScalesOverride = 8817; + k_EMsgGCToServerGetCheerState = 8818; + k_EMsgServerToGCReportCheerState = 8819; + k_EMsgGCToServerScenarioSave = 8820; + k_EMsgGCToServerAbilityDraftLobbyData = 8821; + k_EMsgSignOutReportCommunications = 8822; + k_EMsgClientToGCBatchGetPlayerCardRosterRequest = 8823; + k_EMsgClientToGCBatchGetPlayerCardRosterResponse = 8824; + k_EMsgClientToGCGetStickerbookRequest = 8825; + k_EMsgClientToGCGetStickerbookResponse = 8826; + k_EMsgClientToGCCreateStickerbookPageRequest = 8827; + k_EMsgClientToGCCreateStickerbookPageResponse = 8828; + k_EMsgClientToGCDeleteStickerbookPageRequest = 8829; + k_EMsgClientToGCDeleteStickerbookPageResponse = 8830; + k_EMsgClientToGCPlaceStickersRequest = 8831; + k_EMsgClientToGCPlaceStickersResponse = 8832; + k_EMsgClientToGCPlaceCollectionStickersRequest = 8833; + k_EMsgClientToGCPlaceCollectionStickersResponse = 8834; + k_EMsgClientToGCOrderStickerbookTeamPageRequest = 8835; + k_EMsgClientToGCOrderStickerbookTeamPageResponse = 8836; + k_EMsgServerToGCGetStickerHeroes = 8837; + k_EMsgServerToGCGetStickerHeroesResponse = 8838; + k_EMsgClientToGCCandyShopGetUserData = 8840; + k_EMsgClientToGCCandyShopGetUserDataResponse = 8841; + k_EMsgGCToClientCandyShopUserDataUpdated = 8842; + k_EMsgClientToGCCandyShopPurchaseReward = 8843; + k_EMsgClientToGCCandyShopPurchaseRewardResponse = 8844; + k_EMsgClientToGCCandyShopDoExchange = 8845; + k_EMsgClientToGCCandyShopDoExchangeResponse = 8846; + k_EMsgClientToGCCandyShopDoVariableExchange = 8847; + k_EMsgClientToGCCandyShopDoVariableExchangeResponse = 8848; + k_EMsgClientToGCCandyShopRerollRewards = 8849; + k_EMsgClientToGCCandyShopRerollRewardsResponse = 8850; + k_EMsgClientToGCSetHeroSticker = 8851; + k_EMsgClientToGCSetHeroStickerResponse = 8852; + k_EMsgClientToGCGetHeroStickers = 8853; + k_EMsgClientToGCGetHeroStickersResponse = 8854; + k_EMsgClientToGCSetFavoritePage = 8855; + k_EMsgClientToGCSetFavoritePageResponse = 8856; + k_EMsgClientToGCCandyShopDevGrantCandy = 8857; + k_EMsgClientToGCCandyShopDevGrantCandyResponse = 8858; + k_EMsgClientToGCCandyShopDevClearInventory = 8859; + k_EMsgClientToGCCandyShopDevClearInventoryResponse = 8860; + k_EMsgClientToGCCandyShopOpenBags = 8861; + k_EMsgClientToGCCandyShopOpenBagsResponse = 8862; + k_EMsgClientToGCCandyShopDevGrantCandyBags = 8863; + k_EMsgClientToGCCandyShopDevGrantCandyBagsResponse = 8864; + k_EMsgClientToGCCandyShopDevShuffleExchange = 8865; + k_EMsgClientToGCCandyShopDevShuffleExchangeResponse = 8866; + k_EMsgClientToGCCandyShopDevGrantRerollCharges = 8867; + k_EMsgClientToGCCandyShopDevGrantRerollChargesResponse = 8868; + k_EMsgLobbyAdditionalAccountData = 8869; + k_EMsgServerToGCLobbyInitialized = 8870; + k_EMsgClientToGCCollectorsCacheAvailableDataRequest = 8871; + k_EMsgGCToClientCollectorsCacheAvailableDataResponse = 8872; + k_EMsgClientToGCUploadMatchClip = 8873; + k_EMsgGCToClientUploadMatchClipResponse = 8874; + k_EMsgSignOutMuertaMinigame = 8877; + k_EMsgGCToServerLobbyHeroRoleStats = 8878; + k_EMsgClientToGCRankRequest = 8879; + k_EMsgGCToClientRankResponse = 8880; + k_EMsgGCToClientRankUpdate = 8881; + k_EMsgSignOutMapStats = 8882; + k_EMsgClientToGCMapStatsRequest = 8883; + k_EMsgGCToClientMapStatsResponse = 8884; + k_EMsgClientToGCShowcaseGetUserData = 8886; + k_EMsgClientToGCShowcaseGetUserDataResponse = 8887; + k_EMsgClientToGCShowcaseSetUserData = 8888; + k_EMsgClientToGCShowcaseSetUserDataResponse = 8889; + k_EMsgClientToGCFantasyCraftingGetData = 8890; + k_EMsgClientToGCFantasyCraftingGetDataResponse = 8891; + k_EMsgClientToGCFantasyCraftingPerformOperation = 8892; + k_EMsgClientToGCFantasyCraftingPerformOperationResponse = 8893; + k_EMsgGCToClientFantasyCraftingGetDataUpdated = 8894; + k_EMsgClientToGCFantasyCraftingDevModifyTablet = 8895; + k_EMsgClientToGCFantasyCraftingDevModifyTabletResponse = 8896; + k_EMsgClientToGCRoadToTIGetQuests = 8897; + k_EMsgClientToGCRoadToTIGetQuestsResponse = 8898; + k_EMsgClientToGCRoadToTIGetActiveQuest = 8899; + k_EMsgClientToGCRoadToTIGetActiveQuestResponse = 8900; + k_EMsgClientToGCBingoGetUserData = 8901; + k_EMsgClientToGCBingoGetUserDataResponse = 8902; + k_EMsgClientToGCBingoClaimRow = 8903; + k_EMsgClientToGCBingoClaimRowResponse = 8904; + k_EMsgClientToGCBingoDevRerollCard = 8905; + k_EMsgClientToGCBingoDevRerollCardResponse = 8906; + k_EMsgClientToGCBingoGetStatsData = 8907; + k_EMsgClientToGCBingoGetStatsDataResponse = 8908; + k_EMsgGCToClientBingoUserDataUpdated = 8909; + k_EMsgGCToClientRoadToTIQuestDataUpdated = 8910; + k_EMsgClientToGCRoadToTIUseItem = 8911; + k_EMsgClientToGCRoadToTIUseItemResponse = 8912; + k_EMsgClientToGCShowcaseSubmitReport = 8913; + k_EMsgClientToGCShowcaseSubmitReportResponse = 8914; + k_EMsgClientToGCShowcaseAdminGetReportsRollupList = 8915; + k_EMsgClientToGCShowcaseAdminGetReportsRollupListResponse = 8916; + k_EMsgClientToGCShowcaseAdminGetReportsRollup = 8917; + k_EMsgClientToGCShowcaseAdminGetReportsRollupResponse = 8918; + k_EMsgClientToGCShowcaseAdminGetUserDetails = 8919; + k_EMsgClientToGCShowcaseAdminGetUserDetailsResponse = 8920; + k_EMsgClientToGCShowcaseAdminConvict = 8921; + k_EMsgClientToGCShowcaseAdminConvictResponse = 8922; + k_EMsgClientToGCShowcaseAdminExonerate = 8923; + k_EMsgClientToGCShowcaseAdminExonerateResponse = 8924; + k_EMsgClientToGCShowcaseAdminReset = 8925; + k_EMsgClientToGCShowcaseAdminResetResponse = 8926; + k_EMsgClientToGCShowcaseAdminLockAccount = 8927; + k_EMsgClientToGCShowcaseAdminLockAccountResponse = 8928; + k_EMsgClientToGCFantasyCraftingSelectPlayer = 8929; + k_EMsgClientToGCFantasyCraftingSelectPlayerResponse = 8930; + k_EMsgClientToGCFantasyCraftingGenerateTablets = 8931; + k_EMsgClientToGCFantasyCraftingGenerateTabletsResponse = 8932; + k_EMsgClientToGcFantasyCraftingUpgradeTablets = 8933; + k_EMsgClientToGcFantasyCraftingUpgradeTabletsResponse = 8934; + k_EMsgClientToGCFantasyCraftingRerollOptions = 8936; + k_EMsgClientToGCFantasyCraftingRerollOptionsResponse = 8937; + k_EMsgClientToGCRoadToTIDevForceQuest = 8935; + k_EMsgLobbyRoadToTIMatchQuestData = 8939; + k_EMsgClientToGCShowcaseModerationGetQueue = 8940; + k_EMsgClientToGCShowcaseModerationGetQueueResponse = 8941; + k_EMsgClientToGCShowcaseModerationApplyModeration = 8942; + k_EMsgClientToGCShowcaseModerationApplyModerationResponse = 8943; + k_EMsgClientToGCOverworldGetUserData = 8944; + k_EMsgClientToGCOverworldGetUserDataResponse = 8945; + k_EMsgClientToGCOverworldCompletePath = 8946; + k_EMsgClientToGCOverworldCompletePathResponse = 8947; + k_EMsgClientToGCOverworldClaimEncounterReward = 8948; + k_EMsgClientToGCOverworldClaimEncounterRewardResponse = 8949; + k_EMsgClientToGCOverworldDevResetAll = 8950; + k_EMsgClientToGCOverworldDevResetAllResponse = 8951; + k_EMsgClientToGCOverworldDevResetNode = 8952; + k_EMsgClientToGCOverworldDevResetNodeResponse = 8953; + k_EMsgClientToGCOverworldDevResetPath = 8954; + k_EMsgClientToGCOverworldDevResetPathResponse = 8955; + k_EMsgClientToGCOverworldDevGrantTokens = 8956; + k_EMsgClientToGCOverworldDevGrantTokensResponse = 8957; + k_EMsgClientToGCOverworldDevClearInventory = 8958; + k_EMsgClientToGCOverworldDevClearInventoryResponse = 8959; + k_EMsgServerToGCNewBloomGift = 8960; + k_EMsgServerToGCNewBloomGiftResponse = 8961; + k_EMsgGCToClientOverworldUserDataUpdated = 8962; + k_EMsgClientToGCOverworldMoveToNode = 8963; + k_EMsgClientToGCOverworldMoveToNodeResponse = 8964; + k_EMsgClientToGCNewBloomGift = 8965; + k_EMsgClientToGCNewBloomGiftResponse = 8966; + k_EMsgSignOutOverworld = 8967; + k_EMsgClientToGCSetBannedHeroes = 8969; + k_EMsgClientToGCOverworldTradeTokens = 8970; + k_EMsgClientToGCOverworldTradeTokensResponse = 8971; + k_EMsgOverworldEncounterTokenTreasureData = 8972; + k_EMsgOverworldEncounterTokenQuestData = 8973; + k_EMsgOverworldEncounterChooseHeroData = 8974; + k_EMsgClientToGCUpdateComicBookStats = 8975; + k_EMsgClientToGCCandyShopDevResetShop = 8976; + k_EMsgClientToGCCandyShopDevResetShopResponse = 8977; + k_EMsgOverworldEncounterProgressData = 8978; + k_EMsgClientToGCOverworldFeedback = 8979; + k_EMsgClientToGCOverworldFeedbackResponse = 8980; + k_EMsgClientToGCOverworldVisitEncounter = 8981; + k_EMsgClientToGCOverworldVisitEncounterResponse = 8982; + k_EMsgClientToGCOverworldGiftTokens = 8983; + k_EMsgClientToGCOverworldGiftTokensResponse = 8984; + k_EMsgClientToGCDotaLabsFeedback = 8985; + k_EMsgClientToGCDotaLabsFeedbackResponse = 8986; + k_EMsgOverworldEncounterPitFighterRewardData = 8987; + k_EMsgClientToGCOverworldGetDynamicImage = 8988; + k_EMsgClientToGCOverworldGetDynamicImageResponse = 8989; + k_EMsgClientToGCFightingGameChallengeFriend = 8990; + k_EMsgClientToGCFightingGameChallengeFriendResponse = 8991; + k_EMsgClientToGCFightingGameCancelChallengeFriend = 8992; + k_EMsgClientToGCFightingGameAnswerChallenge = 8993; + k_EMsgClientToGCFightingGameAnswerChallengeResponse = 8994; + k_EMsgGCToClientFightingGameChallenge = 8995; + k_EMsgGCToClientFightingGameStartMatch = 8996; + k_EMsgGCToClientFightingGameChallengeCanceled = 8997; + k_EMsgClientToGCBingoShuffleCard = 8999; + k_EMsgClientToGCBingoShuffleCardResponse = 9000; + k_EMsgClientToGCBingoModifySquare = 9001; + k_EMsgClientToGCBingoModifySquareResponse = 9002; + k_EMsgClientToGCBingoDevAddTokens = 9003; + k_EMsgClientToGCBingoDevAddTokensResponse = 9004; + k_EMsgClientToGCBingoDevClearInventory = 9005; + k_EMsgClientToGCBingoDevClearInventoryResponse = 9006; + k_EMsgGCCompendiumRemoveAllSelections = 9007; + k_EMsgGCCompendiumRemoveAllSelectionsResponse = 9008; + k_EMsgClientToGCOverworldMinigameAction = 9009; + k_EMsgClientToGCOverworldMinigameActionResponse = 9010; + k_EMsgClientToGCSurvivorsTelemetry = 9011; + k_EMsgClientToGCSurvivorsTelemetryResponse = 9012; + k_EMsgClientToGCOverworldRequestTokensNeededByFriend = 9013; + k_EMsgClientToGCOverworldRequestTokensNeededByFriendResponse = 9014; + k_EMsgClientToGCCraftworksGetUserData = 9015; + k_EMsgClientToGCCraftworksGetUserDataResponse = 9016; + k_EMsgGCToClientCraftworksUserDataUpdated = 9017; + k_EMsgClientToGCCraftworksCraftRecipe = 9018; + k_EMsgClientToGCCraftworksCraftRecipeResponse = 9019; + k_EMsgClientToGCCraftworksDevModifyComponents = 9020; + k_EMsgClientToGCCraftworksDevModifyComponentsResponse = 9021; + k_EMsgSignOutCraftworks = 9022; + k_EMsgClientToGCMonsterHunterGetUserData = 9023; + k_EMsgClientToGCMonsterHunterGetUserDataResponse = 9024; + k_EMsgClientToGCMonsterHunterClaimReward = 9025; + k_EMsgClientToGCMonsterHunterClaimRewardResponse = 9026; + k_EMsgClientToGCMonsterHunterTradeMaterials = 9027; + k_EMsgClientToGCMonsterHunterTradeMaterialsResponse = 9028; + k_EMsgClientToGCMonsterHunterGiftMaterials = 9029; + k_EMsgClientToGCMonsterHunterGiftMaterialsResponse = 9030; + k_EMsgClientToGCMonsterHunterRequestMaterialsNeededByFriend = 9031; + k_EMsgClientToGCMonsterHunterRequestMaterialsNeededByFriendResponse = 9032; + k_EMsgClientToGCMonsterHunterDevResetAll = 9033; + k_EMsgClientToGCMonsterHunterDevResetAllResponse = 9034; + k_EMsgClientToGCMonsterHunterDevGrantMaterials = 9035; + k_EMsgClientToGCMonsterHunterDevGrantMaterialsResponse = 9036; + k_EMsgClientToGCMonsterHunterDevClearInventory = 9037; + k_EMsgClientToGCMonsterHunterDevClearInventoryResponse = 9038; + k_EMsgClientToGCMonsterHunterDevClaimInvestigationRewards = 9039; + k_EMsgClientToGCMonsterHunterDevClaimInvestigationRewardsResponse = 9040; + k_EMsgGCToClientMonsterHunterUserDataUpdated = 9041; + k_EMsgSignOutMonsterHunter = 9042; + k_EMsgClientToGCClaimGatedEvent = 9043; + k_EMsgClientToGCClaimGatedEventResponse = 9044; + k_EMsgClientToGCMonsterHunterDevModifyHeroCodex = 9045; + k_EMsgClientToGCMonsterHunterDevModifyHeroCodexResponse = 9046; + k_EMsgClientToGCMonsterHunterClaimCodexReward = 9047; + k_EMsgClientToGCMonsterHunterClaimCodexRewardResponse = 9048; + k_EMsgClientToGCMonsterHunterClaimSetReward = 9049; + k_EMsgClientToGCMonsterHunterClaimSetRewardResponse = 9050; + k_EMsgClientToGCGetEventRanking = 9107; + k_EMsgClientToGCGetEventRankingResponse = 9108; + k_EMsgClientToGCGetEventCoupon = 9109; + k_EMsgClientToGCGetEventCouponResponse = 9110; + k_EMsgClientToGCConvertEventPoints = 9111; + k_EMsgClientToGCConvertEventPointsResponse = 9112; + k_EMsgServerToGCWarningLowServerFramerate = 9113; + k_EMsgServerToGCWarningInvalidBotAbilityUsage = 9114; + k_EMsgClientToGCInviteToDemoMode = 9115; + k_EMsgGCToClientInviteToDemoMode = 9116; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_server.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_server.proto index 49ad5d68..20a8eb57 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_server.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_server.proto @@ -19,1509 +19,1530 @@ option optimize_for = SPEED; option java_generic_services = false; enum EPoorNetworkConditionsType { - k_EPoorNetworkConditions_None = 0; - k_EPoorNetworkConditions_Unknown = 1; - k_EPoorNetworkConditions_MassDisconnect = 2; - k_EPoorNetworkConditions_ExcessBadQosIntervals = 3; + k_EPoorNetworkConditions_None = 0; + k_EPoorNetworkConditions_Unknown = 1; + k_EPoorNetworkConditions_MassDisconnect = 2; + k_EPoorNetworkConditions_ExcessBadQosIntervals = 3; } message CMsgPoorNetworkConditions { - message Player { - optional uint32 account_id = 1; - optional .ENetworkDisconnectionReason disconnect_reason = 2 [default = NETWORK_DISCONNECT_INVALID]; - optional uint32 num_bad_intervals = 3; - optional uint32 peak_loss_pct = 4; - } + message Player { + optional uint32 account_id = 1; + optional .ENetworkDisconnectionReason disconnect_reason = 2 [default = NETWORK_DISCONNECT_INVALID]; + optional uint32 num_bad_intervals = 3; + optional uint32 peak_loss_pct = 4; + } - optional .EPoorNetworkConditionsType detection_type = 1 [default = k_EPoorNetworkConditions_None]; - repeated .CMsgPoorNetworkConditions.Player players = 2; + optional .EPoorNetworkConditionsType detection_type = 1 [default = k_EPoorNetworkConditions_None]; + repeated .CMsgPoorNetworkConditions.Player players = 2; } message CMsgGameserverCrash { - optional uint64 match_id = 1; - optional fixed64 lobby_id = 2; - optional .DOTA_GameState game_state = 3 [default = DOTA_GAMERULES_STATE_INIT]; - optional fixed32 sentinel_save_time = 4; - optional fixed64 custom_game_id = 11; - optional uint32 tournament_id = 12; - optional fixed64 server_steam_id = 5; - optional fixed32 server_public_ip_addr = 6; - optional uint32 server_port = 7; - optional uint32 server_cluster = 8; - optional uint32 pid = 9; - optional uint32 engine = 10; + optional uint64 match_id = 1; + optional fixed64 lobby_id = 2; + optional .DOTA_GameState game_state = 3 [default = DOTA_GAMERULES_STATE_INIT]; + optional fixed32 sentinel_save_time = 4; + optional fixed64 custom_game_id = 11; + optional uint32 tournament_id = 12; + optional fixed64 server_steam_id = 5; + optional fixed32 server_public_ip_addr = 6; + optional uint32 server_port = 7; + optional uint32 server_cluster = 8; + optional uint32 pid = 9; + optional uint32 engine = 10; } message CMsgConnectedPlayers { - message Player { - optional fixed64 steam_id = 1; - optional int32 hero_id = 2; - optional .CMsgLeaverState leaver_state = 3; - optional .ENetworkDisconnectionReason disconnect_reason = 4 [default = NETWORK_DISCONNECT_INVALID]; - } - - message PlayerDraft { - optional fixed64 steam_id = 1; - optional .DOTA_GC_TEAM team = 2 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional int32 team_slot = 3; - } - - enum SendReason { - INVALID = 0; - HEARTBEAT = 1; - GAME_STATE = 2; - FIRST_BLOOD = 3; - PLAYER_CONNECTED = 4; - PLAYER_HERO = 5; - PLAYER_DISCONNECTED_CONSEQUENCES = 6; - PLAYER_DISCONNECTED_NOCONSEQUENCES = 7; - GAMESTATE_TIMEOUT = 10; - MASS_DISCONNECT = 11; - KILLS = 13; - BUILDING_STATE = 14; - } - - repeated .CMsgConnectedPlayers.Player connected_players = 1; - repeated .CMsgConnectedPlayers.Player disconnected_players = 7; - optional .DOTA_GameState game_state = 2 [default = DOTA_GAMERULES_STATE_INIT]; - optional bool first_blood_happened = 6; - optional .CMsgPoorNetworkConditions poor_network_conditions = 10; - optional .CMsgConnectedPlayers.SendReason send_reason = 8 [default = INVALID]; - optional uint32 radiant_kills = 11; - optional uint32 dire_kills = 12; - optional int32 radiant_lead = 14; - optional uint32 building_state = 15; - repeated .CMsgConnectedPlayers.PlayerDraft player_draft = 16; + message Player { + optional fixed64 steam_id = 1; + optional int32 hero_id = 2; + optional .CMsgLeaverState leaver_state = 3; + optional .ENetworkDisconnectionReason disconnect_reason = 4 [default = NETWORK_DISCONNECT_INVALID]; + } + + message PlayerDraft { + optional fixed64 steam_id = 1; + optional .DOTA_GC_TEAM team = 2 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional int32 team_slot = 3; + } + + enum SendReason { + INVALID = 0; + HEARTBEAT = 1; + GAME_STATE = 2; + FIRST_BLOOD = 3; + PLAYER_CONNECTED = 4; + PLAYER_HERO = 5; + PLAYER_DISCONNECTED_CONSEQUENCES = 6; + PLAYER_DISCONNECTED_NOCONSEQUENCES = 7; + GAMESTATE_TIMEOUT = 10; + MASS_DISCONNECT = 11; + KILLS = 13; + BUILDING_STATE = 14; + } + + repeated .CMsgConnectedPlayers.Player connected_players = 1; + repeated .CMsgConnectedPlayers.Player disconnected_players = 7; + optional .DOTA_GameState game_state = 2 [default = DOTA_GAMERULES_STATE_INIT]; + optional bool first_blood_happened = 6; + optional .CMsgPoorNetworkConditions poor_network_conditions = 10; + optional .CMsgConnectedPlayers.SendReason send_reason = 8 [default = INVALID]; + optional uint32 radiant_kills = 11; + optional uint32 dire_kills = 12; + optional int32 radiant_lead = 14; + optional uint32 building_state = 15; + repeated .CMsgConnectedPlayers.PlayerDraft player_draft = 16; } message CMsgGameServerInfo { - enum ServerType { - UNSPECIFIED = 0; - GAME = 1; - PROXY = 2; - DOTA_ONLY = 4; - CUSTOM_GAME_ONLY = 5; - EVENT_GAME_ONLY = 6; - } - - enum CustomGames { - BOTH = 0; - NONE = 1; - ONLY = 2; - EVENT = 3; - } - - optional fixed32 server_public_ip_addr = 1; - optional fixed32 server_private_ip_addr = 2; - optional uint32 server_port = 3; - optional uint32 server_tv_port = 4; - optional uint32 assigned_server_tv_port = 22; - optional bytes legacy_server_steamdatagram_address = 27; - optional string server_key = 5; - optional bool server_hibernation = 6; - optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; - optional uint32 server_region = 8; - optional float server_loadavg = 9; - optional float server_tv_broadcast_time = 10; - optional float server_game_time = 11; - optional fixed64 server_relay_connected_steam_id = 12; - optional uint32 relay_slots_max = 13; - optional int32 relays_connected = 14; - optional int32 relay_clients_connected = 15; - optional fixed64 relayed_game_server_steam_id = 16; - optional uint32 parent_relay_count = 17; - optional fixed64 tv_secret_code = 18; - optional uint32 server_version = 19; - optional uint32 server_cluster = 20; - optional .CMsgGameServerInfo.CustomGames allow_custom_games = 23 [default = BOTH]; - optional uint32 build_version = 24; - optional uint32 srcds_instance = 26; - optional bool dev_force_server_type = 28; + enum ServerType { + UNSPECIFIED = 0; + GAME = 1; + PROXY = 2; + DOTA_ONLY = 4; + CUSTOM_GAME_ONLY = 5; + EVENT_GAME_ONLY = 6; + } + + enum CustomGames { + BOTH = 0; + NONE = 1; + ONLY = 2; + EVENT = 3; + } + + optional fixed32 server_public_ip_addr = 1; + optional fixed32 server_private_ip_addr = 2; + optional uint32 server_port = 3; + optional uint32 server_tv_port = 4; + optional uint32 assigned_server_tv_port = 22; + optional bytes legacy_server_steamdatagram_address = 27; + optional string server_key = 5; + optional bool server_hibernation = 6; + optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; + optional uint32 server_region = 8; + optional float server_loadavg = 9; + optional float server_tv_broadcast_time = 10; + optional float server_game_time = 11; + optional fixed64 server_relay_connected_steam_id = 12; + optional uint32 relay_slots_max = 13; + optional int32 relays_connected = 14; + optional int32 relay_clients_connected = 15; + optional fixed64 relayed_game_server_steam_id = 16; + optional uint32 parent_relay_count = 17; + optional fixed64 tv_secret_code = 18; + optional uint32 server_version = 19; + optional uint32 server_cluster = 20; + optional .CMsgGameServerInfo.CustomGames allow_custom_games = 23 [default = BOTH]; + optional uint32 build_version = 24; + optional uint32 srcds_instance = 26; + optional bool dev_force_server_type = 28; } message CMsgLeaverDetected { - optional fixed64 steam_id = 1; - optional .DOTALeaverStatus_t leaver_status = 2 [default = DOTA_LEAVER_NONE]; - optional .CMsgLeaverState leaver_state = 4; - optional uint32 server_cluster = 5; - optional .ENetworkDisconnectionReason disconnect_reason = 6 [default = NETWORK_DISCONNECT_INVALID]; - optional .CMsgPoorNetworkConditions poor_network_conditions = 7; + optional fixed64 steam_id = 1; + optional .DOTALeaverStatus_t leaver_status = 2 [default = DOTA_LEAVER_NONE]; + optional .CMsgLeaverState leaver_state = 4; + optional uint32 server_cluster = 5; + optional .ENetworkDisconnectionReason disconnect_reason = 6 [default = NETWORK_DISCONNECT_INVALID]; + optional .CMsgPoorNetworkConditions poor_network_conditions = 7; } message CMsgLeaverDetectedResponse { - optional uint32 result = 1; + optional uint32 result = 1; } message CMsgDOTAFantasyFinalPlayerStats { - repeated .CMsgDOTAFantasyPlayerStats stats = 2; + repeated .CMsgDOTAFantasyPlayerStats stats = 2; } message CMsgDOTAFantasyLivePlayerStats { - repeated .CMsgDOTAFantasyPlayerStats stats = 2; + repeated .CMsgDOTAFantasyPlayerStats stats = 2; } message CMsgServerToGCRealtimeStats { - optional .CMsgDOTARealtimeGameStatsTerse delayed = 1; + optional .CMsgDOTARealtimeGameStatsTerse delayed = 1; } message CMsgGCToServerRealtimeStatsStartStop { - optional bool delayed = 1; + optional bool delayed = 1; } message CMsgGCToServerUpdateSteamBroadcasting { - optional bool active = 1; + optional bool active = 1; } message CMsgSignOutGameplayStats { - message CPlayer { - optional fixed64 steam_id = 1; - optional uint32 player_slot = 2; - optional int32 hero_id = 3; - repeated .CMatchPlayerTimedStats timed_player_stats = 4; - } + message CPlayer { + optional fixed64 steam_id = 1; + optional uint32 player_slot = 2; + optional int32 hero_id = 3; + repeated .CMatchPlayerTimedStats timed_player_stats = 4; + } - message CTeam { - optional bool is_winning_team = 1; - optional bool is_radiant_team = 2; - repeated .CMatchTeamTimedStats timed_team_stats = 3; - repeated .CMsgSignOutGameplayStats.CPlayer players = 4; - } + message CTeam { + optional bool is_winning_team = 1; + optional bool is_radiant_team = 2; + repeated .CMatchTeamTimedStats timed_team_stats = 3; + repeated .CMsgSignOutGameplayStats.CPlayer players = 4; + } - repeated .CMsgSignOutGameplayStats.CTeam teams = 1; + repeated .CMsgSignOutGameplayStats.CTeam teams = 1; } message CMsgGameMatchSignOut { - message CTeam { - message CPlayer { - message CCustomGameData { - optional uint32 dota_team = 1; - optional bool winner = 2; - } - - message HeroDamageReceived { - optional uint32 pre_reduction = 1; - optional uint32 post_reduction = 2; - optional .CMsgGameMatchSignOut.CTeam.CPlayer.HeroDamageType damage_type = 3 [default = HERO_DAMAGE_PHYSICAL]; - } - - enum HeroDamageType { - HERO_DAMAGE_PHYSICAL = 0; - HERO_DAMAGE_MAGICAL = 1; - HERO_DAMAGE_PURE = 2; - } - - optional fixed64 steam_id = 1; - optional int32 hero_id = 3; - repeated int32 items = 4; - repeated uint32 item_purchase_times = 63; - optional uint32 gold = 5; - optional uint32 kills = 6; - optional uint32 deaths = 7; - optional uint32 assists = 8; - optional uint32 leaver_status = 9; - optional uint32 last_hits = 10; - optional uint32 denies = 11; - optional uint32 gold_per_min = 12; - optional uint32 xp_per_minute = 13; - optional uint32 gold_spent = 14; - optional uint32 level = 15; - optional uint32 scaled_hero_damage = 16; - optional uint32 scaled_tower_damage = 17; - optional uint32 scaled_hero_healing = 18; - optional uint32 time_last_seen = 19; - optional uint32 support_ability_value = 20; - optional uint64 party_id = 21; - optional uint32 claimed_farm_gold = 27; - optional uint32 support_gold = 28; - optional uint32 claimed_denies = 29; - optional uint32 claimed_misses = 30; - optional uint32 misses = 31; - optional uint32 net_worth = 34; - optional uint32 hero_damage = 37; - optional uint32 tower_damage = 38; - optional uint32 hero_healing = 39; - repeated .CMatchPlayerAbilityUpgrade ability_upgrades = 32; - repeated .CMatchAdditionalUnitInventory additional_units_inventory = 33; - repeated .CMatchPlayerPermanentBuff permanent_buffs = 40; - optional .CMsgGameMatchSignOut.CTeam.CPlayer.CCustomGameData custom_game_data = 35; - optional uint32 match_player_flags = 36; - repeated int32 talent_ability_ids = 41; - optional uint32 hero_pick_order = 42; - optional bool hero_was_randomed = 43; - optional bool hero_was_dota_plus_suggestion = 50; - optional uint32 lane = 45; - optional bool is_using_plus_guide = 47; - repeated .CMsgGameMatchSignOut.CTeam.CPlayer.HeroDamageReceived hero_damage_received = 48; - repeated .CMsgGameMatchSignOut.CTeam.CPlayer.HeroDamageReceived hero_damage_dealt = 64; - optional uint32 seconds_dead = 51; - optional uint32 gold_lost_to_death = 52; - optional uint32 command_count = 53; - optional uint32 mouse_click_cast_command_count = 54; - optional uint32 teleports_used = 55; - optional uint32 cavern_crawl_preferred_map_variant = 56 [default = 255]; - optional uint32 bounty_runes = 57; - optional uint32 outposts_captured = 58; - optional uint32 dewards = 59; - optional uint32 wards_placed = 60; - optional uint32 camps_stacked = 61; - optional uint32 player_slot = 62; - optional uint32 predicted_position = 66; - optional uint32 lane_outcomes = 67 [default = 255]; - optional uint32 friendly_t1_destroyed_time = 68; - optional uint32 enemy_t1_destroyed_time = 69; - optional uint32 friendly_roshan_kills = 70; - optional uint32 enemy_roshan_kills = 71; - optional uint32 power_runes = 72; - optional uint32 water_runes = 73; - optional float stun_duration = 74; - optional .DOTA_GC_TEAM team_number = 75 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional uint32 team_slot = 76; - optional uint32 time_purchased_shard = 77; - optional uint32 time_purchased_aghs = 78; - repeated int32 ability_draft_abilities = 79; - repeated .CMsgTrackedStat player_tracked_stats = 80; - optional uint32 predicted_rank = 81; - optional uint32 selected_facet = 82; - optional uint32 enhancement_level = 83; - } - - repeated .CMsgGameMatchSignOut.CTeam.CPlayer players = 1; - repeated .CMsgTrackedStat team_tracked_stats = 2; - } - - message CAdditionalSignoutMsg { - optional uint32 id = 1; - optional bytes contents = 2; - } - - message CSocialFeedMatchEvent { - optional uint32 account_id = 1; - optional uint32 timestamp = 2; - optional uint32 event_type = 3; - optional int32 game_time = 4; - optional uint32 replay_time = 5; - } - - message CCustomGameData { - optional uint32 publish_timestamp = 1; - } - - message EventGameLeaderboardEntry { - optional string name_suffix = 1; - optional int32 score = 2; - optional uint32 extra_data_1 = 3; - optional uint32 extra_data_2 = 4; - optional uint32 extra_data_3 = 5; - optional uint32 extra_data_4 = 6; - optional uint32 extra_data_5 = 7; - } - - message WardPlacement { - optional int32 player_id = 1 [default = -1]; - optional uint32 team_id = 2; - optional uint32 placed_time = 3; - optional uint32 building_state = 4; - optional uint32 creep_state = 5; - optional bool roshan_alive = 6; - optional uint32 position_x = 7; - optional uint32 position_y = 8; - } - - optional uint64 match_id = 1 [(key_field) = true]; - optional uint32 duration = 2; - optional bool good_guys_win = 3; - optional fixed32 date = 4; - repeated .CMsgGameMatchSignOut.CTeam teams = 6; - repeated uint32 tower_status = 8; - repeated uint32 barracks_status = 9; - optional uint32 cluster = 10; - optional string server_addr = 11; - optional uint32 first_blood_time = 12; - optional uint32 event_score = 14; - repeated .CMsgDOTAFantasyPlayerStats fantasy_stats = 41; - repeated .CMsgEconPlayerStrangeCountAdjustment player_strange_count_adjustments = 17; - optional bool automatic_surrender = 18; - optional uint32 server_version = 19; - optional .CMsgPoorNetworkConditions poor_network_conditions = 35; - repeated .CMsgGameMatchSignOut.CAdditionalSignoutMsg additional_msgs = 20; - repeated .CMsgGameMatchSignOut.CSocialFeedMatchEvent social_feed_events = 36; - optional sint32 average_networth_delta = 22; - optional .CMsgGameMatchSignOut.CCustomGameData custom_game_data = 37; - optional uint32 match_flags = 38; - repeated uint32 team_scores = 39; - optional uint32 pre_game_duration = 40; - repeated .CMsgGameMatchSignOut.EventGameLeaderboardEntry event_game_leaderboard_entries = 42; - repeated .CMsgGameMatchSignOut.WardPlacement ward_placements = 43; - optional .CMsgSignOutGameplayStats gameplay_stats = 44; - repeated .CExtraMsgBlock extra_messages = 54; - optional .DOTA_GC_TEAM winning_team = 56 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional float normalized_win_probability_diff = 57; - repeated .CMsgTrackedStat match_tracked_stats = 58; + message CTeam { + message CPlayer { + message CCustomGameData { + optional uint32 dota_team = 1; + optional bool winner = 2; + } + + message HeroDamageReceived { + optional uint32 pre_reduction = 1; + optional uint32 post_reduction = 2; + optional .CMsgGameMatchSignOut.CTeam.CPlayer.HeroDamageType damage_type = 3 [default = HERO_DAMAGE_PHYSICAL]; + } + + enum HeroDamageType { + HERO_DAMAGE_PHYSICAL = 0; + HERO_DAMAGE_MAGICAL = 1; + HERO_DAMAGE_PURE = 2; + } + + optional fixed64 steam_id = 1; + optional int32 hero_id = 3; + repeated int32 items = 4; + repeated uint32 item_purchase_times = 63; + optional uint32 gold = 5; + optional uint32 kills = 6; + optional uint32 deaths = 7; + optional uint32 assists = 8; + optional uint32 leaver_status = 9; + optional uint32 last_hits = 10; + optional uint32 denies = 11; + optional uint32 gold_per_min = 12; + optional uint32 xp_per_minute = 13; + optional uint32 gold_spent = 14; + optional uint32 level = 15; + optional uint32 scaled_hero_damage = 16; + optional uint32 scaled_tower_damage = 17; + optional uint32 scaled_hero_healing = 18; + optional uint32 time_last_seen = 19; + optional uint32 support_ability_value = 20; + optional uint64 party_id = 21; + optional uint32 claimed_farm_gold = 27; + optional uint32 support_gold = 28; + optional uint32 claimed_denies = 29; + optional uint32 claimed_misses = 30; + optional uint32 misses = 31; + optional uint32 net_worth = 34; + optional uint32 hero_damage = 37; + optional uint32 tower_damage = 38; + optional uint32 hero_healing = 39; + repeated .CMatchPlayerAbilityUpgrade ability_upgrades = 32; + repeated .CMatchAdditionalUnitInventory additional_units_inventory = 33; + repeated .CMatchPlayerPermanentBuff permanent_buffs = 40; + optional .CMsgGameMatchSignOut.CTeam.CPlayer.CCustomGameData custom_game_data = 35; + optional uint32 match_player_flags = 36; + repeated int32 talent_ability_ids = 41; + optional uint32 hero_pick_order = 42; + optional bool hero_was_randomed = 43; + optional bool hero_was_dota_plus_suggestion = 50; + optional uint32 lane = 45; + optional bool is_using_plus_guide = 47; + repeated .CMsgGameMatchSignOut.CTeam.CPlayer.HeroDamageReceived hero_damage_received = 48; + repeated .CMsgGameMatchSignOut.CTeam.CPlayer.HeroDamageReceived hero_damage_dealt = 64; + optional uint32 seconds_dead = 51; + optional uint32 gold_lost_to_death = 52; + optional uint32 command_count = 53; + optional uint32 mouse_click_cast_command_count = 54; + optional uint32 teleports_used = 55; + optional uint32 cavern_crawl_preferred_map_variant = 56 [default = 255]; + optional uint32 bounty_runes = 57; + optional uint32 outposts_captured = 58; + optional uint32 dewards = 59; + optional uint32 wards_placed = 60; + optional uint32 camps_stacked = 61; + optional uint32 player_slot = 62; + optional uint32 predicted_position = 66; + optional uint32 lane_outcomes = 67 [default = 255]; + optional uint32 friendly_t1_destroyed_time = 68; + optional uint32 enemy_t1_destroyed_time = 69; + optional uint32 friendly_roshan_kills = 70; + optional uint32 enemy_roshan_kills = 71; + optional uint32 power_runes = 72; + optional uint32 water_runes = 73; + optional float stun_duration = 74; + optional .DOTA_GC_TEAM team_number = 75 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional uint32 team_slot = 76; + optional uint32 time_purchased_shard = 77; + optional uint32 time_purchased_aghs = 78; + repeated int32 ability_draft_abilities = 79; + repeated .CMsgTrackedStat player_tracked_stats = 80; + optional uint32 predicted_rank = 81; + optional uint32 selected_facet = 82; + optional uint32 enhancement_level = 83; + optional uint32 disable_duration = 84; + } + + repeated .CMsgGameMatchSignOut.CTeam.CPlayer players = 1; + repeated .CMsgTrackedStat team_tracked_stats = 2; + } + + message CAdditionalSignoutMsg { + optional uint32 id = 1; + optional bytes contents = 2; + } + + message CSocialFeedMatchEvent { + optional uint32 account_id = 1; + optional uint32 timestamp = 2; + optional uint32 event_type = 3; + optional int32 game_time = 4; + optional uint32 replay_time = 5; + } + + message CCustomGameData { + optional uint32 publish_timestamp = 1; + } + + message EventGameLeaderboardEntry { + optional string name_suffix = 1; + optional int32 score = 2; + optional uint32 extra_data_1 = 3; + optional uint32 extra_data_2 = 4; + optional uint32 extra_data_3 = 5; + optional uint32 extra_data_4 = 6; + optional uint32 extra_data_5 = 7; + } + + message WardPlacement { + optional int32 player_id = 1 [default = -1]; + optional uint32 team_id = 2; + optional uint32 placed_time = 3; + optional uint32 building_state = 4; + optional uint32 creep_state = 5; + optional bool roshan_alive = 6; + optional uint32 position_x = 7; + optional uint32 position_y = 8; + } + + optional uint64 match_id = 1 [(key_field) = true]; + optional uint32 duration = 2; + optional bool good_guys_win = 3; + optional fixed32 date = 4; + repeated .CMsgGameMatchSignOut.CTeam teams = 6; + repeated uint32 tower_status = 8; + repeated uint32 barracks_status = 9; + optional uint32 cluster = 10; + optional string server_addr = 11; + optional uint32 first_blood_time = 12; + optional uint32 event_score = 14; + repeated .CMsgDOTAFantasyPlayerStats fantasy_stats = 41; + repeated .CMsgEconPlayerStrangeCountAdjustment player_strange_count_adjustments = 17; + optional bool automatic_surrender = 18; + optional uint32 server_version = 19; + optional .CMsgPoorNetworkConditions poor_network_conditions = 35; + repeated .CMsgGameMatchSignOut.CAdditionalSignoutMsg additional_msgs = 20; + repeated .CMsgGameMatchSignOut.CSocialFeedMatchEvent social_feed_events = 36; + optional sint32 average_networth_delta = 22; + optional .CMsgGameMatchSignOut.CCustomGameData custom_game_data = 37; + optional uint32 match_flags = 38; + repeated uint32 team_scores = 39; + optional uint32 pre_game_duration = 40; + repeated .CMsgGameMatchSignOut.EventGameLeaderboardEntry event_game_leaderboard_entries = 42; + repeated .CMsgGameMatchSignOut.WardPlacement ward_placements = 43; + optional .CMsgSignOutGameplayStats gameplay_stats = 44; + repeated .CExtraMsgBlock extra_messages = 54; + optional .DOTA_GC_TEAM winning_team = 56 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional float normalized_win_probability_diff = 57; + repeated .CMsgTrackedStat match_tracked_stats = 58; } message CMsgSignOutDraftInfo { - optional uint32 radiant_captain_account_id = 1; - optional uint32 dire_captain_account_id = 2; - repeated .CMatchHeroSelectEvent picks_bans = 3; + optional uint32 radiant_captain_account_id = 1; + optional uint32 dire_captain_account_id = 2; + repeated .CMatchHeroSelectEvent picks_bans = 3; } message CMsgSignOutBotInfo { - optional bool allow_cheats = 1; - optional .DOTABotDifficulty bot_difficulty_radiant = 2 [default = BOT_DIFFICULTY_PASSIVE]; - optional bool created_lobby = 3; - optional .DOTABotDifficulty bot_difficulty_dire = 5 [default = BOT_DIFFICULTY_PASSIVE]; + optional bool allow_cheats = 1; + optional .DOTABotDifficulty bot_difficulty_radiant = 2 [default = BOT_DIFFICULTY_PASSIVE]; + optional bool created_lobby = 3; + optional .DOTABotDifficulty bot_difficulty_dire = 5 [default = BOT_DIFFICULTY_PASSIVE]; } message CMsgSignOutTextMuteInfo { - message TextMuteMessage { - optional uint32 region = 1; - optional bool caused_text_mute = 2; - optional string chat_message = 3; - } + message TextMuteMessage { + optional uint32 region = 1; + optional bool caused_text_mute = 2; + optional string chat_message = 3; + } - repeated .CMsgSignOutTextMuteInfo.TextMuteMessage text_mute_messages = 1; + repeated .CMsgSignOutTextMuteInfo.TextMuteMessage text_mute_messages = 1; } message CMsgSignOutPlayerStats { - optional int32 account_id = 1; - optional uint64 match_id = 2; - optional uint32 rank = 3; - optional int32 hero_id = 4; - optional uint32 rampages = 5; - optional uint32 triple_kills = 6; - optional uint32 first_blood_claimed = 7; - optional uint32 first_blood_given = 8; - optional uint32 couriers_killed = 9; - optional uint32 aegises_snatched = 10; - optional uint32 cheeses_eaten = 11; - optional uint32 creeps_stacked = 12; - optional float fight_score = 13; - optional float farm_score = 14; - optional float support_score = 15; - optional float push_score = 16; - optional uint32 kills = 17; - optional uint32 deaths = 18; - optional uint32 assists = 19; - optional uint32 last_hits = 20; - optional uint32 denies = 21; - optional float gpm = 22; - optional float xppm = 23; - optional float net_worth = 24; - optional float damage = 25; - optional float heals = 26; - optional uint32 rapiers_purchased = 27; - optional uint32 observer_wards_placed = 28; - optional uint32 wards_destroyed = 29; - optional uint32 lobby_type = 30; + optional int32 account_id = 1; + optional uint64 match_id = 2; + optional uint32 rank = 3; + optional int32 hero_id = 4; + optional uint32 rampages = 5; + optional uint32 triple_kills = 6; + optional uint32 first_blood_claimed = 7; + optional uint32 first_blood_given = 8; + optional uint32 couriers_killed = 9; + optional uint32 aegises_snatched = 10; + optional uint32 cheeses_eaten = 11; + optional uint32 creeps_stacked = 12; + optional float fight_score = 13; + optional float farm_score = 14; + optional float support_score = 15; + optional float push_score = 16; + optional uint32 kills = 17; + optional uint32 deaths = 18; + optional uint32 assists = 19; + optional uint32 last_hits = 20; + optional uint32 denies = 21; + optional float gpm = 22; + optional float xppm = 23; + optional float net_worth = 24; + optional float damage = 25; + optional float heals = 26; + optional uint32 rapiers_purchased = 27; + optional uint32 observer_wards_placed = 28; + optional uint32 wards_destroyed = 29; + optional uint32 lobby_type = 30; } message CMsgSignOutCommunicationSummary { - message PlayerCommunication { - message PingDetail { - optional uint32 type = 1 [default = 4294967295]; - optional uint32 count = 2; - } - - optional uint32 account_id = 1; - optional uint32 pings = 2; - optional uint32 max_pings_per_interval = 3; - optional uint32 teammate_pings = 4; - optional uint32 max_teammate_pings_per_interval = 5; - optional uint32 team_chat_messages = 6; - optional uint32 all_chat_messages = 7; - optional uint32 chat_wheel_messages = 8; - optional uint32 pauses = 9; - optional uint32 unpauses = 10; - optional uint32 lines_drawn = 11; - optional uint32 voice_chat_seconds = 12; - optional uint32 chat_mutes = 13; - optional uint32 voice_mutes = 14; - repeated .CMsgSignOutCommunicationSummary.PlayerCommunication.PingDetail ping_details = 15; - optional uint32 comms_blocks_solo = 16; - optional uint32 comms_blocks_mass = 17; - repeated string chat_log = 18; - } - - repeated .CMsgSignOutCommunicationSummary.PlayerCommunication players = 1; + message PlayerCommunication { + message PingDetail { + optional uint32 type = 1 [default = 4294967295]; + optional uint32 count = 2; + } + + optional uint32 account_id = 1; + optional uint32 pings = 2; + optional uint32 max_pings_per_interval = 3; + optional uint32 teammate_pings = 4; + optional uint32 max_teammate_pings_per_interval = 5; + optional uint32 team_chat_messages = 6; + optional uint32 all_chat_messages = 7; + optional uint32 chat_wheel_messages = 8; + optional uint32 pauses = 9; + optional uint32 unpauses = 10; + optional uint32 lines_drawn = 11; + optional uint32 voice_chat_seconds = 12; + optional uint32 chat_mutes = 13; + optional uint32 voice_mutes = 14; + repeated .CMsgSignOutCommunicationSummary.PlayerCommunication.PingDetail ping_details = 15; + optional uint32 comms_blocks_solo = 16; + optional uint32 comms_blocks_mass = 17; + repeated string chat_log = 18; + } + + repeated .CMsgSignOutCommunicationSummary.PlayerCommunication players = 1; } message CMsgGameMatchSignoutResponse { - message PlayerMetadata { - optional int32 hero_id = 1; - optional uint32 avg_kills_x16 = 2; - optional uint32 avg_deaths_x16 = 3; - optional uint32 avg_assists_x16 = 4; - optional uint32 avg_gpm_x16 = 5; - optional uint32 avg_xpm_x16 = 6; - optional uint32 best_kills_x16 = 7; - optional uint32 best_assists_x16 = 8; - optional uint32 best_gpm_x16 = 9; - optional uint32 best_xpm_x16 = 10; - optional uint32 win_streak = 11; - optional uint32 best_win_streak = 12; - optional uint32 games_played = 13; - } - - optional uint64 match_id = 1; - optional fixed32 replay_salt = 2; - optional uint32 leagueid = 5; - optional fixed32 metadata_private_key = 7; - optional .CMsgDOTAMatch match_details = 8; - repeated .CMsgGameMatchSignoutResponse.PlayerMetadata players_metadata = 9; - optional .CMvpData mvp_data = 10; - optional fixed64 ow_private_key = 11; - optional fixed32 ow_salt = 12; - optional uint64 ow_replay_id = 13; - optional .CMsgOverworldMatchRewards overworld_rewards = 14; - optional .CMsgMonsterHunterMatchRewards monster_hunter_rewards = 15; + message PlayerMetadata { + optional int32 hero_id = 1; + optional uint32 avg_kills_x16 = 2; + optional uint32 avg_deaths_x16 = 3; + optional uint32 avg_assists_x16 = 4; + optional uint32 avg_gpm_x16 = 5; + optional uint32 avg_xpm_x16 = 6; + optional uint32 best_kills_x16 = 7; + optional uint32 best_assists_x16 = 8; + optional uint32 best_gpm_x16 = 9; + optional uint32 best_xpm_x16 = 10; + optional uint32 win_streak = 11; + optional uint32 best_win_streak = 12; + optional uint32 games_played = 13; + } + + optional uint64 match_id = 1; + optional fixed32 replay_salt = 2; + optional uint32 leagueid = 5; + optional fixed32 metadata_private_key = 7; + optional .CMsgDOTAMatch match_details = 8; + repeated .CMsgGameMatchSignoutResponse.PlayerMetadata players_metadata = 9; + optional .CMvpData mvp_data = 10; + optional fixed64 ow_private_key = 11; + optional fixed32 ow_salt = 12; + optional uint64 ow_replay_id = 13; + optional .CMsgOverworldMatchRewards overworld_rewards = 14; + optional .CMsgMonsterHunterMatchRewards monster_hunter_rewards = 15; } message CMsgGameMatchSignOutPermissionRequest { - optional uint32 server_version = 1; - optional uint32 local_attempt = 2; - optional uint32 total_attempt = 3; - optional uint32 seconds_waited = 4; + optional uint32 server_version = 1; + optional uint32 local_attempt = 2; + optional uint32 total_attempt = 3; + optional uint32 seconds_waited = 4; } message CMsgGameMatchSignOutPermissionResponse { - optional bool permission_granted = 1 [default = false]; - optional bool abandon_signout = 2 [default = false]; - optional uint32 retry_delay_seconds = 3 [default = 0]; + optional bool permission_granted = 1 [default = false]; + optional bool abandon_signout = 2 [default = false]; + optional uint32 retry_delay_seconds = 3 [default = 0]; } message CMsgGameMatchSignOutEventGameData { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional string game_name = 2; - optional string map_name = 3; - optional bytes event_game_data = 4; - optional uint32 start_time = 5; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional string game_name = 2; + optional string map_name = 3; + optional bytes event_game_data = 4; + optional uint32 start_time = 5; } message CMsgGameMatchSignOutPerfData { - repeated float average_frame_time = 1; - repeated float max_frame_time = 2; - optional float server_average_frame_time = 3; - optional float server_max_frame_time = 4; - repeated float average_compute_time = 5; - repeated float max_compute_time = 6; - repeated float average_client_tick_time = 7; - repeated float max_client_tick_time = 8; - repeated float average_client_simulate_time = 9; - repeated float max_client_simulate_time = 10; - repeated float average_output_time = 11; - repeated float max_output_time = 12; - repeated float average_wait_for_rendering_to_complete_time = 13; - repeated float max_wait_for_rendering_to_complete_time = 14; - repeated float average_swap_time = 15; - repeated float max_swap_time = 16; - repeated float average_frame_update_time = 17; - repeated float max_frame_update_time = 18; - repeated float average_idle_time = 19; - repeated float max_idle_time = 20; - repeated float average_input_processing_time = 21; - repeated float max_input_processing_time = 22; + repeated float average_frame_time = 1; + repeated float max_frame_time = 2; + optional float server_average_frame_time = 3; + optional float server_max_frame_time = 4; + repeated float average_compute_time = 5; + repeated float max_compute_time = 6; + repeated float average_client_tick_time = 7; + repeated float max_client_tick_time = 8; + repeated float average_client_simulate_time = 9; + repeated float max_client_simulate_time = 10; + repeated float average_output_time = 11; + repeated float max_output_time = 12; + repeated float average_wait_for_rendering_to_complete_time = 13; + repeated float max_wait_for_rendering_to_complete_time = 14; + repeated float average_swap_time = 15; + repeated float max_swap_time = 16; + repeated float average_frame_update_time = 17; + repeated float max_frame_update_time = 18; + repeated float average_idle_time = 19; + repeated float max_idle_time = 20; + repeated float average_input_processing_time = 21; + repeated float max_input_processing_time = 22; + optional uint32 num_slow_frames = 23; + optional float server_average_oversleep_frame_time = 24; + optional float server_max_oversleep_frame_time = 25; + optional float server_average_sleep_frame_time = 26; + optional float server_max_sleep_frame_time = 27; + optional uint32 num_multitick_frames = 28; } message CMsgGameMatchSignOutBanData { - repeated int32 hero_bans = 1; - repeated int32 hero_ban_votes = 2; + repeated int32 hero_bans = 1; + repeated int32 hero_ban_votes = 2; } message CMsgDOTALiveScoreboardUpdate { - message Team { - message Player { - message HeroAbility { - optional int32 ability_id = 1 [default = -1]; - optional uint32 ability_level = 2; - } - - enum DOTAUltimateState { - k_EDOTAUltimateStateNotLearned = 0; - k_EDOTAUltimateStateCooldown = 1; - k_EDOTAUltimateStateNeedsMana = 2; - k_EDOTAUltimateStateReady = 3; - } - - optional uint32 player_slot = 1; - optional string player_name = 2; - optional string hero_name = 3; - optional int32 hero_id = 4; - optional uint32 kills = 5; - optional uint32 deaths = 6; - optional uint32 assists = 7; - optional uint32 last_hits = 8; - optional uint32 denies = 9; - optional uint32 gold = 10; - optional uint32 level = 11; - optional float gold_per_min = 12; - optional float xp_per_min = 13; - optional .CMsgDOTALiveScoreboardUpdate.Team.Player.DOTAUltimateState ultimate_state = 14 [default = k_EDOTAUltimateStateNotLearned]; - optional float ultimate_cooldown = 15; - optional int32 item0 = 16 [default = -1]; - optional int32 item1 = 17 [default = -1]; - optional int32 item2 = 18 [default = -1]; - optional int32 item3 = 19 [default = -1]; - optional int32 item4 = 20 [default = -1]; - optional int32 item5 = 21 [default = -1]; - optional uint32 respawn_timer = 22; - optional uint32 account_id = 23; - optional float position_x = 24; - optional float position_y = 25; - optional uint32 net_worth = 26; - repeated .CMsgDOTALiveScoreboardUpdate.Team.Player.HeroAbility abilities = 27; - } - - repeated .CMsgDOTALiveScoreboardUpdate.Team.Player players = 1; - optional uint32 score = 2; - optional uint32 tower_state = 3; - optional uint32 barracks_state = 4; - repeated int32 hero_picks = 5; - repeated int32 hero_bans = 6; - } - - optional uint32 tournament_id = 1; - optional uint32 tournament_game_id = 2; - optional float duration = 3; - optional int32 hltv_delay = 4; - optional .CMsgDOTALiveScoreboardUpdate.Team team_good = 5; - optional .CMsgDOTALiveScoreboardUpdate.Team team_bad = 6; - optional uint32 roshan_respawn_timer = 7; - optional uint32 league_id = 8; - optional uint64 match_id = 9; + message Team { + message Player { + message HeroAbility { + optional int32 ability_id = 1 [default = -1]; + optional uint32 ability_level = 2; + } + + enum DOTAUltimateState { + k_EDOTAUltimateStateNotLearned = 0; + k_EDOTAUltimateStateCooldown = 1; + k_EDOTAUltimateStateNeedsMana = 2; + k_EDOTAUltimateStateReady = 3; + } + + optional uint32 player_slot = 1; + optional string player_name = 2; + optional string hero_name = 3; + optional int32 hero_id = 4; + optional uint32 kills = 5; + optional uint32 deaths = 6; + optional uint32 assists = 7; + optional uint32 last_hits = 8; + optional uint32 denies = 9; + optional uint32 gold = 10; + optional uint32 level = 11; + optional float gold_per_min = 12; + optional float xp_per_min = 13; + optional .CMsgDOTALiveScoreboardUpdate.Team.Player.DOTAUltimateState ultimate_state = 14 [default = k_EDOTAUltimateStateNotLearned]; + optional float ultimate_cooldown = 15; + optional int32 item0 = 16 [default = -1]; + optional int32 item1 = 17 [default = -1]; + optional int32 item2 = 18 [default = -1]; + optional int32 item3 = 19 [default = -1]; + optional int32 item4 = 20 [default = -1]; + optional int32 item5 = 21 [default = -1]; + optional uint32 respawn_timer = 22; + optional uint32 account_id = 23; + optional float position_x = 24; + optional float position_y = 25; + optional uint32 net_worth = 26; + repeated .CMsgDOTALiveScoreboardUpdate.Team.Player.HeroAbility abilities = 27; + } + + repeated .CMsgDOTALiveScoreboardUpdate.Team.Player players = 1; + optional uint32 score = 2; + optional uint32 tower_state = 3; + optional uint32 barracks_state = 4; + repeated int32 hero_picks = 5; + repeated int32 hero_bans = 6; + } + + optional uint32 tournament_id = 1; + optional uint32 tournament_game_id = 2; + optional float duration = 3; + optional int32 hltv_delay = 4; + optional .CMsgDOTALiveScoreboardUpdate.Team team_good = 5; + optional .CMsgDOTALiveScoreboardUpdate.Team team_bad = 6; + optional uint32 roshan_respawn_timer = 7; + optional uint32 league_id = 8; + optional uint64 match_id = 9; } message CMsgServerToGCRequestBatchPlayerResources { - repeated uint32 account_ids = 1 [packed = true]; - repeated uint32 rank_types = 4 [packed = true]; - optional int32 lobby_type = 5; + repeated uint32 account_ids = 1 [packed = true]; + repeated uint32 rank_types = 4 [packed = true]; + optional int32 lobby_type = 5; } message CMsgServerToGCRequestBatchPlayerResourcesResponse { - message Result { - optional uint32 account_id = 1; - optional uint32 rank = 4; - optional bool rank_calibrated = 5; - optional bool low_priority = 6; - optional bool is_new_player = 7; - optional bool is_guide_player = 8; - optional int32 comm_level = 9; - optional int32 behavior_level = 10; - optional int32 wins = 11; - optional int32 losses = 12; - optional int32 smurf_category = 13; - optional int32 comm_score = 14; - optional int32 behavior_score = 15; - optional int32 rank_uncertainty = 16; - } - - repeated .CMsgServerToGCRequestBatchPlayerResourcesResponse.Result results = 6; + message Result { + optional uint32 account_id = 1; + optional uint32 rank = 4; + optional bool rank_calibrated = 5; + optional bool low_priority = 6; + optional bool is_new_player = 7; + optional bool is_guide_player = 8; + optional int32 comm_level = 9; + optional int32 behavior_level = 10; + optional int32 wins = 11; + optional int32 losses = 12; + optional int32 smurf_category = 13; + optional int32 comm_score = 14; + optional int32 behavior_score = 15; + optional int32 rank_uncertainty = 16; + } + + repeated .CMsgServerToGCRequestBatchPlayerResourcesResponse.Result results = 6; } message CMsgDOTAPlayerFailedToConnect { - repeated fixed64 failed_loaders = 1; - repeated fixed64 abandoned_loaders = 2; + repeated fixed64 failed_loaders = 1; + repeated fixed64 abandoned_loaders = 2; } message CMsgGCToRelayConnect { - optional uint32 source_tv_public_addr = 1; - optional uint32 source_tv_private_addr = 2; - optional uint32 source_tv_port = 3; - optional uint64 game_server_steam_id = 4; - optional uint32 parent_count = 5; - optional fixed64 tv_unique_secret_code = 6; - optional fixed64 source_tv_steamid = 7; + optional uint32 source_tv_public_addr = 1; + optional uint32 source_tv_private_addr = 2; + optional uint32 source_tv_port = 3; + optional uint64 game_server_steam_id = 4; + optional uint32 parent_count = 5; + optional fixed64 tv_unique_secret_code = 6; + optional fixed64 source_tv_steamid = 7; } message CMsgGCGCToLANServerRelayConnect { - optional fixed64 relay_steamid = 1; + optional fixed64 relay_steamid = 1; } message CMsgGCBanStatusRequest { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgGCBanStatusResponse { - optional uint32 result = 1; - optional bool low_priority = 2; - optional bool text_chat_banned = 3; - optional bool voice_chat_banned = 4; + optional uint32 result = 1; + optional bool low_priority = 2; + optional bool text_chat_banned = 3; + optional bool voice_chat_banned = 4; } message CMsgTournamentItemEvent { - optional fixed32 killer_account_id = 1; - optional fixed32 victim_account_id = 2; - optional .DOTA_TournamentEvents event_type = 3 [default = TE_FIRST_BLOOD]; - optional int32 tv_delay = 4; - optional int32 dota_time = 5; - optional float replay_time = 6; - optional string loot_list = 7; - optional uint32 event_team = 8; - optional uint32 multi_kill_count = 9; - optional uint32 winner_score = 10; - optional uint32 loser_score = 11; - repeated .CProtoItemHeroStatue hero_statues = 12; + optional fixed32 killer_account_id = 1; + optional fixed32 victim_account_id = 2; + optional .DOTA_TournamentEvents event_type = 3 [default = TE_FIRST_BLOOD]; + optional int32 tv_delay = 4; + optional int32 dota_time = 5; + optional float replay_time = 6; + optional string loot_list = 7; + optional uint32 event_team = 8; + optional uint32 multi_kill_count = 9; + optional uint32 winner_score = 10; + optional uint32 loser_score = 11; + repeated .CProtoItemHeroStatue hero_statues = 12; } message CMsgTournamentItemEventResponse { - optional .DOTA_TournamentEvents event_type = 1 [default = TE_FIRST_BLOOD]; - optional uint32 viewers_granted = 6; + optional .DOTA_TournamentEvents event_type = 1 [default = TE_FIRST_BLOOD]; + optional uint32 viewers_granted = 6; } message CMsgTeamFanfare { - optional uint64 match_id = 1; + optional uint64 match_id = 1; } message CMsgResponseTeamFanfare { - optional uint32 fanfare_goodguys = 1; - optional uint32 fanfare_badguys = 2; + optional uint32 fanfare_goodguys = 1; + optional uint32 fanfare_badguys = 2; } message CMsgDOTAAwardEventPoints { - message AwardPoints { - optional uint32 account_id = 1; - optional int32 points = 2; - optional int32 premium_points = 3; - optional uint32 trade_ban_time = 5; - optional bool eligible_for_periodic_adjustment = 6 [default = false]; - optional uint32 point_cap_periodic_resource_id = 7; - } - - repeated .CMsgDOTAAwardEventPoints.AwardPoints award_points = 1; - optional uint64 match_id = 2; - optional .EEvent event_id = 4 [default = EVENT_ID_NONE]; - optional uint32 timestamp = 5; - optional uint32 audit_action = 6; + message AwardPoints { + optional uint32 account_id = 1; + optional int32 points = 2; + optional int32 premium_points = 3; + optional uint32 trade_ban_time = 5; + optional bool eligible_for_periodic_adjustment = 6 [default = false]; + optional uint32 point_cap_periodic_resource_id = 7; + } + + repeated .CMsgDOTAAwardEventPoints.AwardPoints award_points = 1; + optional uint64 match_id = 2; + optional .EEvent event_id = 4 [default = EVENT_ID_NONE]; + optional uint32 timestamp = 5; + optional uint32 audit_action = 6; } message CMsgGCToServerPingRequest { - optional fixed64 request_id = 1; - optional uint64 request_time = 2; + optional fixed64 request_id = 1; + optional uint64 request_time = 2; } message CMsgGCToServerPingResponse { - optional fixed64 request_id = 1; - optional uint64 request_time = 2; - optional uint32 cluster = 3; + optional fixed64 request_id = 1; + optional uint64 request_time = 2; + optional uint32 cluster = 3; } message CMsgServerToGCMatchConnectionStats { - message Player { - optional uint32 account_id = 1; - optional fixed32 ip = 2; - optional uint32 avg_ping_ms = 3; - optional float packet_loss = 5; - optional float ping_deviation = 6; - optional uint32 full_resends = 7; - } - - optional uint64 match_id = 1; - optional uint32 region_id = 2; - optional uint32 league_id = 3; - repeated .CMsgServerToGCMatchConnectionStats.Player players = 4; - optional uint32 cluster_id = 5; + message Player { + optional uint32 account_id = 1; + optional fixed32 ip = 2; + optional uint32 avg_ping_ms = 3; + optional float packet_loss = 5; + optional float ping_deviation = 6; + optional uint32 full_resends = 7; + } + + optional uint64 match_id = 1; + optional uint32 region_id = 2; + optional uint32 league_id = 3; + repeated .CMsgServerToGCMatchConnectionStats.Player players = 4; + optional uint32 cluster_id = 5; } message CMsgServerGCUpdateSpectatorCount { - optional uint32 spectator_count = 1; + optional uint32 spectator_count = 1; } message CSerializedCombatLog { - message Dictionary { - message DictString { - required uint32 id = 1; - required string value = 2; - } + message Dictionary { + message DictString { + required uint32 id = 1; + required string value = 2; + } - repeated .CSerializedCombatLog.Dictionary.DictString strings = 1; - } + repeated .CSerializedCombatLog.Dictionary.DictString strings = 1; + } - optional uint32 version = 1; - optional .CSerializedCombatLog.Dictionary dictionary = 2; - repeated .CMsgDOTACombatLogEntry entries = 3; + optional uint32 version = 1; + optional .CSerializedCombatLog.Dictionary dictionary = 2; + repeated .CMsgDOTACombatLogEntry entries = 3; } message CMsgServerToGCVictoryPredictions { - message PredictionItem { - optional uint64 item_id = 1; - optional uint32 item_def = 2; - } + message PredictionItem { + optional uint64 item_id = 1; + optional uint32 item_def = 2; + } - message Record { - optional uint32 account_id = 1; - repeated uint64 item_ids = 5; - repeated .CMsgServerToGCVictoryPredictions.PredictionItem prediction_items = 6; - } + message Record { + optional uint32 account_id = 1; + repeated uint64 item_ids = 5; + repeated .CMsgServerToGCVictoryPredictions.PredictionItem prediction_items = 6; + } - repeated .CMsgServerToGCVictoryPredictions.Record records = 1; + repeated .CMsgServerToGCVictoryPredictions.Record records = 1; } message CMsgServerToGCRequestStatus { } message CMsgServerToGCRequestStatus_Response { - optional uint32 response = 1; + optional uint32 response = 1; } message CMsgGCToServerEvaluateToxicChat { - optional uint32 target_account_id = 1; - optional uint32 reporter_account_id = 2; + optional uint32 target_account_id = 1; + optional uint32 reporter_account_id = 2; } message CMsgServerToGCEvaluateToxicChat { - optional uint32 target_account_id = 1; - optional uint32 reporter_account_id = 2; - optional fixed64 match_id = 3; - repeated uint32 timestamp = 4; - repeated string line = 5; + optional uint32 target_account_id = 1; + optional uint32 reporter_account_id = 2; + optional fixed64 match_id = 3; + repeated uint32 timestamp = 4; + repeated string line = 5; } message CMsgServerToGCEvaluateToxicChatResponse { - optional uint32 target_account_id = 1; - optional uint32 reporter_account_id = 2; - optional uint32 ban_reason = 3; - optional uint32 ban_duration = 4; - optional float toxicity_score = 5; + optional uint32 target_account_id = 1; + optional uint32 reporter_account_id = 2; + optional uint32 ban_reason = 3; + optional uint32 ban_duration = 4; + optional float toxicity_score = 5; } message CMsgSignOutAssassinMiniGameInfo { - repeated fixed64 winning_players = 1; - repeated fixed64 losing_players = 2; - repeated fixed64 arcana_owners = 3; - optional bool assassin_won = 4; - optional int32 target_hero_id = 5; - optional bool contract_completed = 6; - optional float contract_complete_time = 7; - optional bool pa_is_radiant = 8; + repeated fixed64 winning_players = 1; + repeated fixed64 losing_players = 2; + repeated fixed64 arcana_owners = 3; + optional bool assassin_won = 4; + optional int32 target_hero_id = 5; + optional bool contract_completed = 6; + optional float contract_complete_time = 7; + optional bool pa_is_radiant = 8; } message CMsgServerToGCKillSummaries { - message KillSummary { - optional uint32 killer_hero_id = 1; - optional uint32 victim_hero_id = 2; - optional uint32 kill_count = 3; - } + message KillSummary { + optional uint32 killer_hero_id = 1; + optional uint32 victim_hero_id = 2; + optional uint32 kill_count = 3; + } - optional uint32 ingameevent_id = 1; - repeated .CMsgServerToGCKillSummaries.KillSummary summaries = 2; + optional uint32 ingameevent_id = 1; + repeated .CMsgServerToGCKillSummaries.KillSummary summaries = 2; } message CMsgServerToGCLockCharmTrading { - optional uint32 account_id = 1; - optional uint64 item_id = 2; + optional uint32 account_id = 1; + optional uint64 item_id = 2; } message CMsgSignOutUpdatePlayerChallenge { - message Challenge { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 slot_id = 2; - optional uint32 sequence_id = 3; - optional uint32 progress = 4; - optional uint32 challenge_rank = 5; - } + message Challenge { + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 slot_id = 2; + optional uint32 sequence_id = 3; + optional uint32 progress = 4; + optional uint32 challenge_rank = 5; + } - optional uint32 account_id = 1; - repeated .CMsgSignOutUpdatePlayerChallenge.Challenge completed = 2; - repeated .CMsgSignOutUpdatePlayerChallenge.Challenge rerolled = 3; - optional uint64 match_id = 4; - optional int32 hero_id = 5; + optional uint32 account_id = 1; + repeated .CMsgSignOutUpdatePlayerChallenge.Challenge completed = 2; + repeated .CMsgSignOutUpdatePlayerChallenge.Challenge rerolled = 3; + optional uint64 match_id = 4; + optional int32 hero_id = 5; } message CMsgServerToGCRerollPlayerChallenge { - optional uint32 account_id = 1; - optional .CMsgClientToGCRerollPlayerChallenge reroll_msg = 2; + optional uint32 account_id = 1; + optional .CMsgClientToGCRerollPlayerChallenge reroll_msg = 2; } message CMsgSpendWager { - message Player { - optional uint32 account_id = 1; - optional uint32 wager = 2; - optional uint64 wager_token_item_id = 3; - } + message Player { + optional uint32 account_id = 1; + optional uint32 wager = 2; + optional uint64 wager_token_item_id = 3; + } - repeated .CMsgSpendWager.Player players = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - optional uint32 timestamp = 3; - optional uint64 match_id = 4; - optional uint64 server_steam_id = 5; + repeated .CMsgSpendWager.Player players = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + optional uint32 timestamp = 3; + optional uint64 match_id = 4; + optional uint64 server_steam_id = 5; } message CMsgSignOutXPCoins { - message Player { - optional uint32 account_id = 1; - optional uint32 xp_gained = 2; - optional uint32 coins_spent = 3; - optional uint64 wager_token_item_id = 4; - optional uint32 rank_wager = 5; - optional uint32 wager_streak = 6; - } + message Player { + optional uint32 account_id = 1; + optional uint32 xp_gained = 2; + optional uint32 coins_spent = 3; + optional uint64 wager_token_item_id = 4; + optional uint32 rank_wager = 5; + optional uint32 wager_streak = 6; + } - repeated .CMsgSignOutXPCoins.Player players = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - optional uint64 match_id = 3; - optional uint32 timestamp = 4; + repeated .CMsgSignOutXPCoins.Player players = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + optional uint64 match_id = 3; + optional uint32 timestamp = 4; } message CMsgSignOutBounties { - message Bounty { - optional uint32 issuer_account_id = 1; - optional uint32 completer_account_id = 2; - optional uint32 target_account_id = 3; - } + message Bounty { + optional uint32 issuer_account_id = 1; + optional uint32 completer_account_id = 2; + optional uint32 target_account_id = 3; + } - repeated .CMsgSignOutBounties.Bounty bounties = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - optional uint64 match_id = 3; - optional uint32 timestamp = 4; + repeated .CMsgSignOutBounties.Bounty bounties = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + optional uint64 match_id = 3; + optional uint32 timestamp = 4; } message CMsgSignOutCommunityGoalProgress { - message EventGoalIncrement { - optional uint32 event_goal_id = 1; - optional uint32 increment_amount = 2; - } + message EventGoalIncrement { + optional uint32 event_goal_id = 1; + optional uint32 increment_amount = 2; + } - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - repeated .CMsgSignOutCommunityGoalProgress.EventGoalIncrement event_increments = 2; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + repeated .CMsgSignOutCommunityGoalProgress.EventGoalIncrement event_increments = 2; } message CMsgServerToGCCloseCompendiumInGamePredictionVoting { - optional uint64 match_id = 1; - optional uint32 hltv_delay = 2; - optional uint32 league_id = 3; + optional uint64 match_id = 1; + optional uint32 hltv_delay = 2; + optional uint32 league_id = 3; } message CMsgServerToGCCloseCompendiumInGamePredictionVotingResponse { - optional bool result = 1; + optional bool result = 1; } message CMsgServerToGCCompendiumInGamePredictionResults { - message PredictionResult { - optional uint32 prediction_id = 1; - optional uint32 prediction_value = 2; - optional bool prediction_value_is_mask = 3; - } + message PredictionResult { + optional uint32 prediction_id = 1; + optional uint32 prediction_value = 2; + optional bool prediction_value_is_mask = 3; + } - optional uint64 match_id = 1; - repeated .CMsgServerToGCCompendiumInGamePredictionResults.PredictionResult results = 2; - optional uint32 league_id = 3; - optional uint32 league_node_id = 4; + optional uint64 match_id = 1; + repeated .CMsgServerToGCCompendiumInGamePredictionResults.PredictionResult results = 2; + optional uint32 league_id = 3; + optional uint32 league_node_id = 4; } message CMsgServerToGCCompendiumChosenInGamePredictions { - message Prediction { - optional uint32 prediction_id = 1; - } + message Prediction { + optional uint32 prediction_id = 1; + } - optional uint64 match_id = 1; - repeated .CMsgServerToGCCompendiumChosenInGamePredictions.Prediction predictions_chosen = 2; - optional uint32 league_id = 3; + optional uint64 match_id = 1; + repeated .CMsgServerToGCCompendiumChosenInGamePredictions.Prediction predictions_chosen = 2; + optional uint32 league_id = 3; } message CMsgGCToGCCompendiumInGamePredictionResults { - optional .CMsgServerToGCCompendiumInGamePredictionResults results = 1; + optional .CMsgServerToGCCompendiumInGamePredictionResults results = 1; } message CMsgServerToGCMatchPlayerItemPurchaseHistory { - message ItemPurchase { - optional int32 item = 1 [default = -1]; - optional uint32 gold = 2; - optional uint32 net_worth = 3; - optional uint32 game_time = 4; - repeated int32 inventory_items = 5; - repeated bool talents_skilled = 7; - } - - message Player { - optional uint32 player_slot = 1; - optional uint32 account_id = 2; - optional int32 hero_id = 3; - repeated int32 allied_hero_ids = 4; - repeated int32 enemy_hero_ids = 5; - repeated .CMsgServerToGCMatchPlayerItemPurchaseHistory.ItemPurchase item_purchases = 6; - optional uint32 lane = 7; - optional bool is_winner = 8; - } - - optional uint64 match_id = 1; - optional uint32 mmr = 2; - repeated .CMsgServerToGCMatchPlayerItemPurchaseHistory.Player players = 3; + message ItemPurchase { + optional int32 item = 1 [default = -1]; + optional uint32 gold = 2; + optional uint32 net_worth = 3; + optional uint32 game_time = 4; + repeated int32 inventory_items = 5; + repeated bool talents_skilled = 7; + } + + message Player { + optional uint32 player_slot = 1; + optional uint32 account_id = 2; + optional int32 hero_id = 3; + repeated int32 allied_hero_ids = 4; + repeated int32 enemy_hero_ids = 5; + repeated .CMsgServerToGCMatchPlayerItemPurchaseHistory.ItemPurchase item_purchases = 6; + optional uint32 lane = 7; + optional bool is_winner = 8; + } + + optional uint64 match_id = 1; + optional uint32 mmr = 2; + repeated .CMsgServerToGCMatchPlayerItemPurchaseHistory.Player players = 3; } message CMsgServerToGCMatchPlayerNeutralItemEquipHistory { - message ItemEquip { - optional int32 item = 1 [default = -1]; - optional uint32 game_time = 2; - repeated int32 inventory_items = 3; - repeated bool talents_skilled = 4; - repeated int32 available_neutral_items = 5; - } - - message Player { - optional uint32 account_id = 1; - repeated int32 allied_hero_ids = 2; - repeated int32 enemy_hero_ids = 3; - repeated .CMsgServerToGCMatchPlayerNeutralItemEquipHistory.ItemEquip item_equips = 4; - optional bool is_winner = 5; - } - - optional uint64 match_id = 1; - repeated .CMsgServerToGCMatchPlayerNeutralItemEquipHistory.Player players = 2; + message ItemEquip { + optional int32 item = 1 [default = -1]; + optional uint32 game_time = 2; + repeated int32 inventory_items = 3; + repeated bool talents_skilled = 4; + repeated int32 available_neutral_items = 5; + } + + message Player { + optional uint32 account_id = 1; + repeated int32 allied_hero_ids = 2; + repeated int32 enemy_hero_ids = 3; + repeated .CMsgServerToGCMatchPlayerNeutralItemEquipHistory.ItemEquip item_equips = 4; + optional bool is_winner = 5; + } + + optional uint64 match_id = 1; + repeated .CMsgServerToGCMatchPlayerNeutralItemEquipHistory.Player players = 2; } message CMsgServerToGCMatchStateHistory { - message PlayerState { - optional int32 hero_id = 1; - optional uint32 net_worth = 2; - optional uint32 level = 3; - optional uint32 deaths = 4; - optional uint32 respawn_time = 5; - optional bool has_buyback = 6; - optional bool has_aegis = 7; - optional bool has_rapier = 8; - optional uint32 distance = 9; - } - - message TeamState { - optional uint32 team = 1; - repeated .CMsgServerToGCMatchStateHistory.PlayerState player_states = 2 [(steamml_max_entries) = 5]; - repeated uint32 tower_health_pct = 3 [(steamml_max_entries) = 11]; - repeated uint32 barracks_health_pct = 4 [(steamml_max_entries) = 3]; - optional uint32 ancient_health_pct = 5; - optional uint32 glyph_cooldown = 6; - optional uint32 kills = 7; - optional uint32 creep_distance_safe = 8; - optional uint32 creep_distance_mid = 9; - optional uint32 creep_distance_off = 10; - } - - message MatchState { - optional uint32 game_time = 1; - optional .CMsgServerToGCMatchStateHistory.TeamState radiant_state = 2; - optional .CMsgServerToGCMatchStateHistory.TeamState dire_state = 3; - } - - optional uint64 match_id = 1; - optional bool radiant_won = 2; - optional uint32 mmr = 3; - repeated .CMsgServerToGCMatchStateHistory.MatchState match_states = 4; + message PlayerState { + optional int32 hero_id = 1; + optional uint32 net_worth = 2; + optional uint32 level = 3; + optional uint32 deaths = 4; + optional uint32 respawn_time = 5; + optional bool has_buyback = 6; + optional bool has_aegis = 7; + optional bool has_rapier = 8; + optional uint32 distance = 9; + } + + message TeamState { + optional uint32 team = 1; + repeated .CMsgServerToGCMatchStateHistory.PlayerState player_states = 2 [(steamml_max_entries) = 5]; + repeated uint32 tower_health_pct = 3 [(steamml_max_entries) = 11]; + repeated uint32 barracks_health_pct = 4 [(steamml_max_entries) = 3]; + optional uint32 ancient_health_pct = 5; + optional uint32 glyph_cooldown = 6; + optional uint32 kills = 7; + optional uint32 creep_distance_safe = 8; + optional uint32 creep_distance_mid = 9; + optional uint32 creep_distance_off = 10; + } + + message MatchState { + optional uint32 game_time = 1; + optional .CMsgServerToGCMatchStateHistory.TeamState radiant_state = 2; + optional .CMsgServerToGCMatchStateHistory.TeamState dire_state = 3; + } + + optional uint64 match_id = 1; + optional bool radiant_won = 2; + optional uint32 mmr = 3; + repeated .CMsgServerToGCMatchStateHistory.MatchState match_states = 4; } message CMsgMatchStateSteamMLEntry { - optional .CMsgServerToGCMatchStateHistory.MatchState match_state = 1; - optional uint32 mmr = 2; - optional bool radiant_won = 3; + optional .CMsgServerToGCMatchStateHistory.MatchState match_state = 1; + optional uint32 mmr = 2; + optional bool radiant_won = 3; } message CMsgLaneSelectionSteamMLEntry { - repeated int32 hero_ids = 1 [(steamml_max_entries) = 10]; - repeated uint32 lanes = 2 [(steamml_max_entries) = 6]; + repeated int32 hero_ids = 1 [(steamml_max_entries) = 10]; + repeated uint32 lanes = 2 [(steamml_max_entries) = 6]; } message CMsgAbilitySelectionSteamMLEntry { - optional uint32 mmr = 1; - optional int32 hero_id = 2; - repeated int32 enemy_hero_ids = 3 [(steamml_max_entries) = 4]; - optional uint32 lane = 4; - repeated int32 abilities = 5 [(steamml_max_entries) = 25]; - optional int32 selected_ability = 6 [default = -1]; + optional uint32 mmr = 1; + optional int32 hero_id = 2; + repeated int32 enemy_hero_ids = 3 [(steamml_max_entries) = 4]; + optional uint32 lane = 4; + repeated int32 abilities = 5 [(steamml_max_entries) = 25]; + optional int32 selected_ability = 6 [default = -1]; } message CMsgItemPurchasePregameSteamMLEntry { - optional uint32 mmr = 1; - optional uint32 lane = 2; - optional float balance = 3; - optional int32 hero_id = 4; - repeated int32 allied_hero_ids = 5 [(steamml_max_entries) = 4]; - repeated int32 enemy_hero_ids = 6 [(steamml_max_entries) = 5]; - repeated int32 items = 7 [(steamml_max_entries) = 9]; + optional uint32 mmr = 1; + optional uint32 lane = 2; + optional float balance = 3; + optional int32 hero_id = 4; + repeated int32 allied_hero_ids = 5 [(steamml_max_entries) = 4]; + repeated int32 enemy_hero_ids = 6 [(steamml_max_entries) = 5]; + repeated int32 items = 7 [(steamml_max_entries) = 9]; } message CMsgItemPurchaseSteamMLEntry { - optional uint32 mmr = 1; - optional uint32 lane = 2; - optional int32 hero_id = 3; - repeated int32 allied_hero_ids = 4 [(steamml_max_entries) = 4]; - repeated int32 enemy_hero_ids = 5 [(steamml_max_entries) = 5]; - repeated int32 items = 6 [(steamml_max_entries) = 20]; - repeated int32 items_to_be_purchased = 7 [(steamml_max_entries) = 20]; + optional uint32 mmr = 1; + optional uint32 lane = 2; + optional int32 hero_id = 3; + repeated int32 allied_hero_ids = 4 [(steamml_max_entries) = 4]; + repeated int32 enemy_hero_ids = 5 [(steamml_max_entries) = 5]; + repeated int32 items = 6 [(steamml_max_entries) = 20]; + repeated int32 items_to_be_purchased = 7 [(steamml_max_entries) = 20]; } message CMsgItemPurchaseSequenceSteamMLEntry { - optional uint32 mmr = 1; - optional uint32 lane = 2; - optional int32 hero_id = 3; - repeated int32 allied_hero_ids = 4 [(steamml_max_entries) = 4]; - repeated int32 enemy_hero_ids = 5 [(steamml_max_entries) = 5]; - repeated int32 items = 6 [(steamml_max_entries) = 20]; - optional int32 item_to_be_purchased = 7 [default = -1]; + optional uint32 mmr = 1; + optional uint32 lane = 2; + optional int32 hero_id = 3; + repeated int32 allied_hero_ids = 4 [(steamml_max_entries) = 4]; + repeated int32 enemy_hero_ids = 5 [(steamml_max_entries) = 5]; + repeated int32 items = 6 [(steamml_max_entries) = 20]; + optional int32 item_to_be_purchased = 7 [default = -1]; } message CMsgServerToGCCavernCrawlIsHeroActive { - optional uint32 event_id = 1; - optional uint32 account_id = 2; - optional uint32 preferred_map_variant = 3 [default = 255]; - optional int32 hero_id = 4; - optional bool turbo_mode = 5; + optional uint32 event_id = 1; + optional uint32 account_id = 2; + optional uint32 preferred_map_variant = 3 [default = 255]; + optional int32 hero_id = 4; + optional bool turbo_mode = 5; } message CMsgServerToGCPlayerChallengeHistory { - message PlayerChallenge { - optional uint32 account_id = 1; - optional .EPlayerChallengeHistoryType challenge_type = 2 [default = k_EPlayerChallengeHistoryType_Invalid]; - optional uint32 challenge_id1 = 3; - optional uint32 challenge_id2 = 4; - optional uint32 progress_value_start = 5; - optional uint32 progress_value_end = 6; - optional bool team_won = 7; - optional uint64 audit_data = 8; - optional int32 hero_id = 9; - optional uint32 rank_completed = 10; - } - - optional uint64 match_id = 1; - optional uint32 average_rank = 2; - repeated .CMsgServerToGCPlayerChallengeHistory.PlayerChallenge challenge_records = 3; + message PlayerChallenge { + optional uint32 account_id = 1; + optional .EPlayerChallengeHistoryType challenge_type = 2 [default = k_EPlayerChallengeHistoryType_Invalid]; + optional uint32 challenge_id1 = 3; + optional uint32 challenge_id2 = 4; + optional uint32 progress_value_start = 5; + optional uint32 progress_value_end = 6; + optional bool team_won = 7; + optional uint64 audit_data = 8; + optional int32 hero_id = 9; + optional uint32 rank_completed = 10; + } + + optional uint64 match_id = 1; + optional uint32 average_rank = 2; + repeated .CMsgServerToGCPlayerChallengeHistory.PlayerChallenge challenge_records = 3; } message CMsgServerToGCCavernCrawlIsHeroActiveResponse { - message MapResults { - optional uint32 path_id_completed = 1 [default = 255]; - optional uint32 room_id_claimed = 2 [default = 255]; - } + message MapResults { + optional uint32 path_id_completed = 1 [default = 255]; + optional uint32 room_id_claimed = 2 [default = 255]; + } - optional bool result = 1; - optional uint32 map_variant = 5 [default = 255]; - optional uint32 potential_winnings = 2; - repeated .CMsgServerToGCCavernCrawlIsHeroActiveResponse.MapResults map_results = 3; - optional uint32 potential_plus_shard_winnings = 4; + optional bool result = 1; + optional uint32 map_variant = 5 [default = 255]; + optional uint32 potential_winnings = 2; + repeated .CMsgServerToGCCavernCrawlIsHeroActiveResponse.MapResults map_results = 3; + optional uint32 potential_plus_shard_winnings = 4; } message CMsgNeutralItemStats { - message NeutralItem { - optional int32 item_id = 1 [default = -1]; - optional uint32 time_dropped = 2; - optional uint32 team = 3; - optional uint32 time_last_equipped = 4; - optional uint32 time_last_unequipped = 5; - optional uint32 duration_equipped = 6; - } + message NeutralItem { + optional int32 item_id = 1 [default = -1]; + optional uint32 time_dropped = 2; + optional uint32 team = 3; + optional uint32 time_last_equipped = 4; + optional uint32 time_last_unequipped = 5; + optional uint32 duration_equipped = 6; + } - repeated .CMsgNeutralItemStats.NeutralItem neutral_items = 1; + repeated .CMsgNeutralItemStats.NeutralItem neutral_items = 1; } message CMsgGCToServerLobbyHeroBanRates { - message HeroBanEntry { - optional int32 hero_id = 1; - optional uint32 ban_count = 2; - optional uint32 pick_count = 3; - } + message HeroBanEntry { + optional int32 hero_id = 1; + optional uint32 ban_count = 2; + optional uint32 pick_count = 3; + } - repeated .CMsgGCToServerLobbyHeroBanRates.HeroBanEntry ban_data = 1; + repeated .CMsgGCToServerLobbyHeroBanRates.HeroBanEntry ban_data = 1; } message CMsgSignOutGuildContractProgress { - message CompletedGuildEventContracts { - optional uint32 guild_id = 1; - optional uint32 event_id = 2; - repeated uint64 contracts = 3; - } + message CompletedGuildEventContracts { + optional uint32 guild_id = 1; + optional uint32 event_id = 2; + repeated uint64 contracts = 3; + } - message PlayerContract { - optional uint32 account_id = 1; - repeated .CMsgSignOutGuildContractProgress.CompletedGuildEventContracts completed_contracts = 2; - } + message PlayerContract { + optional uint32 account_id = 1; + repeated .CMsgSignOutGuildContractProgress.CompletedGuildEventContracts completed_contracts = 2; + } - repeated .CMsgSignOutGuildContractProgress.PlayerContract player_contracts = 1; + repeated .CMsgSignOutGuildContractProgress.PlayerContract player_contracts = 1; } message CMsgSignOutGuildChallengeProgress { - message ChallengeProgress { - optional uint32 guild_id = 1; - optional uint32 event_id = 2; - optional uint32 challenge_instance_id = 3; - optional uint32 challenge_instance_timestamp = 4; - optional uint32 challenge_period_serial = 5; - optional uint32 progress = 6; - optional uint32 challenge_parameter = 7; - } + message ChallengeProgress { + optional uint32 guild_id = 1; + optional uint32 event_id = 2; + optional uint32 challenge_instance_id = 3; + optional uint32 challenge_instance_timestamp = 4; + optional uint32 challenge_period_serial = 5; + optional uint32 progress = 6; + optional uint32 challenge_parameter = 7; + } - repeated .CMsgSignOutGuildChallengeProgress.ChallengeProgress guild_challenges_progresses = 1; + repeated .CMsgSignOutGuildChallengeProgress.ChallengeProgress guild_challenges_progresses = 1; } message CMsgSignOutMVPStats { - message Player { - message KillEaterEvent { - required uint32 event_type = 1; - required uint32 amount = 2; - } - - optional uint32 team_id = 1; - optional uint32 team_networth_rank = 2; - optional uint32 account_id = 3; - optional uint32 player_slot = 32; - optional uint32 rank = 33; - optional int32 hero_id = 4; - optional uint32 role = 5; - optional int32 kills = 6; - optional int32 deaths = 7; - optional int32 assists = 8; - optional int32 xp = 9; - optional int32 net_worth = 10; - optional int32 support_gold_spent = 12; - optional int32 wards_placed = 13; - optional int32 wards_spotted_for_dewarding = 14; - optional int32 camps_stacked = 15; - optional int32 last_hits = 16; - optional int32 denies = 17; - optional int32 building_damage = 19; - optional int32 other_damage = 20; - optional int32 triple_kills = 26; - optional int32 rampages = 28; - optional int32 first_blood = 31; - repeated .CMsgSignOutMVPStats.Player.KillEaterEvent kill_eater_events = 34; - optional uint32 highest_killstreak = 35; - } - - optional uint64 match_id = 1; - optional uint32 game_mode = 2; - optional uint32 winning_team = 3; - optional float game_time = 4; - repeated .CMsgSignOutMVPStats.Player players = 5; + message Player { + message KillEaterEvent { + required uint32 event_type = 1; + required uint32 amount = 2; + } + + optional uint32 team_id = 1; + optional uint32 team_networth_rank = 2; + optional uint32 account_id = 3; + optional uint32 player_slot = 32; + optional uint32 rank = 33; + optional int32 hero_id = 4; + optional uint32 role = 5; + optional int32 kills = 6; + optional int32 deaths = 7; + optional int32 assists = 8; + optional int32 xp = 9; + optional int32 net_worth = 10; + optional int32 support_gold_spent = 12; + optional int32 wards_placed = 13; + optional int32 wards_spotted_for_dewarding = 14; + optional int32 camps_stacked = 15; + optional int32 last_hits = 16; + optional int32 denies = 17; + optional int32 building_damage = 19; + optional int32 other_damage = 20; + optional int32 triple_kills = 26; + optional int32 rampages = 28; + optional int32 first_blood = 31; + repeated .CMsgSignOutMVPStats.Player.KillEaterEvent kill_eater_events = 34; + optional uint32 highest_killstreak = 35; + } + + optional uint64 match_id = 1; + optional uint32 game_mode = 2; + optional uint32 winning_team = 3; + optional float game_time = 4; + repeated .CMsgSignOutMVPStats.Player players = 5; } message CMsgServerToGCGetGuildContracts { - repeated uint32 account_ids = 1; + repeated uint32 account_ids = 1; } message CMsgServerToGCGetGuildContractsResponse { - message ContractDetails { - optional uint64 contract_id = 1; - optional uint32 challenge_instance_id = 2; - optional uint32 challenge_parameter = 3; - optional uint32 contract_stars = 4; - optional uint32 contract_slot = 5; - } + message ContractDetails { + optional uint64 contract_id = 1; + optional uint32 challenge_instance_id = 2; + optional uint32 challenge_parameter = 3; + optional uint32 contract_stars = 4; + optional uint32 contract_slot = 5; + } - message Player { - optional uint32 account_id = 1; - optional uint32 guild_id = 2; - optional .EEvent event_id = 3 [default = EVENT_ID_NONE]; - repeated .CMsgServerToGCGetGuildContractsResponse.ContractDetails contracts = 4; - } + message Player { + optional uint32 account_id = 1; + optional uint32 guild_id = 2; + optional .EEvent event_id = 3 [default = EVENT_ID_NONE]; + repeated .CMsgServerToGCGetGuildContractsResponse.ContractDetails contracts = 4; + } - repeated .CMsgServerToGCGetGuildContractsResponse.Player player_contracts = 1; + repeated .CMsgServerToGCGetGuildContractsResponse.Player player_contracts = 1; } message CMsgMatchDiretideCandy { - message CandyDetails { - optional uint32 amount = 1; - optional uint32 audit = 2; - } + message CandyDetails { + optional uint32 amount = 1; + optional uint32 audit = 2; + } - message PlayerCandy { - optional uint32 account_id = 1; - optional uint32 candy_amount = 3; - optional bool consumes_periodic_resource = 4; - repeated .CMsgMatchDiretideCandy.CandyDetails candy_breakdown = 5; - } + message PlayerCandy { + optional uint32 account_id = 1; + optional uint32 candy_amount = 3; + optional bool consumes_periodic_resource = 4; + repeated .CMsgMatchDiretideCandy.CandyDetails candy_breakdown = 5; + } - repeated .CMsgMatchDiretideCandy.PlayerCandy player_candy_data = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + repeated .CMsgMatchDiretideCandy.PlayerCandy player_candy_data = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; } message CMsgGCToServerCheerData { - message CheerTypeCount { - optional uint32 cheer_type = 1; - optional uint32 cheer_count = 2; - } + message CheerTypeCount { + optional uint32 cheer_type = 1; + optional uint32 cheer_count = 2; + } - repeated .CMsgGCToServerCheerData.CheerTypeCount cheer_types = 1; + repeated .CMsgGCToServerCheerData.CheerTypeCount cheer_types = 1; } message CMsgCheerConfig { - optional bool cheers_enabled = 1; - optional bool is_valid_league_id = 2; - optional float window_duration = 3; - optional uint32 window_bucket_count = 4; - optional float crowd_level_push_time = 6; - optional uint32 crowd_level_low = 10; - optional uint32 crowd_level_medium = 11; - optional uint32 crowd_level_high = 12; - optional float cheer_scale_start = 13; - optional float cheer_scale_speed = 14; - optional uint32 cheer_scale_push_mark = 15; - optional uint32 cheer_scale_pull_mark = 16; - optional float cheer_scale_pct_of_max_cps_clamp = 17; - optional float cheer_scale_dampener_value = 21; - optional uint32 cheer_scale_dampener_lerp_time = 22; - optional float cheer_factor_bronze = 18; - optional float cheer_factor_silver = 19; - optional float cheer_factor_gold = 20; + optional bool cheers_enabled = 1; + optional bool is_valid_league_id = 2; + optional float window_duration = 3; + optional uint32 window_bucket_count = 4; + optional float crowd_level_push_time = 6; + optional uint32 crowd_level_low = 10; + optional uint32 crowd_level_medium = 11; + optional uint32 crowd_level_high = 12; + optional float cheer_scale_start = 13; + optional float cheer_scale_speed = 14; + optional uint32 cheer_scale_push_mark = 15; + optional uint32 cheer_scale_pull_mark = 16; + optional float cheer_scale_pct_of_max_cps_clamp = 17; + optional float cheer_scale_dampener_value = 21; + optional uint32 cheer_scale_dampener_lerp_time = 22; + optional float cheer_factor_bronze = 18; + optional float cheer_factor_silver = 19; + optional float cheer_factor_gold = 20; } message CMsgGCToServerCheerConfig { - optional .CMsgCheerConfig cheer_config = 1; + optional .CMsgCheerConfig cheer_config = 1; } message CMsgServerToGCGetCheerConfig { - optional uint32 league_id = 1; + optional uint32 league_id = 1; } message CMsgServerToGCGetCheerConfigResponse { - optional .CMsgCheerConfig cheer_config = 2; + optional .CMsgCheerConfig cheer_config = 2; } message CMsgGCToServerCheerScalesOverride { - repeated float scales = 1; + repeated float scales = 1; } message CMsgGCToServerGetCheerState { } message CMsgCheerTypeState { - repeated uint32 cheer_counts = 1; - optional float max_per_second = 2; - optional float cheer_scale = 3; - optional float override_scale = 4; + repeated uint32 cheer_counts = 1; + optional float max_per_second = 2; + optional float cheer_scale = 3; + optional float override_scale = 4; } message CMsgCheerState { - repeated .CMsgCheerTypeState cheer_types = 1; - optional uint32 radiant_crowd_level = 2; - optional uint32 dire_crowd_level = 3; + repeated .CMsgCheerTypeState cheer_types = 1; + optional uint32 radiant_crowd_level = 2; + optional uint32 dire_crowd_level = 3; } message CMsgServerToGCReportCheerState { - optional .CMsgCheerConfig cheer_config = 1; - optional .CMsgCheerState cheer_state = 2; + optional .CMsgCheerConfig cheer_config = 1; + optional .CMsgCheerState cheer_state = 2; } message CMsgServerToGCGetStickerHeroes { - repeated uint32 account_ids = 1; + repeated uint32 account_ids = 1; } message CMsgServerToGCGetStickerHeroesResponse { - message Player { - optional uint32 account_id = 1; - optional .CMsgStickerHeroes stickers = 2; - } + message Player { + optional uint32 account_id = 1; + optional .CMsgStickerHeroes stickers = 2; + } - repeated .CMsgServerToGCGetStickerHeroesResponse.Player players = 1; + repeated .CMsgServerToGCGetStickerHeroesResponse.Player players = 1; } message CMsgSteamLearnMatchInfo { - optional uint32 average_mmr = 1; - optional bool radiant_won = 2; - optional uint32 duration = 3; - optional uint32 game_mode = 4; - optional uint32 lobby_type = 5; + optional uint32 average_mmr = 1; + optional bool radiant_won = 2; + optional uint32 duration = 3; + optional uint32 game_mode = 4; + optional uint32 lobby_type = 5; } message CMsgSteamLearnMatchInfoPlayer { - optional uint32 average_mmr = 1; - optional bool team_won = 2; - optional uint32 duration = 3; - optional uint32 game_mode = 4; - optional uint32 lobby_type = 5; - optional uint32 player_mmr = 6; + optional uint32 average_mmr = 1; + optional bool team_won = 2; + optional uint32 duration = 3; + optional uint32 game_mode = 4; + optional uint32 lobby_type = 5; + optional uint32 player_mmr = 6; } message CMsgSteamLearnMatchInfoTeam { - message Player { - optional uint32 prematch_mmr = 1; - optional uint32 prematch_rank_uncertainty = 2; - optional uint32 prematch_behavior_score = 3; - optional uint32 prematch_comm_score = 4; - optional uint32 num_players_in_party = 5; - } + message Player { + optional uint32 prematch_mmr = 1; + optional uint32 prematch_rank_uncertainty = 2; + optional uint32 prematch_behavior_score = 3; + optional uint32 prematch_comm_score = 4; + optional uint32 num_players_in_party = 5; + } - repeated .CMsgSteamLearnMatchInfoTeam.Player radiant_players = 1 [(steamlearn_count) = 5]; - repeated .CMsgSteamLearnMatchInfoTeam.Player dire_players = 2 [(steamlearn_count) = 5]; - optional bool radiant_team_won = 3; + repeated .CMsgSteamLearnMatchInfoTeam.Player radiant_players = 1 [(steamlearn_count) = 5]; + repeated .CMsgSteamLearnMatchInfoTeam.Player dire_players = 2 [(steamlearn_count) = 5]; + optional bool radiant_team_won = 3; } message CMsgSteamLearnMatchHeroesV3 { - repeated int32 radiant_hero_ids = 1 [(steamlearn_count) = 5]; - repeated int32 dire_hero_ids = 2 [(steamlearn_count) = 5]; - repeated uint32 radiant_lanes = 3 [(steamlearn_count) = 5]; - repeated uint32 dire_lanes = 4 [(steamlearn_count) = 5]; - repeated uint32 radiant_hero_facets = 5 [(steamlearn_count) = 5]; - repeated uint32 dire_hero_facets = 6 [(steamlearn_count) = 5]; - repeated uint32 radiant_positions = 7 [(steamlearn_count) = 5]; - repeated uint32 dire_positions = 8 [(steamlearn_count) = 5]; + repeated int32 radiant_hero_ids = 1 [(steamlearn_count) = 5]; + repeated int32 dire_hero_ids = 2 [(steamlearn_count) = 5]; + repeated uint32 radiant_lanes = 3 [(steamlearn_count) = 5]; + repeated uint32 dire_lanes = 4 [(steamlearn_count) = 5]; + repeated uint32 radiant_hero_facets = 5 [(steamlearn_count) = 5]; + repeated uint32 dire_hero_facets = 6 [(steamlearn_count) = 5]; + repeated uint32 radiant_positions = 7 [(steamlearn_count) = 5]; + repeated uint32 dire_positions = 8 [(steamlearn_count) = 5]; } message CMsgSteamLearnMatchHeroV6 { - optional int32 hero_id = 1; - optional uint32 facet = 2; - optional uint32 hero_and_facet = 3; - optional uint32 lane = 4; - optional uint32 position = 5; - repeated uint32 allied_hero_and_facet = 6 [(steamlearn_count) = 4]; - repeated uint32 enemy_hero_and_facet = 7 [(steamlearn_count) = 5]; + optional int32 hero_id = 1; + optional uint32 facet = 2; + optional uint32 hero_and_facet = 3; + optional uint32 lane = 4; + optional uint32 position = 5; + repeated uint32 allied_hero_and_facet = 6 [(steamlearn_count) = 4]; + repeated uint32 enemy_hero_and_facet = 7 [(steamlearn_count) = 5]; } message CMsgSteamLearnPlayerTimedStats { - message StatBucket { - optional float game_time = 1; - optional uint32 kills = 2; - optional uint32 deaths = 3; - optional uint32 assists = 4; - optional uint32 experience = 5; - optional uint32 last_hits = 6; - optional uint32 denies = 7; - optional uint32 net_worth = 8; - optional float idle_time = 9; - optional uint32 commands_issued = 10; - optional uint32 sentry_wards_placed = 11; - optional uint32 observer_wards_placed = 12; - } - - repeated .CMsgSteamLearnPlayerTimedStats.StatBucket stat_buckets = 1 [(steamlearn_count) = 90]; + message StatBucket { + optional float game_time = 1; + optional uint32 kills = 2; + optional uint32 deaths = 3; + optional uint32 assists = 4; + optional uint32 experience = 5; + optional uint32 last_hits = 6; + optional uint32 denies = 7; + optional uint32 net_worth = 8; + optional float idle_time = 9; + optional uint32 commands_issued = 10; + optional uint32 sentry_wards_placed = 11; + optional uint32 observer_wards_placed = 12; + } + + repeated .CMsgSteamLearnPlayerTimedStats.StatBucket stat_buckets = 1 [(steamlearn_count) = 90]; } message CMsgSteamLearnMatchStateV5 { - message PlayerState { - optional int32 hero_id = 1; - optional uint32 net_worth = 2; - optional uint32 level = 3; - optional uint32 deaths = 4; - optional uint32 respawn_time = 5; - optional bool has_buyback = 6; - optional bool has_aegis = 7; - optional bool has_rapier = 8; - optional uint32 distance = 9; - optional uint32 hero_facet = 10; - } - - message TeamState { - optional uint32 team = 1; - repeated .CMsgSteamLearnMatchStateV5.PlayerState player_states = 2 [(steamlearn_count) = 5]; - repeated uint32 tower_health_pct = 3 [(steamlearn_count) = 11]; - repeated uint32 barracks_health_pct = 4 [(steamlearn_count) = 6]; - optional uint32 ancient_health_pct = 5; - optional uint32 glyph_cooldown = 6; - optional uint32 kills = 7; - optional uint32 creep_distance_safe = 8; - optional uint32 creep_distance_mid = 9; - optional uint32 creep_distance_off = 10; - } - - optional float game_time = 1; - optional .CMsgSteamLearnMatchStateV5.TeamState radiant_state = 2; - optional .CMsgSteamLearnMatchStateV5.TeamState dire_state = 3; + message PlayerState { + optional int32 hero_id = 1; + optional uint32 net_worth = 2; + optional uint32 level = 3; + optional uint32 deaths = 4; + optional uint32 respawn_time = 5; + optional bool has_buyback = 6; + optional bool has_aegis = 7; + optional bool has_rapier = 8; + optional uint32 distance = 9; + optional uint32 hero_facet = 10; + } + + message TeamState { + optional uint32 team = 1; + repeated .CMsgSteamLearnMatchStateV5.PlayerState player_states = 2 [(steamlearn_count) = 5]; + repeated uint32 tower_health_pct = 3 [(steamlearn_count) = 11]; + repeated uint32 barracks_health_pct = 4 [(steamlearn_count) = 6]; + optional uint32 ancient_health_pct = 5; + optional uint32 glyph_cooldown = 6; + optional uint32 kills = 7; + optional uint32 creep_distance_safe = 8; + optional uint32 creep_distance_mid = 9; + optional uint32 creep_distance_off = 10; + } + + optional float game_time = 1; + optional .CMsgSteamLearnMatchStateV5.TeamState radiant_state = 2; + optional .CMsgSteamLearnMatchStateV5.TeamState dire_state = 3; } message CMsgSteamLearnItemPurchaseV7 { - optional int32 item_id = 1 [default = -1]; - repeated int32 purchase_history = 2 [(steamlearn_count) = 50]; + optional int32 item_id = 1 [default = -1]; + repeated int32 purchase_history = 2 [(steamlearn_count) = 50]; } message CMsgSteamLearnPreGameItemPurchases { - repeated int32 item_ids = 1 [(steamlearn_count) = 10]; - optional uint32 is_radiant_team = 2; - optional bool is_using_dota_plus = 3; + repeated int32 item_ids = 1 [(steamlearn_count) = 10]; + optional uint32 is_radiant_team = 2; + optional bool is_using_dota_plus = 3; } message CMsgSteamLearnPreGameItemPurchase { - repeated int32 purchase_history = 1 [(steamlearn_count) = 10]; - optional int32 item_id = 2 [default = -1, (steamlearn_count) = 10]; + repeated int32 purchase_history = 1 [(steamlearn_count) = 10]; + optional int32 item_id = 2 [default = -1, (steamlearn_count) = 10]; } message CMsgSteamLearnNeutralItemPurchaseV4 { - optional uint32 tier = 1; - repeated int32 trinket_options = 2 [(steamlearn_count) = 4]; - repeated int32 enhancement_options = 3 [(steamlearn_count) = 4]; - optional int32 trinket_id = 4 [default = -1]; - optional int32 enhancement_id = 5 [default = -1]; + optional uint32 tier = 1; + repeated int32 trinket_options = 2 [(steamlearn_count) = 4]; + repeated int32 enhancement_options = 3 [(steamlearn_count) = 4]; + optional int32 trinket_id = 4 [default = -1]; + optional int32 enhancement_id = 5 [default = -1]; } message CMsgSteamLearnAbilitySkill { - optional int32 ability_id = 1 [default = -1]; - repeated int32 skilled_abilities = 2 [(steamlearn_count) = 30]; - optional float game_time = 3; - optional bool is_using_dota_plus = 4; + optional int32 ability_id = 1 [default = -1]; + repeated int32 skilled_abilities = 2 [(steamlearn_count) = 30]; + optional float game_time = 3; + optional bool is_using_dota_plus = 4; } message CMsgSteamLearnWardPlacement { - message Location { - optional float x = 1; - optional float y = 2; - } + message Location { + optional float x = 1; + optional float y = 2; + } - optional .CMsgSteamLearnWardPlacement.Location ward_loc = 1; - repeated .CMsgSteamLearnWardPlacement.Location existing_ward_locs = 2 [(steamlearn_count) = 6]; - optional uint32 team = 3; + optional .CMsgSteamLearnWardPlacement.Location ward_loc = 1; + repeated .CMsgSteamLearnWardPlacement.Location existing_ward_locs = 2 [(steamlearn_count) = 6]; + optional uint32 team = 3; } message CMsgSteamLearnPlayerMatchState { - optional uint32 net_worth = 1; - optional uint32 level = 2; - optional uint32 deaths = 3; - optional uint32 respawn_time = 4; - optional bool has_buyback = 5; - optional bool has_aegis = 6; - optional bool has_rapier = 7; - optional uint32 team_net_worth = 8; - optional uint32 enemy_team_net_worth = 9; - optional uint32 team_kills = 10; - optional uint32 enemy_team_kills = 11; - optional float game_time = 12; + optional uint32 net_worth = 1; + optional uint32 level = 2; + optional uint32 deaths = 3; + optional uint32 respawn_time = 4; + optional bool has_buyback = 5; + optional bool has_aegis = 6; + optional bool has_rapier = 7; + optional uint32 team_net_worth = 8; + optional uint32 enemy_team_net_worth = 9; + optional uint32 team_kills = 10; + optional uint32 enemy_team_kills = 11; + optional float game_time = 12; } message CMsgSignOutMuertaMinigame { - optional bytes event_game_data = 1; + optional bytes event_game_data = 1; } message CMsgSignOutMapStats { - message Player { - optional uint32 account_id = 1; - optional .CMsgMapStatsSnapshot personal_stats = 2; - } + message Player { + optional uint32 account_id = 1; + optional .CMsgMapStatsSnapshot personal_stats = 2; + } - repeated .CMsgSignOutMapStats.Player players = 1; - optional .CMsgMapStatsSnapshot global_stats = 2; + repeated .CMsgSignOutMapStats.Player players = 1; + optional .CMsgMapStatsSnapshot global_stats = 2; } message CMsgServerToGCNewBloomGift { - optional uint32 defindex = 1; - optional uint32 gifter_account_id = 2; - repeated uint32 target_account_ids = 3; + optional uint32 defindex = 1; + optional uint32 gifter_account_id = 2; + repeated uint32 target_account_ids = 3; } message CMsgServerToGCNewBloomGiftResponse { - optional .ENewBloomGiftingResponse result = 1 [default = kENewBloomGifting_UnknownFailure]; - repeated uint32 received_account_ids = 2; + optional .ENewBloomGiftingResponse result = 1 [default = kENewBloomGifting_UnknownFailure]; + repeated uint32 received_account_ids = 2; } message CMsgSignOutOverworld { - message Player { - optional uint32 account_id = 1; - optional uint32 overworld_id = 2; - repeated uint32 desired_token_rewards = 3; - } + message Player { + optional uint32 account_id = 1; + optional uint32 overworld_id = 2; + repeated uint32 desired_token_rewards = 3; + } - repeated .CMsgSignOutOverworld.Player players = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + repeated .CMsgSignOutOverworld.Player players = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; } message CMsgSignOutCraftworks { - message Player { - optional uint32 account_id = 1; - optional .CMsgCraftworksComponents components = 2; - } + message Player { + optional uint32 account_id = 1; + optional .CMsgCraftworksComponents components = 2; + } - repeated .CMsgSignOutCraftworks.Player players = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + repeated .CMsgSignOutCraftworks.Player players = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; } message CMsgSignOutMonsterHunter { - message Player { - optional uint32 account_id = 1; - optional .CMsgMonsterHunterInvestigationGameState investigation_game_state = 2; - optional .CMsgMonsterHunterCodexUpdateData codex_update_data = 3; - } - - repeated .CMsgSignOutMonsterHunter.Player players = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + message Player { + optional uint32 account_id = 1; + optional .CMsgMonsterHunterInvestigationGameState investigation_game_state = 2; + optional .CMsgMonsterHunterCodexUpdateData codex_update_data = 3; + } + + repeated .CMsgSignOutMonsterHunter.Player players = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; +} + +message CMsgServerToGCWarningLowServerFramerate { + optional uint64 match_id = 1; + optional float ticks_per_interval_average = 2; + optional uint64 custom_game_id = 3; + optional uint64 bot_script_id_radiant = 4; + optional uint64 bot_script_id_dire = 5; +} + +message CMsgServerToGCWarningInvalidBotAbilityUsage { + optional string description = 1; + optional string unit_name = 2; + optional string ability_name = 3; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_webapi.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_webapi.proto index 589d93cf..0b688812 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_webapi.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_gcmessages_webapi.proto @@ -10,429 +10,429 @@ option optimize_for = SPEED; option java_generic_services = false; enum ETeamFanContentStatus { - TEAM_FAN_CONTENT_STATUS_INVALID = 0; - TEAM_FAN_CONTENT_STATUS_PENDING = 1; - TEAM_FAN_CONTENT_STATUS_EVALUATED = 2; + TEAM_FAN_CONTENT_STATUS_INVALID = 0; + TEAM_FAN_CONTENT_STATUS_PENDING = 1; + TEAM_FAN_CONTENT_STATUS_EVALUATED = 2; } enum ETeamFanContentAssetType { - k_eFanContentAssetType_LogoPNG = 1; - k_eFanContentAssetType_LogoSVG = 2; - k_eFanContentAssetType_Logo3D = 3; - k_eFanContentAssetType_Players = 4; - k_eFanContentAssetType_Sprays = 5; - k_eFanContentAssetType_Wallpapers = 6; - k_eFanContentAssetType_Emoticons = 7; - k_eFanContentAssetType_VoiceLines = 8; - k_eFanContentAssetType_Localization = 9; - k_eFanContentAssetType_Banner = 10; - k_eFanContentAssetType_BaseLogo = 11; + k_eFanContentAssetType_LogoPNG = 1; + k_eFanContentAssetType_LogoSVG = 2; + k_eFanContentAssetType_Logo3D = 3; + k_eFanContentAssetType_Players = 4; + k_eFanContentAssetType_Sprays = 5; + k_eFanContentAssetType_Wallpapers = 6; + k_eFanContentAssetType_Emoticons = 7; + k_eFanContentAssetType_VoiceLines = 8; + k_eFanContentAssetType_Localization = 9; + k_eFanContentAssetType_Banner = 10; + k_eFanContentAssetType_BaseLogo = 11; } enum ETeamFanContentAssetStatus { - k_eFanContentAssetStatus_None = 0; - k_eFanContentAssetStatus_Approved = 1; - k_eFanContentAssetStatus_Rejected = 2; + k_eFanContentAssetStatus_None = 0; + k_eFanContentAssetStatus_Approved = 1; + k_eFanContentAssetStatus_Rejected = 2; } enum ETalentContentStatus { - TALENT_CONTENT_STATUS_INVALID = 0; - TALENT_CONTENT_STATUS_PENDING = 1; - TALENT_CONTENT_STATUS_EVALUATED = 2; - TALENT_CONTENT_STATUS_REJECTED = 3; - TALENT_CONTENT_STATUS_APPROVED = 4; + TALENT_CONTENT_STATUS_INVALID = 0; + TALENT_CONTENT_STATUS_PENDING = 1; + TALENT_CONTENT_STATUS_EVALUATED = 2; + TALENT_CONTENT_STATUS_REJECTED = 3; + TALENT_CONTENT_STATUS_APPROVED = 4; } enum ETalentContentAssetType { - k_eTalentContentAssetType_Photo = 1; - k_eTalentContentAssetType_Autograph = 2; - k_eTalentContentAssetType_Voicelines = 3; + k_eTalentContentAssetType_Photo = 1; + k_eTalentContentAssetType_Autograph = 2; + k_eTalentContentAssetType_Voicelines = 3; } enum ETalentContentAssetStatus { - k_eTalentContentAssetStatus_None = 0; - k_eTalentContentAssetStatus_Approved = 1; - k_eTalentContentAssetStatus_Rejected = 2; + k_eTalentContentAssetStatus_None = 0; + k_eTalentContentAssetStatus_Approved = 1; + k_eTalentContentAssetStatus_Rejected = 2; } message CMsgArcanaVotes { - message Match { - optional uint32 match_id = 1; - optional int32 hero_id_0 = 2; - optional int32 hero_id_1 = 3; - optional uint32 hero_seeding_0 = 4; - optional uint32 hero_seeding_1 = 5; - optional uint32 vote_count_0 = 6; - optional uint32 vote_count_1 = 7; - optional uint32 voting_state = 8; - optional uint32 round_number = 9; - optional bool is_votes_hidden = 10; - optional uint32 calibration_time_remaining = 11; - } - - enum VotingState { - FINISHED = 0; - IN_PROGRESS = 1; - IN_FUTURE = 2; - } - - repeated .CMsgArcanaVotes.Match matches = 1; - optional uint32 round_time_remaining = 2; - optional uint32 round_number = 3; - optional uint32 voting_state = 4; - optional bool is_current_round_calibrating = 5; - optional uint32 closest_active_match_id = 6; - optional uint32 event_id = 7; - optional uint32 voting_start_time = 8; + message Match { + optional uint32 match_id = 1; + optional int32 hero_id_0 = 2; + optional int32 hero_id_1 = 3; + optional uint32 hero_seeding_0 = 4; + optional uint32 hero_seeding_1 = 5; + optional uint32 vote_count_0 = 6; + optional uint32 vote_count_1 = 7; + optional uint32 voting_state = 8; + optional uint32 round_number = 9; + optional bool is_votes_hidden = 10; + optional uint32 calibration_time_remaining = 11; + } + + enum VotingState { + FINISHED = 0; + IN_PROGRESS = 1; + IN_FUTURE = 2; + } + + repeated .CMsgArcanaVotes.Match matches = 1; + optional uint32 round_time_remaining = 2; + optional uint32 round_number = 3; + optional uint32 voting_state = 4; + optional bool is_current_round_calibrating = 5; + optional uint32 closest_active_match_id = 6; + optional uint32 event_id = 7; + optional uint32 voting_start_time = 8; } message CMsgDOTADPCFeed { - message Element { - optional .CMsgDOTADPCFeed.EFeedElementType type = 1 [default = FEED_SERIES_RESULT]; - optional uint32 timestamp = 2; - optional uint32 series_id = 3; - optional uint64 match_id = 4; - optional uint32 team_id = 5; - optional uint32 account_id = 6; - optional uint32 league_id = 7; - optional uint32 node_id = 8; - optional uint64 server_steam_id = 13; - optional uint32 data_1 = 9; - optional uint32 data_2 = 10; - optional uint32 data_3 = 11; - optional uint32 data_4 = 12; - } - - enum EFeedElementType { - FEED_SERIES_RESULT = 1; - FEED_MATCH_POPULAR = 2; - FEED_TEAM_UPCOMING_MATCH = 3; - FEED_TEAM_LEAGUE_RESULT = 4; - FEED_TEAM_ADD_PLAYER = 5; - FEED_TEAM_REMOVE_PLAYER = 6; - FEED_TEAM_DISBAND = 7; - FEED_LEAGUE_UPCOMING = 8; - FEED_LEAGUE_CONCLUDED = 9; - FEED_DPC_STANDINGS = 10; - FEED_ALERT_PREDICTIONS = 11; - FEED_ALERT_FANTASY = 12; - FEED_LEAGUE_LIVE_MATCH = 13; - FEED_LEAGUE_INPROGRESS_SERIES = 14; - } - - repeated .CMsgDOTADPCFeed.Element elements = 1; + message Element { + optional .CMsgDOTADPCFeed.EFeedElementType type = 1 [default = FEED_SERIES_RESULT]; + optional uint32 timestamp = 2; + optional uint32 series_id = 3; + optional uint64 match_id = 4; + optional uint32 team_id = 5; + optional uint32 account_id = 6; + optional uint32 league_id = 7; + optional uint32 node_id = 8; + optional uint64 server_steam_id = 13; + optional uint32 data_1 = 9; + optional uint32 data_2 = 10; + optional uint32 data_3 = 11; + optional uint32 data_4 = 12; + } + + enum EFeedElementType { + FEED_SERIES_RESULT = 1; + FEED_MATCH_POPULAR = 2; + FEED_TEAM_UPCOMING_MATCH = 3; + FEED_TEAM_LEAGUE_RESULT = 4; + FEED_TEAM_ADD_PLAYER = 5; + FEED_TEAM_REMOVE_PLAYER = 6; + FEED_TEAM_DISBAND = 7; + FEED_LEAGUE_UPCOMING = 8; + FEED_LEAGUE_CONCLUDED = 9; + FEED_DPC_STANDINGS = 10; + FEED_ALERT_PREDICTIONS = 11; + FEED_ALERT_FANTASY = 12; + FEED_LEAGUE_LIVE_MATCH = 13; + FEED_LEAGUE_INPROGRESS_SERIES = 14; + } + + repeated .CMsgDOTADPCFeed.Element elements = 1; } message CMsgDOTADPCUserInfo { - optional bool is_plus_subscriber = 1; + optional bool is_plus_subscriber = 1; } message CMsgDraftTrivia { - message DraftTriviaHeroInfo { - optional int32 hero_id = 1; - optional uint32 role = 2; - } - - message DraftTriviaMatchInfo { - repeated .CMsgDraftTrivia.DraftTriviaHeroInfo radiant_heroes = 1; - repeated .CMsgDraftTrivia.DraftTriviaHeroInfo dire_heroes = 2; - } - - message PreviousResult { - optional bool voted_correctly = 1; - optional bool voted_radiant = 2; - optional .CMsgDraftTrivia.DraftTriviaMatchInfo match_hero_info = 3; - optional uint32 match_rank_tier = 4; - optional uint32 end_time = 5; - optional uint64 match_id = 6; - } - - optional bool has_valid_match = 1; - optional .CMsgDraftTrivia.DraftTriviaMatchInfo match_hero_info = 2; - optional uint32 match_rank_tier = 3; - optional uint32 end_time = 4; - optional uint32 event_id = 5; - optional bool current_match_voted_radiant = 6; - optional .CMsgDraftTrivia.PreviousResult previous_result = 7; - optional uint32 current_streak = 8; + message DraftTriviaHeroInfo { + optional int32 hero_id = 1; + optional uint32 role = 2; + } + + message DraftTriviaMatchInfo { + repeated .CMsgDraftTrivia.DraftTriviaHeroInfo radiant_heroes = 1; + repeated .CMsgDraftTrivia.DraftTriviaHeroInfo dire_heroes = 2; + } + + message PreviousResult { + optional bool voted_correctly = 1; + optional bool voted_radiant = 2; + optional .CMsgDraftTrivia.DraftTriviaMatchInfo match_hero_info = 3; + optional uint32 match_rank_tier = 4; + optional uint32 end_time = 5; + optional uint64 match_id = 6; + } + + optional bool has_valid_match = 1; + optional .CMsgDraftTrivia.DraftTriviaMatchInfo match_hero_info = 2; + optional uint32 match_rank_tier = 3; + optional uint32 end_time = 4; + optional uint32 event_id = 5; + optional bool current_match_voted_radiant = 6; + optional .CMsgDraftTrivia.PreviousResult previous_result = 7; + optional uint32 current_streak = 8; } message CMsgTeamFanContentAssetStatus { - optional .ETeamFanContentAssetType asset_type = 1 [default = k_eFanContentAssetType_LogoPNG]; - optional uint32 asset_index = 2; - optional .ETeamFanContentAssetStatus asset_status = 3 [default = k_eFanContentAssetStatus_None]; - optional uint32 crc = 4; + optional .ETeamFanContentAssetType asset_type = 1 [default = k_eFanContentAssetType_LogoPNG]; + optional uint32 asset_index = 2; + optional .ETeamFanContentAssetStatus asset_status = 3 [default = k_eFanContentAssetStatus_None]; + optional uint32 crc = 4; } message CMsgTeamFanContentAssetStatusResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + } - optional .CMsgTeamFanContentAssetStatusResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgTeamFanContentAssetStatusResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgTeamFanContentStatus { - message TeamStatus { - optional string name = 1; - optional uint32 team_id = 2; - optional string logo_url = 3; - optional .ETeamFanContentStatus status = 4 [default = TEAM_FAN_CONTENT_STATUS_INVALID]; - optional uint32 timestamp = 5; - optional uint64 ugc_logo = 7; - optional uint32 workshop_account_id = 8; - optional string abbreviation = 9; - optional uint32 voiceline_count = 10; - optional uint32 spray_count = 11; - optional uint32 emoticon_count = 12; - optional uint32 wallpaper_count = 13; - optional string comment = 14; - optional uint32 comment_timestamp = 15; - repeated .CMsgTeamFanContentAssetStatus asset_status = 16; - optional uint32 email_timestamp = 17; - optional uint32 email_tier = 18; - optional string languages = 19; - } - - repeated .CMsgTeamFanContentStatus.TeamStatus team_status_list = 1; + message TeamStatus { + optional string name = 1; + optional uint32 team_id = 2; + optional string logo_url = 3; + optional .ETeamFanContentStatus status = 4 [default = TEAM_FAN_CONTENT_STATUS_INVALID]; + optional uint32 timestamp = 5; + optional uint64 ugc_logo = 7; + optional uint32 workshop_account_id = 8; + optional string abbreviation = 9; + optional uint32 voiceline_count = 10; + optional uint32 spray_count = 11; + optional uint32 emoticon_count = 12; + optional uint32 wallpaper_count = 13; + optional string comment = 14; + optional uint32 comment_timestamp = 15; + repeated .CMsgTeamFanContentAssetStatus asset_status = 16; + optional uint32 email_timestamp = 17; + optional uint32 email_tier = 18; + optional string languages = 19; + } + + repeated .CMsgTeamFanContentStatus.TeamStatus team_status_list = 1; } message CMsgTeamFanContentAutographStatus { - message AutographStatus { - optional string pro_name = 1; - optional uint32 account_id = 2; - optional uint32 timestamp = 3; - optional string file = 4; - } - - message TeamStatus { - optional string name = 1; - optional uint32 team_id = 2; - repeated .CMsgTeamFanContentAutographStatus.AutographStatus autographs = 3; - optional uint32 workshop_account_id = 4; - } - - repeated .CMsgTeamFanContentAutographStatus.TeamStatus team_autographs = 1; + message AutographStatus { + optional string pro_name = 1; + optional uint32 account_id = 2; + optional uint32 timestamp = 3; + optional string file = 4; + } + + message TeamStatus { + optional string name = 1; + optional uint32 team_id = 2; + repeated .CMsgTeamFanContentAutographStatus.AutographStatus autographs = 3; + optional uint32 workshop_account_id = 4; + } + + repeated .CMsgTeamFanContentAutographStatus.TeamStatus team_autographs = 1; } message CMsgTalentContentAssetStatus { - optional .ETalentContentAssetType asset_type = 1 [default = k_eTalentContentAssetType_Photo]; - optional uint32 asset_index = 2; - optional .ETalentContentAssetStatus asset_status = 3 [default = k_eTalentContentAssetStatus_None]; + optional .ETalentContentAssetType asset_type = 1 [default = k_eTalentContentAssetType_Photo]; + optional uint32 asset_index = 2; + optional .ETalentContentAssetStatus asset_status = 3 [default = k_eTalentContentAssetStatus_None]; } message CMsgTalentContentStatus { - message TalentDetails { - optional uint32 account_id = 1; - optional string full_name = 2; - optional string nickname = 3; - optional uint32 workshop_item_id = 4; - optional string zip_file = 5; - optional .ETalentContentStatus status = 6 [default = TALENT_CONTENT_STATUS_INVALID]; - repeated .CMsgTalentContentAssetStatus asset_status = 7; - optional uint32 broadcast_language = 8; - optional uint32 submission_timestamp = 9; - } - - repeated .CMsgTalentContentStatus.TalentDetails talent_status = 1; + message TalentDetails { + optional uint32 account_id = 1; + optional string full_name = 2; + optional string nickname = 3; + optional uint32 workshop_item_id = 4; + optional string zip_file = 5; + optional .ETalentContentStatus status = 6 [default = TALENT_CONTENT_STATUS_INVALID]; + repeated .CMsgTalentContentAssetStatus asset_status = 7; + optional uint32 broadcast_language = 8; + optional uint32 submission_timestamp = 9; + } + + repeated .CMsgTalentContentStatus.TalentDetails talent_status = 1; } message CMsgSetTalentContentResponse { - enum EResult { - k_eSuccess = 0; - k_eInternalError = 1; - k_eOutOfDate = 2; - } + enum EResult { + k_eSuccess = 0; + k_eInternalError = 1; + k_eOutOfDate = 2; + } - optional .CMsgSetTalentContentResponse.EResult result = 1 [default = k_eSuccess]; + optional .CMsgSetTalentContentResponse.EResult result = 1 [default = k_eSuccess]; } message CMsgDPCEvent { - message PhaseInfo { - optional .CMsgDPCEvent.ELeagueEventPhase phase = 1 [default = PHASE_INVALID]; - optional uint32 node_group_id = 2; - } - - message League { - optional .ELeagueRegion region = 1 [default = LEAGUE_REGION_UNSET]; - optional .ELeagueDivision division = 2 [default = LEAGUE_DIVISION_UNSET]; - optional uint32 league_id = 3; - repeated .CMsgDPCEvent.PhaseInfo phases = 4; - } - - enum ELeagueEvent { - EVENT_INVALID = 0; - SPRING_2021_LEAGUE = 1; - SPRING_2021_MAJOR = 2; - INTERNATIONAL_2021_QUALIFIERS = 3; - INTERNATIONAL_2021 = 4; - WINTER_2021_LEAGUE = 5; - WINTER_2021_LEAGUE_FINALS = 6; - SPRING_2022_LEAGUE = 7; - SPRING_2022_MAJOR = 8; - SUMMER_2022_LEAGUE = 9; - SUMMER_2022_MAJOR = 10; - INTERNATIONAL_2022 = 11; - CHINA_REGIONAL_FINALS = 12; - INTERNATIONAL_2022_REGIONAL_QUALIFIERS = 13; - INTERNATIONAL_2022_LAST_CHANCE_QUALIFIERS = 14; - WINTER_2023_LEAGUE = 15; - WINTER_2023_MAJOR = 16; - SPRING_2023_LEAGUE = 17; - SPRING_2023_MAJOR = 18; - SUMMER_2023_LEAGUE = 19; - SUMMER_2023_MAJOR = 20; - INTERNATIONAL_2023 = 21; - INTERNATIONAL_2024 = 23; - INTERNATIONAL_2025 = 24; - } - - enum ELeagueEventPhase { - PHASE_INVALID = 0; - WILD_CARD = 1; - GROUP_STAGE = 2; - GROUP_A = 3; - GROUP_B = 4; - OVERALL = 5; - PLAYOFF = 6; - RESULTS = 7; - DPC_POINT_STANDINGS = 8; - GROUP_C = 9; - GROUP_D = 10; - PLACEMENT = 11; - } - - enum ELeagueEventType { - UNKNOWN = 0; - LEAGUE = 1; - MAJOR = 2; - INTERNATIONAL_QUALIFIERS = 3; - INTERNATIONAL = 4; - LEAGUE_FINALS = 5; - EXTERNAL = 6; - } - - enum ETour { - TOUR_NONE = 0; - TOUR_1 = 1; - TOUR_2 = 2; - TOUR_3 = 3; - } - - optional .CMsgDPCEvent.ELeagueEvent event = 1 [default = EVENT_INVALID]; - optional .CMsgDPCEvent.ELeagueEventType event_type = 2 [default = UNKNOWN]; - repeated .CMsgDPCEvent.League leagues = 3; - optional uint32 registration_period = 4; - optional bool is_event_upcoming = 5; - optional bool is_event_completed = 6; - optional string event_name = 7; - optional uint32 multicast_league_id = 8; - repeated uint32 multicast_streams = 9; - optional .CMsgDPCEvent.ETour tour = 10 [default = TOUR_NONE]; - optional uint32 timestamp_drop_lock = 12; - optional uint32 timestamp_add_lock = 13; - optional uint32 timestamp_content_deadline = 14; - optional bool is_fantasy_enabled = 15; - optional uint32 timestamp_content_review_deadline = 16; + message PhaseInfo { + optional .CMsgDPCEvent.ELeagueEventPhase phase = 1 [default = PHASE_INVALID]; + optional uint32 node_group_id = 2; + } + + message League { + optional .ELeagueRegion region = 1 [default = LEAGUE_REGION_UNSET]; + optional .ELeagueDivision division = 2 [default = LEAGUE_DIVISION_UNSET]; + optional uint32 league_id = 3; + repeated .CMsgDPCEvent.PhaseInfo phases = 4; + } + + enum ELeagueEvent { + EVENT_INVALID = 0; + SPRING_2021_LEAGUE = 1; + SPRING_2021_MAJOR = 2; + INTERNATIONAL_2021_QUALIFIERS = 3; + INTERNATIONAL_2021 = 4; + WINTER_2021_LEAGUE = 5; + WINTER_2021_LEAGUE_FINALS = 6; + SPRING_2022_LEAGUE = 7; + SPRING_2022_MAJOR = 8; + SUMMER_2022_LEAGUE = 9; + SUMMER_2022_MAJOR = 10; + INTERNATIONAL_2022 = 11; + CHINA_REGIONAL_FINALS = 12; + INTERNATIONAL_2022_REGIONAL_QUALIFIERS = 13; + INTERNATIONAL_2022_LAST_CHANCE_QUALIFIERS = 14; + WINTER_2023_LEAGUE = 15; + WINTER_2023_MAJOR = 16; + SPRING_2023_LEAGUE = 17; + SPRING_2023_MAJOR = 18; + SUMMER_2023_LEAGUE = 19; + SUMMER_2023_MAJOR = 20; + INTERNATIONAL_2023 = 21; + INTERNATIONAL_2024 = 23; + INTERNATIONAL_2025 = 24; + } + + enum ELeagueEventPhase { + PHASE_INVALID = 0; + WILD_CARD = 1; + GROUP_STAGE = 2; + GROUP_A = 3; + GROUP_B = 4; + OVERALL = 5; + PLAYOFF = 6; + RESULTS = 7; + DPC_POINT_STANDINGS = 8; + GROUP_C = 9; + GROUP_D = 10; + PLACEMENT = 11; + } + + enum ELeagueEventType { + UNKNOWN = 0; + LEAGUE = 1; + MAJOR = 2; + INTERNATIONAL_QUALIFIERS = 3; + INTERNATIONAL = 4; + LEAGUE_FINALS = 5; + EXTERNAL = 6; + } + + enum ETour { + TOUR_NONE = 0; + TOUR_1 = 1; + TOUR_2 = 2; + TOUR_3 = 3; + } + + optional .CMsgDPCEvent.ELeagueEvent event = 1 [default = EVENT_INVALID]; + optional .CMsgDPCEvent.ELeagueEventType event_type = 2 [default = UNKNOWN]; + repeated .CMsgDPCEvent.League leagues = 3; + optional uint32 registration_period = 4; + optional bool is_event_upcoming = 5; + optional bool is_event_completed = 6; + optional string event_name = 7; + optional uint32 multicast_league_id = 8; + repeated uint32 multicast_streams = 9; + optional .CMsgDPCEvent.ETour tour = 10 [default = TOUR_NONE]; + optional uint32 timestamp_drop_lock = 12; + optional uint32 timestamp_add_lock = 13; + optional uint32 timestamp_content_deadline = 14; + optional bool is_fantasy_enabled = 15; + optional uint32 timestamp_content_review_deadline = 16; } message CMsgDPCEventList { - repeated .CMsgDPCEvent events = 1; + repeated .CMsgDPCEvent events = 1; } message CMsgDOTAFantasyCardLineup { - message CardBonus { - optional uint32 bonus_stat = 1; - optional uint32 bonus_value = 2; - } - - message Card { - optional uint32 player_account_id = 1; - optional string player_name = 2; - optional uint32 team_id = 3; - optional string team_name = 4; - optional uint32 role = 5; - repeated .CMsgDOTAFantasyCardLineup.CardBonus bonuses = 6; - optional float score = 7; - optional bool finalized = 8; - optional uint64 item_id = 9; - } - - message League { - optional uint32 league_id = 1; - repeated .CMsgDOTAFantasyCardLineup.Card cards = 2; - optional float score = 3; - } - - message Period { - optional uint32 fantasy_period = 1 [default = 4294967295]; - optional uint32 timestamp_start = 2; - optional uint32 timestamp_end = 3; - repeated .CMsgDOTAFantasyCardLineup.League leagues = 4; - } - - repeated .CMsgDOTAFantasyCardLineup.Period periods = 1; + message CardBonus { + optional uint32 bonus_stat = 1; + optional uint32 bonus_value = 2; + } + + message Card { + optional uint32 player_account_id = 1; + optional string player_name = 2; + optional uint32 team_id = 3; + optional string team_name = 4; + optional uint32 role = 5; + repeated .CMsgDOTAFantasyCardLineup.CardBonus bonuses = 6; + optional float score = 7; + optional bool finalized = 8; + optional uint64 item_id = 9; + } + + message League { + optional uint32 league_id = 1; + repeated .CMsgDOTAFantasyCardLineup.Card cards = 2; + optional float score = 3; + } + + message Period { + optional uint32 fantasy_period = 1 [default = 4294967295]; + optional uint32 timestamp_start = 2; + optional uint32 timestamp_end = 3; + repeated .CMsgDOTAFantasyCardLineup.League leagues = 4; + } + + repeated .CMsgDOTAFantasyCardLineup.Period periods = 1; } message CMsgDOTAFantasyCardList { - message CardBonus { - optional uint32 bonus_stat = 1; - optional uint32 bonus_value = 2; - } - - message Card { - optional uint32 player_account_id = 1; - optional string player_name = 2; - optional uint32 team_id = 3; - optional string team_name = 4; - optional uint32 role = 5; - repeated .CMsgDOTAFantasyCardList.CardBonus bonuses = 6; - optional uint64 item_id = 8; - } - - repeated .CMsgDOTAFantasyCardList.Card cards = 1; + message CardBonus { + optional uint32 bonus_stat = 1; + optional uint32 bonus_value = 2; + } + + message Card { + optional uint32 player_account_id = 1; + optional string player_name = 2; + optional uint32 team_id = 3; + optional string team_name = 4; + optional uint32 role = 5; + repeated .CMsgDOTAFantasyCardList.CardBonus bonuses = 6; + optional uint64 item_id = 8; + } + + repeated .CMsgDOTAFantasyCardList.Card cards = 1; } message CMsgChatToxicityToxicPlayerMatchesReport { - message IndividualRow { - optional uint32 player_account_id = 1; - optional uint32 num_matches_seen = 2; - optional uint32 num_messages = 3; - optional uint32 num_messages_toxic = 4; - optional uint64 first_match_seen = 5; - optional uint64 last_match_seen = 6; - } - - repeated .CMsgChatToxicityToxicPlayerMatchesReport.IndividualRow rows = 1; + message IndividualRow { + optional uint32 player_account_id = 1; + optional uint32 num_matches_seen = 2; + optional uint32 num_messages = 3; + optional uint32 num_messages_toxic = 4; + optional uint64 first_match_seen = 5; + optional uint64 last_match_seen = 6; + } + + repeated .CMsgChatToxicityToxicPlayerMatchesReport.IndividualRow rows = 1; } message CMsgChatToxicityReport { - optional uint32 num_matches_seen = 1; - optional uint32 num_messages = 2; - optional uint32 num_messages_ml_thinks_toxic = 4; - optional string status = 5; - optional uint32 result = 6; - optional string message = 7; + optional uint32 num_matches_seen = 1; + optional uint32 num_messages = 2; + optional uint32 num_messages_ml_thinks_toxic = 4; + optional string status = 5; + optional uint32 result = 6; + optional string message = 7; } message CMsgGetTeamAuditInformation { - message Action { - optional uint32 registration_period = 1; - optional uint32 account_id = 2; - optional uint32 action = 3; - optional uint32 timestamp = 4; - optional string player_name = 5; - optional string player_real_name = 6; - } - - optional uint32 team_id = 1; - optional string team_name = 2; - repeated .CMsgGetTeamAuditInformation.Action actions = 3; - optional uint32 last_updated = 4; + message Action { + optional uint32 registration_period = 1; + optional uint32 account_id = 2; + optional uint32 action = 3; + optional uint32 timestamp = 4; + optional string player_name = 5; + optional string player_real_name = 6; + } + + optional uint32 team_id = 1; + optional string team_name = 2; + repeated .CMsgGetTeamAuditInformation.Action actions = 3; + optional uint32 last_updated = 4; } message CMsgDOTADPCMatch { - optional .CMsgDOTAMatch match = 1; - optional .CDOTAMatchMetadata metadata = 2; + optional .CMsgDOTAMatch match = 1; + optional .CDOTAMatchMetadata metadata = 2; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_match_metadata.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_match_metadata.proto index 1cedf26a..fb97e246 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_match_metadata.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_match_metadata.proto @@ -15,379 +15,380 @@ option optimize_for = SPEED; option java_generic_services = false; enum EPlayerInventorySnapshotFlags { - EPlayerInventorySnapshotFlags_HasScepter = 1; - EPlayerInventorySnapshotFlags_HasShard = 2; + EPlayerInventorySnapshotFlags_HasScepter = 1; + EPlayerInventorySnapshotFlags_HasShard = 2; } message CDOTAMatchMetadataFile { - option (maximum_size_bytes) = 1000000; + option (maximum_size_bytes) = 1000000; - required int32 version = 1; - required uint64 match_id = 2; - optional .CDOTAMatchMetadata metadata = 3; - optional bytes private_metadata = 5; + required int32 version = 1; + required uint64 match_id = 2; + optional .CDOTAMatchMetadata metadata = 3; + optional bytes private_metadata = 5; } message CDOTAMatchMetadata { - message EconItem { - optional uint32 def_index = 1; - optional uint32 quality = 2 [default = 4]; - repeated .CSOEconItemAttribute attribute = 3; - optional uint32 style = 4 [default = 0]; - repeated .CSOEconItemEquipped equipped_state = 5; - } - - message Team { - message PlayerKill { - optional uint32 victim_slot = 1; - optional uint32 count = 2; - } - - message ItemPurchase { - optional int32 item_id = 1 [default = -1]; - optional int32 purchase_time = 2; - } - - message InventorySnapshot { - repeated int32 item_id = 1; - optional int32 game_time = 2; - optional uint32 kills = 3; - optional uint32 deaths = 4; - optional uint32 assists = 5; - optional uint32 level = 6; - repeated int32 backpack_item_id = 7; - optional int32 neutral_item_id = 8 [default = -1]; - optional int32 neutral_enhancement_id = 9 [default = -1]; - optional uint32 last_hits = 10; - optional uint32 denies = 11; - optional uint32 flags = 12; - } - - message AutoStyleCriteria { - optional uint32 name_token = 1; - optional float value = 2; - } - - message StrangeGemProgress { - optional uint32 kill_eater_type = 1; - optional uint32 gem_item_def_index = 2; - optional int32 required_hero_id = 3; - optional uint32 starting_value = 4; - optional uint32 ending_value = 5; - optional uint32 owner_item_def_index = 6; - optional uint64 owner_item_id = 7; - } - - message VictoryPrediction { - optional uint64 item_id = 1; - optional uint32 item_def_index = 2; - optional uint32 starting_value = 3; - optional bool is_victory = 4; - } - - message SubChallenge { - optional uint32 slot_id = 1; - optional uint32 start_value = 2; - optional uint32 end_value = 3; - optional bool completed = 4; - } - - message CavernChallengeResult { - optional uint32 completed_path_id = 1 [default = 255]; - optional uint32 claimed_room_id = 2 [default = 255]; - } - - message ActionGrant { - optional uint32 action_id = 1; - optional uint32 quantity = 2; - optional uint32 audit = 3; - optional uint64 audit_data = 5; - } - - message CandyGrant { - optional uint32 points = 1; - optional uint32 reason = 2; - } - - message PeriodicResourceData { - optional uint32 periodic_resource_id = 1; - optional uint32 remaining = 2; - optional uint32 max = 3; - } - - message EventData { - optional uint32 event_id = 1; - optional uint32 event_points = 2; - optional uint32 challenge_instance_id = 3; - optional uint32 challenge_quest_id = 4; - optional uint32 challenge_quest_challenge_id = 5; - optional bool challenge_completed = 6; - optional uint32 challenge_rank_completed = 7; - optional uint32 challenge_rank_previously_completed = 8; - optional bool event_owned = 9; - repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10; - optional uint32 wager_winnings = 11; - optional bool cavern_challenge_active = 12; - optional uint32 cavern_challenge_winnings = 13; - optional uint32 amount_wagered = 14; - optional uint32 periodic_point_adjustments = 16; - repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17; - optional uint32 cavern_challenge_plus_shard_winnings = 18; - repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19; - optional uint32 cavern_crawl_map_variant = 20 [default = 255]; - optional uint32 team_wager_bonus_pct = 21; - optional uint32 wager_streak_pct = 22; - repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23; - optional uint32 active_season_id = 24; - optional bool cavern_crawl_half_credit = 25; - repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26; - repeated .CExtraMsgBlock extra_event_messages = 27; - } - - message FeaturedGamemodeProgress { - optional uint32 start_value = 1; - optional uint32 end_value = 2; - optional uint32 max_value = 3; - } - - message KillInfo { - enum KillType { - KILL_TYPE_PLAYER = 0; - KILL_TYPE_TOWER = 1; - KILL_TYPE_BARRACKS = 2; - KILL_TYPE_ROSHAN = 3; - KILL_TYPE_MINIBOSS = 4; - } - - optional .CDOTAMatchMetadata.Team.KillInfo.KillType kill_type = 1 [default = KILL_TYPE_PLAYER]; - optional uint32 victim_player_slot = 2; - repeated uint32 killer_player_slot = 3; - optional int32 time = 4; - optional int32 bounty = 5; - } - - message Player { - message ContractProgress { - optional uint32 guild_id = 1; - optional uint32 event_id = 2; - optional uint32 challenge_instance_id = 3; - optional uint32 challenge_parameter = 4; - optional uint32 contract_stars = 5; - optional uint32 contract_slot = 6; - optional bool completed = 7; - } - - message OverworldRewards { - optional uint32 overworld_id = 1; - optional .CMsgOverworldTokenQuantity tokens = 2; - } - - repeated int32 ability_upgrades = 2; - optional uint32 player_slot = 3; - repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5; - repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6; - optional uint32 avg_kills_x16 = 7; - optional uint32 avg_deaths_x16 = 8; - optional uint32 avg_assists_x16 = 9; - optional uint32 avg_gpm_x16 = 10; - optional uint32 avg_xpm_x16 = 11; - optional uint32 best_kills_x16 = 12; - optional uint32 best_assists_x16 = 13; - optional uint32 best_gpm_x16 = 14; - optional uint32 best_xpm_x16 = 15; - optional uint32 win_streak = 16; - optional uint32 best_win_streak = 17; - optional float fight_score = 18; - optional float farm_score = 19; - optional float support_score = 20; - optional float push_score = 21; - repeated uint32 level_up_times = 22; - repeated float graph_net_worth = 23; - repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24; - optional bool avg_stats_calibrated = 25; - repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26; - repeated .CDOTAMatchMetadata.Team.EventData event_data = 29; - repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30; - optional uint32 hero_xp = 31; - optional uint32 camps_stacked = 32; - repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33; - optional uint32 lane_selection_flags = 34; - optional uint32 rampages = 35; - optional uint32 triple_kills = 36; - optional uint32 aegis_snatched = 37; - optional uint32 rapiers_purchased = 38; - optional uint32 couriers_killed = 39; - optional uint32 net_worth_rank = 40; - optional uint32 support_gold_spent = 41; - optional uint32 observer_wards_placed = 42; - optional uint32 sentry_wards_placed = 43; - optional uint32 wards_dewarded = 44; - optional float stun_duration = 45; - optional .EDOTAMMRBoostType rank_mmr_boost_type = 46 [default = k_EDOTAMMRBoostType_None]; - repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48; - repeated uint32 guild_ids = 49; - repeated float graph_hero_damage = 50; - optional .DOTA_GC_TEAM team_number = 51 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional uint32 team_slot = 52; - optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53; - optional uint32 featured_hero_sticker_index = 54; - optional uint32 featured_hero_sticker_quality = 55; - repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56; - optional int32 game_player_id = 57 [default = -1]; - repeated .CMsgTrackedStat player_tracked_stats = 58; - optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59; - repeated .CMsgCraftworksQuestReward craftworks_quest_rewards = 60; - optional int32 ad_facet_hero_id = 61; - optional .CMsgMonsterHunterMatchRewards.Player monster_hunter_rewards = 62; - } - - optional uint32 dota_team = 1; - repeated .CDOTAMatchMetadata.Team.Player players = 2; - repeated float graph_experience = 3; - repeated float graph_gold_earned = 4; - repeated float graph_net_worth = 5; - optional bool cm_first_pick = 6; - optional int32 cm_captain_player_id = 7 [default = -1]; - optional uint32 cm_penalty = 10; - repeated .CMsgTrackedStat team_tracked_stats = 11; - repeated .CDOTAMatchMetadata.Team.KillInfo kills = 12; - } - - message GuildChallengeProgress { - message IndividualProgress { - optional uint32 progress = 2; - optional uint32 player_slot = 3; - } - - optional uint32 guild_id = 1; - optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; - optional uint32 challenge_instance_id = 3; - optional uint32 challenge_parameter = 4; - optional uint32 challenge_timestamp = 5; - optional uint32 challenge_progress_at_start = 6; - optional uint32 challenge_progress_accumulated = 7; - repeated .CDOTAMatchMetadata.GuildChallengeProgress.IndividualProgress individual_progress = 8; - } - - message Tip { - optional uint32 source_player_slot = 1; - optional uint32 target_player_slot = 2; - optional uint32 tip_amount = 3; - optional .EEvent event_id = 4 [default = EVENT_ID_NONE]; - } - - repeated .CDOTAMatchMetadata.Team teams = 1; - optional fixed64 lobby_id = 3; - optional fixed64 report_until_time = 4; - optional bytes event_game_custom_table = 5; - optional uint32 primary_event_id = 6; - optional .CMsgMatchMatchmakingStats matchmaking_stats = 8; - optional .CMvpData mvp_data = 9; - repeated .CDOTAMatchMetadata.GuildChallengeProgress guild_challenge_progress = 10; - optional bytes custom_post_game_table = 11; - repeated .CDOTAMatchMetadata.Tip match_tips = 12; - repeated .CMsgTrackedStat match_tracked_stats = 13; - optional uint32 primary_event_id_for_display = 14; + message EconItem { + optional uint32 def_index = 1; + optional uint32 quality = 2 [default = 4]; + repeated .CSOEconItemAttribute attribute = 3; + optional uint32 style = 4 [default = 0]; + repeated .CSOEconItemEquipped equipped_state = 5; + } + + message Team { + message PlayerKill { + optional uint32 victim_slot = 1; + optional uint32 count = 2; + } + + message ItemPurchase { + optional int32 item_id = 1 [default = -1]; + optional int32 purchase_time = 2; + } + + message InventorySnapshot { + repeated int32 item_id = 1; + optional int32 game_time = 2; + optional uint32 kills = 3; + optional uint32 deaths = 4; + optional uint32 assists = 5; + optional uint32 level = 6; + repeated int32 backpack_item_id = 7; + optional int32 neutral_item_id = 8 [default = -1]; + optional int32 neutral_enhancement_id = 9 [default = -1]; + optional uint32 last_hits = 10; + optional uint32 denies = 11; + optional uint32 flags = 12; + } + + message AutoStyleCriteria { + optional uint32 name_token = 1; + optional float value = 2; + } + + message StrangeGemProgress { + optional uint32 kill_eater_type = 1; + optional uint32 gem_item_def_index = 2; + optional int32 required_hero_id = 3; + optional uint32 starting_value = 4; + optional uint32 ending_value = 5; + optional uint32 owner_item_def_index = 6; + optional uint64 owner_item_id = 7; + } + + message VictoryPrediction { + optional uint64 item_id = 1; + optional uint32 item_def_index = 2; + optional uint32 starting_value = 3; + optional bool is_victory = 4; + } + + message SubChallenge { + optional uint32 slot_id = 1; + optional uint32 start_value = 2; + optional uint32 end_value = 3; + optional bool completed = 4; + } + + message CavernChallengeResult { + optional uint32 completed_path_id = 1 [default = 255]; + optional uint32 claimed_room_id = 2 [default = 255]; + } + + message ActionGrant { + optional uint32 action_id = 1; + optional uint32 quantity = 2; + optional uint32 audit = 3; + optional uint64 audit_data = 5; + } + + message CandyGrant { + optional uint32 points = 1; + optional uint32 reason = 2; + } + + message PeriodicResourceData { + optional uint32 periodic_resource_id = 1; + optional uint32 remaining = 2; + optional uint32 max = 3; + } + + message EventData { + optional uint32 event_id = 1; + optional uint32 event_points = 2; + optional uint32 challenge_instance_id = 3; + optional uint32 challenge_quest_id = 4; + optional uint32 challenge_quest_challenge_id = 5; + optional bool challenge_completed = 6; + optional uint32 challenge_rank_completed = 7; + optional uint32 challenge_rank_previously_completed = 8; + optional bool event_owned = 9; + repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10; + optional uint32 wager_winnings = 11; + optional bool cavern_challenge_active = 12; + optional uint32 cavern_challenge_winnings = 13; + optional uint32 amount_wagered = 14; + optional uint32 periodic_point_adjustments = 16; + repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17; + optional uint32 cavern_challenge_plus_shard_winnings = 18; + repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19; + optional uint32 cavern_crawl_map_variant = 20 [default = 255]; + optional uint32 team_wager_bonus_pct = 21; + optional uint32 wager_streak_pct = 22; + repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23; + optional uint32 active_season_id = 24; + optional bool cavern_crawl_half_credit = 25; + repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26; + repeated .CExtraMsgBlock extra_event_messages = 27; + } + + message FeaturedGamemodeProgress { + optional uint32 start_value = 1; + optional uint32 end_value = 2; + optional uint32 max_value = 3; + } + + message KillInfo { + enum KillType { + KILL_TYPE_PLAYER = 0; + KILL_TYPE_TOWER = 1; + KILL_TYPE_BARRACKS = 2; + KILL_TYPE_ROSHAN = 3; + KILL_TYPE_MINIBOSS = 4; + } + + optional .CDOTAMatchMetadata.Team.KillInfo.KillType kill_type = 1 [default = KILL_TYPE_PLAYER]; + optional uint32 victim_player_slot = 2; + repeated uint32 killer_player_slot = 3; + optional int32 time = 4; + optional int32 bounty = 5; + } + + message Player { + message ContractProgress { + optional uint32 guild_id = 1; + optional uint32 event_id = 2; + optional uint32 challenge_instance_id = 3; + optional uint32 challenge_parameter = 4; + optional uint32 contract_stars = 5; + optional uint32 contract_slot = 6; + optional bool completed = 7; + } + + message OverworldRewards { + optional uint32 overworld_id = 1; + optional .CMsgOverworldTokenQuantity tokens = 2; + } + + repeated int32 ability_upgrades = 2; + optional uint32 player_slot = 3; + repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5; + repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6; + optional uint32 avg_kills_x16 = 7; + optional uint32 avg_deaths_x16 = 8; + optional uint32 avg_assists_x16 = 9; + optional uint32 avg_gpm_x16 = 10; + optional uint32 avg_xpm_x16 = 11; + optional uint32 best_kills_x16 = 12; + optional uint32 best_assists_x16 = 13; + optional uint32 best_gpm_x16 = 14; + optional uint32 best_xpm_x16 = 15; + optional uint32 win_streak = 16; + optional uint32 best_win_streak = 17; + optional float fight_score = 18; + optional float farm_score = 19; + optional float support_score = 20; + optional float push_score = 21; + repeated uint32 level_up_times = 22; + repeated float graph_net_worth = 23; + repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24; + optional bool avg_stats_calibrated = 25; + repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26; + repeated .CDOTAMatchMetadata.Team.EventData event_data = 29; + repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30; + optional uint32 hero_xp = 31; + optional uint32 camps_stacked = 32; + repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33; + optional uint32 lane_selection_flags = 34; + optional uint32 rampages = 35; + optional uint32 triple_kills = 36; + optional uint32 aegis_snatched = 37; + optional uint32 rapiers_purchased = 38; + optional uint32 couriers_killed = 39; + optional uint32 net_worth_rank = 40; + optional uint32 support_gold_spent = 41; + optional uint32 observer_wards_placed = 42; + optional uint32 sentry_wards_placed = 43; + optional uint32 wards_dewarded = 44; + optional float stun_duration = 45; + optional .EDOTAMMRBoostType rank_mmr_boost_type = 46 [default = k_EDOTAMMRBoostType_None]; + repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48; + repeated uint32 guild_ids = 49; + repeated float graph_hero_damage = 50; + optional .DOTA_GC_TEAM team_number = 51 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional uint32 team_slot = 52; + optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53; + optional uint32 featured_hero_sticker_index = 54; + optional uint32 featured_hero_sticker_quality = 55; + repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56; + optional int32 game_player_id = 57 [default = -1]; + repeated .CMsgTrackedStat player_tracked_stats = 58; + optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59; + repeated .CMsgCraftworksQuestReward craftworks_quest_rewards = 60; + optional int32 ad_facet_hero_id = 61; + optional .CMsgMonsterHunterMatchRewards.Player monster_hunter_rewards = 62; + } + + optional uint32 dota_team = 1; + repeated .CDOTAMatchMetadata.Team.Player players = 2; + repeated float graph_experience = 3; + repeated float graph_gold_earned = 4; + repeated float graph_net_worth = 5; + optional bool cm_first_pick = 6; + optional int32 cm_captain_player_id = 7 [default = -1]; + optional uint32 cm_penalty = 10; + repeated .CMsgTrackedStat team_tracked_stats = 11; + repeated .CDOTAMatchMetadata.Team.KillInfo kills = 12; + } + + message GuildChallengeProgress { + message IndividualProgress { + optional uint32 progress = 2; + optional uint32 player_slot = 3; + } + + optional uint32 guild_id = 1; + optional .EEvent event_id = 2 [default = EVENT_ID_NONE]; + optional uint32 challenge_instance_id = 3; + optional uint32 challenge_parameter = 4; + optional uint32 challenge_timestamp = 5; + optional uint32 challenge_progress_at_start = 6; + optional uint32 challenge_progress_accumulated = 7; + repeated .CDOTAMatchMetadata.GuildChallengeProgress.IndividualProgress individual_progress = 8; + } + + message Tip { + optional uint32 source_player_slot = 1; + optional uint32 target_player_slot = 2; + optional uint32 tip_amount = 3; + optional .EEvent event_id = 4 [default = EVENT_ID_NONE]; + } + + repeated .CDOTAMatchMetadata.Team teams = 1; + optional fixed64 lobby_id = 3; + optional fixed64 report_until_time = 4; + optional bytes event_game_custom_table = 5; + optional uint32 primary_event_id = 6; + optional .CMsgMatchMatchmakingStats matchmaking_stats = 8; + optional .CMvpData mvp_data = 9; + repeated .CDOTAMatchMetadata.GuildChallengeProgress guild_challenge_progress = 10; + optional bytes custom_post_game_table = 11; + repeated .CDOTAMatchMetadata.Tip match_tips = 12; + repeated .CMsgTrackedStat match_tracked_stats = 13; + optional uint32 primary_event_id_for_display = 14; } message CDOTAMatchPrivateMetadata { - message StringName { - optional uint32 id = 1; - optional string name = 2; - } - - message Team { - message Player { - message CombatSegment { - message DamageByAbility { - message ByHeroTarget { - optional int32 hero_id = 1; - optional uint32 damage = 2; - } - - optional uint32 source_unit_index = 3; - optional int32 ability_id = 1 [default = -1]; - repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.DamageByAbility.ByHeroTarget by_hero_targets = 2; - } - - message HealingByAbility { - message ByHeroTarget { - optional int32 hero_id = 1; - optional uint32 healing = 2; - } - - optional uint32 source_unit_index = 3; - optional int32 ability_id = 1 [default = -1]; - repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.HealingByAbility.ByHeroTarget by_hero_targets = 2; - } - - optional int32 game_time = 1; - repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.DamageByAbility damage_by_ability = 2; - repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.HealingByAbility healing_by_ability = 3; - } - - message BuffRecord { - message ByHeroTarget { - optional int32 hero_id = 1; - optional float elapsed_duration = 2; - optional bool is_hidden = 3; - } - - optional int32 buff_ability_id = 1 [default = -1]; - optional string buff_modifier_name = 3; - repeated .CDOTAMatchPrivateMetadata.Team.Player.BuffRecord.ByHeroTarget by_hero_targets = 2; - } - - message GoldReceived { - optional uint32 creep = 1; - optional uint32 heroes = 2; - optional uint32 bounty_runes = 3; - optional uint32 passive = 4; - optional uint32 buildings = 5; - optional uint32 abilities = 6; - optional uint32 wards = 7; - optional uint32 other = 8; - } - - message XPReceived { - optional uint32 creep = 1; - optional uint32 heroes = 2; - optional uint32 roshan = 3; - optional uint32 tome_of_knowledge = 4; - optional uint32 outpost = 5; - optional uint32 other = 6; - optional uint32 abilities = 7; - } - - optional uint32 player_slot = 2; - optional bytes position_stream = 3; - repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment combat_segments = 4; - repeated string damage_unit_names = 5; - repeated .CDOTAMatchPrivateMetadata.Team.Player.BuffRecord buff_records = 6; - repeated float graph_kills = 7; - repeated float graph_deaths = 8; - repeated float graph_assists = 9; - repeated float graph_lasthits = 10; - repeated float graph_denies = 11; - optional .CDOTAMatchPrivateMetadata.Team.Player.GoldReceived gold_received = 12; - optional .CDOTAMatchPrivateMetadata.Team.Player.XPReceived xp_received = 13; - optional .DOTA_GC_TEAM team_number = 14 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional uint32 team_slot = 15; - } - - message Building { - optional string unit_name = 1; - optional uint32 position_quant_x = 2; - optional uint32 position_quant_y = 3; - optional float death_time = 4; - } - - optional uint32 dota_team = 1; - repeated .CDOTAMatchPrivateMetadata.Team.Player players = 2; - repeated .CDOTAMatchPrivateMetadata.Team.Building buildings = 3; - } - - repeated .CDOTAMatchPrivateMetadata.Team teams = 1; - repeated float graph_win_probability = 2; - repeated .CDOTAMatchPrivateMetadata.StringName string_names = 3; + message StringName { + optional uint32 id = 1; + optional string name = 2; + } + + message Team { + message Player { + message CombatSegment { + message DamageByAbility { + message ByHeroTarget { + optional int32 hero_id = 1; + optional uint32 damage = 2; + } + + optional uint32 source_unit_index = 3; + optional int32 ability_id = 1 [default = -1]; + repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.DamageByAbility.ByHeroTarget by_hero_targets = 2; + } + + message HealingByAbility { + message ByHeroTarget { + optional int32 hero_id = 1; + optional uint32 healing = 2; + } + + optional uint32 source_unit_index = 3; + optional int32 ability_id = 1 [default = -1]; + repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.HealingByAbility.ByHeroTarget by_hero_targets = 2; + } + + optional int32 game_time = 1; + repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.DamageByAbility damage_by_ability = 2; + repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.HealingByAbility healing_by_ability = 3; + } + + message BuffRecord { + message ByHeroTarget { + optional int32 hero_id = 1; + optional float elapsed_duration = 2; + optional bool is_hidden = 3; + optional int32 instance_count = 4; + } + + optional int32 buff_ability_id = 1 [default = -1]; + optional string buff_modifier_name = 3; + repeated .CDOTAMatchPrivateMetadata.Team.Player.BuffRecord.ByHeroTarget by_hero_targets = 2; + } + + message GoldReceived { + optional uint32 creep = 1; + optional uint32 heroes = 2; + optional uint32 bounty_runes = 3; + optional uint32 passive = 4; + optional uint32 buildings = 5; + optional uint32 abilities = 6; + optional uint32 wards = 7; + optional uint32 other = 8; + } + + message XPReceived { + optional uint32 creep = 1; + optional uint32 heroes = 2; + optional uint32 roshan = 3; + optional uint32 tome_of_knowledge = 4; + optional uint32 outpost = 5; + optional uint32 other = 6; + optional uint32 abilities = 7; + } + + optional uint32 player_slot = 2; + optional bytes position_stream = 3; + repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment combat_segments = 4; + repeated string damage_unit_names = 5; + repeated .CDOTAMatchPrivateMetadata.Team.Player.BuffRecord buff_records = 6; + repeated float graph_kills = 7; + repeated float graph_deaths = 8; + repeated float graph_assists = 9; + repeated float graph_lasthits = 10; + repeated float graph_denies = 11; + optional .CDOTAMatchPrivateMetadata.Team.Player.GoldReceived gold_received = 12; + optional .CDOTAMatchPrivateMetadata.Team.Player.XPReceived xp_received = 13; + optional .DOTA_GC_TEAM team_number = 14 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional uint32 team_slot = 15; + } + + message Building { + optional string unit_name = 1; + optional uint32 position_quant_x = 2; + optional uint32 position_quant_y = 3; + optional float death_time = 4; + } + + optional uint32 dota_team = 1; + repeated .CDOTAMatchPrivateMetadata.Team.Player players = 2; + repeated .CDOTAMatchPrivateMetadata.Team.Building buildings = 3; + } + + repeated .CDOTAMatchPrivateMetadata.Team teams = 1; + repeated float graph_win_probability = 2; + repeated .CDOTAMatchPrivateMetadata.StringName string_names = 3; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_shared_enums.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_shared_enums.proto index 02817c82..81dd5373 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_shared_enums.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/dota_shared_enums.proto @@ -4,906 +4,910 @@ option optimize_for = SPEED; option java_generic_services = false; enum DOTA_GameMode { - DOTA_GAMEMODE_NONE = 0; - DOTA_GAMEMODE_AP = 1; - DOTA_GAMEMODE_CM = 2; - DOTA_GAMEMODE_RD = 3; - DOTA_GAMEMODE_SD = 4; - DOTA_GAMEMODE_AR = 5; - DOTA_GAMEMODE_INTRO = 6; - DOTA_GAMEMODE_HW = 7; - DOTA_GAMEMODE_REVERSE_CM = 8; - DOTA_GAMEMODE_XMAS = 9; - DOTA_GAMEMODE_TUTORIAL = 10; - DOTA_GAMEMODE_MO = 11; - DOTA_GAMEMODE_LP = 12; - DOTA_GAMEMODE_POOL1 = 13; - DOTA_GAMEMODE_FH = 14; - DOTA_GAMEMODE_CUSTOM = 15; - DOTA_GAMEMODE_CD = 16; - DOTA_GAMEMODE_BD = 17; - DOTA_GAMEMODE_ABILITY_DRAFT = 18; - DOTA_GAMEMODE_EVENT = 19; - DOTA_GAMEMODE_ARDM = 20; - DOTA_GAMEMODE_1V1MID = 21; - DOTA_GAMEMODE_ALL_DRAFT = 22; - DOTA_GAMEMODE_TURBO = 23; - DOTA_GAMEMODE_MUTATION = 24; - DOTA_GAMEMODE_COACHES_CHALLENGE = 25; - DOTA_GAMEMODE_BOT_CHALLENGE = 26; + DOTA_GAMEMODE_NONE = 0; + DOTA_GAMEMODE_AP = 1; + DOTA_GAMEMODE_CM = 2; + DOTA_GAMEMODE_RD = 3; + DOTA_GAMEMODE_SD = 4; + DOTA_GAMEMODE_AR = 5; + DOTA_GAMEMODE_INTRO = 6; + DOTA_GAMEMODE_HW = 7; + DOTA_GAMEMODE_REVERSE_CM = 8; + DOTA_GAMEMODE_XMAS = 9; + DOTA_GAMEMODE_TUTORIAL = 10; + DOTA_GAMEMODE_MO = 11; + DOTA_GAMEMODE_LP = 12; + DOTA_GAMEMODE_POOL1 = 13; + DOTA_GAMEMODE_FH = 14; + DOTA_GAMEMODE_CUSTOM = 15; + DOTA_GAMEMODE_CD = 16; + DOTA_GAMEMODE_BD = 17; + DOTA_GAMEMODE_ABILITY_DRAFT = 18; + DOTA_GAMEMODE_EVENT = 19; + DOTA_GAMEMODE_ARDM = 20; + DOTA_GAMEMODE_1V1MID = 21; + DOTA_GAMEMODE_ALL_DRAFT = 22; + DOTA_GAMEMODE_TURBO = 23; + DOTA_GAMEMODE_MUTATION = 24; + DOTA_GAMEMODE_COACHES_CHALLENGE = 25; + DOTA_GAMEMODE_BOT_CHALLENGE = 26; } enum DOTA_GameState { - DOTA_GAMERULES_STATE_INIT = 0; - DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD = 1; - DOTA_GAMERULES_STATE_HERO_SELECTION = 2; - DOTA_GAMERULES_STATE_STRATEGY_TIME = 3; - DOTA_GAMERULES_STATE_PRE_GAME = 4; - DOTA_GAMERULES_STATE_GAME_IN_PROGRESS = 5; - DOTA_GAMERULES_STATE_POST_GAME = 6; - DOTA_GAMERULES_STATE_DISCONNECT = 7; - DOTA_GAMERULES_STATE_TEAM_SHOWCASE = 8; - DOTA_GAMERULES_STATE_CUSTOM_GAME_SETUP = 9; - DOTA_GAMERULES_STATE_WAIT_FOR_MAP_TO_LOAD = 10; - DOTA_GAMERULES_STATE_SCENARIO_SETUP = 11; - DOTA_GAMERULES_STATE_PLAYER_DRAFT = 12; - DOTA_GAMERULES_STATE_LAST = 13; + DOTA_GAMERULES_STATE_INIT = 0; + DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD = 1; + DOTA_GAMERULES_STATE_HERO_SELECTION = 2; + DOTA_GAMERULES_STATE_STRATEGY_TIME = 3; + DOTA_GAMERULES_STATE_PRE_GAME = 4; + DOTA_GAMERULES_STATE_GAME_IN_PROGRESS = 5; + DOTA_GAMERULES_STATE_POST_GAME = 6; + DOTA_GAMERULES_STATE_DISCONNECT = 7; + DOTA_GAMERULES_STATE_TEAM_SHOWCASE = 8; + DOTA_GAMERULES_STATE_CUSTOM_GAME_SETUP = 9; + DOTA_GAMERULES_STATE_WAIT_FOR_MAP_TO_LOAD = 10; + DOTA_GAMERULES_STATE_SCENARIO_SETUP = 11; + DOTA_GAMERULES_STATE_PLAYER_DRAFT = 12; + DOTA_GAMERULES_STATE_LAST = 13; } enum DOTA_GC_TEAM { - DOTA_GC_TEAM_GOOD_GUYS = 0; - DOTA_GC_TEAM_BAD_GUYS = 1; - DOTA_GC_TEAM_BROADCASTER = 2; - DOTA_GC_TEAM_SPECTATOR = 3; - DOTA_GC_TEAM_PLAYER_POOL = 4; - DOTA_GC_TEAM_NOTEAM = 5; - DOTA_GC_TEAM_CUSTOM_1 = 6; - DOTA_GC_TEAM_CUSTOM_2 = 7; - DOTA_GC_TEAM_CUSTOM_3 = 8; - DOTA_GC_TEAM_CUSTOM_4 = 9; - DOTA_GC_TEAM_CUSTOM_5 = 10; - DOTA_GC_TEAM_CUSTOM_6 = 11; - DOTA_GC_TEAM_CUSTOM_7 = 12; - DOTA_GC_TEAM_CUSTOM_8 = 13; - DOTA_GC_TEAM_NEUTRALS = 14; + DOTA_GC_TEAM_GOOD_GUYS = 0; + DOTA_GC_TEAM_BAD_GUYS = 1; + DOTA_GC_TEAM_BROADCASTER = 2; + DOTA_GC_TEAM_SPECTATOR = 3; + DOTA_GC_TEAM_PLAYER_POOL = 4; + DOTA_GC_TEAM_NOTEAM = 5; + DOTA_GC_TEAM_CUSTOM_1 = 6; + DOTA_GC_TEAM_CUSTOM_2 = 7; + DOTA_GC_TEAM_CUSTOM_3 = 8; + DOTA_GC_TEAM_CUSTOM_4 = 9; + DOTA_GC_TEAM_CUSTOM_5 = 10; + DOTA_GC_TEAM_CUSTOM_6 = 11; + DOTA_GC_TEAM_CUSTOM_7 = 12; + DOTA_GC_TEAM_CUSTOM_8 = 13; + DOTA_GC_TEAM_NEUTRALS = 14; } enum EEvent { - EVENT_ID_NONE = 0; - EVENT_ID_DIRETIDE = 1; - EVENT_ID_SPRING_FESTIVAL = 2; - EVENT_ID_FROSTIVUS_2013 = 3; - EVENT_ID_COMPENDIUM_2014 = 4; - EVENT_ID_NEXON_PC_BANG = 5; - EVENT_ID_PWRD_DAC_2015 = 6; - EVENT_ID_NEW_BLOOM_2015 = 7; - EVENT_ID_INTERNATIONAL_2015 = 8; - EVENT_ID_FALL_MAJOR_2015 = 9; - EVENT_ID_ORACLE_PA = 10; - EVENT_ID_NEW_BLOOM_2015_PREBEAST = 11; - EVENT_ID_FROSTIVUS = 12; - EVENT_ID_WINTER_MAJOR_2016 = 13; - EVENT_ID_INTERNATIONAL_2016 = 14; - EVENT_ID_FALL_MAJOR_2016 = 15; - EVENT_ID_WINTER_MAJOR_2017 = 16; - EVENT_ID_NEW_BLOOM_2017 = 17; - EVENT_ID_INTERNATIONAL_2017 = 18; - EVENT_ID_PLUS_SUBSCRIPTION = 19; - EVENT_ID_SINGLES_DAY_2017 = 20; - EVENT_ID_FROSTIVUS_2017 = 21; - EVENT_ID_INTERNATIONAL_2018 = 22; - EVENT_ID_FROSTIVUS_2018 = 23; - EVENT_ID_NEW_BLOOM_2019 = 24; - EVENT_ID_INTERNATIONAL_2019 = 25; - EVENT_ID_NEW_PLAYER_EXPERIENCE = 26; - EVENT_ID_FROSTIVUS_2019 = 27; - EVENT_ID_NEW_BLOOM_2020 = 28; - EVENT_ID_INTERNATIONAL_2020 = 29; - EVENT_ID_TEAM_FANDOM = 30; - EVENT_ID_DIRETIDE_2020 = 31; - EVENT_ID_SPRING_2021 = 32; - EVENT_ID_FALL_2021 = 33; - EVENT_ID_TEAM_FANDOM_FALL_2021 = 34; - EVENT_ID_TEAM_2021_2022_TOUR2 = 35; - EVENT_ID_INTERNATIONAL_2022 = 36; - EVENT_ID_TEAM_2021_2022_TOUR3 = 37; - EVENT_ID_TEAM_INTERNATIONAL_2022 = 38; - EVENT_ID_PERMANENT_GRANTS = 39; - EVENT_ID_MUERTA_RELEASE_SPRING2023 = 40; - EVENT_ID_TEAM_2023_TOUR1 = 41; - EVENT_ID_TEAM_2023_TOUR2 = 42; - EVENT_ID_TEAM_2023_TOUR3 = 43; - EVENT_ID_INTERNATIONAL_2023 = 45; - EVENT_ID_10TH_ANNIVERSARY = 46; - EVENT_ID_CROWNFALL = 47; - EVENT_ID_FROSTIVUS_2023 = 48; - EVENT_ID_INTERNATIONAL_2024 = 49; - EVENT_ID_FROSTIVUS_2024 = 50; - EVENT_ID_MONSTER_HUNTER = 51; - EVENT_ID_INTERNATIONAL_2025 = 52; - EVENT_ID_FALL_2025 = 53; - EVENT_ID_WINTER_2025 = 55; + EVENT_ID_NONE = 0; + EVENT_ID_DIRETIDE = 1; + EVENT_ID_SPRING_FESTIVAL = 2; + EVENT_ID_FROSTIVUS_2013 = 3; + EVENT_ID_COMPENDIUM_2014 = 4; + EVENT_ID_NEXON_PC_BANG = 5; + EVENT_ID_PWRD_DAC_2015 = 6; + EVENT_ID_NEW_BLOOM_2015 = 7; + EVENT_ID_INTERNATIONAL_2015 = 8; + EVENT_ID_FALL_MAJOR_2015 = 9; + EVENT_ID_ORACLE_PA = 10; + EVENT_ID_NEW_BLOOM_2015_PREBEAST = 11; + EVENT_ID_FROSTIVUS = 12; + EVENT_ID_WINTER_MAJOR_2016 = 13; + EVENT_ID_INTERNATIONAL_2016 = 14; + EVENT_ID_FALL_MAJOR_2016 = 15; + EVENT_ID_WINTER_MAJOR_2017 = 16; + EVENT_ID_NEW_BLOOM_2017 = 17; + EVENT_ID_INTERNATIONAL_2017 = 18; + EVENT_ID_PLUS_SUBSCRIPTION = 19; + EVENT_ID_SINGLES_DAY_2017 = 20; + EVENT_ID_FROSTIVUS_2017 = 21; + EVENT_ID_INTERNATIONAL_2018 = 22; + EVENT_ID_FROSTIVUS_2018 = 23; + EVENT_ID_NEW_BLOOM_2019 = 24; + EVENT_ID_INTERNATIONAL_2019 = 25; + EVENT_ID_NEW_PLAYER_EXPERIENCE = 26; + EVENT_ID_FROSTIVUS_2019 = 27; + EVENT_ID_NEW_BLOOM_2020 = 28; + EVENT_ID_INTERNATIONAL_2020 = 29; + EVENT_ID_TEAM_FANDOM = 30; + EVENT_ID_DIRETIDE_2020 = 31; + EVENT_ID_SPRING_2021 = 32; + EVENT_ID_FALL_2021 = 33; + EVENT_ID_TEAM_FANDOM_FALL_2021 = 34; + EVENT_ID_TEAM_2021_2022_TOUR2 = 35; + EVENT_ID_INTERNATIONAL_2022 = 36; + EVENT_ID_TEAM_2021_2022_TOUR3 = 37; + EVENT_ID_TEAM_INTERNATIONAL_2022 = 38; + EVENT_ID_PERMANENT_GRANTS = 39; + EVENT_ID_MUERTA_RELEASE_SPRING2023 = 40; + EVENT_ID_TEAM_2023_TOUR1 = 41; + EVENT_ID_TEAM_2023_TOUR2 = 42; + EVENT_ID_TEAM_2023_TOUR3 = 43; + EVENT_ID_INTERNATIONAL_2023 = 45; + EVENT_ID_10TH_ANNIVERSARY = 46; + EVENT_ID_CROWNFALL = 47; + EVENT_ID_FROSTIVUS_2023 = 48; + EVENT_ID_INTERNATIONAL_2024 = 49; + EVENT_ID_FROSTIVUS_2024 = 50; + EVENT_ID_MONSTER_HUNTER = 51; + EVENT_ID_INTERNATIONAL_2025 = 52; + EVENT_ID_FALL_2025 = 53; + EVENT_ID_WINTER_2025 = 55; + EVENT_ID_SPRING_2026 = 56; + EVENT_ID_SUMMER_2026 = 57; + EVENT_ID_FALL_2026 = 58; + EVENT_ID_WINTER_2026 = 59; } enum ERankType { - k_ERankType_Invalid = 0; - k_ERankType_Casual = 1; - k_ERankType_Ranked = 2; - k_ERankType_CasualLegacy = 3; - k_ERankType_RankedLegacy = 4; - k_ERankType_CasualGlicko = 5; - k_ERankType_RankedGlicko = 6; - k_ERankType_RankMax = 7; - k_ERankType_BehaviorPrivate = 100; - k_ERankType_BehaviorPublic = 101; - k_ERankType_Max = 102; + k_ERankType_Invalid = 0; + k_ERankType_Casual = 1; + k_ERankType_Ranked = 2; + k_ERankType_CasualLegacy = 3; + k_ERankType_RankedLegacy = 4; + k_ERankType_CasualGlicko = 5; + k_ERankType_RankedGlicko = 6; + k_ERankType_RankMax = 7; + k_ERankType_BehaviorPrivate = 100; + k_ERankType_BehaviorPublic = 101; + k_ERankType_Max = 102; } enum DOTALeaverStatus_t { - DOTA_LEAVER_NONE = 0; - DOTA_LEAVER_DISCONNECTED = 1; - DOTA_LEAVER_DISCONNECTED_TOO_LONG = 2; - DOTA_LEAVER_ABANDONED = 3; - DOTA_LEAVER_AFK = 4; - DOTA_LEAVER_NEVER_CONNECTED = 5; - DOTA_LEAVER_NEVER_CONNECTED_TOO_LONG = 6; - DOTA_LEAVER_FAILED_TO_READY_UP = 7; - DOTA_LEAVER_DECLINED = 8; - DOTA_LEAVER_DECLINED_REQUEUE = 9; + DOTA_LEAVER_NONE = 0; + DOTA_LEAVER_DISCONNECTED = 1; + DOTA_LEAVER_DISCONNECTED_TOO_LONG = 2; + DOTA_LEAVER_ABANDONED = 3; + DOTA_LEAVER_AFK = 4; + DOTA_LEAVER_NEVER_CONNECTED = 5; + DOTA_LEAVER_NEVER_CONNECTED_TOO_LONG = 6; + DOTA_LEAVER_FAILED_TO_READY_UP = 7; + DOTA_LEAVER_DECLINED = 8; + DOTA_LEAVER_DECLINED_REQUEUE = 9; } enum DOTAConnectionState_t { - DOTA_CONNECTION_STATE_UNKNOWN = 0; - DOTA_CONNECTION_STATE_NOT_YET_CONNECTED = 1; - DOTA_CONNECTION_STATE_CONNECTED = 2; - DOTA_CONNECTION_STATE_DISCONNECTED = 3; - DOTA_CONNECTION_STATE_ABANDONED = 4; - DOTA_CONNECTION_STATE_LOADING = 5; - DOTA_CONNECTION_STATE_FAILED = 6; + DOTA_CONNECTION_STATE_UNKNOWN = 0; + DOTA_CONNECTION_STATE_NOT_YET_CONNECTED = 1; + DOTA_CONNECTION_STATE_CONNECTED = 2; + DOTA_CONNECTION_STATE_DISCONNECTED = 3; + DOTA_CONNECTION_STATE_ABANDONED = 4; + DOTA_CONNECTION_STATE_LOADING = 5; + DOTA_CONNECTION_STATE_FAILED = 6; } enum Fantasy_Roles { - FANTASY_ROLE_UNDEFINED = 0; - FANTASY_ROLE_CORE = 1; - FANTASY_ROLE_SUPPORT = 2; - FANTASY_ROLE_OFFLANE = 3; - FANTASY_ROLE_MID = 4; + FANTASY_ROLE_UNDEFINED = 0; + FANTASY_ROLE_CORE = 1; + FANTASY_ROLE_SUPPORT = 2; + FANTASY_ROLE_OFFLANE = 3; + FANTASY_ROLE_MID = 4; } enum Fantasy_Scoring { - FANTASY_SCORING_KILLS = 0; - FANTASY_SCORING_DEATHS = 1; - FANTASY_SCORING_CS = 2; - FANTASY_SCORING_GPM = 3; - FANTASY_SCORING_TOWER_KILLS = 4; - FANTASY_SCORING_ROSHAN_KILLS = 5; - FANTASY_SCORING_TEAMFIGHT_PARTICIPATION = 6; - FANTASY_SCORING_WARDS_PLANTED = 7; - FANTASY_SCORING_CAMPS_STACKED = 8; - FANTASY_SCORING_RUNES_GRABBED = 9; - FANTASY_SCORING_FIRST_BLOOD = 10; - FANTASY_SCORING_STUNS = 11; - FANTASY_SCORING_SMOKES_USED = 12; - FANTASY_SCORING_MADSTONE = 13; - FANTASY_SCORING_WATCHERS_TAKEN = 14; - FANTASY_SCORING_LOTUSES_GAINED = 15; - FANTASY_SCORING_TORMENTOR_KILLS = 16; - FANTASY_SCORING_COURIER_KILLS = 17; - FANTASY_SCORING_TYPES = 18; - FANTASY_SCORING_INVALID = 19; + FANTASY_SCORING_KILLS = 0; + FANTASY_SCORING_DEATHS = 1; + FANTASY_SCORING_CS = 2; + FANTASY_SCORING_GPM = 3; + FANTASY_SCORING_TOWER_KILLS = 4; + FANTASY_SCORING_ROSHAN_KILLS = 5; + FANTASY_SCORING_TEAMFIGHT_PARTICIPATION = 6; + FANTASY_SCORING_WARDS_PLANTED = 7; + FANTASY_SCORING_CAMPS_STACKED = 8; + FANTASY_SCORING_RUNES_GRABBED = 9; + FANTASY_SCORING_FIRST_BLOOD = 10; + FANTASY_SCORING_STUNS = 11; + FANTASY_SCORING_SMOKES_USED = 12; + FANTASY_SCORING_MADSTONE = 13; + FANTASY_SCORING_WATCHERS_TAKEN = 14; + FANTASY_SCORING_LOTUSES_GAINED = 15; + FANTASY_SCORING_TORMENTOR_KILLS = 16; + FANTASY_SCORING_COURIER_KILLS = 17; + FANTASY_SCORING_TYPES = 18; + FANTASY_SCORING_INVALID = 19; } enum Fantasy_Team_Slots { - FANTASY_SLOT_NONE = 0; - FANTASY_SLOT_CORE = 1; - FANTASY_SLOT_SUPPORT = 2; - FANTASY_SLOT_ANY = 3; - FANTASY_SLOT_BENCH = 4; + FANTASY_SLOT_NONE = 0; + FANTASY_SLOT_CORE = 1; + FANTASY_SLOT_SUPPORT = 2; + FANTASY_SLOT_ANY = 3; + FANTASY_SLOT_BENCH = 4; } enum Fantasy_Selection_Mode { - FANTASY_SELECTION_INVALID = 0; - FANTASY_SELECTION_LOCKED = 1; - FANTASY_SELECTION_SHUFFLE = 2; - FANTASY_SELECTION_FREE_PICK = 3; - FANTASY_SELECTION_ENDED = 4; - FANTASY_SELECTION_PRE_SEASON = 5; - FANTASY_SELECTION_PRE_DRAFT = 6; - FANTASY_SELECTION_DRAFTING = 7; - FANTASY_SELECTION_REGULAR_SEASON = 8; - FANTASY_SELECTION_CARD_BASED = 9; + FANTASY_SELECTION_INVALID = 0; + FANTASY_SELECTION_LOCKED = 1; + FANTASY_SELECTION_SHUFFLE = 2; + FANTASY_SELECTION_FREE_PICK = 3; + FANTASY_SELECTION_ENDED = 4; + FANTASY_SELECTION_PRE_SEASON = 5; + FANTASY_SELECTION_PRE_DRAFT = 6; + FANTASY_SELECTION_DRAFTING = 7; + FANTASY_SELECTION_REGULAR_SEASON = 8; + FANTASY_SELECTION_CARD_BASED = 9; } enum Fantasy_Gem_Type { - FANTASY_GEM_TYPE_RUBY = 0; - FANTASY_GEM_TYPE_SAPPHIRE = 1; - FANTASY_GEM_TYPE_EMERALD = 2; + FANTASY_GEM_TYPE_RUBY = 0; + FANTASY_GEM_TYPE_SAPPHIRE = 1; + FANTASY_GEM_TYPE_EMERALD = 2; } enum DOTAChatChannelType_t { - DOTAChannelType_Regional = 0; - DOTAChannelType_Custom = 1; - DOTAChannelType_Party = 2; - DOTAChannelType_Lobby = 3; - DOTAChannelType_Team = 4; - DOTAChannelType_Guild = 5; - DOTAChannelType_Fantasy = 6; - DOTAChannelType_Whisper = 7; - DOTAChannelType_Console = 8; - DOTAChannelType_Tab = 9; - DOTAChannelType_Invalid = 10; - DOTAChannelType_GameAll = 11; - DOTAChannelType_GameAllies = 12; - DOTAChannelType_GameSpectator = 13; - DOTAChannelType_GameCoaching = 14; - DOTAChannelType_Cafe = 15; - DOTAChannelType_CustomGame = 16; - DOTAChannelType_Private = 17; - DOTAChannelType_PostGame = 18; - DOTAChannelType_BattleCup = 19; - DOTAChannelType_HLTVSpectator = 20; - DOTAChannelType_GameEvents = 21; - DOTAChannelType_Trivia = 22; - DOTAChannelType_NewPlayer = 23; - DOTAChannelType_PrivateCoaching = 24; + DOTAChannelType_Regional = 0; + DOTAChannelType_Custom = 1; + DOTAChannelType_Party = 2; + DOTAChannelType_Lobby = 3; + DOTAChannelType_Team = 4; + DOTAChannelType_Guild = 5; + DOTAChannelType_Fantasy = 6; + DOTAChannelType_Whisper = 7; + DOTAChannelType_Console = 8; + DOTAChannelType_Tab = 9; + DOTAChannelType_Invalid = 10; + DOTAChannelType_GameAll = 11; + DOTAChannelType_GameAllies = 12; + DOTAChannelType_GameSpectator = 13; + DOTAChannelType_GameCoaching = 14; + DOTAChannelType_Cafe = 15; + DOTAChannelType_CustomGame = 16; + DOTAChannelType_Private = 17; + DOTAChannelType_PostGame = 18; + DOTAChannelType_BattleCup = 19; + DOTAChannelType_HLTVSpectator = 20; + DOTAChannelType_GameEvents = 21; + DOTAChannelType_Trivia = 22; + DOTAChannelType_NewPlayer = 23; + DOTAChannelType_PrivateCoaching = 24; } enum EChatSpecialPrivileges { - k_EChatSpecialPrivileges_None = 0; - k_EChatSpecialPrivileges_Moderator = 1; - k_EChatSpecialPrivileges_SuperModerator = 2; + k_EChatSpecialPrivileges_None = 0; + k_EChatSpecialPrivileges_Moderator = 1; + k_EChatSpecialPrivileges_SuperModerator = 2; } enum DOTACommType_t { - DOTA_COMM_TYPE_NONE = 0; - DOTA_COMM_TYPE_PING = 1; - DOTA_COMM_TYPE_CHATWHEEL = 2; - DOTA_COMM_TYPE_TIP = 3; - DOTA_COMM_TYPE_TEXT = 4; - DOTA_COMM_TYPE_SHOWCASE = 5; - DOTA_COMM_TYPE_VOICE = 6; - DOTA_COMM_TYPE_ALLY_ABILITY = 7; - DOTA_COMM_TYPE_PAUSE = 8; - DOTA_COMM_TYPE_COACHING = 9; - DOTA_COMM_TYPE_NOCOOLDOWN = 10; - DOTA_COMM_TYPE_RANKEDMATCHMAKE = 11; - DOTA_COMM_TYPE_DROPS = 12; - DOTA_COMM_TYPE_NEWPLAYER_EXPERT = 13; - DOTA_COMM_TYPE_COACHED = 14; - DOTA_COMM_TYPE_MAPDRAWING = 15; + DOTA_COMM_TYPE_NONE = 0; + DOTA_COMM_TYPE_PING = 1; + DOTA_COMM_TYPE_CHATWHEEL = 2; + DOTA_COMM_TYPE_TIP = 3; + DOTA_COMM_TYPE_TEXT = 4; + DOTA_COMM_TYPE_SHOWCASE = 5; + DOTA_COMM_TYPE_VOICE = 6; + DOTA_COMM_TYPE_ALLY_ABILITY = 7; + DOTA_COMM_TYPE_PAUSE = 8; + DOTA_COMM_TYPE_COACHING = 9; + DOTA_COMM_TYPE_NOCOOLDOWN = 10; + DOTA_COMM_TYPE_RANKEDMATCHMAKE = 11; + DOTA_COMM_TYPE_DROPS = 12; + DOTA_COMM_TYPE_NEWPLAYER_EXPERT = 13; + DOTA_COMM_TYPE_COACHED = 14; + DOTA_COMM_TYPE_MAPDRAWING = 15; } enum DOTACommLevel_t { - DOTA_COMM_LEVEL_NONE = 0; - DOTA_COMM_LEVEL_COOLDOWN = 1; - DOTA_COMM_LEVEL_PINGS = 2; - DOTA_COMM_LEVEL_MAPDRAWING = 3; - DOTA_COMM_LEVEL_CHAT = 4; - DOTA_COMM_LEVEL_TIPPING = 5; - DOTA_COMM_LEVEL_VOICE = 6; - DOTA_COMM_LEVEL_ALLIED_ABILITY = 7; + DOTA_COMM_LEVEL_NONE = 0; + DOTA_COMM_LEVEL_COOLDOWN = 1; + DOTA_COMM_LEVEL_PINGS = 2; + DOTA_COMM_LEVEL_MAPDRAWING = 3; + DOTA_COMM_LEVEL_CHAT = 4; + DOTA_COMM_LEVEL_TIPPING = 5; + DOTA_COMM_LEVEL_VOICE = 6; + DOTA_COMM_LEVEL_ALLIED_ABILITY = 7; } enum DOTABehaviorLevel_t { - DOTA_BEHAVIOR_LEVEL_NONE = 0; - DOTA_BEHAVIOR_LEVEL_RANKED_ALLOWED = 1; - DOTA_BEHAVIOR_LEVEL_PAUSING = 2; - DOTA_BEHAVIOR_LEVEL_DROPS = 3; - DOTA_BEHAVIOR_LEVEL_COACHING = 4; + DOTA_BEHAVIOR_LEVEL_NONE = 0; + DOTA_BEHAVIOR_LEVEL_RANKED_ALLOWED = 1; + DOTA_BEHAVIOR_LEVEL_PAUSING = 2; + DOTA_BEHAVIOR_LEVEL_DROPS = 3; + DOTA_BEHAVIOR_LEVEL_COACHING = 4; } enum EProfileCardSlotType { - k_EProfileCardSlotType_Empty = 0; - k_EProfileCardSlotType_Stat = 1; - k_EProfileCardSlotType_Trophy = 2; - k_EProfileCardSlotType_Item = 3; - k_EProfileCardSlotType_Hero = 4; - k_EProfileCardSlotType_Emoticon = 5; - k_EProfileCardSlotType_Team = 6; + k_EProfileCardSlotType_Empty = 0; + k_EProfileCardSlotType_Stat = 1; + k_EProfileCardSlotType_Trophy = 2; + k_EProfileCardSlotType_Item = 3; + k_EProfileCardSlotType_Hero = 4; + k_EProfileCardSlotType_Emoticon = 5; + k_EProfileCardSlotType_Team = 6; } enum EMatchGroupServerStatus { - k_EMatchGroupServerStatus_OK = 0; - k_EMatchGroupServerStatus_LimitedAvailability = 1; - k_EMatchGroupServerStatus_Offline = 2; + k_EMatchGroupServerStatus_OK = 0; + k_EMatchGroupServerStatus_LimitedAvailability = 1; + k_EMatchGroupServerStatus_Offline = 2; } enum DOTA_CM_PICK { - DOTA_CM_RANDOM = 0; - DOTA_CM_GOOD_GUYS = 1; - DOTA_CM_BAD_GUYS = 2; + DOTA_CM_RANDOM = 0; + DOTA_CM_GOOD_GUYS = 1; + DOTA_CM_BAD_GUYS = 2; } enum DOTALowPriorityBanType { - DOTA_LOW_PRIORITY_BAN_ABANDON = 0; - DOTA_LOW_PRIORITY_BAN_REPORTS = 1; - DOTA_LOW_PRIORITY_BAN_SECONDARY_ABANDON = 2; - DOTA_LOW_PRIORITY_BAN_PRE_GAME_ROLE = 3; + DOTA_LOW_PRIORITY_BAN_ABANDON = 0; + DOTA_LOW_PRIORITY_BAN_REPORTS = 1; + DOTA_LOW_PRIORITY_BAN_SECONDARY_ABANDON = 2; + DOTA_LOW_PRIORITY_BAN_PRE_GAME_ROLE = 3; } enum DOTALobbyReadyState { - DOTALobbyReadyState_UNDECLARED = 0; - DOTALobbyReadyState_ACCEPTED = 1; - DOTALobbyReadyState_DECLINED = 2; - DOTALobbyReadyState_DECLINED_REQUEUE = 3; + DOTALobbyReadyState_UNDECLARED = 0; + DOTALobbyReadyState_ACCEPTED = 1; + DOTALobbyReadyState_DECLINED = 2; + DOTALobbyReadyState_DECLINED_REQUEUE = 3; } enum DOTAJoinLobbyResult { - DOTA_JOIN_RESULT_SUCCESS = 0; - DOTA_JOIN_RESULT_ALREADY_IN_GAME = 1; - DOTA_JOIN_RESULT_INVALID_LOBBY = 2; - DOTA_JOIN_RESULT_INCORRECT_PASSWORD = 3; - DOTA_JOIN_RESULT_ACCESS_DENIED = 4; - DOTA_JOIN_RESULT_GENERIC_ERROR = 5; - DOTA_JOIN_RESULT_INCORRECT_VERSION = 6; - DOTA_JOIN_RESULT_IN_TEAM_PARTY = 7; - DOTA_JOIN_RESULT_NO_LOBBY_FOUND = 8; - DOTA_JOIN_RESULT_LOBBY_FULL = 9; - DOTA_JOIN_RESULT_CUSTOM_GAME_INCORRECT_VERSION = 10; - DOTA_JOIN_RESULT_TIMEOUT = 11; - DOTA_JOIN_RESULT_CUSTOM_GAME_COOLDOWN = 12; - DOTA_JOIN_RESULT_BUSY = 13; - DOTA_JOIN_RESULT_NO_PLAYTIME = 14; + DOTA_JOIN_RESULT_SUCCESS = 0; + DOTA_JOIN_RESULT_ALREADY_IN_GAME = 1; + DOTA_JOIN_RESULT_INVALID_LOBBY = 2; + DOTA_JOIN_RESULT_INCORRECT_PASSWORD = 3; + DOTA_JOIN_RESULT_ACCESS_DENIED = 4; + DOTA_JOIN_RESULT_GENERIC_ERROR = 5; + DOTA_JOIN_RESULT_INCORRECT_VERSION = 6; + DOTA_JOIN_RESULT_IN_TEAM_PARTY = 7; + DOTA_JOIN_RESULT_NO_LOBBY_FOUND = 8; + DOTA_JOIN_RESULT_LOBBY_FULL = 9; + DOTA_JOIN_RESULT_CUSTOM_GAME_INCORRECT_VERSION = 10; + DOTA_JOIN_RESULT_TIMEOUT = 11; + DOTA_JOIN_RESULT_CUSTOM_GAME_COOLDOWN = 12; + DOTA_JOIN_RESULT_BUSY = 13; + DOTA_JOIN_RESULT_NO_PLAYTIME = 14; } enum DOTASelectionPriorityRules { - k_DOTASelectionPriorityRules_Manual = 0; - k_DOTASelectionPriorityRules_Automatic = 1; + k_DOTASelectionPriorityRules_Manual = 0; + k_DOTASelectionPriorityRules_Automatic = 1; } enum DOTASelectionPriorityChoice { - k_DOTASelectionPriorityChoice_Invalid = 0; - k_DOTASelectionPriorityChoice_FirstPick = 1; - k_DOTASelectionPriorityChoice_SecondPick = 2; - k_DOTASelectionPriorityChoice_Radiant = 3; - k_DOTASelectionPriorityChoice_Dire = 4; + k_DOTASelectionPriorityChoice_Invalid = 0; + k_DOTASelectionPriorityChoice_FirstPick = 1; + k_DOTASelectionPriorityChoice_SecondPick = 2; + k_DOTASelectionPriorityChoice_Radiant = 3; + k_DOTASelectionPriorityChoice_Dire = 4; } enum DOTAMatchVote { - DOTAMatchVote_INVALID = 0; - DOTAMatchVote_POSITIVE = 1; - DOTAMatchVote_NEGATIVE = 2; + DOTAMatchVote_INVALID = 0; + DOTAMatchVote_POSITIVE = 1; + DOTAMatchVote_NEGATIVE = 2; } enum DOTALobbyVisibility { - DOTALobbyVisibility_Public = 0; - DOTALobbyVisibility_Friends = 1; - DOTALobbyVisibility_Unlisted = 2; + DOTALobbyVisibility_Public = 0; + DOTALobbyVisibility_Friends = 1; + DOTALobbyVisibility_Unlisted = 2; } enum EDOTAPlayerMMRType { - k_EDOTAPlayerMMRType_Invalid = 0; - k_EDOTAPlayerMMRType_GeneralHidden = 1; - k_EDOTAPlayerMMRType_GeneralCompetitive = 3; + k_EDOTAPlayerMMRType_Invalid = 0; + k_EDOTAPlayerMMRType_GeneralHidden = 1; + k_EDOTAPlayerMMRType_GeneralCompetitive = 3; } enum EDOTAMMRBoostType { - k_EDOTAMMRBoostType_None = 0; - k_EDOTAMMRBoostType_Leader = 1; - k_EDOTAMMRBoostType_Follower = 2; + k_EDOTAMMRBoostType_None = 0; + k_EDOTAMMRBoostType_Leader = 1; + k_EDOTAMMRBoostType_Follower = 2; } enum MatchType { - MATCH_TYPE_CASUAL = 0; - MATCH_TYPE_COOP_BOTS = 1; - MATCH_TYPE_COMPETITIVE = 4; - MATCH_TYPE_WEEKEND_TOURNEY = 5; - MATCH_TYPE_EVENT = 7; - MATCH_TYPE_COACHES_CHALLENGE = 12; - MATCH_TYPE_NEW_PLAYER_POOL = 14; + MATCH_TYPE_CASUAL = 0; + MATCH_TYPE_COOP_BOTS = 1; + MATCH_TYPE_COMPETITIVE = 4; + MATCH_TYPE_WEEKEND_TOURNEY = 5; + MATCH_TYPE_EVENT = 7; + MATCH_TYPE_COACHES_CHALLENGE = 12; + MATCH_TYPE_NEW_PLAYER_POOL = 14; } enum DOTABotDifficulty { - BOT_DIFFICULTY_PASSIVE = 0; - BOT_DIFFICULTY_EASY = 1; - BOT_DIFFICULTY_MEDIUM = 2; - BOT_DIFFICULTY_HARD = 3; - BOT_DIFFICULTY_UNFAIR = 4; - BOT_DIFFICULTY_INVALID = 5; - BOT_DIFFICULTY_EXTRA1 = 6; - BOT_DIFFICULTY_EXTRA2 = 7; - BOT_DIFFICULTY_EXTRA3 = 8; - BOT_DIFFICULTY_NPX = 9; + BOT_DIFFICULTY_PASSIVE = 0; + BOT_DIFFICULTY_EASY = 1; + BOT_DIFFICULTY_MEDIUM = 2; + BOT_DIFFICULTY_HARD = 3; + BOT_DIFFICULTY_UNFAIR = 4; + BOT_DIFFICULTY_INVALID = 5; + BOT_DIFFICULTY_EXTRA1 = 6; + BOT_DIFFICULTY_EXTRA2 = 7; + BOT_DIFFICULTY_EXTRA3 = 8; + BOT_DIFFICULTY_NPX = 9; } enum DOTA_BOT_MODE { - DOTA_BOT_MODE_NONE = 0; - DOTA_BOT_MODE_LANING = 1; - DOTA_BOT_MODE_ATTACK = 2; - DOTA_BOT_MODE_ROAM = 3; - DOTA_BOT_MODE_RETREAT = 4; - DOTA_BOT_MODE_SECRET_SHOP = 5; - DOTA_BOT_MODE_SIDE_SHOP = 6; - DOTA_BOT_MODE_RUNE = 7; - DOTA_BOT_MODE_PUSH_TOWER_TOP = 8; - DOTA_BOT_MODE_PUSH_TOWER_MID = 9; - DOTA_BOT_MODE_PUSH_TOWER_BOT = 10; - DOTA_BOT_MODE_DEFEND_TOWER_TOP = 11; - DOTA_BOT_MODE_DEFEND_TOWER_MID = 12; - DOTA_BOT_MODE_DEFEND_TOWER_BOT = 13; - DOTA_BOT_MODE_ASSEMBLE = 14; - DOTA_BOT_MODE_ASSEMBLE_WITH_HUMANS = 15; - DOTA_BOT_MODE_TEAM_ROAM = 16; - DOTA_BOT_MODE_FARM = 17; - DOTA_BOT_MODE_DEFEND_ALLY = 18; - DOTA_BOT_MODE_EVASIVE_MANEUVERS = 19; - DOTA_BOT_MODE_ROSHAN = 20; - DOTA_BOT_MODE_ITEM = 21; - DOTA_BOT_MODE_WARD = 22; - DOTA_BOT_MODE_COMPANION = 23; - DOTA_BOT_MODE_TUTORIAL_BOSS = 24; - DOTA_BOT_MODE_MINION = 25; - DOTA_BOT_MODE_OUTPOST = 26; - DOTA_BOT_MODE_BOT_CHALLENGE_ENDGAME = 27; + DOTA_BOT_MODE_NONE = 0; + DOTA_BOT_MODE_LANING = 1; + DOTA_BOT_MODE_ATTACK = 2; + DOTA_BOT_MODE_ROAM = 3; + DOTA_BOT_MODE_RETREAT = 4; + DOTA_BOT_MODE_SECRET_SHOP = 5; + DOTA_BOT_MODE_SIDE_SHOP = 6; + DOTA_BOT_MODE_RUNE = 7; + DOTA_BOT_MODE_PUSH_TOWER_TOP = 8; + DOTA_BOT_MODE_PUSH_TOWER_MID = 9; + DOTA_BOT_MODE_PUSH_TOWER_BOT = 10; + DOTA_BOT_MODE_DEFEND_TOWER_TOP = 11; + DOTA_BOT_MODE_DEFEND_TOWER_MID = 12; + DOTA_BOT_MODE_DEFEND_TOWER_BOT = 13; + DOTA_BOT_MODE_ASSEMBLE = 14; + DOTA_BOT_MODE_ASSEMBLE_WITH_HUMANS = 15; + DOTA_BOT_MODE_TEAM_ROAM = 16; + DOTA_BOT_MODE_FARM = 17; + DOTA_BOT_MODE_DEFEND_ALLY = 18; + DOTA_BOT_MODE_EVASIVE_MANEUVERS = 19; + DOTA_BOT_MODE_ROSHAN = 20; + DOTA_BOT_MODE_ITEM = 21; + DOTA_BOT_MODE_WARD = 22; + DOTA_BOT_MODE_COMPANION = 23; + DOTA_BOT_MODE_TUTORIAL_BOSS = 24; + DOTA_BOT_MODE_MINION = 25; + DOTA_BOT_MODE_OUTPOST = 26; + DOTA_BOT_MODE_BOT_CHALLENGE_ENDGAME = 27; } enum MatchLanguages { - MATCH_LANGUAGE_INVALID = 0; - MATCH_LANGUAGE_ENGLISH = 1; - MATCH_LANGUAGE_RUSSIAN = 2; - MATCH_LANGUAGE_CHINESE = 3; - MATCH_LANGUAGE_KOREAN = 4; - MATCH_LANGUAGE_SPANISH = 5; - MATCH_LANGUAGE_PORTUGUESE = 6; - MATCH_LANGUAGE_ENGLISH2 = 7; + MATCH_LANGUAGE_INVALID = 0; + MATCH_LANGUAGE_ENGLISH = 1; + MATCH_LANGUAGE_RUSSIAN = 2; + MATCH_LANGUAGE_CHINESE = 3; + MATCH_LANGUAGE_KOREAN = 4; + MATCH_LANGUAGE_SPANISH = 5; + MATCH_LANGUAGE_PORTUGUESE = 6; + MATCH_LANGUAGE_ENGLISH2 = 7; } enum ETourneyQueueDeadlineState { - k_ETourneyQueueDeadlineState_Normal = 0; - k_ETourneyQueueDeadlineState_Missed = 1; - k_ETourneyQueueDeadlineState_ExpiredOK = 2; - k_ETourneyQueueDeadlineState_SeekingBye = 3; - k_ETourneyQueueDeadlineState_EligibleForRefund = 4; - k_ETourneyQueueDeadlineState_NA = -1; - k_ETourneyQueueDeadlineState_ExpiringSoon = 101; + k_ETourneyQueueDeadlineState_Normal = 0; + k_ETourneyQueueDeadlineState_Missed = 1; + k_ETourneyQueueDeadlineState_ExpiredOK = 2; + k_ETourneyQueueDeadlineState_SeekingBye = 3; + k_ETourneyQueueDeadlineState_EligibleForRefund = 4; + k_ETourneyQueueDeadlineState_NA = -1; + k_ETourneyQueueDeadlineState_ExpiringSoon = 101; } enum EMatchOutcome { - k_EMatchOutcome_Unknown = 0; - k_EMatchOutcome_RadVictory = 2; - k_EMatchOutcome_DireVictory = 3; - k_EMatchOutcome_NeutralVictory = 4; - k_EMatchOutcome_NoTeamWinner = 5; - k_EMatchOutcome_Custom1Victory = 6; - k_EMatchOutcome_Custom2Victory = 7; - k_EMatchOutcome_Custom3Victory = 8; - k_EMatchOutcome_Custom4Victory = 9; - k_EMatchOutcome_Custom5Victory = 10; - k_EMatchOutcome_Custom6Victory = 11; - k_EMatchOutcome_Custom7Victory = 12; - k_EMatchOutcome_Custom8Victory = 13; - k_EMatchOutcome_NotScored_PoorNetworkConditions = 64; - k_EMatchOutcome_NotScored_Leaver = 65; - k_EMatchOutcome_NotScored_ServerCrash = 66; - k_EMatchOutcome_NotScored_NeverStarted = 67; - k_EMatchOutcome_NotScored_Canceled = 68; - k_EMatchOutcome_NotScored_Suspicious = 69; + k_EMatchOutcome_Unknown = 0; + k_EMatchOutcome_RadVictory = 2; + k_EMatchOutcome_DireVictory = 3; + k_EMatchOutcome_NeutralVictory = 4; + k_EMatchOutcome_NoTeamWinner = 5; + k_EMatchOutcome_Custom1Victory = 6; + k_EMatchOutcome_Custom2Victory = 7; + k_EMatchOutcome_Custom3Victory = 8; + k_EMatchOutcome_Custom4Victory = 9; + k_EMatchOutcome_Custom5Victory = 10; + k_EMatchOutcome_Custom6Victory = 11; + k_EMatchOutcome_Custom7Victory = 12; + k_EMatchOutcome_Custom8Victory = 13; + k_EMatchOutcome_NotScored_PoorNetworkConditions = 64; + k_EMatchOutcome_NotScored_Leaver = 65; + k_EMatchOutcome_NotScored_ServerCrash = 66; + k_EMatchOutcome_NotScored_NeverStarted = 67; + k_EMatchOutcome_NotScored_Canceled = 68; + k_EMatchOutcome_NotScored_Suspicious = 69; } enum ELaneType { - LANE_TYPE_UNKNOWN = 0; - LANE_TYPE_SAFE = 1; - LANE_TYPE_OFF = 2; - LANE_TYPE_MID = 3; - LANE_TYPE_JUNGLE = 4; - LANE_TYPE_ROAM = 5; + LANE_TYPE_UNKNOWN = 0; + LANE_TYPE_SAFE = 1; + LANE_TYPE_OFF = 2; + LANE_TYPE_MID = 3; + LANE_TYPE_JUNGLE = 4; + LANE_TYPE_ROAM = 5; } enum EBadgeType { - k_EBadgeType_Invalid = 0; - k_EBadgeType_TI7_Midweek = 1; - k_EBadgeType_TI7_Finals = 2; - k_EBadgeType_TI7_AllEvent = 3; - k_EBadgeType_TI8_Midweek = 4; - k_EBadgeType_TI8_Finals = 5; - k_EBadgeType_TI8_AllEvent = 6; - k_EBadgeType_TI10 = 7; - k_EBadgeType_TI11_PlayoffsDay1 = 8; - k_EBadgeType_TI11_PlayoffsDay2 = 9; - k_EBadgeType_TI11_PlayoffsDay3 = 10; - k_EBadgeType_TI11_PlayoffsDay4 = 11; - k_EBadgeType_TI11_FinalsWeekend = 12; - k_EBadgeType_TI12_PlayoffsDay1 = 13; - k_EBadgeType_TI12_PlayoffsDay2 = 14; - k_EBadgeType_TI12_PlayoffsDay3 = 15; - k_EBadgeType_TI12_FinalsWeekend = 16; - k_EBadgeType_TI12_Special = 17; - k_EBadgeType_TI13_FinalsDay1 = 18; - k_EBadgeType_TI13_FinalsDay2 = 19; - k_EBadgeType_TI13_FinalsDay3 = 20; - k_EBadgeType_TI13_Special = 21; - k_EBadgeType_TI14_FinalsDay1 = 22; - k_EBadgeType_TI14_FinalsDay2 = 23; - k_EBadgeType_TI14_FinalsDay3 = 24; - k_EBadgeType_TI14_FinalsDay4 = 25; - k_EBadgeType_TI14_Special = 26; + k_EBadgeType_Invalid = 0; + k_EBadgeType_TI7_Midweek = 1; + k_EBadgeType_TI7_Finals = 2; + k_EBadgeType_TI7_AllEvent = 3; + k_EBadgeType_TI8_Midweek = 4; + k_EBadgeType_TI8_Finals = 5; + k_EBadgeType_TI8_AllEvent = 6; + k_EBadgeType_TI10 = 7; + k_EBadgeType_TI11_PlayoffsDay1 = 8; + k_EBadgeType_TI11_PlayoffsDay2 = 9; + k_EBadgeType_TI11_PlayoffsDay3 = 10; + k_EBadgeType_TI11_PlayoffsDay4 = 11; + k_EBadgeType_TI11_FinalsWeekend = 12; + k_EBadgeType_TI12_PlayoffsDay1 = 13; + k_EBadgeType_TI12_PlayoffsDay2 = 14; + k_EBadgeType_TI12_PlayoffsDay3 = 15; + k_EBadgeType_TI12_FinalsWeekend = 16; + k_EBadgeType_TI12_Special = 17; + k_EBadgeType_TI13_FinalsDay1 = 18; + k_EBadgeType_TI13_FinalsDay2 = 19; + k_EBadgeType_TI13_FinalsDay3 = 20; + k_EBadgeType_TI13_Special = 21; + k_EBadgeType_TI14_FinalsDay1 = 22; + k_EBadgeType_TI14_FinalsDay2 = 23; + k_EBadgeType_TI14_FinalsDay3 = 24; + k_EBadgeType_TI14_FinalsDay4 = 25; + k_EBadgeType_TI14_Special = 26; } enum ELeagueStatus { - LEAGUE_STATUS_UNSET = 0; - LEAGUE_STATUS_UNSUBMITTED = 1; - LEAGUE_STATUS_SUBMITTED = 2; - LEAGUE_STATUS_ACCEPTED = 3; - LEAGUE_STATUS_REJECTED = 4; - LEAGUE_STATUS_CONCLUDED = 5; - LEAGUE_STATUS_DELETED = 6; + LEAGUE_STATUS_UNSET = 0; + LEAGUE_STATUS_UNSUBMITTED = 1; + LEAGUE_STATUS_SUBMITTED = 2; + LEAGUE_STATUS_ACCEPTED = 3; + LEAGUE_STATUS_REJECTED = 4; + LEAGUE_STATUS_CONCLUDED = 5; + LEAGUE_STATUS_DELETED = 6; } enum ELeagueRegion { - LEAGUE_REGION_UNSET = 0; - LEAGUE_REGION_NA = 1; - LEAGUE_REGION_SA = 2; - LEAGUE_REGION_WEU = 3; - LEAGUE_REGION_EEU = 4; - LEAGUE_REGION_CHINA = 5; - LEAGUE_REGION_SEA = 6; + LEAGUE_REGION_UNSET = 0; + LEAGUE_REGION_NA = 1; + LEAGUE_REGION_SA = 2; + LEAGUE_REGION_WEU = 3; + LEAGUE_REGION_EEU = 4; + LEAGUE_REGION_CHINA = 5; + LEAGUE_REGION_SEA = 6; } enum ELeagueTier { - LEAGUE_TIER_UNSET = 0; - LEAGUE_TIER_AMATEUR = 1; - LEAGUE_TIER_PROFESSIONAL = 2; - LEAGUE_TIER_MINOR = 3; - LEAGUE_TIER_MAJOR = 4; - LEAGUE_TIER_INTERNATIONAL = 5; - LEAGUE_TIER_DPC_QUALIFIER = 6; - LEAGUE_TIER_DPC_LEAGUE_QUALIFIER = 7; - LEAGUE_TIER_DPC_LEAGUE = 8; - LEAGUE_TIER_DPC_LEAGUE_FINALS = 9; + LEAGUE_TIER_UNSET = 0; + LEAGUE_TIER_AMATEUR = 1; + LEAGUE_TIER_PROFESSIONAL = 2; + LEAGUE_TIER_MINOR = 3; + LEAGUE_TIER_MAJOR = 4; + LEAGUE_TIER_INTERNATIONAL = 5; + LEAGUE_TIER_DPC_QUALIFIER = 6; + LEAGUE_TIER_DPC_LEAGUE_QUALIFIER = 7; + LEAGUE_TIER_DPC_LEAGUE = 8; + LEAGUE_TIER_DPC_LEAGUE_FINALS = 9; } enum ELeagueTierCategory { - LEAGUE_TIER_CATEGORY_AMATEUR = 1; - LEAGUE_TIER_CATEGORY_PROFESSIONAL = 2; - LEAGUE_TIER_CATEGORY_DPC = 3; + LEAGUE_TIER_CATEGORY_AMATEUR = 1; + LEAGUE_TIER_CATEGORY_PROFESSIONAL = 2; + LEAGUE_TIER_CATEGORY_DPC = 3; } enum ELeagueDivision { - LEAGUE_DIVISION_UNSET = 0; - LEAGUE_DIVISION_I = 1; - LEAGUE_DIVISION_II = 2; + LEAGUE_DIVISION_UNSET = 0; + LEAGUE_DIVISION_I = 1; + LEAGUE_DIVISION_II = 2; } enum ELeagueBroadcastProvider { - LEAGUE_BROADCAST_UNKNOWN = 0; - LEAGUE_BROADCAST_STEAM = 1; - LEAGUE_BROADCAST_TWITCH = 2; - LEAGUE_BROADCAST_YOUTUBE = 3; - LEAGUE_BROADCAST_OTHER = 100; + LEAGUE_BROADCAST_UNKNOWN = 0; + LEAGUE_BROADCAST_STEAM = 1; + LEAGUE_BROADCAST_TWITCH = 2; + LEAGUE_BROADCAST_YOUTUBE = 3; + LEAGUE_BROADCAST_OTHER = 100; } enum ELeaguePhase { - LEAGUE_PHASE_UNSET = 0; - LEAGUE_PHASE_REGIONAL_QUALIFIER = 1; - LEAGUE_PHASE_GROUP_STAGE = 2; - LEAGUE_PHASE_MAIN_EVENT = 3; + LEAGUE_PHASE_UNSET = 0; + LEAGUE_PHASE_REGIONAL_QUALIFIER = 1; + LEAGUE_PHASE_GROUP_STAGE = 2; + LEAGUE_PHASE_MAIN_EVENT = 3; } enum ELeagueAuditAction { - LEAGUE_AUDIT_ACTION_INVALID = 0; - LEAGUE_AUDIT_ACTION_LEAGUE_CREATE = 1; - LEAGUE_AUDIT_ACTION_LEAGUE_EDIT = 2; - LEAGUE_AUDIT_ACTION_LEAGUE_DELETE = 3; - LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_ADD = 4; - LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_REVOKE = 5; - LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_PROMOTE = 6; - LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_ADD = 7; - LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_REMOVE = 8; - LEAGUE_AUDIT_ACTION_LEAGUE_IMAGE_UPDATED = 9; - LEAGUE_AUDIT_ACTION_LEAGUE_MESSAGE_ADDED = 10; - LEAGUE_AUDIT_ACTION_LEAGUE_SUBMITTED = 11; - LEAGUE_AUDIT_ACTION_LEAGUE_SET_PRIZE_POOL = 12; - LEAGUE_AUDIT_ACTION_LEAGUE_ADD_PRIZE_POOL_ITEM = 13; - LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_PRIZE_POOL_ITEM = 14; - LEAGUE_AUDIT_ACTION_LEAGUE_MATCH_START = 15; - LEAGUE_AUDIT_ACTION_LEAGUE_MATCH_END = 16; - LEAGUE_AUDIT_ACTION_LEAGUE_ADD_INVITED_TEAM = 17; - LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_INVITED_TEAM = 18; - LEAGUE_AUDIT_ACTION_LEAGUE_STATUS_CHANGED = 19; - LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_EDIT = 20; - LEAGUE_AUDIT_ACTION_LEAGUE_TEAM_SWAP = 21; - LEAGUE_AUDIT_ACTION_NODEGROUP_CREATE = 100; - LEAGUE_AUDIT_ACTION_NODEGROUP_DESTROY = 101; - LEAGUE_AUDIT_ACTION_NODEGROUP_ADD_TEAM = 102; - LEAGUE_AUDIT_ACTION_NODEGROUP_REMOVE_TEAM = 103; - LEAGUE_AUDIT_ACTION_NODEGROUP_SET_ADVANCING = 104; - LEAGUE_AUDIT_ACTION_NODEGROUP_EDIT = 105; - LEAGUE_AUDIT_ACTION_NODEGROUP_POPULATE = 106; - LEAGUE_AUDIT_ACTION_NODEGROUP_COMPLETED = 107; - LEAGUE_AUDIT_ACTION_NODEGROUP_SET_SECONDARY_ADVANCING = 108; - LEAGUE_AUDIT_ACTION_NODEGROUP_SET_TERTIARY_ADVANCING = 109; - LEAGUE_AUDIT_ACTION_NODE_CREATE = 200; - LEAGUE_AUDIT_ACTION_NODE_DESTROY = 201; - LEAGUE_AUDIT_ACTION_NODE_AUTOCREATE = 202; - LEAGUE_AUDIT_ACTION_NODE_SET_TEAM = 203; - LEAGUE_AUDIT_ACTION_NODE_SET_SERIES_ID = 204; - LEAGUE_AUDIT_ACTION_NODE_SET_ADVANCING = 205; - LEAGUE_AUDIT_ACTION_NODE_SET_TIME = 206; - LEAGUE_AUDIT_ACTION_NODE_MATCH_COMPLETED = 207; - LEAGUE_AUDIT_ACTION_NODE_COMPLETED = 208; - LEAGUE_AUDIT_ACTION_NODE_EDIT = 209; + LEAGUE_AUDIT_ACTION_INVALID = 0; + LEAGUE_AUDIT_ACTION_LEAGUE_CREATE = 1; + LEAGUE_AUDIT_ACTION_LEAGUE_EDIT = 2; + LEAGUE_AUDIT_ACTION_LEAGUE_DELETE = 3; + LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_ADD = 4; + LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_REVOKE = 5; + LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_PROMOTE = 6; + LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_ADD = 7; + LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_REMOVE = 8; + LEAGUE_AUDIT_ACTION_LEAGUE_IMAGE_UPDATED = 9; + LEAGUE_AUDIT_ACTION_LEAGUE_MESSAGE_ADDED = 10; + LEAGUE_AUDIT_ACTION_LEAGUE_SUBMITTED = 11; + LEAGUE_AUDIT_ACTION_LEAGUE_SET_PRIZE_POOL = 12; + LEAGUE_AUDIT_ACTION_LEAGUE_ADD_PRIZE_POOL_ITEM = 13; + LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_PRIZE_POOL_ITEM = 14; + LEAGUE_AUDIT_ACTION_LEAGUE_MATCH_START = 15; + LEAGUE_AUDIT_ACTION_LEAGUE_MATCH_END = 16; + LEAGUE_AUDIT_ACTION_LEAGUE_ADD_INVITED_TEAM = 17; + LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_INVITED_TEAM = 18; + LEAGUE_AUDIT_ACTION_LEAGUE_STATUS_CHANGED = 19; + LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_EDIT = 20; + LEAGUE_AUDIT_ACTION_LEAGUE_TEAM_SWAP = 21; + LEAGUE_AUDIT_ACTION_NODEGROUP_CREATE = 100; + LEAGUE_AUDIT_ACTION_NODEGROUP_DESTROY = 101; + LEAGUE_AUDIT_ACTION_NODEGROUP_ADD_TEAM = 102; + LEAGUE_AUDIT_ACTION_NODEGROUP_REMOVE_TEAM = 103; + LEAGUE_AUDIT_ACTION_NODEGROUP_SET_ADVANCING = 104; + LEAGUE_AUDIT_ACTION_NODEGROUP_EDIT = 105; + LEAGUE_AUDIT_ACTION_NODEGROUP_POPULATE = 106; + LEAGUE_AUDIT_ACTION_NODEGROUP_COMPLETED = 107; + LEAGUE_AUDIT_ACTION_NODEGROUP_SET_SECONDARY_ADVANCING = 108; + LEAGUE_AUDIT_ACTION_NODEGROUP_SET_TERTIARY_ADVANCING = 109; + LEAGUE_AUDIT_ACTION_NODE_CREATE = 200; + LEAGUE_AUDIT_ACTION_NODE_DESTROY = 201; + LEAGUE_AUDIT_ACTION_NODE_AUTOCREATE = 202; + LEAGUE_AUDIT_ACTION_NODE_SET_TEAM = 203; + LEAGUE_AUDIT_ACTION_NODE_SET_SERIES_ID = 204; + LEAGUE_AUDIT_ACTION_NODE_SET_ADVANCING = 205; + LEAGUE_AUDIT_ACTION_NODE_SET_TIME = 206; + LEAGUE_AUDIT_ACTION_NODE_MATCH_COMPLETED = 207; + LEAGUE_AUDIT_ACTION_NODE_COMPLETED = 208; + LEAGUE_AUDIT_ACTION_NODE_EDIT = 209; } enum DOTA_COMBATLOG_TYPES { - DOTA_COMBATLOG_INVALID = -1; - DOTA_COMBATLOG_DAMAGE = 0; - DOTA_COMBATLOG_HEAL = 1; - DOTA_COMBATLOG_MODIFIER_ADD = 2; - DOTA_COMBATLOG_MODIFIER_REMOVE = 3; - DOTA_COMBATLOG_DEATH = 4; - DOTA_COMBATLOG_ABILITY = 5; - DOTA_COMBATLOG_ITEM = 6; - DOTA_COMBATLOG_LOCATION = 7; - DOTA_COMBATLOG_GOLD = 8; - DOTA_COMBATLOG_GAME_STATE = 9; - DOTA_COMBATLOG_XP = 10; - DOTA_COMBATLOG_PURCHASE = 11; - DOTA_COMBATLOG_BUYBACK = 12; - DOTA_COMBATLOG_ABILITY_TRIGGER = 13; - DOTA_COMBATLOG_PLAYERSTATS = 14; - DOTA_COMBATLOG_MULTIKILL = 15; - DOTA_COMBATLOG_KILLSTREAK = 16; - DOTA_COMBATLOG_TEAM_BUILDING_KILL = 17; - DOTA_COMBATLOG_FIRST_BLOOD = 18; - DOTA_COMBATLOG_MODIFIER_STACK_EVENT = 19; - DOTA_COMBATLOG_NEUTRAL_CAMP_STACK = 20; - DOTA_COMBATLOG_PICKUP_RUNE = 21; - DOTA_COMBATLOG_REVEALED_INVISIBLE = 22; - DOTA_COMBATLOG_HERO_SAVED = 23; - DOTA_COMBATLOG_MANA_RESTORED = 24; - DOTA_COMBATLOG_HERO_LEVELUP = 25; - DOTA_COMBATLOG_BOTTLE_HEAL_ALLY = 26; - DOTA_COMBATLOG_ENDGAME_STATS = 27; - DOTA_COMBATLOG_INTERRUPT_CHANNEL = 28; - DOTA_COMBATLOG_ALLIED_GOLD = 29; - DOTA_COMBATLOG_AEGIS_TAKEN = 30; - DOTA_COMBATLOG_MANA_DAMAGE = 31; - DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED = 32; - DOTA_COMBATLOG_UNIT_SUMMONED = 33; - DOTA_COMBATLOG_ATTACK_EVADE = 34; - DOTA_COMBATLOG_TREE_CUT = 35; - DOTA_COMBATLOG_SUCCESSFUL_SCAN = 36; - DOTA_COMBATLOG_END_KILLSTREAK = 37; - DOTA_COMBATLOG_BLOODSTONE_CHARGE = 38; - DOTA_COMBATLOG_CRITICAL_DAMAGE = 39; - DOTA_COMBATLOG_SPELL_ABSORB = 40; - DOTA_COMBATLOG_UNIT_TELEPORTED = 41; - DOTA_COMBATLOG_KILL_EATER_EVENT = 42; - DOTA_COMBATLOG_NEUTRAL_ITEM_EARNED = 43; - DOTA_COMBATLOG_STAT_TRACKER_PLAYER = 44; + DOTA_COMBATLOG_INVALID = -1; + DOTA_COMBATLOG_DAMAGE = 0; + DOTA_COMBATLOG_HEAL = 1; + DOTA_COMBATLOG_MODIFIER_ADD = 2; + DOTA_COMBATLOG_MODIFIER_REMOVE = 3; + DOTA_COMBATLOG_DEATH = 4; + DOTA_COMBATLOG_ABILITY = 5; + DOTA_COMBATLOG_ITEM = 6; + DOTA_COMBATLOG_LOCATION = 7; + DOTA_COMBATLOG_GOLD = 8; + DOTA_COMBATLOG_GAME_STATE = 9; + DOTA_COMBATLOG_XP = 10; + DOTA_COMBATLOG_PURCHASE = 11; + DOTA_COMBATLOG_BUYBACK = 12; + DOTA_COMBATLOG_ABILITY_TRIGGER = 13; + DOTA_COMBATLOG_PLAYERSTATS = 14; + DOTA_COMBATLOG_MULTIKILL = 15; + DOTA_COMBATLOG_KILLSTREAK = 16; + DOTA_COMBATLOG_TEAM_BUILDING_KILL = 17; + DOTA_COMBATLOG_FIRST_BLOOD = 18; + DOTA_COMBATLOG_MODIFIER_STACK_EVENT = 19; + DOTA_COMBATLOG_NEUTRAL_CAMP_STACK = 20; + DOTA_COMBATLOG_PICKUP_RUNE = 21; + DOTA_COMBATLOG_REVEALED_INVISIBLE = 22; + DOTA_COMBATLOG_HERO_SAVED = 23; + DOTA_COMBATLOG_MANA_RESTORED = 24; + DOTA_COMBATLOG_HERO_LEVELUP = 25; + DOTA_COMBATLOG_BOTTLE_HEAL_ALLY = 26; + DOTA_COMBATLOG_ENDGAME_STATS = 27; + DOTA_COMBATLOG_INTERRUPT_CHANNEL = 28; + DOTA_COMBATLOG_ALLIED_GOLD = 29; + DOTA_COMBATLOG_AEGIS_TAKEN = 30; + DOTA_COMBATLOG_MANA_DAMAGE = 31; + DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED = 32; + DOTA_COMBATLOG_UNIT_SUMMONED = 33; + DOTA_COMBATLOG_ATTACK_EVADE = 34; + DOTA_COMBATLOG_TREE_CUT = 35; + DOTA_COMBATLOG_SUCCESSFUL_SCAN = 36; + DOTA_COMBATLOG_END_KILLSTREAK = 37; + DOTA_COMBATLOG_BLOODSTONE_CHARGE = 38; + DOTA_COMBATLOG_CRITICAL_DAMAGE = 39; + DOTA_COMBATLOG_SPELL_ABSORB = 40; + DOTA_COMBATLOG_UNIT_TELEPORTED = 41; + DOTA_COMBATLOG_KILL_EATER_EVENT = 42; + DOTA_COMBATLOG_NEUTRAL_ITEM_EARNED = 43; + DOTA_COMBATLOG_STAT_TRACKER_PLAYER = 44; } enum EDPCFavoriteType { - FAVORITE_TYPE_ALL = 0; - FAVORITE_TYPE_PLAYER = 1; - FAVORITE_TYPE_TEAM = 2; - FAVORITE_TYPE_LEAGUE = 3; + FAVORITE_TYPE_ALL = 0; + FAVORITE_TYPE_PLAYER = 1; + FAVORITE_TYPE_TEAM = 2; + FAVORITE_TYPE_LEAGUE = 3; } enum EDPCPushNotification { - DPC_PUSH_NOTIFICATION_MATCH_STARTING = 1; - DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM = 10; - DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM = 11; - DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM_AS_COACH = 12; - DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM_AS_COACH = 13; - DPC_PUSH_NOTIFICATION_LEAGUE_RESULT = 20; - DPC_PUSH_NOTIFICATION_PREDICTION_MATCHES_AVAILABLE = 30; - DPC_PUSH_NOTIFICATION_PREDICTION_RESULT = 31; - DPC_PUSH_NOTIFICATION_FANTASY_PLAYER_CLEARED = 40; - DPC_PUSH_NOTIFICATION_FANTASY_DAILY_SUMMARY = 41; - DPC_PUSH_NOTIFICATION_FANTASY_FINAL_RESULTS = 42; + DPC_PUSH_NOTIFICATION_MATCH_STARTING = 1; + DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM = 10; + DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM = 11; + DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM_AS_COACH = 12; + DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM_AS_COACH = 13; + DPC_PUSH_NOTIFICATION_LEAGUE_RESULT = 20; + DPC_PUSH_NOTIFICATION_PREDICTION_MATCHES_AVAILABLE = 30; + DPC_PUSH_NOTIFICATION_PREDICTION_RESULT = 31; + DPC_PUSH_NOTIFICATION_FANTASY_PLAYER_CLEARED = 40; + DPC_PUSH_NOTIFICATION_FANTASY_DAILY_SUMMARY = 41; + DPC_PUSH_NOTIFICATION_FANTASY_FINAL_RESULTS = 42; } enum EEventActionScoreMode { - k_eEventActionScoreMode_Add = 0; - k_eEventActionScoreMode_Min = 1; + k_eEventActionScoreMode_Add = 0; + k_eEventActionScoreMode_Min = 1; } enum EPlayerChallengeHistoryType { - k_EPlayerChallengeHistoryType_Invalid = 0; - k_EPlayerChallengeHistoryType_KillEater = 1; - k_EPlayerChallengeHistoryType_DotaPlusRelic = 2; - k_EPlayerChallengeHistoryType_DotaPlusHeroPlayerChallenge = 3; - k_EPlayerChallengeHistoryType_InGameEventChallenge = 4; - k_EPlayerChallengeHistoryType_GuildContract = 5; + k_EPlayerChallengeHistoryType_Invalid = 0; + k_EPlayerChallengeHistoryType_KillEater = 1; + k_EPlayerChallengeHistoryType_DotaPlusRelic = 2; + k_EPlayerChallengeHistoryType_DotaPlusHeroPlayerChallenge = 3; + k_EPlayerChallengeHistoryType_InGameEventChallenge = 4; + k_EPlayerChallengeHistoryType_GuildContract = 5; } enum EOverwatchReportReason { - k_EOverwatchReportReason_Unknown = 0; - k_EOverwatchReportReason_Cheating = 1; - k_EOverwatchReportReason_Feeding = 2; - k_EOverwatchReportReason_Griefing = 3; - k_EOverwatchReportReason_Suspicious = 4; - k_EOverwatchReportReason_AbilityAbuse = 5; + k_EOverwatchReportReason_Unknown = 0; + k_EOverwatchReportReason_Cheating = 1; + k_EOverwatchReportReason_Feeding = 2; + k_EOverwatchReportReason_Griefing = 3; + k_EOverwatchReportReason_Suspicious = 4; + k_EOverwatchReportReason_AbilityAbuse = 5; } enum ECandyShopUpgrade { - k_ECandyShopUpgradeInvalid = -1; - k_ECandyShopUpgrade_InventorySize = 0; - k_ECandyShopUpgrade_RewardShelf = 1; - k_ECandyShopUpgrade_ExtraExchangeRecipe = 2; + k_ECandyShopUpgradeInvalid = -1; + k_ECandyShopUpgrade_InventorySize = 0; + k_ECandyShopUpgrade_RewardShelf = 1; + k_ECandyShopUpgrade_ExtraExchangeRecipe = 2; } enum EItemSuggestPreference { - k_EItemSuggestPreference_None = 0; - k_EItemSuggestPreference_Liked = 1; - k_EItemSuggestPreference_Disliked = 2; + k_EItemSuggestPreference_None = 0; + k_EItemSuggestPreference_Liked = 1; + k_EItemSuggestPreference_Disliked = 2; } enum ETimerAlertType { - k_TimerAlertType_PowerRune = 1; - k_TimerAlertType_BountyRune = 2; - k_TimerAlertType_WisdomShrine = 3; - k_TimerAlertType_JungleCamps = 4; - k_TimerAlertType_LotusPool = 5; + k_TimerAlertType_PowerRune = 1; + k_TimerAlertType_BountyRune = 2; + k_TimerAlertType_WisdomShrine = 3; + k_TimerAlertType_JungleCamps = 4; + k_TimerAlertType_LotusPool = 5; } message CDOTAClientHardwareSpecs { - optional uint32 logical_processors = 1; - optional fixed64 cpu_cycles_per_second = 2; - optional fixed64 total_physical_memory = 3; - optional bool is_64_bit_os = 4; - optional uint64 upload_measurement = 5; - optional bool prefer_not_host = 6; - repeated uint32 crc = 7; + optional uint32 logical_processors = 1; + optional fixed64 cpu_cycles_per_second = 2; + optional fixed64 total_physical_memory = 3; + optional bool is_64_bit_os = 4; + optional uint64 upload_measurement = 5; + optional bool prefer_not_host = 6; + repeated uint32 crc = 7; } message CDOTASaveGame { - message Player { - optional .DOTA_GC_TEAM team = 1 [default = DOTA_GC_TEAM_GOOD_GUYS]; - optional string name = 2; - optional string hero = 3; - } - - message SaveInstance { - message PlayerPositions { - optional float x = 1; - optional float y = 2; - } - - optional uint32 game_time = 2; - optional uint32 team1_score = 3; - optional uint32 team2_score = 4; - repeated .CDOTASaveGame.SaveInstance.PlayerPositions player_positions = 5; - optional uint32 save_id = 6; - optional uint32 save_time = 7; - } - - optional uint64 match_id = 5; - optional uint32 save_time = 2; - repeated .CDOTASaveGame.Player players = 3; - repeated .CDOTASaveGame.SaveInstance save_instances = 4; + message Player { + optional .DOTA_GC_TEAM team = 1 [default = DOTA_GC_TEAM_GOOD_GUYS]; + optional string name = 2; + optional string hero = 3; + } + + message SaveInstance { + message PlayerPositions { + optional float x = 1; + optional float y = 2; + } + + optional uint32 game_time = 2; + optional uint32 team1_score = 3; + optional uint32 team2_score = 4; + repeated .CDOTASaveGame.SaveInstance.PlayerPositions player_positions = 5; + optional uint32 save_id = 6; + optional uint32 save_time = 7; + } + + optional uint64 match_id = 5; + optional uint32 save_time = 2; + repeated .CDOTASaveGame.Player players = 3; + repeated .CDOTASaveGame.SaveInstance save_instances = 4; } message CMsgDOTACombatLogEntry { - optional .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_INVALID]; - optional uint32 target_name = 2; - optional uint32 target_source_name = 3; - optional uint32 attacker_name = 4; - optional uint32 damage_source_name = 5; - optional uint32 inflictor_name = 6; - optional bool is_attacker_illusion = 7; - optional bool is_attacker_hero = 8; - optional bool is_target_illusion = 9; - optional bool is_target_hero = 10; - optional bool is_visible_radiant = 11; - optional bool is_visible_dire = 12; - optional uint32 value = 13; - optional int32 health = 14; - optional float timestamp = 15; - optional float stun_duration = 16; - optional float slow_duration = 17; - optional bool is_ability_toggle_on = 18; - optional bool is_ability_toggle_off = 19; - optional uint32 ability_level = 20; - optional float location_x = 21; - optional float location_y = 22; - optional uint32 gold_reason = 23; - optional float timestamp_raw = 24; - optional float modifier_duration = 25; - optional uint32 xp_reason = 26; - optional uint32 last_hits = 27; - optional uint32 attacker_team = 28; - optional uint32 target_team = 29; - optional uint32 obs_wards_placed = 30; - optional uint32 assist_player0 = 31; - optional uint32 assist_player1 = 32; - optional uint32 assist_player2 = 33; - optional uint32 assist_player3 = 34; - optional uint32 stack_count = 35; - optional bool hidden_modifier = 36; - optional bool is_target_building = 37; - optional uint32 neutral_camp_type = 38; - optional uint32 rune_type = 39; - repeated int32 assist_players = 40; - optional bool is_heal_save = 41; - optional bool is_ultimate_ability = 42; - optional uint32 attacker_hero_level = 43; - optional uint32 target_hero_level = 44; - optional uint32 xpm = 45; - optional uint32 gpm = 46; - optional uint32 event_location = 47; - optional bool target_is_self = 48; - optional uint32 damage_type = 49; - optional bool invisibility_modifier = 50; - optional uint32 damage_category = 51; - optional uint32 networth = 52; - optional uint32 building_type = 53; - optional float modifier_elapsed_duration = 54; - optional bool silence_modifier = 55; - optional bool heal_from_lifesteal = 56; - optional bool modifier_purged = 57; - optional bool spell_evaded = 58; - optional bool motion_controller_modifier = 59; - optional bool long_range_kill = 60; - optional uint32 modifier_purge_ability = 61; - optional uint32 modifier_purge_npc = 62; - optional bool root_modifier = 63; - optional uint32 total_unit_death_count = 64; - optional bool aura_modifier = 65; - optional bool armor_debuff_modifier = 66; - optional bool no_physical_damage_modifier = 67; - optional uint32 modifier_ability = 68; - optional bool modifier_hidden = 69; - optional bool inflictor_is_stolen_ability = 70; - optional uint32 kill_eater_event = 71; - optional uint32 unit_status_label = 72; - optional bool spell_generated_attack = 73; - optional bool at_night_time = 74; - optional bool attacker_has_scepter = 75; - optional uint32 neutral_camp_team = 76; - optional float regenerated_health = 77; - optional bool will_reincarnate = 78; - optional bool uses_charges = 79; - optional uint32 tracked_stat_id = 80; + optional .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_INVALID]; + optional uint32 target_name = 2; + optional uint32 target_source_name = 3; + optional uint32 attacker_name = 4; + optional uint32 damage_source_name = 5; + optional uint32 inflictor_name = 6; + optional bool is_attacker_illusion = 7; + optional bool is_attacker_hero = 8; + optional bool is_target_illusion = 9; + optional bool is_target_hero = 10; + optional bool is_visible_radiant = 11; + optional bool is_visible_dire = 12; + optional uint32 value = 13; + optional int32 health = 14; + optional float timestamp = 15; + optional float stun_duration = 16; + optional float slow_duration = 17; + optional bool is_ability_toggle_on = 18; + optional bool is_ability_toggle_off = 19; + optional uint32 ability_level = 20; + optional float location_x = 21; + optional float location_y = 22; + optional uint32 gold_reason = 23; + optional float timestamp_raw = 24; + optional float modifier_duration = 25; + optional uint32 xp_reason = 26; + optional uint32 last_hits = 27; + optional uint32 attacker_team = 28; + optional uint32 target_team = 29; + optional uint32 obs_wards_placed = 30; + optional uint32 assist_player0 = 31; + optional uint32 assist_player1 = 32; + optional uint32 assist_player2 = 33; + optional uint32 assist_player3 = 34; + optional uint32 stack_count = 35; + optional bool hidden_modifier = 36; + optional bool is_target_building = 37; + optional uint32 neutral_camp_type = 38; + optional uint32 rune_type = 39; + repeated int32 assist_players = 40; + optional bool is_heal_save = 41; + optional bool is_ultimate_ability = 42; + optional uint32 attacker_hero_level = 43; + optional uint32 target_hero_level = 44; + optional uint32 xpm = 45; + optional uint32 gpm = 46; + optional uint32 event_location = 47; + optional bool target_is_self = 48; + optional uint32 damage_type = 49; + optional bool invisibility_modifier = 50; + optional uint32 damage_category = 51; + optional uint32 networth = 52; + optional uint32 building_type = 53; + optional float modifier_elapsed_duration = 54; + optional bool silence_modifier = 55; + optional bool heal_from_lifesteal = 56; + optional bool modifier_purged = 57; + optional bool spell_evaded = 58; + optional bool motion_controller_modifier = 59; + optional bool long_range_kill = 60; + optional uint32 modifier_purge_ability = 61; + optional uint32 modifier_purge_npc = 62; + optional bool root_modifier = 63; + optional uint32 total_unit_death_count = 64; + optional bool aura_modifier = 65; + optional bool armor_debuff_modifier = 66; + optional bool no_physical_damage_modifier = 67; + optional uint32 modifier_ability = 68; + optional bool modifier_hidden = 69; + optional bool inflictor_is_stolen_ability = 70; + optional uint32 kill_eater_event = 71; + optional uint32 unit_status_label = 72; + optional bool spell_generated_attack = 73; + optional bool at_night_time = 74; + optional bool attacker_has_scepter = 75; + optional uint32 neutral_camp_team = 76; + optional float regenerated_health = 77; + optional bool will_reincarnate = 78; + optional bool uses_charges = 79; + optional uint32 tracked_stat_id = 80; } message CMsgPendingEventAward { - optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; - optional uint32 action_id = 2; - optional uint32 num_to_grant = 3; - optional .EEventActionScoreMode score_mode = 4 [default = k_eEventActionScoreMode_Add]; - optional uint32 audit_action = 5; - optional uint64 audit_data = 6; + optional .EEvent event_id = 1 [default = EVENT_ID_NONE]; + optional uint32 action_id = 2; + optional uint32 num_to_grant = 3; + optional .EEventActionScoreMode score_mode = 4 [default = k_eEventActionScoreMode_Add]; + optional uint32 audit_action = 5; + optional uint64 audit_data = 6; } message CMsgMonsterHunterMaterialQuantity { - message MaterialCountsEntry { - optional uint32 key = 1; - optional int32 value = 2; - } + message MaterialCountsEntry { + optional uint32 key = 1; + optional int32 value = 2; + } - repeated .CMsgMonsterHunterMaterialQuantity.MaterialCountsEntry material_counts = 1; + repeated .CMsgMonsterHunterMaterialQuantity.MaterialCountsEntry material_counts = 1; } message CMsgMonsterHunterInvestigation { - optional int32 hero_id = 1; - optional int32 persona_id = 2; - optional .CMsgMonsterHunterMaterialQuantity match_rewards = 3; - optional .CMsgMonsterHunterMaterialQuantity hunt_rewards = 4; - optional bool success_state = 5; + optional int32 hero_id = 1; + optional int32 persona_id = 2; + optional .CMsgMonsterHunterMaterialQuantity match_rewards = 3; + optional .CMsgMonsterHunterMaterialQuantity hunt_rewards = 4; + optional bool success_state = 5; } message CMsgMonsterHunterInvestigationGameState { - message HuntedBy { - optional int32 hero_id = 1; - optional int32 persona_id = 2; - optional .CMsgMonsterHunterMaterialQuantity hunt_rewards = 3; - optional bool success_state = 4; - } + message HuntedBy { + optional int32 hero_id = 1; + optional int32 persona_id = 2; + optional .CMsgMonsterHunterMaterialQuantity hunt_rewards = 3; + optional bool success_state = 4; + } - optional .CMsgMonsterHunterInvestigation selected_investigation = 1; - repeated .CMsgMonsterHunterInvestigationGameState.HuntedBy hunted_by = 2; + optional .CMsgMonsterHunterInvestigation selected_investigation = 1; + repeated .CMsgMonsterHunterInvestigationGameState.HuntedBy hunted_by = 2; } message CMsgMonsterHunterCodexUpdateData { - message KillInfo { - optional int32 hero_id = 1; - optional int32 kill_count = 2; - } - - optional int32 player_hero = 1; - repeated int32 allies = 2; - repeated int32 enemies = 3; - repeated .CMsgMonsterHunterCodexUpdateData.KillInfo player_kills = 4; + message KillInfo { + optional int32 hero_id = 1; + optional int32 kill_count = 2; + } + + optional int32 player_hero = 1; + repeated int32 allies = 2; + repeated int32 enemies = 3; + repeated .CMsgMonsterHunterCodexUpdateData.KillInfo player_kills = 4; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/econ_gcmessages.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/econ_gcmessages.proto index 2c9f18cd..a34e7e55 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/econ_gcmessages.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/econ_gcmessages.proto @@ -9,216 +9,218 @@ option optimize_for = SPEED; option java_generic_services = false; enum EGCItemMsg { - k_EMsgGCBase = 1000; - k_EMsgGCSetItemPosition = 1001; - k_EMsgClientToGCPackBundle = 1002; - k_EMsgClientToGCPackBundleResponse = 1003; - k_EMsgGCDelete = 1004; - k_EMsgGCVerifyCacheSubscription = 1005; - k_EMsgClientToGCNameItem = 1006; - k_EMsgGCPaintItem = 1009; - k_EMsgGCPaintItemResponse = 1010; - k_EMsgGCNameBaseItem = 1019; - k_EMsgGCNameBaseItemResponse = 1020; - k_EMsgGCUseItemRequest = 1025; - k_EMsgGCUseItemResponse = 1026; - k_EMsgGCGiftedItems = 1027; - k_EMsgGCUnwrapGiftRequest = 1037; - k_EMsgGCUnwrapGiftResponse = 1038; - k_EMsgGCSortItems = 1041; - k_EMsgGCBackpackSortFinished = 1058; - k_EMsgGCAdjustItemEquippedState = 1059; - k_EMsgGCItemAcknowledged = 1062; - k_EMsgClientToGCNameItemResponse = 1068; - k_EMsgGCApplyStrangePart = 1073; - k_EMsgGCApplyPennantUpgrade = 1076; - k_EMsgGCSetItemPositions = 1077; - k_EMsgGCApplyEggEssence = 1078; - k_EMsgGCNameEggEssenceResponse = 1079; - k_EMsgGCExtractGems = 1086; - k_EMsgGCAddSocket = 1087; - k_EMsgGCAddItemToSocket = 1088; - k_EMsgGCAddItemToSocketResponse = 1089; - k_EMsgGCAddSocketResponse = 1090; - k_EMsgGCResetStrangeGemCount = 1091; - k_EMsgGCRequestCrateItems = 1092; - k_EMsgGCRequestCrateItemsResponse = 1093; - k_EMsgGCExtractGemsResponse = 1094; - k_EMsgGCResetStrangeGemCountResponse = 1095; - k_EMsgGCServerUseItemRequest = 1103; - k_EMsgGCAddGiftItem = 1104; - k_EMsgSQLGCToGCRevokeUntrustedGift = 1105; - k_EMsgClientToGCRemoveItemGifterAttributes = 1109; - k_EMsgClientToGCRemoveItemName = 1110; - k_EMsgClientToGCRemoveItemDescription = 1111; - k_EMsgClientToGCRemoveItemAttributeResponse = 1112; - k_EMsgGCDev_NewItemRequest = 2001; - k_EMsgGCDev_NewItemRequestResponse = 2002; - k_EMsgGCDev_UnlockAllItemStylesRequest = 2003; - k_EMsgGCDev_UnlockAllItemStylesResponse = 2004; - k_EMsgGCStorePurchaseFinalize = 2504; - k_EMsgGCStorePurchaseFinalizeResponse = 2505; - k_EMsgGCStorePurchaseCancel = 2506; - k_EMsgGCStorePurchaseCancelResponse = 2507; - k_EMsgGCStorePurchaseInit = 2510; - k_EMsgGCStorePurchaseInitResponse = 2511; - k_EMsgGCToGCBannedWordListUpdated = 2515; - k_EMsgGCToGCDirtySDOCache = 2516; - k_EMsgGCToGCUpdateSQLKeyValue = 2518; - k_EMsgGCToGCBroadcastConsoleCommand = 2521; - k_EMsgGCServerVersionUpdated = 2522; - k_EMsgGCApplyAutograph = 2523; - k_EMsgGCToGCWebAPIAccountChanged = 2524; - k_EMsgGCClientVersionUpdated = 2528; - k_EMsgGCToGCUpdateWelcomeMsg = 2529; - k_EMsgGCToGCPlayerStrangeCountAdjustments = 2535; - k_EMsgGCRequestStoreSalesData = 2536; - k_EMsgGCRequestStoreSalesDataResponse = 2537; - k_EMsgGCRequestStoreSalesDataUpToDateResponse = 2538; - k_EMsgGCToGCPingRequest = 2539; - k_EMsgGCToGCPingResponse = 2540; - k_EMsgGCToGCGetUserSessionServer = 2541; - k_EMsgGCToGCGetUserSessionServerResponse = 2542; - k_EMsgGCToGCGetUserServerMembers = 2543; - k_EMsgGCToGCGetUserServerMembersResponse = 2544; - k_EMsgGCToGCCanUseDropRateBonus = 2547; - k_EMsgSQLAddDropRateBonus = 2548; - k_EMsgGCToGCRefreshSOCache = 2549; - k_EMsgGCToGCGrantAccountRolledItems = 2554; - k_EMsgGCToGCGrantSelfMadeItemToAccount = 2555; - k_EMsgGCToGCUnlockCrate = 2556; - k_EMsgGCStatueCraft = 2561; - k_EMsgGCRedeemCode = 2562; - k_EMsgGCRedeemCodeResponse = 2563; - k_EMsgGCToGCItemConsumptionRollback = 2564; - k_EMsgClientToGCWrapAndDeliverGift = 2565; - k_EMsgClientToGCWrapAndDeliverGiftResponse = 2566; - k_EMsgClientToGCUnpackBundleResponse = 2567; - k_EMsgGCToClientStoreTransactionCompleted = 2568; - k_EMsgClientToGCEquipItems = 2569; - k_EMsgClientToGCEquipItemsResponse = 2570; - k_EMsgClientToGCUnlockItemStyle = 2571; - k_EMsgClientToGCUnlockItemStyleResponse = 2572; - k_EMsgClientToGCSetItemInventoryCategory = 2573; - k_EMsgClientToGCUnlockCrate = 2574; - k_EMsgClientToGCUnlockCrateResponse = 2575; - k_EMsgClientToGCUnpackBundle = 2576; - k_EMsgClientToGCSetItemStyle = 2577; - k_EMsgClientToGCSetItemStyleResponse = 2578; - k_EMsgSQLGCToGCGrantBackpackSlots = 2580; - k_EMsgClientToGCLookupAccountName = 2581; - k_EMsgClientToGCLookupAccountNameResponse = 2582; - k_EMsgClientToGCCreateStaticRecipe = 2584; - k_EMsgClientToGCCreateStaticRecipeResponse = 2585; - k_EMsgGCToGCStoreProcessCDKeyTransaction = 2586; - k_EMsgGCToGCStoreProcessCDKeyTransactionResponse = 2587; - k_EMsgGCToGCStoreProcessSettlement = 2588; - k_EMsgGCToGCStoreProcessSettlementResponse = 2589; - k_EMsgGCToGCConsoleOutput = 2590; - k_EMsgGCToClientItemAges = 2591; - k_EMsgGCToGCInternalTestMsg = 2592; - k_EMsgGCToGCClientServerVersionsUpdated = 2593; - k_EMsgGCUseMultipleItemsRequest = 2594; - k_EMsgGCGetAccountSubscriptionItem = 2595; - k_EMsgGCGetAccountSubscriptionItemResponse = 2596; - k_EMsgGCToGCBroadcastMessageFromSub = 2598; - k_EMsgGCToClientCurrencyPricePoints = 2599; - k_EMsgGCToGCAddSubscriptionTime = 2600; - k_EMsgGCToGCFlushSteamInventoryCache = 2601; - k_EMsgGCRequestCrateEscalationLevel = 2602; - k_EMsgGCRequestCrateEscalationLevelResponse = 2603; - k_EMsgGCToGCUpdateSubscriptionItems = 2604; - k_EMsgGCToGCSelfPing = 2605; - k_EMsgGCToGCGetInfuxIntervalStats = 2606; - k_EMsgGCToGCGetInfuxIntervalStatsResponse = 2607; - k_EMsgGCToGCPurchaseSucceeded = 2608; - k_EMsgClientToGCGetLimitedItemPurchaseQuantity = 2609; - k_EMsgClientToGCGetLimitedItemPurchaseQuantityResponse = 2610; - k_EMsgGCToGCBetaDeleteItems = 2611; - k_EMsgClientToGCGetInFlightItemCharges = 2612; - k_EMsgClientToGCGetInFlightItemChargesResponse = 2613; - k_EMsgGCToClientInFlightChargesUpdated = 2614; - k_EMsgClientToGCPurchaseChargeCostItems = 2615; - k_EMsgClientToGCPurchaseChargeCostItemsResponse = 2616; - k_EMsgClientToGCCancelUnfinalizedTransactions = 2617; - k_EMsgClientToGCCancelUnfinalizedTransactionsResponse = 2618; + k_EMsgGCBase = 1000; + k_EMsgGCSetItemPosition = 1001; + k_EMsgClientToGCPackBundle = 1002; + k_EMsgClientToGCPackBundleResponse = 1003; + k_EMsgGCDelete = 1004; + k_EMsgGCVerifyCacheSubscription = 1005; + k_EMsgClientToGCNameItem = 1006; + k_EMsgGCPaintItem = 1009; + k_EMsgGCPaintItemResponse = 1010; + k_EMsgGCNameBaseItem = 1019; + k_EMsgGCNameBaseItemResponse = 1020; + k_EMsgGCUseItemRequest = 1025; + k_EMsgGCUseItemResponse = 1026; + k_EMsgGCGiftedItems = 1027; + k_EMsgGCUnwrapGiftRequest = 1037; + k_EMsgGCUnwrapGiftResponse = 1038; + k_EMsgGCSortItems = 1041; + k_EMsgGCBackpackSortFinished = 1058; + k_EMsgGCAdjustItemEquippedState = 1059; + k_EMsgGCItemAcknowledged = 1062; + k_EMsgClientToGCNameItemResponse = 1068; + k_EMsgGCApplyStrangePart = 1073; + k_EMsgGCApplyPennantUpgrade = 1076; + k_EMsgGCSetItemPositions = 1077; + k_EMsgGCApplyEggEssence = 1078; + k_EMsgGCNameEggEssenceResponse = 1079; + k_EMsgGCExtractGems = 1086; + k_EMsgGCAddSocket = 1087; + k_EMsgGCAddItemToSocket = 1088; + k_EMsgGCAddItemToSocketResponse = 1089; + k_EMsgGCAddSocketResponse = 1090; + k_EMsgGCResetStrangeGemCount = 1091; + k_EMsgGCRequestCrateItems = 1092; + k_EMsgGCRequestCrateItemsResponse = 1093; + k_EMsgGCExtractGemsResponse = 1094; + k_EMsgGCResetStrangeGemCountResponse = 1095; + k_EMsgGCServerUseItemRequest = 1103; + k_EMsgGCAddGiftItem = 1104; + k_EMsgSQLGCToGCRevokeUntrustedGift = 1105; + k_EMsgClientToGCRemoveItemGifterAttributes = 1109; + k_EMsgClientToGCRemoveItemName = 1110; + k_EMsgClientToGCRemoveItemDescription = 1111; + k_EMsgClientToGCRemoveItemAttributeResponse = 1112; + k_EMsgGCDev_NewItemRequest = 2001; + k_EMsgGCDev_NewItemRequestResponse = 2002; + k_EMsgGCDev_UnlockAllItemStylesRequest = 2003; + k_EMsgGCDev_UnlockAllItemStylesResponse = 2004; + k_EMsgGCStorePurchaseFinalize = 2504; + k_EMsgGCStorePurchaseFinalizeResponse = 2505; + k_EMsgGCStorePurchaseCancel = 2506; + k_EMsgGCStorePurchaseCancelResponse = 2507; + k_EMsgGCStorePurchaseInit = 2510; + k_EMsgGCStorePurchaseInitResponse = 2511; + k_EMsgGCToGCBannedWordListUpdated = 2515; + k_EMsgGCToGCDirtySDOCache = 2516; + k_EMsgGCToGCUpdateSQLKeyValue = 2518; + k_EMsgGCToGCBroadcastConsoleCommand = 2521; + k_EMsgGCServerVersionUpdated = 2522; + k_EMsgGCApplyAutograph = 2523; + k_EMsgGCToGCWebAPIAccountChanged = 2524; + k_EMsgGCClientVersionUpdated = 2528; + k_EMsgGCToGCUpdateWelcomeMsg = 2529; + k_EMsgGCToGCPlayerStrangeCountAdjustments = 2535; + k_EMsgGCRequestStoreSalesData = 2536; + k_EMsgGCRequestStoreSalesDataResponse = 2537; + k_EMsgGCRequestStoreSalesDataUpToDateResponse = 2538; + k_EMsgGCToGCPingRequest = 2539; + k_EMsgGCToGCPingResponse = 2540; + k_EMsgGCToGCGetUserSessionServer = 2541; + k_EMsgGCToGCGetUserSessionServerResponse = 2542; + k_EMsgGCToGCGetUserServerMembers = 2543; + k_EMsgGCToGCGetUserServerMembersResponse = 2544; + k_EMsgGCToGCCanUseDropRateBonus = 2547; + k_EMsgSQLAddDropRateBonus = 2548; + k_EMsgGCToGCRefreshSOCache = 2549; + k_EMsgGCToGCGrantAccountRolledItems = 2554; + k_EMsgGCToGCGrantSelfMadeItemToAccount = 2555; + k_EMsgGCToGCUnlockCrate = 2556; + k_EMsgGCStatueCraft = 2561; + k_EMsgGCRedeemCode = 2562; + k_EMsgGCRedeemCodeResponse = 2563; + k_EMsgGCToGCItemConsumptionRollback = 2564; + k_EMsgClientToGCWrapAndDeliverGift = 2565; + k_EMsgClientToGCWrapAndDeliverGiftResponse = 2566; + k_EMsgClientToGCUnpackBundleResponse = 2567; + k_EMsgGCToClientStoreTransactionCompleted = 2568; + k_EMsgClientToGCEquipItems = 2569; + k_EMsgClientToGCEquipItemsResponse = 2570; + k_EMsgClientToGCUnlockItemStyle = 2571; + k_EMsgClientToGCUnlockItemStyleResponse = 2572; + k_EMsgClientToGCSetItemInventoryCategory = 2573; + k_EMsgClientToGCUnlockCrate = 2574; + k_EMsgClientToGCUnlockCrateResponse = 2575; + k_EMsgClientToGCUnpackBundle = 2576; + k_EMsgClientToGCSetItemStyle = 2577; + k_EMsgClientToGCSetItemStyleResponse = 2578; + k_EMsgSQLGCToGCGrantBackpackSlots = 2580; + k_EMsgClientToGCLookupAccountName = 2581; + k_EMsgClientToGCLookupAccountNameResponse = 2582; + k_EMsgClientToGCCreateStaticRecipe = 2584; + k_EMsgClientToGCCreateStaticRecipeResponse = 2585; + k_EMsgGCToGCStoreProcessCDKeyTransaction = 2586; + k_EMsgGCToGCStoreProcessCDKeyTransactionResponse = 2587; + k_EMsgGCToGCStoreProcessSettlement = 2588; + k_EMsgGCToGCStoreProcessSettlementResponse = 2589; + k_EMsgGCToGCConsoleOutput = 2590; + k_EMsgGCToClientItemAges = 2591; + k_EMsgGCToGCInternalTestMsg = 2592; + k_EMsgGCToGCClientServerVersionsUpdated = 2593; + k_EMsgGCUseMultipleItemsRequest = 2594; + k_EMsgGCGetAccountSubscriptionItem = 2595; + k_EMsgGCGetAccountSubscriptionItemResponse = 2596; + k_EMsgGCToGCBroadcastMessageFromSub = 2598; + k_EMsgGCToClientCurrencyPricePoints = 2599; + k_EMsgGCToGCAddSubscriptionTime = 2600; + k_EMsgGCToGCFlushSteamInventoryCache = 2601; + k_EMsgGCRequestCrateEscalationLevel = 2602; + k_EMsgGCRequestCrateEscalationLevelResponse = 2603; + k_EMsgGCToGCUpdateSubscriptionItems = 2604; + k_EMsgGCToGCSelfPing = 2605; + k_EMsgGCToGCGetInfuxIntervalStats = 2606; + k_EMsgGCToGCGetInfuxIntervalStatsResponse = 2607; + k_EMsgGCToGCPurchaseSucceeded = 2608; + k_EMsgClientToGCGetLimitedItemPurchaseQuantity = 2609; + k_EMsgClientToGCGetLimitedItemPurchaseQuantityResponse = 2610; + k_EMsgGCToGCBetaDeleteItems = 2611; + k_EMsgClientToGCGetInFlightItemCharges = 2612; + k_EMsgClientToGCGetInFlightItemChargesResponse = 2613; + k_EMsgGCToClientInFlightChargesUpdated = 2614; + k_EMsgClientToGCPurchaseChargeCostItems = 2615; + k_EMsgClientToGCPurchaseChargeCostItemsResponse = 2616; + k_EMsgClientToGCCancelUnfinalizedTransactions = 2617; + k_EMsgClientToGCCancelUnfinalizedTransactionsResponse = 2618; + k_EMsgClientToGCRecycleMultipleItems = 2619; + k_EMsgClientToGCRecycleMultipleItemsResponse = 2620; } enum EGCMsgInitiateTradeResponse { - k_EGCMsgInitiateTradeResponse_Accepted = 0; - k_EGCMsgInitiateTradeResponse_Declined = 1; - k_EGCMsgInitiateTradeResponse_VAC_Banned_Initiator = 2; - k_EGCMsgInitiateTradeResponse_VAC_Banned_Target = 3; - k_EGCMsgInitiateTradeResponse_Target_Already_Trading = 4; - k_EGCMsgInitiateTradeResponse_Disabled = 5; - k_EGCMsgInitiateTradeResponse_NotLoggedIn = 6; - k_EGCMsgInitiateTradeResponse_Cancel = 7; - k_EGCMsgInitiateTradeResponse_TooSoon = 8; - k_EGCMsgInitiateTradeResponse_TooSoonPenalty = 9; - k_EGCMsgInitiateTradeResponse_Trade_Banned_Initiator = 10; - k_EGCMsgInitiateTradeResponse_Trade_Banned_Target = 11; - k_EGCMsgInitiateTradeResponse_Free_Account_Initiator_DEPRECATED = 12; - k_EGCMsgInitiateTradeResponse_Shared_Account_Initiator = 13; - k_EGCMsgInitiateTradeResponse_Service_Unavailable = 14; - k_EGCMsgInitiateTradeResponse_Target_Blocked = 15; - k_EGCMsgInitiateTradeResponse_NeedVerifiedEmail = 16; - k_EGCMsgInitiateTradeResponse_NeedSteamGuard = 17; - k_EGCMsgInitiateTradeResponse_SteamGuardDuration = 18; - k_EGCMsgInitiateTradeResponse_TheyCannotTrade = 19; - k_EGCMsgInitiateTradeResponse_Recent_Password_Reset = 20; - k_EGCMsgInitiateTradeResponse_Using_New_Device = 21; - k_EGCMsgInitiateTradeResponse_Sent_Invalid_Cookie = 22; - k_EGCMsgInitiateTradeResponse_TooRecentFriend = 23; - k_EGCMsgInitiateTradeResponse_WalledFundsNotTrusted = 24; + k_EGCMsgInitiateTradeResponse_Accepted = 0; + k_EGCMsgInitiateTradeResponse_Declined = 1; + k_EGCMsgInitiateTradeResponse_VAC_Banned_Initiator = 2; + k_EGCMsgInitiateTradeResponse_VAC_Banned_Target = 3; + k_EGCMsgInitiateTradeResponse_Target_Already_Trading = 4; + k_EGCMsgInitiateTradeResponse_Disabled = 5; + k_EGCMsgInitiateTradeResponse_NotLoggedIn = 6; + k_EGCMsgInitiateTradeResponse_Cancel = 7; + k_EGCMsgInitiateTradeResponse_TooSoon = 8; + k_EGCMsgInitiateTradeResponse_TooSoonPenalty = 9; + k_EGCMsgInitiateTradeResponse_Trade_Banned_Initiator = 10; + k_EGCMsgInitiateTradeResponse_Trade_Banned_Target = 11; + k_EGCMsgInitiateTradeResponse_Free_Account_Initiator_DEPRECATED = 12; + k_EGCMsgInitiateTradeResponse_Shared_Account_Initiator = 13; + k_EGCMsgInitiateTradeResponse_Service_Unavailable = 14; + k_EGCMsgInitiateTradeResponse_Target_Blocked = 15; + k_EGCMsgInitiateTradeResponse_NeedVerifiedEmail = 16; + k_EGCMsgInitiateTradeResponse_NeedSteamGuard = 17; + k_EGCMsgInitiateTradeResponse_SteamGuardDuration = 18; + k_EGCMsgInitiateTradeResponse_TheyCannotTrade = 19; + k_EGCMsgInitiateTradeResponse_Recent_Password_Reset = 20; + k_EGCMsgInitiateTradeResponse_Using_New_Device = 21; + k_EGCMsgInitiateTradeResponse_Sent_Invalid_Cookie = 22; + k_EGCMsgInitiateTradeResponse_TooRecentFriend = 23; + k_EGCMsgInitiateTradeResponse_WalledFundsNotTrusted = 24; } message CMsgApplyAutograph { - optional uint64 autograph_item_id = 1; - optional uint64 item_item_id = 2; + optional uint64 autograph_item_id = 1; + optional uint64 item_item_id = 2; } message CMsgAdjustItemEquippedState { - optional uint64 item_id = 1; - optional uint32 new_class = 2; - optional uint32 new_slot = 3; - optional uint32 style_index = 4 [default = 255]; + optional uint64 item_id = 1; + optional uint32 new_class = 2; + optional uint32 new_slot = 3; + optional uint32 style_index = 4 [default = 255]; } message CMsgEconPlayerStrangeCountAdjustment { - message CStrangeCountAdjustment { - optional uint32 event_type = 1; - optional uint64 item_id = 2; - optional uint32 adjustment = 3; - } + message CStrangeCountAdjustment { + optional uint32 event_type = 1; + optional uint64 item_id = 2; + optional uint32 adjustment = 3; + } - optional uint32 account_id = 1; - repeated .CMsgEconPlayerStrangeCountAdjustment.CStrangeCountAdjustment strange_count_adjustments = 2; - optional bool turbo_mode = 3; + optional uint32 account_id = 1; + repeated .CMsgEconPlayerStrangeCountAdjustment.CStrangeCountAdjustment strange_count_adjustments = 2; + optional bool turbo_mode = 3; } message CMsgCraftingResponse { - repeated uint64 item_ids = 1; + repeated uint64 item_ids = 1; } message CMsgGCRequestStoreSalesData { - optional uint32 version = 1; - optional uint32 currency = 2; + optional uint32 version = 1; + optional uint32 currency = 2; } message CMsgGCRequestStoreSalesDataResponse { - message Price { - optional uint32 item_def = 1; - optional uint32 price = 2; - } + message Price { + optional uint32 item_def = 1; + optional uint32 price = 2; + } - repeated .CMsgGCRequestStoreSalesDataResponse.Price sale_price = 1; - optional uint32 version = 2; - optional uint32 expiration_time = 3; + repeated .CMsgGCRequestStoreSalesDataResponse.Price sale_price = 1; + optional uint32 version = 2; + optional uint32 expiration_time = 3; } message CMsgGCRequestStoreSalesDataUpToDateResponse { - optional uint32 version = 1; - optional uint32 expiration_time = 2; + optional uint32 version = 1; + optional uint32 expiration_time = 2; } message CMsgGCToGCPingRequest { @@ -228,862 +230,876 @@ message CMsgGCToGCPingResponse { } message CMsgGCToGCGetUserSessionServer { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgGCToGCGetUserSessionServerResponse { - optional fixed64 server_steam_id = 1; - optional bool is_online = 2; + optional fixed64 server_steam_id = 1; + optional bool is_online = 2; } message CMsgGCToGCGetUserServerMembers { - optional uint32 account_id = 1; - optional uint32 max_spectators = 2; + optional uint32 account_id = 1; + optional uint32 max_spectators = 2; } message CMsgGCToGCGetUserServerMembersResponse { - repeated uint32 member_account_id = 1; + repeated uint32 member_account_id = 1; } message CMsgLookupMultipleAccountNames { - repeated uint32 accountids = 1 [packed = true]; + repeated uint32 accountids = 1 [packed = true]; } message CMsgLookupMultipleAccountNamesResponse { - message Account { - optional uint32 accountid = 1; - optional string persona = 2; - } + message Account { + optional uint32 accountid = 1; + optional string persona = 2; + } - repeated .CMsgLookupMultipleAccountNamesResponse.Account accounts = 1; + repeated .CMsgLookupMultipleAccountNamesResponse.Account accounts = 1; } message CMsgRequestCrateItems { - optional uint32 crate_item_def = 1; + optional uint32 crate_item_def = 1; } message CMsgRequestCrateItemsResponse { - enum EResult { - k_Succeeded = 0; - k_Failed = 1; - } + enum EResult { + k_Succeeded = 0; + k_Failed = 1; + } - optional uint32 response = 1; - repeated uint32 item_defs = 2; - repeated uint32 peek_item_defs = 3; - repeated .CSOEconItem peek_items = 4; + optional uint32 response = 1; + repeated uint32 item_defs = 2; + repeated uint32 peek_item_defs = 3; + repeated .CSOEconItem peek_items = 4; } message CMsgRequestCrateEscalationLevel { - optional uint32 crate_item_def = 1; + optional uint32 crate_item_def = 1; } message CMsgRequestCrateEscalationLevelResponse { - enum EResult { - k_Succeeded = 0; - k_Failed = 1; - } + enum EResult { + k_Succeeded = 0; + k_Failed = 1; + } - optional uint32 response = 1; - optional uint32 escalation_level0 = 2; - optional uint32 escalation_level1 = 3; - optional uint32 escalation_level2 = 4; - optional uint32 escalation_level3 = 5; + optional uint32 response = 1; + optional uint32 escalation_level0 = 2; + optional uint32 escalation_level1 = 3; + optional uint32 escalation_level2 = 4; + optional uint32 escalation_level3 = 5; } message CMsgGCToGCCanUseDropRateBonus { - optional uint32 account_id = 1; - optional float drop_rate_bonus = 2; - optional uint32 booster_type = 3; - optional uint32 exclusive_item_def = 4; - optional bool allow_equal_rate = 5; + optional uint32 account_id = 1; + optional float drop_rate_bonus = 2; + optional uint32 booster_type = 3; + optional uint32 exclusive_item_def = 4; + optional bool allow_equal_rate = 5; } message CMsgSQLAddDropRateBonus { - optional uint32 account_id = 1; - optional uint64 item_id = 2; - optional uint32 item_def = 3; - optional float drop_rate_bonus = 4; - optional uint32 booster_type = 5; - optional uint32 seconds_duration = 6; - optional uint32 end_time_stamp = 7; + optional uint32 account_id = 1; + optional uint64 item_id = 2; + optional uint32 item_def = 3; + optional float drop_rate_bonus = 4; + optional uint32 booster_type = 5; + optional uint32 seconds_duration = 6; + optional uint32 end_time_stamp = 7; } message CMsgSQLUpgradeBattleBooster { - optional uint32 account_id = 1; - optional uint32 item_def = 2; - optional float bonus_to_add = 3; - optional uint32 booster_type = 4; + optional uint32 account_id = 1; + optional uint32 item_def = 2; + optional float bonus_to_add = 3; + optional uint32 booster_type = 4; } message CMsgGCToGCRefreshSOCache { - optional uint32 account_id = 1; - optional bool reload = 2; + optional uint32 account_id = 1; + optional bool reload = 2; } message CMsgGCToGCAddSubscriptionTime { - optional uint32 account_id = 1; - repeated uint32 matching_subscription_def_indexes = 2; - optional uint32 additional_seconds = 3; + optional uint32 account_id = 1; + repeated uint32 matching_subscription_def_indexes = 2; + optional uint32 additional_seconds = 3; } message CMsgGCToGCGrantAccountRolledItems { - message Item { - message DynamicAttribute { - optional string name = 1; - optional uint32 value_uint32 = 2; - optional float value_float = 3; - optional string value_string = 4; - } - - message AdditionalAuditEntry { - optional uint32 owner_account_id = 1; - optional uint32 audit_action = 2; - optional uint64 audit_data = 3; - } - - optional uint32 item_def = 1; - repeated string loot_lists = 2; - optional bool ignore_limit = 3; - optional uint32 origin = 4; - repeated .CMsgGCToGCGrantAccountRolledItems.Item.DynamicAttribute dynamic_attributes = 5; - repeated .CMsgGCToGCGrantAccountRolledItems.Item.AdditionalAuditEntry additional_audit_entries = 6; - optional uint32 inventory_token = 7; - optional int32 quality = 8 [default = -1]; - } - - optional uint32 account_id = 1; - repeated .CMsgGCToGCGrantAccountRolledItems.Item items = 2; - optional uint32 audit_action = 3; - optional uint64 audit_data = 4; + message Item { + message DynamicAttribute { + optional string name = 1; + optional uint32 value_uint32 = 2; + optional float value_float = 3; + optional string value_string = 4; + } + + message AdditionalAuditEntry { + optional uint32 owner_account_id = 1; + optional uint32 audit_action = 2; + optional uint64 audit_data = 3; + } + + optional uint32 item_def = 1; + repeated string loot_lists = 2; + optional bool ignore_limit = 3; + optional uint32 origin = 4; + repeated .CMsgGCToGCGrantAccountRolledItems.Item.DynamicAttribute dynamic_attributes = 5; + repeated .CMsgGCToGCGrantAccountRolledItems.Item.AdditionalAuditEntry additional_audit_entries = 6; + optional uint32 inventory_token = 7; + optional int32 quality = 8 [default = -1]; + } + + optional uint32 account_id = 1; + repeated .CMsgGCToGCGrantAccountRolledItems.Item items = 2; + optional uint32 audit_action = 3; + optional uint64 audit_data = 4; } message CMsgGCToGCBetaDeleteItems { - optional uint32 account_id = 1; - repeated uint64 item_ids = 2; - repeated uint32 item_defs = 3; + optional uint32 account_id = 1; + repeated uint64 item_ids = 2; + repeated uint32 item_defs = 3; } message CMsgGCToGCGrantSelfMadeItemToAccount { - optional uint32 item_def_index = 1; - optional uint32 accountid = 2; + optional uint32 item_def_index = 1; + optional uint32 accountid = 2; } message CMsgGCToGCUnlockCrate { - optional uint32 account_id = 1; - optional uint64 crate_item_id = 2; - optional uint64 key_item_id = 3; + optional uint32 account_id = 1; + optional uint64 crate_item_id = 2; + optional uint64 key_item_id = 3; } message CMsgUseItem { - optional uint64 item_id = 1; - optional fixed64 target_steam_id = 2; - repeated uint32 gift__potential_targets = 3; - optional uint32 duel__class_lock = 4; - optional uint64 initiator_steam_id = 5; - optional bool itempack__ack_immediately = 6; + optional uint64 item_id = 1; + optional fixed64 target_steam_id = 2; + repeated uint32 gift__potential_targets = 3; + optional uint32 duel__class_lock = 4; + optional uint64 initiator_steam_id = 5; + optional bool itempack__ack_immediately = 6; } message CMsgServerUseItem { - optional uint32 initiator_account_id = 1; - optional .CMsgUseItem use_item_msg = 2; + optional uint32 initiator_account_id = 1; + optional .CMsgUseItem use_item_msg = 2; } message CMsgUseMultipleItems { - repeated uint64 item_ids = 1; + repeated uint64 item_ids = 1; } message CGCStoreRechargeRedirect_LineItem { - optional uint32 item_def_id = 1; - optional uint32 quantity = 2; + optional uint32 item_def_id = 1; + optional uint32 quantity = 2; } message CMsgGCEconSQLWorkItemEmbeddedRollbackData { - optional uint32 account_id = 1; - optional uint64 deleted_item_id = 2; - optional uint32 old_audit_action = 3; - optional uint32 new_audit_action = 4; - optional uint32 expected_audit_action = 5; + optional uint32 account_id = 1; + optional uint64 deleted_item_id = 2; + optional uint32 old_audit_action = 3; + optional uint32 new_audit_action = 4; + optional uint32 expected_audit_action = 5; } message CMsgCraftStatue { - optional uint32 heroid = 1; - optional string sequencename = 2; - optional float cycle = 3; - optional string description = 4; - optional uint32 pedestal_itemdef = 5; - optional uint64 toolid = 6; + optional uint32 heroid = 1; + optional string sequencename = 2; + optional float cycle = 3; + optional string description = 4; + optional uint32 pedestal_itemdef = 5; + optional uint64 toolid = 6; } message CMsgRedeemCode { - optional string code = 1; + optional string code = 1; } message CMsgRedeemCodeResponse { - enum EResultCode { - k_Succeeded = 0; - k_Failed_CodeNotFound = 1; - k_Failed_CodeAlreadyUsed = 2; - k_Failed_OtherError = 3; - } + enum EResultCode { + k_Succeeded = 0; + k_Failed_CodeNotFound = 1; + k_Failed_CodeAlreadyUsed = 2; + k_Failed_OtherError = 3; + } - optional uint32 response = 1; - optional uint64 item_id = 2; + optional uint32 response = 1; + optional uint64 item_id = 2; } message CMsgDevNewItemRequest { - optional string item_def_name = 3; - optional string loot_list_name = 4; - repeated string attr_def_name = 5; - repeated string attr_value = 6; - optional uint32 item_quality = 7; + optional string item_def_name = 3; + optional string loot_list_name = 4; + repeated string attr_def_name = 5; + repeated string attr_value = 6; + optional uint32 item_quality = 7; } message CMsgDevNewItemRequestResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgDevUnlockAllItemStyles { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgDevUnlockAllItemStylesResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCGetAccountSubscriptionItem { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgGCGetAccountSubscriptionItemResponse { - optional uint32 def_index = 1; + optional uint32 def_index = 1; } message CMsgGCAddGiftItem { - optional uint32 gifter_account_id = 1; - optional uint32 receiver_account_id = 2; - optional .CSOEconItem wrapped_item = 3; - optional string gift_message = 4; - optional bool is_wallet_cash_trusted = 5; + optional uint32 gifter_account_id = 1; + optional uint32 receiver_account_id = 2; + optional .CSOEconItem wrapped_item = 3; + optional string gift_message = 4; + optional bool is_wallet_cash_trusted = 5; } message CMsgClientToGCWrapAndDeliverGift { - optional uint64 item_id = 1; - optional uint32 give_to_account_id = 2; - optional string gift_message = 3; + optional uint64 item_id = 1; + optional uint32 give_to_account_id = 2; + optional string gift_message = 3; } message CMsgSQLGCToGCRevokeUntrustedGift { - optional uint32 account_id = 1; - optional uint64 sent_item_id = 4; + optional uint32 account_id = 1; + optional uint64 sent_item_id = 4; } message CMsgClientToGCWrapAndDeliverGiftResponse { - optional .EGCMsgResponse response = 1 [default = k_EGCMsgResponseOK]; - optional uint32 gifting_charge_uses = 2; - optional int32 gifting_charge_max = 3; - optional uint32 gifting_uses = 4; - optional int32 gifting_max = 5; - optional uint32 gifting_window_hours = 6; - optional .EGCMsgInitiateTradeResponse trade_restriction = 7 [default = k_EGCMsgInitiateTradeResponse_Accepted]; + optional .EGCMsgResponse response = 1 [default = k_EGCMsgResponseOK]; + optional uint32 gifting_charge_uses = 2; + optional int32 gifting_charge_max = 3; + optional uint32 gifting_uses = 4; + optional int32 gifting_max = 5; + optional uint32 gifting_window_hours = 6; + optional .EGCMsgInitiateTradeResponse trade_restriction = 7 [default = k_EGCMsgInitiateTradeResponse_Accepted]; } message CMsgClientToGCUnwrapGift { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgClientToGCGetGiftPermissions { } message CMsgClientToGCGetGiftPermissionsResponse { - message FriendPermission { - optional uint32 account_id = 1; - optional .EGCMsgInitiateTradeResponse permission = 2 [default = k_EGCMsgInitiateTradeResponse_Accepted]; - } + message FriendPermission { + optional uint32 account_id = 1; + optional .EGCMsgInitiateTradeResponse permission = 2 [default = k_EGCMsgInitiateTradeResponse_Accepted]; + } - optional bool is_unlimited = 1; - optional bool has_two_factor = 3; - optional .EGCMsgInitiateTradeResponse sender_permission = 6 [default = k_EGCMsgInitiateTradeResponse_Accepted]; - optional uint32 friendship_age_requirement = 7; - optional uint32 friendship_age_requirement_two_factor = 8; - repeated .CMsgClientToGCGetGiftPermissionsResponse.FriendPermission friend_permissions = 9; + optional bool is_unlimited = 1; + optional bool has_two_factor = 3; + optional .EGCMsgInitiateTradeResponse sender_permission = 6 [default = k_EGCMsgInitiateTradeResponse_Accepted]; + optional uint32 friendship_age_requirement = 7; + optional uint32 friendship_age_requirement_two_factor = 8; + repeated .CMsgClientToGCGetGiftPermissionsResponse.FriendPermission friend_permissions = 9; } message CMsgClientToGCUnpackBundle { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgClientToGCUnpackBundleResponse { - enum EUnpackBundle { - k_UnpackBundle_Succeeded = 0; - k_UnpackBundle_Failed_ItemIsNotBundle = 1; - k_UnpackBundle_Failed_UnableToCreateContainedItem = 2; - k_UnpackBundle_Failed_SOCacheError = 3; - k_UnpackBundle_Failed_ItemIsInvalid = 4; - k_UnpackBundle_Failed_BadItemQuantity = 5; - k_UnpackBundle_Failed_UnableToDeleteItem = 6; - } + enum EUnpackBundle { + k_UnpackBundle_Succeeded = 0; + k_UnpackBundle_Failed_ItemIsNotBundle = 1; + k_UnpackBundle_Failed_UnableToCreateContainedItem = 2; + k_UnpackBundle_Failed_SOCacheError = 3; + k_UnpackBundle_Failed_ItemIsInvalid = 4; + k_UnpackBundle_Failed_BadItemQuantity = 5; + k_UnpackBundle_Failed_UnableToDeleteItem = 6; + } - repeated uint64 unpacked_item_ids = 1; - optional .CMsgClientToGCUnpackBundleResponse.EUnpackBundle response = 2 [default = k_UnpackBundle_Succeeded]; - repeated uint32 unpacked_item_def_indexes = 3; + repeated uint64 unpacked_item_ids = 1; + optional .CMsgClientToGCUnpackBundleResponse.EUnpackBundle response = 2 [default = k_UnpackBundle_Succeeded]; + repeated uint32 unpacked_item_def_indexes = 3; } message CMsgClientToGCPackBundle { - repeated uint64 item_ids = 1; - optional uint32 bundle_item_def_index = 2; + repeated uint64 item_ids = 1; + optional uint32 bundle_item_def_index = 2; } message CMsgClientToGCPackBundleResponse { - enum EPackBundle { - k_PackBundle_Succeeded = 0; - k_PackBundle_Failed_InternalError = 1; - k_PackBundle_Failed_ItemIsNotBundle = 2; - k_PackBundle_Failed_SOCacheError = 3; - k_PackBundle_Failed_ItemIsInvalid = 4; - k_PackBundle_Failed_BadItemQuantity = 5; - k_PackBundle_Failed_UnableToDeleteItem = 6; - k_PackBundle_Failed_BundleCannotBePacked = 7; - k_PackBundle_Failed_ItemIsUntradeable = 8; - k_PackBundle_Failed_ItemIsEquipped = 9; - k_PackBundle_Failed_ItemHasGems = 10; - k_PackBundle_Failed_ItemMixedQuality = 11; - k_PackBundle_Failed_ItemInvalidQuality = 12; - k_PackBundle_Failed_ItemIsNonEconomy = 13; - k_PackBundle_Failed_Disabled = 14; - } - - optional uint64 item_id = 1; - optional .CMsgClientToGCPackBundleResponse.EPackBundle response = 2 [default = k_PackBundle_Succeeded]; + enum EPackBundle { + k_PackBundle_Succeeded = 0; + k_PackBundle_Failed_InternalError = 1; + k_PackBundle_Failed_ItemIsNotBundle = 2; + k_PackBundle_Failed_SOCacheError = 3; + k_PackBundle_Failed_ItemIsInvalid = 4; + k_PackBundle_Failed_BadItemQuantity = 5; + k_PackBundle_Failed_UnableToDeleteItem = 6; + k_PackBundle_Failed_BundleCannotBePacked = 7; + k_PackBundle_Failed_ItemIsUntradeable = 8; + k_PackBundle_Failed_ItemIsEquipped = 9; + k_PackBundle_Failed_ItemHasGems = 10; + k_PackBundle_Failed_ItemMixedQuality = 11; + k_PackBundle_Failed_ItemInvalidQuality = 12; + k_PackBundle_Failed_ItemIsNonEconomy = 13; + k_PackBundle_Failed_Disabled = 14; + } + + optional uint64 item_id = 1; + optional .CMsgClientToGCPackBundleResponse.EPackBundle response = 2 [default = k_PackBundle_Succeeded]; } message CMsgGCToClientStoreTransactionCompleted { - optional uint64 txn_id = 1; - repeated uint64 item_ids = 2; + optional uint64 txn_id = 1; + repeated uint64 item_ids = 2; } message CMsgClientToGCEquipItems { - repeated .CMsgAdjustItemEquippedState equips = 1; + repeated .CMsgAdjustItemEquippedState equips = 1; } message CMsgClientToGCEquipItemsResponse { - optional fixed64 so_cache_version_id = 1; + optional fixed64 so_cache_version_id = 1; } message CMsgClientToGCSetItemStyle { - optional uint64 item_id = 1; - optional uint32 style_index = 2 [default = 255]; + optional uint64 item_id = 1; + optional uint32 style_index = 2 [default = 255]; } message CMsgClientToGCSetItemStyleResponse { - enum ESetStyle { - k_SetStyle_Succeeded = 0; - k_SetStyle_Failed = 1; - k_SetStyle_Failed_StyleIsLocked = 2; - } + enum ESetStyle { + k_SetStyle_Succeeded = 0; + k_SetStyle_Failed = 1; + k_SetStyle_Failed_StyleIsLocked = 2; + } - optional .CMsgClientToGCSetItemStyleResponse.ESetStyle response = 1 [default = k_SetStyle_Succeeded]; + optional .CMsgClientToGCSetItemStyleResponse.ESetStyle response = 1 [default = k_SetStyle_Succeeded]; } message CMsgClientToGCUnlockItemStyle { - optional uint64 item_to_unlock = 1; - optional uint32 style_index = 2 [default = 255]; - repeated uint64 consumable_item_ids = 3; + optional uint64 item_to_unlock = 1; + optional uint32 style_index = 2 [default = 255]; + repeated uint64 consumable_item_ids = 3; } message CMsgClientToGCUnlockItemStyleResponse { - enum EUnlockStyle { - k_UnlockStyle_Succeeded = 0; - k_UnlockStyle_Failed_PreReq = 1; - k_UnlockStyle_Failed_CantAfford = 2; - k_UnlockStyle_Failed_CantCommit = 3; - k_UnlockStyle_Failed_CantLockCache = 4; - k_UnlockStyle_Failed_CantAffordAttrib = 5; - k_UnlockStyle_Failed_CantAffordGem = 6; - k_UnlockStyle_Failed_NoCompendiumLevel = 7; - k_UnlockStyle_Failed_AlreadyUnlocked = 8; - k_UnlockStyle_Failed_OtherError = 9; - k_UnlockStyle_Failed_ItemIsInvalid = 10; - k_UnlockStyle_Failed_ToolIsInvalid = 11; - } - - optional .CMsgClientToGCUnlockItemStyleResponse.EUnlockStyle response = 1 [default = k_UnlockStyle_Succeeded]; - optional uint64 item_id = 2; - optional uint32 style_index = 3 [default = 255]; - optional uint32 style_prereq = 4 [default = 255]; + enum EUnlockStyle { + k_UnlockStyle_Succeeded = 0; + k_UnlockStyle_Failed_PreReq = 1; + k_UnlockStyle_Failed_CantAfford = 2; + k_UnlockStyle_Failed_CantCommit = 3; + k_UnlockStyle_Failed_CantLockCache = 4; + k_UnlockStyle_Failed_CantAffordAttrib = 5; + k_UnlockStyle_Failed_CantAffordGem = 6; + k_UnlockStyle_Failed_NoCompendiumLevel = 7; + k_UnlockStyle_Failed_AlreadyUnlocked = 8; + k_UnlockStyle_Failed_OtherError = 9; + k_UnlockStyle_Failed_ItemIsInvalid = 10; + k_UnlockStyle_Failed_ToolIsInvalid = 11; + } + + optional .CMsgClientToGCUnlockItemStyleResponse.EUnlockStyle response = 1 [default = k_UnlockStyle_Succeeded]; + optional uint64 item_id = 2; + optional uint32 style_index = 3 [default = 255]; + optional uint32 style_prereq = 4 [default = 255]; } message CMsgClientToGCSetItemInventoryCategory { - repeated uint64 item_ids = 1; - optional uint32 set_to_value = 2; - optional uint32 remove_categories = 3; - optional uint32 add_categories = 4; + repeated uint64 item_ids = 1; + optional uint32 set_to_value = 2; + optional uint32 remove_categories = 3; + optional uint32 add_categories = 4; } message CMsgClientToGCUnlockCrate { - optional uint64 crate_item_id = 1; - optional uint64 key_item_id = 2; + optional uint64 crate_item_id = 1; + optional uint64 key_item_id = 2; } message CMsgClientToGCUnlockCrateResponse { - message Item { - optional uint64 item_id = 1; - optional uint32 def_index = 2; - } + message Item { + optional uint64 item_id = 1; + optional uint32 def_index = 2; + } - optional .EGCMsgResponse result = 1 [default = k_EGCMsgResponseOK]; - repeated .CMsgClientToGCUnlockCrateResponse.Item granted_items = 2; + optional .EGCMsgResponse result = 1 [default = k_EGCMsgResponseOK]; + repeated .CMsgClientToGCUnlockCrateResponse.Item granted_items = 2; } message CMsgClientToGCRemoveItemAttribute { - optional uint64 item_id = 1; + optional uint64 item_id = 1; } message CMsgClientToGCRemoveItemAttributeResponse { - enum ERemoveItemAttribute { - k_RemoveItemAttribute_Succeeded = 0; - k_RemoveItemAttribute_Failed = 1; - k_RemoveItemAttribute_Failed_ItemIsInvalid = 2; - k_RemoveItemAttribute_Failed_AttributeCannotBeRemoved = 3; - k_RemoveItemAttribute_Failed_AttributeDoesntExist = 4; - } + enum ERemoveItemAttribute { + k_RemoveItemAttribute_Succeeded = 0; + k_RemoveItemAttribute_Failed = 1; + k_RemoveItemAttribute_Failed_ItemIsInvalid = 2; + k_RemoveItemAttribute_Failed_AttributeCannotBeRemoved = 3; + k_RemoveItemAttribute_Failed_AttributeDoesntExist = 4; + } - optional .CMsgClientToGCRemoveItemAttributeResponse.ERemoveItemAttribute response = 1 [default = k_RemoveItemAttribute_Succeeded]; - optional uint64 item_id = 2; + optional .CMsgClientToGCRemoveItemAttributeResponse.ERemoveItemAttribute response = 1 [default = k_RemoveItemAttribute_Succeeded]; + optional uint64 item_id = 2; } message CMsgClientToGCNameItem { - optional uint64 subject_item_id = 1; - optional uint64 tool_item_id = 2; - optional string name = 3; + optional uint64 subject_item_id = 1; + optional uint64 tool_item_id = 2; + optional string name = 3; } message CMsgClientToGCNameItemResponse { - enum ENameItem { - k_NameItem_Succeeded = 0; - k_NameItem_Failed = 1; - k_NameItem_Failed_ToolIsInvalid = 2; - k_NameItem_Failed_ItemIsInvalid = 3; - k_NameItem_Failed_NameIsInvalid = 4; - } + enum ENameItem { + k_NameItem_Succeeded = 0; + k_NameItem_Failed = 1; + k_NameItem_Failed_ToolIsInvalid = 2; + k_NameItem_Failed_ItemIsInvalid = 3; + k_NameItem_Failed_NameIsInvalid = 4; + } - optional .CMsgClientToGCNameItemResponse.ENameItem response = 1 [default = k_NameItem_Succeeded]; - optional uint64 item_id = 2; + optional .CMsgClientToGCNameItemResponse.ENameItem response = 1 [default = k_NameItem_Succeeded]; + optional uint64 item_id = 2; } message CMsgGCSetItemPosition { - optional uint64 item_id = 1; - optional uint32 new_position = 2; + optional uint64 item_id = 1; + optional uint32 new_position = 2; } message CAttribute_ItemDynamicRecipeComponent { - optional uint32 item_def = 1; - optional uint32 item_quality = 2; - optional uint32 item_flags = 3; - optional string attributes_string = 4; - optional uint32 item_count = 5; - optional uint32 items_fulfilled = 6; - optional uint32 item_rarity = 7; - optional string lootlist = 8; - optional uint64 fulfilled_item_id = 9; - optional uint32 associated_item_def = 10; + optional uint32 item_def = 1; + optional uint32 item_quality = 2; + optional uint32 item_flags = 3; + optional string attributes_string = 4; + optional uint32 item_count = 5; + optional uint32 items_fulfilled = 6; + optional uint32 item_rarity = 7; + optional string lootlist = 8; + optional uint64 fulfilled_item_id = 9; + optional uint32 associated_item_def = 10; } message CProtoItemSocket { - optional uint64 item_id = 1; - optional uint32 attr_def_index = 2; - optional uint32 required_type = 3; - optional string required_hero = 4; - optional uint32 gem_def_index = 5; - optional bool not_tradable = 6; - optional string required_item_slot = 7; + optional uint64 item_id = 1; + optional uint32 attr_def_index = 2; + optional uint32 required_type = 3; + optional string required_hero = 4; + optional uint32 gem_def_index = 5; + optional bool not_tradable = 6; + optional string required_item_slot = 7; } message CProtoItemSocket_Empty { - optional .CProtoItemSocket socket = 1; + optional .CProtoItemSocket socket = 1; } message CProtoItemSocket_Effect { - optional .CProtoItemSocket socket = 1; - optional uint32 effect = 2; + optional .CProtoItemSocket socket = 1; + optional uint32 effect = 2; } message CProtoItemSocket_Color { - optional .CProtoItemSocket socket = 1; - optional uint32 red = 2; - optional uint32 green = 3; - optional uint32 blue = 4; + optional .CProtoItemSocket socket = 1; + optional uint32 red = 2; + optional uint32 green = 3; + optional uint32 blue = 4; } message CProtoItemSocket_Strange { - optional .CProtoItemSocket socket = 1; - optional uint32 strange_type = 2; - optional uint32 strange_value = 3; + optional .CProtoItemSocket socket = 1; + optional uint32 strange_type = 2; + optional uint32 strange_value = 3; } message CProtoItemSocket_Strange_DESERIALIZE_FROM_STRING_ONLY { - optional .CProtoItemSocket socket = 1; - optional uint32 strange_type = 2; - optional uint32 strange_value = 3; - optional uint32 ability_effect = 4; + optional .CProtoItemSocket socket = 1; + optional uint32 strange_type = 2; + optional uint32 strange_value = 3; + optional uint32 ability_effect = 4; } message CProtoItemSocket_Spectator { - optional .CProtoItemSocket socket = 1; - optional uint32 games_viewed = 2; - optional uint32 corporation_id = 3; - optional uint32 league_id = 4; - optional uint32 team_id = 5; + optional .CProtoItemSocket socket = 1; + optional uint32 games_viewed = 2; + optional uint32 corporation_id = 3; + optional uint32 league_id = 4; + optional uint32 team_id = 5; } message CProtoItemSocket_AssetModifier { - optional .CProtoItemSocket socket = 1; - optional uint32 asset_modifier = 2; + optional .CProtoItemSocket socket = 1; + optional uint32 asset_modifier = 2; } message CProtoItemSocket_AssetModifier_DESERIALIZE_FROM_STRING_ONLY { - optional .CProtoItemSocket socket = 1; - optional uint32 asset_modifier = 2; - optional uint32 anim_modifier = 3; - optional uint32 ability_effect = 4; + optional .CProtoItemSocket socket = 1; + optional uint32 asset_modifier = 2; + optional uint32 anim_modifier = 3; + optional uint32 ability_effect = 4; } message CProtoItemSocket_Autograph { - optional .CProtoItemSocket socket = 1; - optional string autograph = 2; - optional uint32 autograph_id = 3; - optional uint32 autograph_score = 4; + optional .CProtoItemSocket socket = 1; + optional string autograph = 2; + optional uint32 autograph_id = 3; + optional uint32 autograph_score = 4; } message CProtoItemSocket_StaticVisuals { - optional .CProtoItemSocket socket = 1; + optional .CProtoItemSocket socket = 1; } message CAttribute_String { - optional string value = 1; + optional string value = 1; } message CWorkshop_GetItemDailyRevenue_Request { - optional uint32 appid = 1; - optional uint32 item_id = 2; - optional uint32 date_start = 3; - optional uint32 date_end = 4; + optional uint32 appid = 1; + optional uint32 item_id = 2; + optional uint32 date_start = 3; + optional uint32 date_end = 4; } message CWorkshop_GetItemDailyRevenue_Response { - message CountryDailyRevenue { - optional string country_code = 1; - optional uint32 date = 2; - optional int64 revenue_usd = 3; - optional int32 units = 4; - } + message CountryDailyRevenue { + optional string country_code = 1; + optional uint32 date = 2; + optional int64 revenue_usd = 3; + optional int32 units = 4; + } - repeated .CWorkshop_GetItemDailyRevenue_Response.CountryDailyRevenue country_revenue = 1; + repeated .CWorkshop_GetItemDailyRevenue_Response.CountryDailyRevenue country_revenue = 1; } message CWorkshop_GetPackageDailyRevenue_Request { - optional uint32 packageid = 1; - optional uint32 date_start = 2; - optional uint32 date_end = 3; + optional uint32 packageid = 1; + optional uint32 date_start = 2; + optional uint32 date_end = 3; } message CWorkshop_GetPackageDailyRevenue_Response { - message CountryDailyRevenue { - optional string country_code = 1; - optional uint32 date = 2; - optional int64 revenue_usd = 3; - optional int32 units = 4; - } + message CountryDailyRevenue { + optional string country_code = 1; + optional uint32 date = 2; + optional int64 revenue_usd = 3; + optional int32 units = 4; + } - repeated .CWorkshop_GetPackageDailyRevenue_Response.CountryDailyRevenue country_revenue = 1; + repeated .CWorkshop_GetPackageDailyRevenue_Response.CountryDailyRevenue country_revenue = 1; } message CMsgSQLGCToGCGrantBackpackSlots { - optional uint32 account_id = 1; - optional uint32 add_slots = 2; + optional uint32 account_id = 1; + optional uint32 add_slots = 2; } message CMsgClientToGCLookupAccountName { - optional uint32 account_id = 1; + optional uint32 account_id = 1; } message CMsgClientToGCLookupAccountNameResponse { - optional uint32 account_id = 1; - optional string account_name = 2; + optional uint32 account_id = 1; + optional string account_name = 2; } message CMsgClientToGCCreateStaticRecipe { - message Item { - optional uint64 item_id = 1; - optional uint32 slot_id = 2; - } + message Item { + optional uint64 item_id = 1; + optional uint32 slot_id = 2; + } - repeated .CMsgClientToGCCreateStaticRecipe.Item items = 1; - optional uint32 recipe_def_index = 2; + repeated .CMsgClientToGCCreateStaticRecipe.Item items = 1; + optional uint32 recipe_def_index = 2; } message CMsgClientToGCCreateStaticRecipeResponse { - message OutputItem { - optional uint32 def_index = 1; - optional uint64 item_id = 2; - optional uint32 slot_id = 3; - } - - message InputError { - optional uint32 slot_id = 1; - optional .CMsgClientToGCCreateStaticRecipeResponse.EResponse error = 2 [default = eResponse_Success]; - } - - message AdditionalOutput { - optional uint32 slot_id = 1; - optional uint64 value = 2; - } - - enum EResponse { - eResponse_Success = 0; - eResponse_OfferingDisabled = 1; - eResponse_InvalidItems = 2; - eResponse_InternalError = 3; - eResponse_MissingLeague = 4; - eResponse_MissingEvent = 5; - } - - optional .CMsgClientToGCCreateStaticRecipeResponse.EResponse response = 1 [default = eResponse_Success]; - repeated .CMsgClientToGCCreateStaticRecipeResponse.OutputItem output_items = 2; - repeated .CMsgClientToGCCreateStaticRecipeResponse.InputError input_errors = 3; - repeated .CMsgClientToGCCreateStaticRecipeResponse.AdditionalOutput additional_outputs = 4; + message OutputItem { + optional uint32 def_index = 1; + optional uint64 item_id = 2; + optional uint32 slot_id = 3; + } + + message InputError { + optional uint32 slot_id = 1; + optional .CMsgClientToGCCreateStaticRecipeResponse.EResponse error = 2 [default = eResponse_Success]; + } + + message AdditionalOutput { + optional uint32 slot_id = 1; + optional uint64 value = 2; + } + + enum EResponse { + eResponse_Success = 0; + eResponse_OfferingDisabled = 1; + eResponse_InvalidItems = 2; + eResponse_InternalError = 3; + eResponse_MissingLeague = 4; + eResponse_MissingEvent = 5; + } + + optional .CMsgClientToGCCreateStaticRecipeResponse.EResponse response = 1 [default = eResponse_Success]; + repeated .CMsgClientToGCCreateStaticRecipeResponse.OutputItem output_items = 2; + repeated .CMsgClientToGCCreateStaticRecipeResponse.InputError input_errors = 3; + repeated .CMsgClientToGCCreateStaticRecipeResponse.AdditionalOutput additional_outputs = 4; } message CMsgProcessTransactionOrder { - message Item { - optional uint32 item_def_index = 1; - optional uint32 item_price = 2; - optional uint32 quantity = 3; - optional string category_desc = 4; - optional uint32 store_purchase_type = 5; - optional uint64 source_reference_id = 6; - optional int32 parent_stack_index = 7; - optional bool default_price = 8; - optional bool is_user_facing = 9; - optional int32 price_index = 11; - } - - optional uint64 txn_id = 1; - optional uint64 steam_txn_id = 2; - optional uint64 partner_txn_id = 3; - optional fixed64 steam_id = 4; - optional uint32 time_stamp = 5; - optional uint64 watermark = 6; - optional int32 purchase_report_status = 7; - optional uint32 currency = 8; - repeated .CMsgProcessTransactionOrder.Item items = 9; + message Item { + optional uint32 item_def_index = 1; + optional uint32 item_price = 2; + optional uint32 quantity = 3; + optional string category_desc = 4; + optional uint32 store_purchase_type = 5; + optional uint64 source_reference_id = 6; + optional int32 parent_stack_index = 7; + optional bool default_price = 8; + optional bool is_user_facing = 9; + optional int32 price_index = 11; + } + + optional uint64 txn_id = 1; + optional uint64 steam_txn_id = 2; + optional uint64 partner_txn_id = 3; + optional fixed64 steam_id = 4; + optional uint32 time_stamp = 5; + optional uint64 watermark = 6; + optional int32 purchase_report_status = 7; + optional uint32 currency = 8; + repeated .CMsgProcessTransactionOrder.Item items = 9; } message CMsgGCToGCStoreProcessCDKeyTransaction { - optional .CMsgProcessTransactionOrder order = 1; - optional uint32 reason_code = 2; - optional uint32 partner = 3; + optional .CMsgProcessTransactionOrder order = 1; + optional uint32 reason_code = 2; + optional uint32 partner = 3; } message CMsgGCToGCStoreProcessCDKeyTransactionResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCToGCStoreProcessSettlement { - optional .CMsgProcessTransactionOrder order = 1; + optional .CMsgProcessTransactionOrder order = 1; } message CMsgGCToGCStoreProcessSettlementResponse { - optional bool success = 1; + optional bool success = 1; } message CMsgGCToGCBroadcastConsoleCommand { - optional string con_command = 1; - optional bool report_output = 2; - optional int32 sending_gc = 3 [default = -1]; - optional string output_initiator = 4; - optional string sender_source = 5; + optional string con_command = 1; + optional bool report_output = 2; + optional int32 sending_gc = 3 [default = -1]; + optional string output_initiator = 4; + optional string sender_source = 5; } message CMsgGCToGCConsoleOutput { - message OutputLine { - optional string text = 1; - optional uint32 spew_level = 2; - } + message OutputLine { + optional string text = 1; + optional uint32 spew_level = 2; + } - optional string initiator = 1; - optional int32 sending_gc = 2 [default = -1]; - repeated .CMsgGCToGCConsoleOutput.OutputLine msgs = 3; - optional bool is_last_for_source_job = 4; + optional string initiator = 1; + optional int32 sending_gc = 2 [default = -1]; + repeated .CMsgGCToGCConsoleOutput.OutputLine msgs = 3; + optional bool is_last_for_source_job = 4; } message CMsgItemAges { - message MaxItemIDTimestamp { - optional uint32 timestamp = 1; - optional uint64 max_item_id = 2; - } + message MaxItemIDTimestamp { + optional uint32 timestamp = 1; + optional uint64 max_item_id = 2; + } - repeated .CMsgItemAges.MaxItemIDTimestamp max_item_id_timestamps = 1; + repeated .CMsgItemAges.MaxItemIDTimestamp max_item_id_timestamps = 1; } message CMsgGCToGCInternalTestMsg { - optional int32 sending_gc = 1 [default = -1]; - optional fixed64 sender_id = 2; - optional uint32 context = 3; - optional uint32 message_id = 4; - optional bytes message_body = 5; - optional fixed64 job_id_source = 6; - optional fixed64 job_id_target = 7; + optional int32 sending_gc = 1 [default = -1]; + optional fixed64 sender_id = 2; + optional uint32 context = 3; + optional uint32 message_id = 4; + optional bytes message_body = 5; + optional fixed64 job_id_source = 6; + optional fixed64 job_id_target = 7; } message CMsgGCToGCClientServerVersionsUpdated { - optional uint32 client_min_allowed_version = 1; - optional uint32 client_active_version = 2; - optional uint32 server_active_version = 3; - optional uint32 server_deployed_version = 4; - optional uint32 what_changed = 5; + optional uint32 client_min_allowed_version = 1; + optional uint32 client_active_version = 2; + optional uint32 server_active_version = 3; + optional uint32 server_deployed_version = 4; + optional uint32 what_changed = 5; } message CMsgGCToGCBroadcastMessageFromSub { - optional uint32 msg_id = 1; - optional bytes serialized_msg = 2; - repeated uint32 account_id_list = 3 [packed = true]; - repeated fixed64 steam_id_list = 4 [packed = true]; + optional uint32 msg_id = 1; + optional bytes serialized_msg = 2; + repeated uint32 account_id_list = 3 [packed = true]; + repeated fixed64 steam_id_list = 4 [packed = true]; } message CMsgGCToClientCurrencyPricePoints { - message Currency { - optional uint32 currency_id = 1; - repeated uint64 currency_price = 2 [packed = true]; - } + message Currency { + optional uint32 currency_id = 1; + repeated uint64 currency_price = 2 [packed = true]; + } - repeated uint64 price_key = 1 [packed = true]; - repeated .CMsgGCToClientCurrencyPricePoints.Currency currencies = 2; + repeated uint64 price_key = 1 [packed = true]; + repeated .CMsgGCToClientCurrencyPricePoints.Currency currencies = 2; } message CMsgBannedWordList { - optional uint32 version = 1; - repeated string banned_words = 2; + optional uint32 version = 1; + repeated string banned_words = 2; } message CMsgGCToGCFlushSteamInventoryCache { - message Key { - optional uint64 steamid = 1; - optional uint64 contextid = 2; - } + message Key { + optional uint64 steamid = 1; + optional uint64 contextid = 2; + } - repeated .CMsgGCToGCFlushSteamInventoryCache.Key keys = 1; + repeated .CMsgGCToGCFlushSteamInventoryCache.Key keys = 1; } message CMsgGCToGCUpdateSubscriptionItems { - optional uint32 account_id = 1; - optional bool always_notify = 2; + optional uint32 account_id = 1; + optional bool always_notify = 2; } message CMsgGCToGCSelfPing { - optional uint32 sample_id = 1; + optional uint32 sample_id = 1; } message CMsgGCToGCGetInfuxIntervalStats { } message CMsgGCToGCGetInfuxIntervalStatsResponse { - repeated fixed32 stat_ids = 1 [packed = true]; - repeated uint64 stat_total = 2 [packed = true]; - repeated uint32 stat_samples = 3 [packed = true]; - repeated uint32 stat_max = 4 [packed = true]; - optional uint32 sample_duration_ms = 5; + repeated fixed32 stat_ids = 1 [packed = true]; + repeated uint64 stat_total = 2 [packed = true]; + repeated uint32 stat_samples = 3 [packed = true]; + repeated uint32 stat_max = 4 [packed = true]; + optional uint32 sample_duration_ms = 5; } message CMsgGCToGCPurchaseSucceeded { } message CMsgClientToGCGetLimitedItemPurchaseQuantity { - optional uint32 item_def = 1; + optional uint32 item_def = 1; } message CMsgClientToGCGetLimitedItemPurchaseQuantityResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidItemDef = 5; - k_eItemDefNotLimited = 6; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidItemDef = 5; + k_eItemDefNotLimited = 6; + } - optional .CMsgClientToGCGetLimitedItemPurchaseQuantityResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint32 quantity_purchased = 2; + optional .CMsgClientToGCGetLimitedItemPurchaseQuantityResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint32 quantity_purchased = 2; } message CMsgClientToGCGetInFlightItemCharges { - optional uint32 item_def = 1; + optional uint32 item_def = 1; } message CMsgClientToGCGetInFlightItemChargesResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidItemDef = 5; - } + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidItemDef = 5; + } - optional .CMsgClientToGCGetInFlightItemChargesResponse.EResponse result = 1 [default = k_eInternalError]; - optional uint32 charges_in_flight = 2; + optional .CMsgClientToGCGetInFlightItemChargesResponse.EResponse result = 1 [default = k_eInternalError]; + optional uint32 charges_in_flight = 2; } message CMsgClientToGCPurchaseChargeCostItems { - message Item { - optional uint32 item_def_index = 1; - optional uint32 quantity = 2; - optional uint64 source_reference_id = 3; - optional int32 price_index = 4; - } + message Item { + optional uint32 item_def_index = 1; + optional uint32 quantity = 2; + optional uint64 source_reference_id = 3; + optional int32 price_index = 4; + } - repeated .CMsgClientToGCPurchaseChargeCostItems.Item items = 1; - optional uint32 currency = 2; + repeated .CMsgClientToGCPurchaseChargeCostItems.Item items = 1; + optional uint32 currency = 2; } message CMsgClientToGCPurchaseChargeCostItemsResponse { - enum EResponse { - k_eInternalError = 0; - k_eSuccess = 1; - k_eTooBusy = 2; - k_eDisabled = 3; - k_eTimeout = 4; - k_eInvalidParam = 5; - k_eInvalidPrice = 6; - k_eInsufficientCharges = 7; - k_eLimitedItem = 8; - k_eMissingPrereq = 10; - } - - optional .CMsgClientToGCPurchaseChargeCostItemsResponse.EResponse result = 1 [default = k_eInternalError]; - repeated uint64 item_ids = 2; + enum EResponse { + k_eInternalError = 0; + k_eSuccess = 1; + k_eTooBusy = 2; + k_eDisabled = 3; + k_eTimeout = 4; + k_eInvalidParam = 5; + k_eInvalidPrice = 6; + k_eInsufficientCharges = 7; + k_eLimitedItem = 8; + k_eMissingPrereq = 10; + } + + optional .CMsgClientToGCPurchaseChargeCostItemsResponse.EResponse result = 1 [default = k_eInternalError]; + repeated uint64 item_ids = 2; } message CMsgGCToClientInFlightChargesUpdated { - message ItemCharges { - optional uint32 item_def = 1; - optional uint32 charges_in_flight = 2; - } + message ItemCharges { + optional uint32 item_def = 1; + optional uint32 charges_in_flight = 2; + } - repeated .CMsgGCToClientInFlightChargesUpdated.ItemCharges in_flight_charges = 2; + repeated .CMsgGCToClientInFlightChargesUpdated.ItemCharges in_flight_charges = 2; } message CMsgClientToGCCancelUnfinalizedTransactions { - optional uint32 unused = 1; + optional uint32 unused = 1; } message CMsgClientToGCCancelUnfinalizedTransactionsResponse { - optional uint32 result = 1; + optional uint32 result = 1; } message CMsgGCToGCUpdateWelcomeMsg { - optional bool server = 1; - optional .CExtraMsgBlock new_msg = 2; - optional bool broadcast = 3; + optional bool server = 1; + optional .CExtraMsgBlock new_msg = 2; + optional bool broadcast = 3; +} + +message CMsgClientToGCRecycleMultipleItems { + message Item { + optional uint64 item_id = 1; + optional uint32 slot_id = 2; + optional uint32 recipe_def_index = 3; + } + + repeated .CMsgClientToGCRecycleMultipleItems.Item items = 1; +} + +message CMsgClientToGCRecycleMultipleItemsResponse { + repeated .CMsgClientToGCCreateStaticRecipeResponse responses = 1; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/network_connection.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/network_connection.proto index 7577085f..dd9e200c 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/network_connection.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/network_connection.proto @@ -6,131 +6,131 @@ option optimize_for = SPEED; option java_generic_services = false; extend .google.protobuf.EnumValueOptions { - optional string network_connection_token = 50500; - optional string network_connection_detail_token = 50501; - optional bool allowed_from_client = 50502 [default = true]; + optional string network_connection_token = 50500; + optional string network_connection_detail_token = 50501; + optional bool allowed_from_client = 50502 [default = true]; } enum ENetworkDisconnectionReason { - NETWORK_DISCONNECT_INVALID = 0; - NETWORK_DISCONNECT_SHUTDOWN = 1; - NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2 [(network_connection_token) = "#GameUI_Disconnect_User"]; - NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3 [(network_connection_token) = "#GameUI_Disconnect_Server"]; - NETWORK_DISCONNECT_LOST = 4 [(network_connection_token) = "#GameUI_Disconnect_ConnectionLost"]; - NETWORK_DISCONNECT_OVERFLOW = 5 [(network_connection_token) = "#GameUI_Disconnect_ConnectionOverflow"]; - NETWORK_DISCONNECT_STEAM_BANNED = 6 [(network_connection_token) = "#GameUI_Disconnect_SteamIDBanned"]; - NETWORK_DISCONNECT_STEAM_INUSE = 7 [(network_connection_token) = "#GameUI_Disconnect_SteamIDInUse"]; - NETWORK_DISCONNECT_STEAM_TICKET = 8 [(network_connection_token) = "#GameUI_Disconnect_SteamTicket"]; - NETWORK_DISCONNECT_STEAM_LOGON = 9 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; - NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; - NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; - NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; - NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC", (allowed_from_client) = false]; - NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14 [(network_connection_token) = "#GameUI_Disconnect_SteamInUse"]; - NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15 [(network_connection_token) = "#GameUI_Disconnect_SteamTimeOut"]; - NETWORK_DISCONNECT_STEAM_DROPPED = 16 [(network_connection_token) = "#GameUI_Disconnect_SteamDropped"]; - NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17 [(network_connection_token) = "#GameUI_Disconnect_SteamOwnership"]; - NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18 [(network_connection_token) = "#GameUI_Disconnect_ServerInfoOverflow"]; - NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19 [(network_connection_token) = "#GameUI_Disconnect_TickMessage"]; - NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20 [(network_connection_token) = "#GameUI_Disconnect_StringTableMessage"]; - NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21 [(network_connection_token) = "#GameUI_Disconnect_DeltaEntMessage"]; - NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22 [(network_connection_token) = "#GameUI_Disconnect_TempEntMessage"]; - NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23 [(network_connection_token) = "#GameUI_Disconnect_SoundsMessage"]; - NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24 [(network_connection_token) = "#GameUI_Disconnect_SnapshotOverflow"]; - NETWORK_DISCONNECT_SNAPSHOTERROR = 25 [(network_connection_token) = "#GameUI_Disconnect_SnapshotError"]; - NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26 [(network_connection_token) = "#GameUI_Disconnect_ReliableOverflow"]; - NETWORK_DISCONNECT_BADDELTATICK = 27 [(network_connection_token) = "#GameUI_Disconnect_BadClientDeltaTick"]; - NETWORK_DISCONNECT_NOMORESPLITS = 28 [(network_connection_token) = "#GameUI_Disconnect_NoMoreSplits"]; - NETWORK_DISCONNECT_TIMEDOUT = 29 [(network_connection_token) = "#GameUI_Disconnect_TimedOut"]; - NETWORK_DISCONNECT_DISCONNECTED = 30 [(network_connection_token) = "#GameUI_Disconnect_Disconnected"]; - NETWORK_DISCONNECT_LEAVINGSPLIT = 31 [(network_connection_token) = "#GameUI_Disconnect_LeavingSplit"]; - NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32 [(network_connection_token) = "#GameUI_Disconnect_DifferentClassTables"]; - NETWORK_DISCONNECT_BADRELAYPASSWORD = 33 [(network_connection_token) = "#GameUI_Disconnect_BadRelayPassword"]; - NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34 [(network_connection_token) = "#GameUI_Disconnect_BadSpectatorPassword"]; - NETWORK_DISCONNECT_HLTVRESTRICTED = 35 [(network_connection_token) = "#GameUI_Disconnect_HLTVRestricted"]; - NETWORK_DISCONNECT_NOSPECTATORS = 36 [(network_connection_token) = "#GameUI_Disconnect_NoSpectators"]; - NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37 [(network_connection_token) = "#GameUI_Disconnect_HLTVUnavailable"]; - NETWORK_DISCONNECT_HLTVSTOP = 38 [(network_connection_token) = "#GameUI_Disconnect_HLTVStop"]; - NETWORK_DISCONNECT_KICKED = 39 [(network_connection_token) = "#GameUI_Disconnect_Kicked"]; - NETWORK_DISCONNECT_BANADDED = 40 [(network_connection_token) = "#GameUI_Disconnect_BanAdded"]; - NETWORK_DISCONNECT_KICKBANADDED = 41 [(network_connection_token) = "#GameUI_Disconnect_KickBanAdded"]; - NETWORK_DISCONNECT_HLTVDIRECT = 42 [(network_connection_token) = "#GameUI_Disconnect_HLTVDirect"]; - NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43 [(network_connection_token) = "#GameUI_Disconnect_PureServer_ClientExtra"]; - NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44 [(network_connection_token) = "#GameUI_Disconnect_PureServer_Mismatch"]; - NETWORK_DISCONNECT_USERCMD = 45 [(network_connection_token) = "#GameUI_Disconnect_UserCmd"]; - NETWORK_DISCONNECT_REJECTED_BY_GAME = 46 [(network_connection_token) = "#GameUI_Disconnect_RejectedByGame"]; - NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR = 47 [(network_connection_token) = "#GameUI_Disconnect_MessageParseError"]; - NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR = 48 [(network_connection_token) = "#GameUI_Disconnect_InvalidMessageError"]; - NETWORK_DISCONNECT_BAD_SERVER_PASSWORD = 49 [(network_connection_token) = "#GameUI_Disconnect_BadServerPassword"]; - NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50; - NETWORK_DISCONNECT_CONNECTION_FAILURE = 51 [(network_connection_token) = "#GameUI_Disconnect_ConnectionFailure"]; - NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52 [(network_connection_token) = "#GameUI_Disconnect_NoPeerGroupHandlers"]; - NETWORK_DISCONNECT_RECONNECTION = 53; - NETWORK_DISCONNECT_LOOPSHUTDOWN = 54 [(network_connection_token) = "#GameUI_Disconnect_LoopShutdown"]; - NETWORK_DISCONNECT_LOOPDEACTIVATE = 55 [(network_connection_token) = "#GameUI_Disconnect_LoopDeactivate"]; - NETWORK_DISCONNECT_HOST_ENDGAME = 56 [(network_connection_token) = "#GameUI_Disconnect_Host_EndGame"]; - NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57 [(network_connection_token) = "#GameUI_Disconnect_LoopLevelLoadActivate"]; - NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58 [(network_connection_token) = "#GameUI_Disconnect_CreateServerFailed"]; - NETWORK_DISCONNECT_EXITING = 59 [(network_connection_token) = "#GameUI_Disconnect_ExitingEngine"]; - NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60 [(network_connection_token) = "#GameUI_Disconnect_Request_HSIdle"]; - NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61 [(network_connection_token) = "#GameUI_Disconnect_Request_HLTVRelay"]; - NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62 [(network_connection_token) = "#GameUI_ClientConsistencyFail"]; - NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63 [(network_connection_token) = "#GameUI_ClientUnableToCRCMap"]; - NETWORK_DISCONNECT_CLIENT_NO_MAP = 64 [(network_connection_token) = "#GameUI_ClientNoMap"]; - NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65 [(network_connection_token) = "#GameUI_ClientDifferentMap"]; - NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66 [(network_connection_token) = "#GameUI_ServerRequireSteams"]; - NETWORK_DISCONNECT_STEAM_DENY_MISC = 67 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_Misc"]; - NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_BadAntiCheat"]; - NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69 [(network_connection_token) = "#GameUI_Disconnect_ServerShutdown"]; - NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE = 71 [(network_connection_token) = "#GameUI_Disconnect_ReplayIncompatible"]; - NETWORK_DISCONNECT_CONNECT_REQUEST_TIMEDOUT = 72 [(network_connection_token) = "#GameUI_Disconnect_ConnectionTimedout"]; - NETWORK_DISCONNECT_SERVER_INCOMPATIBLE = 73 [(network_connection_token) = "#GameUI_Disconnect_ServerIncompatible"]; - NETWORK_DISCONNECT_LOCALPROBLEM_MANYRELAYS = 74 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_ManyRelays"]; - NETWORK_DISCONNECT_LOCALPROBLEM_HOSTEDSERVERPRIMARYRELAY = 75 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_HostedServerPrimaryRelay"]; - NETWORK_DISCONNECT_LOCALPROBLEM_NETWORKCONFIG = 76 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_NetworkConfig"]; - NETWORK_DISCONNECT_LOCALPROBLEM_OTHER = 77 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_Other"]; - NETWORK_DISCONNECT_REMOTE_TIMEOUT = 79 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Timeout"]; - NETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECTING = 80 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_TimeoutConnecting"]; - NETWORK_DISCONNECT_REMOTE_OTHER = 81 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Other"]; - NETWORK_DISCONNECT_REMOTE_BADCRYPT = 82 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCrypt"]; - NETWORK_DISCONNECT_REMOTE_CERTNOTTRUSTED = 83 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCert"]; - NETWORK_DISCONNECT_UNUSUAL = 84 [(network_connection_token) = "#GameUI_Disconnect_Unusual"]; - NETWORK_DISCONNECT_INTERNAL_ERROR = 85 [(network_connection_token) = "#GameUI_Disconnect_InternalError"]; - NETWORK_DISCONNECT_REJECT_BADCHALLENGE = 128 [(network_connection_token) = "#GameUI_ServerRejectBadChallenge"]; - NETWORK_DISCONNECT_REJECT_NOLOBBY = 129 [(network_connection_token) = "#GameUI_ServerNoLobby"]; - NETWORK_DISCONNECT_REJECT_BACKGROUND_MAP = 130 [(network_connection_token) = "#Valve_Reject_Background_Map"]; - NETWORK_DISCONNECT_REJECT_SINGLE_PLAYER = 131 [(network_connection_token) = "#Valve_Reject_Single_Player"]; - NETWORK_DISCONNECT_REJECT_HIDDEN_GAME = 132 [(network_connection_token) = "#Valve_Reject_Hidden_Game"]; - NETWORK_DISCONNECT_REJECT_LANRESTRICT = 133 [(network_connection_token) = "#GameUI_ServerRejectLANRestrict"]; - NETWORK_DISCONNECT_REJECT_BADPASSWORD = 134 [(network_connection_token) = "#GameUI_ServerRejectBadPassword"]; - NETWORK_DISCONNECT_REJECT_SERVERFULL = 135 [(network_connection_token) = "#GameUI_ServerRejectServerFull"]; - NETWORK_DISCONNECT_REJECT_INVALIDRESERVATION = 136 [(network_connection_token) = "#GameUI_ServerRejectInvalidReservation"]; - NETWORK_DISCONNECT_REJECT_FAILEDCHANNEL = 137 [(network_connection_token) = "#GameUI_ServerRejectFailedChannel"]; - NETWORK_DISCONNECT_REJECT_CONNECT_FROM_LOBBY = 138 [(network_connection_token) = "#Valve_Reject_Connect_From_Lobby"]; - NETWORK_DISCONNECT_REJECT_RESERVED_FOR_LOBBY = 139 [(network_connection_token) = "#Valve_Reject_Reserved_For_Lobby"]; - NETWORK_DISCONNECT_REJECT_INVALIDKEYLENGTH = 140 [(network_connection_token) = "#GameUI_ServerReject_InvalidKeyLength"]; - NETWORK_DISCONNECT_REJECT_OLDPROTOCOL = 141 [(network_connection_token) = "#GameUI_ServerRejectOldProtocol"]; - NETWORK_DISCONNECT_REJECT_NEWPROTOCOL = 142 [(network_connection_token) = "#GameUI_ServerRejectNewProtocol"]; - NETWORK_DISCONNECT_REJECT_INVALIDCONNECTION = 143 [(network_connection_token) = "#GameUI_ServerRejectInvalidConnection"]; - NETWORK_DISCONNECT_REJECT_INVALIDCERTLEN = 144 [(network_connection_token) = "#GameUI_ServerRejectInvalidCertLen"]; - NETWORK_DISCONNECT_REJECT_INVALIDSTEAMCERTLEN = 145 [(network_connection_token) = "#GameUI_ServerRejectInvalidSteamCertLen"]; - NETWORK_DISCONNECT_REJECT_STEAM = 146 [(network_connection_token) = "#GameUI_ServerRejectSteam"]; - NETWORK_DISCONNECT_REJECT_SERVERAUTHDISABLED = 147 [(network_connection_token) = "#GameUI_ServerAuthDisabled"]; - NETWORK_DISCONNECT_REJECT_SERVERCDKEYAUTHINVALID = 148 [(network_connection_token) = "#GameUI_ServerCDKeyAuthInvalid"]; - NETWORK_DISCONNECT_REJECT_BANNED = 149 [(network_connection_token) = "#GameUI_ServerRejectBanned"]; - NETWORK_DISCONNECT_KICKED_TEAMKILLING = 150 [(network_connection_token) = "#Player_DisconnectReason_TeamKilling"]; - NETWORK_DISCONNECT_KICKED_TK_START = 151 [(network_connection_token) = "#Player_DisconnectReason_TK_Start"]; - NETWORK_DISCONNECT_KICKED_UNTRUSTEDACCOUNT = 152 [(network_connection_token) = "#Player_DisconnectReason_UntrustedAccount"]; - NETWORK_DISCONNECT_KICKED_CONVICTEDACCOUNT = 153 [(network_connection_token) = "#Player_DisconnectReason_ConvictedAccount"]; - NETWORK_DISCONNECT_KICKED_COMPETITIVECOOLDOWN = 154 [(network_connection_token) = "#Player_DisconnectReason_CompetitiveCooldown"]; - NETWORK_DISCONNECT_KICKED_TEAMHURTING = 155 [(network_connection_token) = "#Player_DisconnectReason_TeamHurting"]; - NETWORK_DISCONNECT_KICKED_HOSTAGEKILLING = 156 [(network_connection_token) = "#Player_DisconnectReason_HostageKilling"]; - NETWORK_DISCONNECT_KICKED_VOTEDOFF = 157 [(network_connection_token) = "#Player_DisconnectReason_VotedOff"]; - NETWORK_DISCONNECT_KICKED_IDLE = 158 [(network_connection_token) = "#Player_DisconnectReason_Idle"]; - NETWORK_DISCONNECT_KICKED_SUICIDE = 159 [(network_connection_token) = "#Player_DisconnectReason_Suicide"]; - NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160 [(network_connection_token) = "#Player_DisconnectReason_NoSteamLogin"]; - NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161 [(network_connection_token) = "#Player_DisconnectReason_NoSteamTicket"]; - NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION = 162 [(network_connection_token) = "#Player_DisconnectReason_InputAutomation", (network_connection_detail_token) = "#Player_DisconnectReason_InputAutomation_Detail"]; - NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163 [(network_connection_token) = "#Player_DisconnectReason_VacNetAbnormalBehavior", (allowed_from_client) = false]; - NETWORK_DISCONNECT_KICKED_INSECURECLIENT = 164 [(network_connection_token) = "#Player_DisconnectReason_InsecureClient"]; + NETWORK_DISCONNECT_INVALID = 0; + NETWORK_DISCONNECT_SHUTDOWN = 1; + NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2 [(network_connection_token) = "#GameUI_Disconnect_User"]; + NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3 [(network_connection_token) = "#GameUI_Disconnect_Server"]; + NETWORK_DISCONNECT_LOST = 4 [(network_connection_token) = "#GameUI_Disconnect_ConnectionLost"]; + NETWORK_DISCONNECT_OVERFLOW = 5 [(network_connection_token) = "#GameUI_Disconnect_ConnectionOverflow"]; + NETWORK_DISCONNECT_STEAM_BANNED = 6 [(network_connection_token) = "#GameUI_Disconnect_SteamIDBanned"]; + NETWORK_DISCONNECT_STEAM_INUSE = 7 [(network_connection_token) = "#GameUI_Disconnect_SteamIDInUse"]; + NETWORK_DISCONNECT_STEAM_TICKET = 8 [(network_connection_token) = "#GameUI_Disconnect_SteamTicket"]; + NETWORK_DISCONNECT_STEAM_LOGON = 9 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; + NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; + NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; + NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; + NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC", (allowed_from_client) = false]; + NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14 [(network_connection_token) = "#GameUI_Disconnect_SteamInUse"]; + NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15 [(network_connection_token) = "#GameUI_Disconnect_SteamTimeOut"]; + NETWORK_DISCONNECT_STEAM_DROPPED = 16 [(network_connection_token) = "#GameUI_Disconnect_SteamDropped"]; + NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17 [(network_connection_token) = "#GameUI_Disconnect_SteamOwnership"]; + NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18 [(network_connection_token) = "#GameUI_Disconnect_ServerInfoOverflow"]; + NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19 [(network_connection_token) = "#GameUI_Disconnect_TickMessage"]; + NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20 [(network_connection_token) = "#GameUI_Disconnect_StringTableMessage"]; + NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21 [(network_connection_token) = "#GameUI_Disconnect_DeltaEntMessage"]; + NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22 [(network_connection_token) = "#GameUI_Disconnect_TempEntMessage"]; + NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23 [(network_connection_token) = "#GameUI_Disconnect_SoundsMessage"]; + NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24 [(network_connection_token) = "#GameUI_Disconnect_SnapshotOverflow"]; + NETWORK_DISCONNECT_SNAPSHOTERROR = 25 [(network_connection_token) = "#GameUI_Disconnect_SnapshotError"]; + NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26 [(network_connection_token) = "#GameUI_Disconnect_ReliableOverflow"]; + NETWORK_DISCONNECT_BADDELTATICK = 27 [(network_connection_token) = "#GameUI_Disconnect_BadClientDeltaTick"]; + NETWORK_DISCONNECT_NOMORESPLITS = 28 [(network_connection_token) = "#GameUI_Disconnect_NoMoreSplits"]; + NETWORK_DISCONNECT_TIMEDOUT = 29 [(network_connection_token) = "#GameUI_Disconnect_TimedOut"]; + NETWORK_DISCONNECT_DISCONNECTED = 30 [(network_connection_token) = "#GameUI_Disconnect_Disconnected"]; + NETWORK_DISCONNECT_LEAVINGSPLIT = 31 [(network_connection_token) = "#GameUI_Disconnect_LeavingSplit"]; + NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32 [(network_connection_token) = "#GameUI_Disconnect_DifferentClassTables"]; + NETWORK_DISCONNECT_BADRELAYPASSWORD = 33 [(network_connection_token) = "#GameUI_Disconnect_BadRelayPassword"]; + NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34 [(network_connection_token) = "#GameUI_Disconnect_BadSpectatorPassword"]; + NETWORK_DISCONNECT_HLTVRESTRICTED = 35 [(network_connection_token) = "#GameUI_Disconnect_HLTVRestricted"]; + NETWORK_DISCONNECT_NOSPECTATORS = 36 [(network_connection_token) = "#GameUI_Disconnect_NoSpectators"]; + NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37 [(network_connection_token) = "#GameUI_Disconnect_HLTVUnavailable"]; + NETWORK_DISCONNECT_HLTVSTOP = 38 [(network_connection_token) = "#GameUI_Disconnect_HLTVStop"]; + NETWORK_DISCONNECT_KICKED = 39 [(network_connection_token) = "#GameUI_Disconnect_Kicked"]; + NETWORK_DISCONNECT_BANADDED = 40 [(network_connection_token) = "#GameUI_Disconnect_BanAdded"]; + NETWORK_DISCONNECT_KICKBANADDED = 41 [(network_connection_token) = "#GameUI_Disconnect_KickBanAdded"]; + NETWORK_DISCONNECT_HLTVDIRECT = 42 [(network_connection_token) = "#GameUI_Disconnect_HLTVDirect"]; + NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43 [(network_connection_token) = "#GameUI_Disconnect_PureServer_ClientExtra"]; + NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44 [(network_connection_token) = "#GameUI_Disconnect_PureServer_Mismatch"]; + NETWORK_DISCONNECT_USERCMD = 45 [(network_connection_token) = "#GameUI_Disconnect_UserCmd"]; + NETWORK_DISCONNECT_REJECTED_BY_GAME = 46 [(network_connection_token) = "#GameUI_Disconnect_RejectedByGame"]; + NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR = 47 [(network_connection_token) = "#GameUI_Disconnect_MessageParseError"]; + NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR = 48 [(network_connection_token) = "#GameUI_Disconnect_InvalidMessageError"]; + NETWORK_DISCONNECT_BAD_SERVER_PASSWORD = 49 [(network_connection_token) = "#GameUI_Disconnect_BadServerPassword"]; + NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50; + NETWORK_DISCONNECT_CONNECTION_FAILURE = 51 [(network_connection_token) = "#GameUI_Disconnect_ConnectionFailure"]; + NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52 [(network_connection_token) = "#GameUI_Disconnect_NoPeerGroupHandlers"]; + NETWORK_DISCONNECT_RECONNECTION = 53; + NETWORK_DISCONNECT_LOOPSHUTDOWN = 54 [(network_connection_token) = "#GameUI_Disconnect_LoopShutdown"]; + NETWORK_DISCONNECT_LOOPDEACTIVATE = 55 [(network_connection_token) = "#GameUI_Disconnect_LoopDeactivate"]; + NETWORK_DISCONNECT_HOST_ENDGAME = 56 [(network_connection_token) = "#GameUI_Disconnect_Host_EndGame"]; + NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57 [(network_connection_token) = "#GameUI_Disconnect_LoopLevelLoadActivate"]; + NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58 [(network_connection_token) = "#GameUI_Disconnect_CreateServerFailed"]; + NETWORK_DISCONNECT_EXITING = 59 [(network_connection_token) = "#GameUI_Disconnect_ExitingEngine"]; + NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60 [(network_connection_token) = "#GameUI_Disconnect_Request_HSIdle"]; + NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61 [(network_connection_token) = "#GameUI_Disconnect_Request_HLTVRelay"]; + NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62 [(network_connection_token) = "#GameUI_ClientConsistencyFail"]; + NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63 [(network_connection_token) = "#GameUI_ClientUnableToCRCMap"]; + NETWORK_DISCONNECT_CLIENT_NO_MAP = 64 [(network_connection_token) = "#GameUI_ClientNoMap"]; + NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65 [(network_connection_token) = "#GameUI_ClientDifferentMap"]; + NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66 [(network_connection_token) = "#GameUI_ServerRequireSteams"]; + NETWORK_DISCONNECT_STEAM_DENY_MISC = 67 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_Misc"]; + NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_BadAntiCheat"]; + NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69 [(network_connection_token) = "#GameUI_Disconnect_ServerShutdown"]; + NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE = 71 [(network_connection_token) = "#GameUI_Disconnect_ReplayIncompatible"]; + NETWORK_DISCONNECT_CONNECT_REQUEST_TIMEDOUT = 72 [(network_connection_token) = "#GameUI_Disconnect_ConnectionTimedout"]; + NETWORK_DISCONNECT_SERVER_INCOMPATIBLE = 73 [(network_connection_token) = "#GameUI_Disconnect_ServerIncompatible"]; + NETWORK_DISCONNECT_LOCALPROBLEM_MANYRELAYS = 74 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_ManyRelays"]; + NETWORK_DISCONNECT_LOCALPROBLEM_HOSTEDSERVERPRIMARYRELAY = 75 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_HostedServerPrimaryRelay"]; + NETWORK_DISCONNECT_LOCALPROBLEM_NETWORKCONFIG = 76 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_NetworkConfig"]; + NETWORK_DISCONNECT_LOCALPROBLEM_OTHER = 77 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_Other"]; + NETWORK_DISCONNECT_REMOTE_TIMEOUT = 79 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Timeout"]; + NETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECTING = 80 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_TimeoutConnecting"]; + NETWORK_DISCONNECT_REMOTE_OTHER = 81 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Other"]; + NETWORK_DISCONNECT_REMOTE_BADCRYPT = 82 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCrypt"]; + NETWORK_DISCONNECT_REMOTE_CERTNOTTRUSTED = 83 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCert"]; + NETWORK_DISCONNECT_UNUSUAL = 84 [(network_connection_token) = "#GameUI_Disconnect_Unusual"]; + NETWORK_DISCONNECT_INTERNAL_ERROR = 85 [(network_connection_token) = "#GameUI_Disconnect_InternalError"]; + NETWORK_DISCONNECT_REJECT_BADCHALLENGE = 128 [(network_connection_token) = "#GameUI_ServerRejectBadChallenge"]; + NETWORK_DISCONNECT_REJECT_NOLOBBY = 129 [(network_connection_token) = "#GameUI_ServerNoLobby"]; + NETWORK_DISCONNECT_REJECT_BACKGROUND_MAP = 130 [(network_connection_token) = "#Valve_Reject_Background_Map"]; + NETWORK_DISCONNECT_REJECT_SINGLE_PLAYER = 131 [(network_connection_token) = "#Valve_Reject_Single_Player"]; + NETWORK_DISCONNECT_REJECT_HIDDEN_GAME = 132 [(network_connection_token) = "#Valve_Reject_Hidden_Game"]; + NETWORK_DISCONNECT_REJECT_LANRESTRICT = 133 [(network_connection_token) = "#GameUI_ServerRejectLANRestrict"]; + NETWORK_DISCONNECT_REJECT_BADPASSWORD = 134 [(network_connection_token) = "#GameUI_ServerRejectBadPassword"]; + NETWORK_DISCONNECT_REJECT_SERVERFULL = 135 [(network_connection_token) = "#GameUI_ServerRejectServerFull"]; + NETWORK_DISCONNECT_REJECT_INVALIDRESERVATION = 136 [(network_connection_token) = "#GameUI_ServerRejectInvalidReservation"]; + NETWORK_DISCONNECT_REJECT_FAILEDCHANNEL = 137 [(network_connection_token) = "#GameUI_ServerRejectFailedChannel"]; + NETWORK_DISCONNECT_REJECT_CONNECT_FROM_LOBBY = 138 [(network_connection_token) = "#Valve_Reject_Connect_From_Lobby"]; + NETWORK_DISCONNECT_REJECT_RESERVED_FOR_LOBBY = 139 [(network_connection_token) = "#Valve_Reject_Reserved_For_Lobby"]; + NETWORK_DISCONNECT_REJECT_INVALIDKEYLENGTH = 140 [(network_connection_token) = "#GameUI_ServerReject_InvalidKeyLength"]; + NETWORK_DISCONNECT_REJECT_OLDPROTOCOL = 141 [(network_connection_token) = "#GameUI_ServerRejectOldProtocol"]; + NETWORK_DISCONNECT_REJECT_NEWPROTOCOL = 142 [(network_connection_token) = "#GameUI_ServerRejectNewProtocol"]; + NETWORK_DISCONNECT_REJECT_INVALIDCONNECTION = 143 [(network_connection_token) = "#GameUI_ServerRejectInvalidConnection"]; + NETWORK_DISCONNECT_REJECT_INVALIDCERTLEN = 144 [(network_connection_token) = "#GameUI_ServerRejectInvalidCertLen"]; + NETWORK_DISCONNECT_REJECT_INVALIDSTEAMCERTLEN = 145 [(network_connection_token) = "#GameUI_ServerRejectInvalidSteamCertLen"]; + NETWORK_DISCONNECT_REJECT_STEAM = 146 [(network_connection_token) = "#GameUI_ServerRejectSteam"]; + NETWORK_DISCONNECT_REJECT_SERVERAUTHDISABLED = 147 [(network_connection_token) = "#GameUI_ServerAuthDisabled"]; + NETWORK_DISCONNECT_REJECT_SERVERCDKEYAUTHINVALID = 148 [(network_connection_token) = "#GameUI_ServerCDKeyAuthInvalid"]; + NETWORK_DISCONNECT_REJECT_BANNED = 149 [(network_connection_token) = "#GameUI_ServerRejectBanned"]; + NETWORK_DISCONNECT_KICKED_TEAMKILLING = 150 [(network_connection_token) = "#Player_DisconnectReason_TeamKilling"]; + NETWORK_DISCONNECT_KICKED_TK_START = 151 [(network_connection_token) = "#Player_DisconnectReason_TK_Start"]; + NETWORK_DISCONNECT_KICKED_UNTRUSTEDACCOUNT = 152 [(network_connection_token) = "#Player_DisconnectReason_UntrustedAccount"]; + NETWORK_DISCONNECT_KICKED_CONVICTEDACCOUNT = 153 [(network_connection_token) = "#Player_DisconnectReason_ConvictedAccount"]; + NETWORK_DISCONNECT_KICKED_COMPETITIVECOOLDOWN = 154 [(network_connection_token) = "#Player_DisconnectReason_CompetitiveCooldown"]; + NETWORK_DISCONNECT_KICKED_TEAMHURTING = 155 [(network_connection_token) = "#Player_DisconnectReason_TeamHurting"]; + NETWORK_DISCONNECT_KICKED_HOSTAGEKILLING = 156 [(network_connection_token) = "#Player_DisconnectReason_HostageKilling"]; + NETWORK_DISCONNECT_KICKED_VOTEDOFF = 157 [(network_connection_token) = "#Player_DisconnectReason_VotedOff"]; + NETWORK_DISCONNECT_KICKED_IDLE = 158 [(network_connection_token) = "#Player_DisconnectReason_Idle"]; + NETWORK_DISCONNECT_KICKED_SUICIDE = 159 [(network_connection_token) = "#Player_DisconnectReason_Suicide"]; + NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160 [(network_connection_token) = "#Player_DisconnectReason_NoSteamLogin"]; + NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161 [(network_connection_token) = "#Player_DisconnectReason_NoSteamTicket"]; + NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION = 162 [(network_connection_token) = "#Player_DisconnectReason_InputAutomation", (network_connection_detail_token) = "#Player_DisconnectReason_InputAutomation_Detail"]; + NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163 [(network_connection_token) = "#Player_DisconnectReason_VacNetAbnormalBehavior", (allowed_from_client) = false]; + NETWORK_DISCONNECT_KICKED_INSECURECLIENT = 164 [(network_connection_token) = "#Player_DisconnectReason_InsecureClient"]; } diff --git a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/networkbasetypes.proto b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/networkbasetypes.proto index 7dcebe71..9890789f 100644 --- a/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/networkbasetypes.proto +++ b/javasteam-dota2/src/main/proto/in/dragonbra/javasteam/protobufs/dota2/networkbasetypes.proto @@ -7,249 +7,249 @@ option optimize_for = SPEED; option java_generic_services = false; extend .google.protobuf.MessageOptions { - optional int32 maximum_size_bytes = 50000; + optional int32 maximum_size_bytes = 50000; } enum SignonState_t { - SIGNONSTATE_NONE = 0; - SIGNONSTATE_CHALLENGE = 1; - SIGNONSTATE_CONNECTED = 2; - SIGNONSTATE_NEW = 3; - SIGNONSTATE_PRESPAWN = 4; - SIGNONSTATE_SPAWN = 5; - SIGNONSTATE_FULL = 6; - SIGNONSTATE_CHANGELEVEL = 7; + SIGNONSTATE_NONE = 0; + SIGNONSTATE_CHALLENGE = 1; + SIGNONSTATE_CONNECTED = 2; + SIGNONSTATE_NEW = 3; + SIGNONSTATE_PRESPAWN = 4; + SIGNONSTATE_SPAWN = 5; + SIGNONSTATE_FULL = 6; + SIGNONSTATE_CHANGELEVEL = 7; } enum NET_Messages { - net_NOP = 0; - net_Disconnect_Legacy = 1; - net_SplitScreenUser = 3; - net_Tick = 4; - net_StringCmd = 5; - net_SetConVar = 6; - net_SignonState = 7; - net_SpawnGroup_Load = 8; - net_SpawnGroup_ManifestUpdate = 9; - net_SpawnGroup_SetCreationTick = 11; - net_SpawnGroup_Unload = 12; - net_SpawnGroup_LoadCompleted = 13; - net_DebugOverlay = 15; + net_NOP = 0; + net_Disconnect_Legacy = 1; + net_SplitScreenUser = 3; + net_Tick = 4; + net_StringCmd = 5; + net_SetConVar = 6; + net_SignonState = 7; + net_SpawnGroup_Load = 8; + net_SpawnGroup_ManifestUpdate = 9; + net_SpawnGroup_SetCreationTick = 11; + net_SpawnGroup_Unload = 12; + net_SpawnGroup_LoadCompleted = 13; + net_DebugOverlay = 15; } enum SpawnGroupFlags_t { - SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE = 1; - SPAWN_GROUP_DONT_SPAWN_ENTITIES = 2; - SPAWN_GROUP_SYNCHRONOUS_SPAWN = 4; - SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP = 8; - SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES = 16; - SPAWN_GROUP_BLOCK_UNTIL_LOADED = 64; - SPAWN_GROUP_LOAD_STREAMING_DATA = 128; - SPAWN_GROUP_CREATE_NEW_SCENE_WORLD = 256; + SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE = 1; + SPAWN_GROUP_DONT_SPAWN_ENTITIES = 2; + SPAWN_GROUP_SYNCHRONOUS_SPAWN = 4; + SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP = 8; + SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES = 16; + SPAWN_GROUP_BLOCK_UNTIL_LOADED = 64; + SPAWN_GROUP_LOAD_STREAMING_DATA = 128; + SPAWN_GROUP_CREATE_NEW_SCENE_WORLD = 256; } message CMsgVector { - optional float x = 1; - optional float y = 2; - optional float z = 3; - optional float w = 4; + optional float x = 1; + optional float y = 2; + optional float z = 3; + optional float w = 4; } message CMsgVector2D { - optional float x = 1; - optional float y = 2; + optional float x = 1; + optional float y = 2; } message CMsgQAngle { - optional float x = 1; - optional float y = 2; - optional float z = 3; + optional float x = 1; + optional float y = 2; + optional float z = 3; } message CMsgQuaternion { - optional float x = 1; - optional float y = 2; - optional float z = 3; - optional float w = 4; + optional float x = 1; + optional float y = 2; + optional float z = 3; + optional float w = 4; } message CMsgTransform { - optional .CMsgVector position = 1; - optional float scale = 2; - optional .CMsgQuaternion orientation = 3; + optional .CMsgVector position = 1; + optional float scale = 2; + optional .CMsgQuaternion orientation = 3; } message CMsgRGBA { - optional int32 r = 1; - optional int32 g = 2; - optional int32 b = 3; - optional int32 a = 4; + optional int32 r = 1; + optional int32 g = 2; + optional int32 b = 3; + optional int32 a = 4; } message CMsgPlayerInfo { - optional string name = 1; - optional fixed64 xuid = 2; - optional int32 userid = 3; - optional fixed64 steamid = 4; - optional bool fakeplayer = 5; - optional bool ishltv = 6; + optional string name = 1; + optional fixed64 xuid = 2; + optional int32 userid = 3; + optional fixed64 steamid = 4; + optional bool fakeplayer = 5; + optional bool ishltv = 6; } message CEntityMsg { - optional uint32 target_entity = 1 [default = 16777215]; + optional uint32 target_entity = 1 [default = 16777215]; } message CMsg_CVars { - message CVar { - optional string name = 1; - optional string value = 2; - } + message CVar { + optional string name = 1; + optional string value = 2; + } - repeated .CMsg_CVars.CVar cvars = 1; + repeated .CMsg_CVars.CVar cvars = 1; } message CNETMsg_NOP { } message CNETMsg_SplitScreenUser { - optional int32 slot = 1; + optional int32 slot = 1; } message CNETMsg_Tick { - optional uint32 tick = 1; - optional uint32 host_computationtime = 4; - optional uint32 host_computationtime_std_deviation = 5; - optional uint32 legacy_host_loss = 7; - optional uint32 host_unfiltered_frametime = 8; - optional uint32 hltv_replay_flags = 9; - optional uint32 expected_long_tick = 10; - optional string expected_long_tick_reason = 11; - optional uint32 host_frame_dropped_pct_x10 = 12; - optional uint32 host_frame_irregular_arrival_pct_x10 = 13; + optional uint32 tick = 1; + optional uint32 host_computationtime = 4; + optional uint32 host_computationtime_std_deviation = 5; + optional uint32 legacy_host_loss = 7; + optional uint32 host_unfiltered_frametime = 8; + optional uint32 hltv_replay_flags = 9; + optional uint32 expected_long_tick = 10; + optional string expected_long_tick_reason = 11; + optional uint32 host_frame_dropped_pct_x10 = 12; + optional uint32 host_frame_irregular_arrival_pct_x10 = 13; } message CNETMsg_StringCmd { - optional string command = 1; - optional uint32 prediction_sync = 2; + optional string command = 1; + optional uint32 prediction_sync = 2; } message CNETMsg_SetConVar { - option (maximum_size_bytes) = 4096; + option (maximum_size_bytes) = 4096; - optional .CMsg_CVars convars = 1; + optional .CMsg_CVars convars = 1; } message CNETMsg_SignonState { - optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; - optional uint32 spawn_count = 2; - optional uint32 num_server_players = 3; - repeated string players_networkids = 4; - optional string map_name = 5; - optional string addons = 6; + optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; + optional uint32 spawn_count = 2; + optional uint32 num_server_players = 3; + repeated string players_networkids = 4; + optional string map_name = 5; + optional string addons = 6; } message CSVCMsg_GameEvent { - message key_t { - optional int32 type = 1; - optional string val_string = 2; - optional float val_float = 3; - optional int32 val_long = 4; - optional int32 val_short = 5; - optional int32 val_byte = 6; - optional bool val_bool = 7; - optional uint64 val_uint64 = 8; - } - - optional string event_name = 1; - optional int32 eventid = 2; - repeated .CSVCMsg_GameEvent.key_t keys = 3; + message key_t { + optional int32 type = 1; + optional string val_string = 2; + optional float val_float = 3; + optional int32 val_long = 4; + optional int32 val_short = 5; + optional int32 val_byte = 6; + optional bool val_bool = 7; + optional uint64 val_uint64 = 8; + } + + optional string event_name = 1; + optional int32 eventid = 2; + repeated .CSVCMsg_GameEvent.key_t keys = 3; } message CSVCMsgList_GameEvents { - message event_t { - optional int32 tick = 1; - optional .CSVCMsg_GameEvent event = 2; - } + message event_t { + optional int32 tick = 1; + optional .CSVCMsg_GameEvent event = 2; + } - repeated .CSVCMsgList_GameEvents.event_t events = 1; + repeated .CSVCMsgList_GameEvents.event_t events = 1; } message CNETMsg_SpawnGroup_Load { - option (maximum_size_bytes) = 131072; - - optional string worldname = 1; - optional string entitylumpname = 2; - optional string entityfiltername = 3; - optional uint32 spawngrouphandle = 4; - optional uint32 spawngroupownerhandle = 5; - optional .CMsgVector world_offset_pos = 6; - optional .CMsgQAngle world_offset_angle = 7; - optional bytes spawngroupmanifest = 8; - optional uint32 flags = 9; - optional int32 tickcount = 10; - optional bool manifestincomplete = 11; - optional string localnamefixup = 12; - optional string parentnamefixup = 13; - optional int32 manifestloadpriority = 14; - optional uint32 worldgroupid = 15; - optional uint32 creationsequence = 16; - optional string savegamefilename = 17; - optional uint32 spawngroupparenthandle = 18; - optional bool leveltransition = 19; - optional string worldgroupname = 20; + option (maximum_size_bytes) = 131072; + + optional string worldname = 1; + optional string entitylumpname = 2; + optional string entityfiltername = 3; + optional uint32 spawngrouphandle = 4; + optional uint32 spawngroupownerhandle = 5; + optional .CMsgVector world_offset_pos = 6; + optional .CMsgQAngle world_offset_angle = 7; + optional bytes spawngroupmanifest = 8; + optional uint32 flags = 9; + optional int32 tickcount = 10; + optional bool manifestincomplete = 11; + optional string localnamefixup = 12; + optional string parentnamefixup = 13; + optional int32 manifestloadpriority = 14; + optional uint32 worldgroupid = 15; + optional uint32 creationsequence = 16; + optional string savegamefilename = 17; + optional uint32 spawngroupparenthandle = 18; + optional bool leveltransition = 19; + optional string worldgroupname = 20; } message CNETMsg_SpawnGroup_ManifestUpdate { - optional uint32 spawngrouphandle = 1; - optional bytes spawngroupmanifest = 2; - optional bool manifestincomplete = 3; + optional uint32 spawngrouphandle = 1; + optional bytes spawngroupmanifest = 2; + optional bool manifestincomplete = 3; } message CNETMsg_SpawnGroup_SetCreationTick { - optional uint32 spawngrouphandle = 1; - optional int32 tickcount = 2; - optional uint32 creationsequence = 3; + optional uint32 spawngrouphandle = 1; + optional int32 tickcount = 2; + optional uint32 creationsequence = 3; } message CNETMsg_SpawnGroup_Unload { - optional uint32 spawngrouphandle = 1; - optional uint32 flags = 2; - optional int32 tickcount = 3; + optional uint32 spawngrouphandle = 1; + optional uint32 flags = 2; + optional int32 tickcount = 3; } message CNETMsg_SpawnGroup_LoadCompleted { - optional uint32 spawngrouphandle = 1; + optional uint32 spawngrouphandle = 1; } message CSVCMsg_GameSessionConfiguration { - optional bool is_multiplayer = 1; - optional bool is_loadsavegame = 2; - optional bool is_background_map = 3; - optional bool is_headless = 4; - optional uint32 min_client_limit = 5; - optional uint32 max_client_limit = 6; - optional uint32 max_clients = 7; - optional fixed32 tick_interval = 8; - optional string hostname = 9; - optional string savegamename = 10; - optional string s1_mapname = 11; - optional string gamemode = 12; - optional string server_ip_address = 13; - optional bytes data = 14; - optional bool is_localonly = 15; - optional bool no_steam_server = 19; - optional bool is_transition = 16; - optional string previouslevel = 17; - optional string landmarkname = 18; + optional bool is_multiplayer = 1; + optional bool is_loadsavegame = 2; + optional bool is_background_map = 3; + optional bool is_headless = 4; + optional uint32 min_client_limit = 5; + optional uint32 max_client_limit = 6; + optional uint32 max_clients = 7; + optional fixed32 tick_interval = 8; + optional string hostname = 9; + optional string savegamename = 10; + optional string s1_mapname = 11; + optional string gamemode = 12; + optional string server_ip_address = 13; + optional bytes data = 14; + optional bool is_localonly = 15; + optional bool no_steam_server = 19; + optional bool is_transition = 16; + optional string previouslevel = 17; + optional string landmarkname = 18; } message CNETMsg_DebugOverlay { - optional int32 etype = 1; - repeated .CMsgVector vectors = 2; - repeated .CMsgRGBA colors = 3; - repeated float dimensions = 4; - repeated float times = 5; - repeated bool bools = 6; - repeated uint64 uint64s = 7; - repeated string strings = 8; + optional int32 etype = 1; + repeated .CMsgVector vectors = 2; + repeated .CMsgRGBA colors = 3; + repeated float dimensions = 4; + repeated float times = 5; + repeated bool bools = 6; + repeated uint64 uint64s = 7; + repeated string strings = 8; } diff --git a/javasteam-tf/src/main/proto/in/dragonbra/javasteam/protobufs/tf/base_gcmessages.proto b/javasteam-tf/src/main/proto/in/dragonbra/javasteam/protobufs/tf/base_gcmessages.proto index 2f963432..cdd157f8 100644 --- a/javasteam-tf/src/main/proto/in/dragonbra/javasteam/protobufs/tf/base_gcmessages.proto +++ b/javasteam-tf/src/main/proto/in/dragonbra/javasteam/protobufs/tf/base_gcmessages.proto @@ -548,6 +548,11 @@ message CWorkshop_SetItemPaymentRules_Request { optional string rule_description = 3; } + message WorkshopDirectPaymentRule { + optional uint64 workshop_file_id = 1; + optional string rule_description = 2; + } + message PartnerItemPaymentRule { optional uint32 account_id = 1; optional float revenue_percentage = 2; @@ -558,7 +563,37 @@ message CWorkshop_SetItemPaymentRules_Request { optional uint32 gameitemid = 2; repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; + optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; } message CWorkshop_SetItemPaymentRules_Response { } + +message CWorkshop_AddSpecialPayment_Request { + optional uint32 appid = 1; + optional uint32 gameitemid = 2; + optional string date = 3; + optional uint64 payment_us_usd = 4; + optional uint64 payment_row_usd = 5; +} + +message CWorkshop_AddSpecialPayment_Response { +} + +message CWorkshop_GetSpecialPayments_Request { + optional uint32 appid = 1; + optional uint32 gameitemid = 2; + optional string date = 3; +} + +message CWorkshop_GetSpecialPayments_Response { + message SpecialPayment { + optional uint32 appid = 1; + optional uint32 gameitemid = 2; + optional string date = 3; + optional uint64 net_payment_us_usd = 4; + optional uint64 net_payment_row_usd = 5; + } + + repeated .CWorkshop_GetSpecialPayments_Response.SpecialPayment special_payments = 1; +} diff --git a/src/main/java/in/dragonbra/javasteam/steam/CMClient.java b/src/main/java/in/dragonbra/javasteam/steam/CMClient.java index 940c0962..377fd368 100644 --- a/src/main/java/in/dragonbra/javasteam/steam/CMClient.java +++ b/src/main/java/in/dragonbra/javasteam/steam/CMClient.java @@ -51,6 +51,9 @@ public abstract class CMClient { @Nullable private String ipCountryCode; + @Nullable + private String userCountryCode; + private boolean isConnected; private long sessionToken; @@ -422,6 +425,7 @@ private void handleLogOnResponse(IPacketMsg packetMsg) { cellID = logonResp.getBody().getCellId(); publicIP = NetHelpers.getIPAddress(logonResp.getBody().getPublicIp()); ipCountryCode = logonResp.getBody().getIpCountryCode(); + userCountryCode = logonResp.getBody().getUserCountry(); // restart heartbeat heartBeatFunc.stop(); @@ -444,6 +448,7 @@ private void handleLoggedOff(IPacketMsg packetMsg) { cellID = null; publicIP = null; ipCountryCode = null; + userCountryCode = null; heartBeatFunc.stop(); @@ -538,6 +543,14 @@ public SmartCMServerList getServers() { return ipCountryCode; } + /** + * Gets the country code of our account country code. This value is assigned after a logon attempt has succeeded. + * This value will be null if the client is logged off of Steam. + */ + public @Nullable String getUserCountryCode() { + return userCountryCode; + } + /** * Gets the universe of this client. * diff --git a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/SteamCloud.kt b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/SteamCloud.kt index 8adf288a..a91ca753 100644 --- a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/SteamCloud.kt +++ b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/SteamCloud.kt @@ -1,18 +1,14 @@ package `in`.dragonbra.javasteam.steam.handlers.steamcloud import com.google.protobuf.ByteString -import `in`.dragonbra.javasteam.base.ClientMsgProtobuf import `in`.dragonbra.javasteam.base.IPacketMsg -import `in`.dragonbra.javasteam.enums.EMsg import `in`.dragonbra.javasteam.enums.EOSType import `in`.dragonbra.javasteam.enums.EPlatformType import `in`.dragonbra.javasteam.enums.EResult import `in`.dragonbra.javasteam.enums.ESteamRealm import `in`.dragonbra.javasteam.protobufs.steamclient.Enums.EBluetoothDeviceType import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientmetricsSteamclient.CClientMetrics_CloudAppSyncStats_Notification -import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSGetSingleFileInfo -import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSGetUGCDetails -import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSShareFile +import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesCloudSteamclient import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesCloudSteamclient.CCloud_AppExitSyncDone_Notification import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesCloudSteamclient.CCloud_AppLaunchIntent_Request import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesCloudSteamclient.CCloud_BeginAppUploadBatch_Request @@ -30,13 +26,12 @@ import `in`.dragonbra.javasteam.steam.handlers.steamcloud.callback.ShareFileCall import `in`.dragonbra.javasteam.steam.handlers.steamcloud.callback.SingleFileInfoCallback import `in`.dragonbra.javasteam.steam.handlers.steamcloud.callback.UGCDetailsCallback import `in`.dragonbra.javasteam.steam.handlers.steamunifiedmessages.SteamUnifiedMessages -import `in`.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg -import `in`.dragonbra.javasteam.types.AsyncJobSingle import `in`.dragonbra.javasteam.types.UGCHandle import `in`.dragonbra.javasteam.util.HardwareUtils import `in`.dragonbra.javasteam.util.JavaSteamAddition import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.future.await import kotlinx.coroutines.future.future import java.util.Date import java.util.concurrent.CompletableFuture @@ -63,21 +58,30 @@ class SteamCloud : ClientMsgHandler() { * Results are returned in a [UGCDetailsCallback]. * * @param ugcId The unique user generated content id. - * @return The Job ID of the request. This can be used to find the appropriate [UGCDetailsCallback]. + * @return The UGC details. */ - fun requestUGCDetails(ugcId: UGCHandle): AsyncJobSingle { - val request = ClientMsgProtobuf( - CMsgClientUFSGetUGCDetails::class.java, - EMsg.ClientUFSGetUGCDetails - ).apply { - sourceJobID = client.getNextJobID() - - body.hcontent = ugcId.value - } + @JavaSteamAddition + @JvmOverloads + fun requestUGCDetails( + ugcId: UGCHandle, + parentScope: CoroutineScope = CoroutineScope(Dispatchers.IO), + ): CompletableFuture = parentScope.future { requestUGCDetails(ugcId) } + + /** + * Requests details for a specific item of user generated content from the Steam servers. + * Results are returned in a [UGCDetailsCallback]. + * + * @param ugcId The unique user generated content id. + * @return The UGC details. + */ + suspend fun requestUGCDetails(ugcId: UGCHandle): UGCDetailsCallback { + val request = SteammessagesCloudSteamclient.CCloud_GetFileDetails_Request.newBuilder().apply { + this.ugcid = ugcId.value + }.build() - client.send(request) + val response = cloudService.getFileDetails(request).await() - return AsyncJobSingle(client, request.sourceJobID) + return UGCDetailsCallback(response) } /** @@ -86,22 +90,33 @@ class SteamCloud : ClientMsgHandler() { * * @param appId The app id of the game. * @param filename The path to the file being requested. - * @return The Job ID of the request. This can be used to find the appropriate [SingleFileInfoCallback]. + * @return The file info. */ - fun getSingleFileInfo(appId: Int, filename: String): AsyncJobSingle { - val request = ClientMsgProtobuf( - CMsgClientUFSGetSingleFileInfo::class.java, - EMsg.ClientUFSGetSingleFileInfo - ).apply { - sourceJobID = client.getNextJobID() - - body.appId = appId - body.fileName = filename - } + @JavaSteamAddition + @JvmOverloads + fun getSingleFileInfo( + appId: Int, + filename: String, + parentScope: CoroutineScope = CoroutineScope(Dispatchers.IO), + ): CompletableFuture = parentScope.future { getSingleFileInfo(appId, filename) } - client.send(request) + /** + * Requests details for a specific file in the user's Cloud storage. + * Results are returned in a [SingleFileInfoCallback]. + * + * @param appId The app id of the game. + * @param filename The path to the file being requested. + * @return The file info. + */ + suspend fun getSingleFileInfo(appId: Int, filename: String): SingleFileInfoCallback { + val request = SteammessagesCloudSteamclient.CCloud_GetSingleFileInfo_Request.newBuilder().apply { + this.appId = appId + this.fileName = filename + }.build() + + val response = cloudService.getSingleFileInfo(request).await() - return AsyncJobSingle(client, request.sourceJobID) + return SingleFileInfoCallback(response) } /** @@ -110,22 +125,33 @@ class SteamCloud : ClientMsgHandler() { * * @param appId The app id of the game. * @param filename The path to the file being requested. - * @return The Job ID of the request. This can be used to find the appropriate [ShareFileCallback]. + * @return The share file result. */ - fun shareFile(appId: Int, filename: String): AsyncJobSingle { - val request = ClientMsgProtobuf( - CMsgClientUFSShareFile::class.java, - EMsg.ClientUFSShareFile - ).apply { - sourceJobID = client.getNextJobID() - - body.appId = appId - body.fileName = filename - } + @JavaSteamAddition + @JvmOverloads + fun shareFile( + appId: Int, + filename: String, + parentScope: CoroutineScope = CoroutineScope(Dispatchers.IO), + ): CompletableFuture = parentScope.future { shareFile(appId, filename) } + + /** + * Commit a Cloud file at the given path to make its UGC handle publicly visible. + * Results are returned in a [ShareFileCallback]. + * + * @param appId The app id of the game. + * @param filename The path to the file being requested. + * @return The share file result. + */ + suspend fun shareFile(appId: Int, filename: String): ShareFileCallback { + val request = SteammessagesCloudSteamclient.CCloud_ShareFile_Request.newBuilder().apply { + this.appId = appId + this.fileName = filename + }.build() - client.send(request) + val response = cloudService.shareFile(request).await() - return AsyncJobSingle(client, request.sourceJobID) + return ShareFileCallback(response) } /** @@ -529,18 +555,6 @@ class SteamCloud : ClientMsgHandler() { * @param packetMsg The packet message that contains the data. */ override fun handleMsg(packetMsg: IPacketMsg) { - // ignore messages that we don't have a handler function for - val callback = getCallback(packetMsg) ?: return - - client.postCallback(callback) - } - - companion object { - private fun getCallback(packetMsg: IPacketMsg): CallbackMsg? = when (packetMsg.msgType) { - EMsg.ClientUFSGetUGCDetailsResponse -> UGCDetailsCallback(packetMsg) - EMsg.ClientUFSGetSingleFileInfoResponse -> SingleFileInfoCallback(packetMsg) - EMsg.ClientUFSShareFileResponse -> ShareFileCallback(packetMsg) - else -> null - } + // Not Used. } } diff --git a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/ShareFileCallback.kt b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/ShareFileCallback.kt index ebd0383c..d5476f0e 100644 --- a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/ShareFileCallback.kt +++ b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/ShareFileCallback.kt @@ -1,21 +1,19 @@ package `in`.dragonbra.javasteam.steam.handlers.steamcloud.callback -import `in`.dragonbra.javasteam.base.ClientMsgProtobuf -import `in`.dragonbra.javasteam.base.IPacketMsg import `in`.dragonbra.javasteam.enums.EResult -import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSShareFileResponse +import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesCloudSteamclient.CCloud_ShareFile_Response import `in`.dragonbra.javasteam.steam.handlers.steamcloud.SteamCloud -import `in`.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg +import `in`.dragonbra.javasteam.steam.handlers.steamunifiedmessages.callback.ServiceMethodResponse /** * This callback is received in response to calling [SteamCloud.shareFile]. */ -class ShareFileCallback(packetMsg: IPacketMsg) : CallbackMsg() { +class ShareFileCallback(response: ServiceMethodResponse) { /** * Gets the result of the request. */ - val result: EResult + val result: EResult = response.result /** * Gets the resulting UGC handle. @@ -23,15 +21,7 @@ class ShareFileCallback(packetMsg: IPacketMsg) : CallbackMsg() { val ugcId: Long init { - val shareResponse = ClientMsgProtobuf( - CMsgClientUFSShareFileResponse::class.java, - packetMsg - ) - val msg = shareResponse.body - - jobID = shareResponse.targetJobID - - result = EResult.from(msg.eresult) + val msg = response.body ugcId = msg.hcontent } diff --git a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/SingleFileInfoCallback.kt b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/SingleFileInfoCallback.kt index fcc2640c..6c3968a1 100644 --- a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/SingleFileInfoCallback.kt +++ b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/SingleFileInfoCallback.kt @@ -1,23 +1,21 @@ package `in`.dragonbra.javasteam.steam.handlers.steamcloud.callback -import `in`.dragonbra.javasteam.base.ClientMsgProtobuf -import `in`.dragonbra.javasteam.base.IPacketMsg import `in`.dragonbra.javasteam.enums.EResult -import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSGetSingleFileInfoResponse +import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesCloudSteamclient.CCloud_GetSingleFileInfo_Response import `in`.dragonbra.javasteam.steam.handlers.steamcloud.SteamCloud -import `in`.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg +import `in`.dragonbra.javasteam.steam.handlers.steamunifiedmessages.callback.ServiceMethodResponse import java.util.* /** * This callback is received in response to calling [SteamCloud.getSingleFileInfo]. */ @Suppress("MemberVisibilityCanBePrivate") -class SingleFileInfoCallback(packetMsg: IPacketMsg) : CallbackMsg() { +class SingleFileInfoCallback(response: ServiceMethodResponse) { /** * Gets the result of the request. */ - val result: EResult + val result: EResult = response.result /** * Gets the App ID the file is for. @@ -50,15 +48,7 @@ class SingleFileInfoCallback(packetMsg: IPacketMsg) : CallbackMsg() { val isExplicitDelete: Boolean init { - val infoResponse = ClientMsgProtobuf( - CMsgClientUFSGetSingleFileInfoResponse::class.java, - packetMsg - ) - val msg = infoResponse.body - - jobID = infoResponse.targetJobID - - result = EResult.from(msg.eresult) + val msg = response.body appID = msg.appId fileName = msg.fileName diff --git a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/UGCDetailsCallback.kt b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/UGCDetailsCallback.kt index 7eb28eae..6210e296 100644 --- a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/UGCDetailsCallback.kt +++ b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamcloud/callback/UGCDetailsCallback.kt @@ -1,29 +1,33 @@ package `in`.dragonbra.javasteam.steam.handlers.steamcloud.callback -import `in`.dragonbra.javasteam.base.ClientMsgProtobuf -import `in`.dragonbra.javasteam.base.IPacketMsg import `in`.dragonbra.javasteam.enums.EResult -import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSGetUGCDetailsResponse +import `in`.dragonbra.javasteam.protobufs.steamclient.SteammessagesCloudSteamclient.CCloud_GetFileDetails_Response import `in`.dragonbra.javasteam.steam.handlers.steamcloud.SteamCloud -import `in`.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg +import `in`.dragonbra.javasteam.steam.handlers.steamunifiedmessages.callback.ServiceMethodResponse import `in`.dragonbra.javasteam.types.SteamID +import java.util.Date /** * This callback is received in response to calling [SteamCloud.requestUGCDetails]. */ @Suppress("MemberVisibilityCanBePrivate") -class UGCDetailsCallback(packetMsg: IPacketMsg) : CallbackMsg() { +class UGCDetailsCallback(response: ServiceMethodResponse) { /** * Gets the result of the request. */ - val result: EResult + val result: EResult = response.result /** * Gets the App ID the UGC is for. */ val appID: Int + /** + * Gets the UGC ID. + */ + val ugcID: Long + /** * Gets the SteamID of the UGC's creator. */ @@ -44,23 +48,41 @@ class UGCDetailsCallback(packetMsg: IPacketMsg) : CallbackMsg() { */ val fileSize: Int - init { - val infoResponse = ClientMsgProtobuf( - CMsgClientUFSGetUGCDetailsResponse::class.java, - packetMsg - ) - val msg = infoResponse.body + /** + * Gets the timestamp of the file. + */ + val timestamp: Date + + /** + * Gets the SHA hash of the file. + */ + val fileSHA: String + + /** + * Gets the compressed size of the file. + */ + val compressedFileSize: Int - jobID = infoResponse.targetJobID + /** + * Gets the rangecheck host. + */ + val rangecheckHost: String - result = EResult.from(msg.eresult) + init { + val msg = response.body.details - appID = msg.appId + appID = msg.appid + ugcID = msg.ugcid creator = SteamID(msg.steamidCreator) url = msg.url fileName = msg.filename fileSize = msg.fileSize + timestamp = Date(msg.timestamp * 1000L) + fileSHA = msg.fileSha + compressedFileSize = msg.compressedFileSize + + rangecheckHost = response.body.rangecheckHost } } diff --git a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamuser/callback/AccountInfoCallback.kt b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamuser/callback/AccountInfoCallback.kt index 0910e834..e05bf34a 100644 --- a/src/main/java/in/dragonbra/javasteam/steam/handlers/steamuser/callback/AccountInfoCallback.kt +++ b/src/main/java/in/dragonbra/javasteam/steam/handlers/steamuser/callback/AccountInfoCallback.kt @@ -34,16 +34,6 @@ class AccountInfoCallback(packetMsg: IPacketMsg) : CallbackMsg() { */ val accountFlags: EnumSet - /** - * Gets the facebook ID of this account if it is linked with facebook. - */ - val facebookID: Long - - /** - * Gets the facebook name if this account is linked with facebook. - */ - val facebookName: String - init { val accInfo = ClientMsgProtobuf(CMsgClientAccountInfo::class.java, packetMsg) val msg = accInfo.body @@ -54,8 +44,5 @@ class AccountInfoCallback(packetMsg: IPacketMsg) : CallbackMsg() { countAuthedComputers = msg.countAuthedComputers accountFlags = EAccountFlags.from(msg.accountFlags) - - facebookID = msg.facebookId - facebookName = msg.facebookName } } 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 84ab0712..bfe64be7 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 @@ -107,6 +107,12 @@ class LoggedOnCallback : CallbackMsg { var ipCountryCode: String? = null private set + /** + * Gets the account country code. + */ + var userCountryCode: String? = null + private set + /** * Gets the vanity URL. */ @@ -177,6 +183,7 @@ class LoggedOnCallback : CallbackMsg { steam2Ticket = resp.steam2Ticket.toByteArray() ipCountryCode = resp.ipCountryCode + userCountryCode = resp.userCountry vanityURL = resp.vanityUrl 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 ac498678..7c3307f8 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/enums.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/enums.proto @@ -139,6 +139,7 @@ enum EStartupMovieVariant { k_EStartupMovieVariant_Generic = 1; k_EStartupMovieVariant_DeckBlue = 2; k_EStartupMovieVariant_DeckOrange = 3; + k_EStartupMovieVariant_Machine = 4; } enum EColorGamutLabelSet { @@ -478,6 +479,13 @@ enum EProvideDeckFeedbackPreference { k_EProvideDeckFeedbackPreference_No = 2; } +enum EGameFrameRateReportingPreference { + k_EGameFrameRateReportingPreference_Unset = 0; + k_EGameFrameRateReportingPreference_No = 1; + k_EGameFrameRateReportingPreference_Yes_Anonymous = 2; + k_EGameFrameRateReportingPreference_Yes_NonAnonymous = 3; +} + enum ETouchGesture { k_ETouchGestureNone = 0; k_ETouchGestureTouch = 1; @@ -596,6 +604,12 @@ enum EGameRecordingType { k_EGameRecordingType_Clip = 4; } +enum EGRMode { + k_EGRMode_Never = 0; + k_EGRMode_Always = 1; + k_EGRMode_Manual = 2; +} + enum EExportCodec { k_EExportCodec_Default = 0; k_EExportCodec_H264 = 1; @@ -663,24 +677,22 @@ enum EExternalSaleEventType { k_EExternalSaleEventType_Franchise = 5; } +enum EEnhancedMarketAppearanceStatus { + k_EnhancedMarketAppearanceStatus_None = 0; + k_EnhancedMarketAppearanceStatus_Pending = 1; + k_EnhancedMarketAppearanceStatus_InProgress = 2; + k_EnhancedMarketAppearanceStatus_Completed = 3; +} + enum EContentReportSubjectType { k_EContentReportSubjectType_Invalid = 0; k_EContentReportSubjectType_ForumPost = 1; - k_EContentReportSubjectType_UGCComment = 2; + k_EContentReportSubjectType_Unused = 2; k_EContentReportSubjectType_UGCFile = 3; - k_EContentReportSubjectType_MAX = 4; -} - -enum EContentReportReason { - k_EContentReportReason_Invalid = 0; - k_EContentReportReason_Abusive = 1; - k_EContentReportReason_Commercial = 2; - k_EContentReportReason_OffTopic = 3; - k_EContentReportReason_Prohibited = 4; - k_EContentReportReason_Other = 5; - k_EContentReportReason_CSAM = 6; - k_EContentReportReason_Terrorism = 7; - k_EContentReportReason_MAX = 8; + k_EContentReportSubjectType_FriendChatMsg = 4; + k_EContentReportSubjectType_ChatRoomMsg = 5; + k_EContentReportSubjectType_ChatGroup = 6; + k_EContentReportSubjectType_MAX = 7; } enum EControlledLegalCategoryStatus { @@ -702,13 +714,141 @@ enum EContentReportResolution { k_EContentReportResolution_Acquitted = 1; k_EContentReportResolution_Removed = 2; k_EContentReportResolution_Relabelled = 3; - k_EContentReportResolution_MAX = 4; + k_EContentReportResolution_Suspicious = 4; + k_EContentReportResolution_HarassmentStrike = 5; + k_EContentReportResolution_Purged = 6; + k_EContentReportResolution_DisconnectedFromApp = 7; + k_EContentReportResolution_SuspiciousIncludingUpvoters = 8; + k_EContentReportResolution_VisibilityChanged = 9; + k_EContentReportResolution_CountryRestrictionsChanged = 10; + k_EContentReportResolution_RemoveAndWarn = 11; + k_EContentReportResolution_RemoveAndBan = 12; + k_EContentReportResolution_RemoveAndKick = 13; + k_EContentReportResolution_Sanctioned = 14; + k_EContentReportResolution_Sustained = 15; + k_EContentReportResolution_MAX = 16; +} + +enum EContentModerationSanction { + k_EContentModerationSanction_Invalid = 0; + k_EContentModerationSanction_Deleted = 1; + k_EContentModerationSanction_CommunityBanned = 2; + k_EContentModerationSanction_HubBanned = 3; + k_EContentModerationSanction_TradeBanned = 4; + k_EContentModerationSanction_CommentHistoryDeleted = 5; + k_EContentModerationSanction_Relabelled = 6; + k_EContentModerationSanction_MarkAsSuspicious = 7; + k_EContentModerationSanction_MAX = 8; +} + +enum EContentReportSubjectAction { + k_EContentReportSubjectAction_Invalid = 0; + k_EContentReportSubjectAction_Unresolved = 1; + k_EContentReportSubjectAction_Sanctioned = 2; + k_EContentReportSubjectAction_Acquitted = 3; + k_EContentReportSubjectAction_Cancelled = 4; + k_EContentReportSubjectAction_Updated = 5; + k_EContentReportSubjectAction_Escalated = 6; + k_EContentReportSubjectAction_Disputed = 7; + k_EContentReportSubjectAction_SustainedOnDispute = 8; + k_EContentReportSubjectAction_Locked = 9; + k_EContentReportSubjectAction_Unlocked = 10; + k_EContentReportSubjectAction_Deleted = 11; + k_EContentReportSubjectAction_Warned = 12; + k_EContentReportSubjectAction_BannedFromHub = 13; + k_EContentReportSubjectAction_BannedFromCommunity = 14; + k_EContentReportSubjectAction_TradeBanned = 15; + k_EContentReportSubjectAction_MarkedAsSuspicious = 16; + k_EContentReportSubjectAction_ResetContent = 17; + k_EContentReportSubjectAction_EscalatedForCSAM = 18; + k_EContentReportSubjectAction_EscalatedForTerrorism = 19; + k_EContentReportSubjectAction_Claimed = 20; + k_EContentReportSubjectAction_Released = 21; + k_EContentReportSubjectAction_PrivateMessaged = 22; } -enum EContentModeratedReason { - k_EContentModeratedReason_Invalid = 0; - k_EContentModeratedReason_None = 1; - k_EContentModeratedReason_Unknown = 2; - k_EContentModeratedReason_AnimalHarm = 3; - k_EContentModeratedReason_MAX = 4; +enum EContentReportReason { + k_EContentReportReason_Invalid = 0; + k_EContentReportReason_None = 1; + k_EContentReportReason_Unknown = 2; + k_EContentReportReason_Harassment = 3; + k_EContentReportReason_BullyingAndIntimidation = 4; + k_EContentReportReason_Stalking = 5; + k_EContentReportReason_Doxxing = 6; + k_EContentReportReason_OtherHarassment = 7; + k_EContentReportReason_EncouragingViolence = 8; + k_EContentReportReason_EncouragingSelfHarm = 9; + k_EContentReportReason_EncouragingSuicide = 10; + k_EContentReportReason_OtherViolenceOrSelfHarm = 11; + k_EContentReportReason_PhishingOrAccountTheft = 12; + k_EContentReportReason_AttemptedScamming = 13; + k_EContentReportReason_LinkingToMaliciousContent = 14; + k_EContentReportReason_Impersonation = 15; + k_EContentReportReason_OtherScamsAndTheft = 16; + k_EContentReportReason_EncouragingTerrorism = 17; + k_EContentReportReason_OrganizingTerrorism = 18; + k_EContentReportReason_OtherTerrorism = 19; + k_EContentReportReason_TargetedAbuse = 20; + k_EContentReportReason_NamingAndShaming = 21; + k_EContentReportReason_Discrimination = 22; + k_EContentReportReason_OtherAbuse = 23; + k_EContentReportReason_Trolling = 24; + k_EContentReportReason_Baiting = 25; + k_EContentReportReason_Derailing = 26; + k_EContentReportReason_OtherDisruptive = 27; + k_EContentReportReason_Spam = 28; + k_EContentReportReason_Begging = 29; + k_EContentReportReason_Reposting = 30; + k_EContentReportReason_OtherOffTopic = 31; + k_EContentReportReason_CSAMSexualContent = 32; + k_EContentReportReason_CSAMGroomingOrEnticement = 33; + k_EContentReportReason_CSAMOther = 34; + k_EContentReportReason_NudityOrSexualContent = 35; + k_EContentReportReason_NonConsensualMaterial = 36; + k_EContentReportReason_Advertising = 37; + k_EContentReportReason_ReferralLinks = 38; + k_EContentReportReason_Gambling = 39; + k_EContentReportReason_Raffles = 40; + k_EContentReportReason_OtherCommercialActivity = 41; + k_EContentReportReason_InauthenticReview = 42; + k_EContentReportReason_HiddenAdvertisementOrCommercialCommunication = 43; + k_EContentReportReason_MisleadingInformationAboutGoodsOrServices = 44; + k_EContentReportReason_MisleadingInformationAboutConsumerRights = 45; + k_EContentReportReason_NoncomplianceWithPricingRegulations = 46; + k_EContentReportReason_RightToBeForgottenViolation = 47; + k_EContentReportReason_MissingProcessingGroundForData = 48; + k_EContentReportReason_OtherDataProtectionAndPrivacyViolation = 49; + k_EContentReportReason_GenderedHarassment = 50; + k_EContentReportReason_GenderedBullyingAndIntimidation = 51; + k_EContentReportReason_GenderedStalking = 52; + k_EContentReportReason_GenderedDoxxing = 53; + k_EContentReportReason_GenderedOtherHarassment = 54; + k_EContentReportReason_GenderedEncouragingViolence = 55; + k_EContentReportReason_GenderedTargetedAbuse = 56; + k_EContentReportReason_CSAMFakedSexualContent = 57; + k_EContentReportReason_GenderedNonConsensualMaterial = 58; + k_EContentReportReason_FakedGenderedNonConsensualMaterial = 59; + k_EContentReportReason_FakedNonConsensualMaterial = 60; + k_EContentReportReason_NegativeEffectonDiscourseOrElections = 61; + k_EContentReportReason_QuotesModeratedContent = 62; + k_EContentReportReason_CredibleThreatOfViolence = 63; + k_EContentReportReason_MAX = 64; +} + +enum EResolutionAutomation { + k_EResolutionAutomation_Manual = 0; + k_EResolutionAutomation_PartiallyAutomated = 1; + k_EResolutionAutomation_FullyAutomated = 2; + k_EResolutionAutomation_MAX = 3; +} + +enum EPressOutletAction { + k_EPressOutletAction_Invalid = 0; + k_EPressOutletAction_Granted = 1; + k_EPressOutletAction_Removed = 2; + k_EPressOutletAction_Created = 3; + k_EPressOutletAction_Updated = 4; + k_EPressOutletAction_Deleted = 5; + k_EPressOutletAction_Undeleted = 6; + k_EPressOutletAction_MAX = 7; } 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 c7c99989..af883e6c 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 @@ -277,17 +277,6 @@ message CAuthentication_GetAuthSessionsForAccount_Response { repeated uint64 client_ids = 1; } -message CAuthentication_MigrateMobileSession_Request { - optional fixed64 steamid = 1; - optional string token = 2; - optional string signature = 3; -} - -message CAuthentication_MigrateMobileSession_Response { - optional string refresh_token = 1; - optional string access_token = 2; -} - message CAuthentication_Token_Revoke_Request { optional string token = 1; optional .EAuthTokenRevokeAction revoke_action = 2 [default = k_EAuthTokenRevokePermanent]; @@ -415,7 +404,6 @@ service Authentication { rpc GenerateAccessTokenForApp (.CAuthentication_AccessToken_GenerateForApp_Request) returns (.CAuthentication_AccessToken_GenerateForApp_Response); rpc EnumerateTokens (.CAuthentication_RefreshToken_Enumerate_Request) returns (.CAuthentication_RefreshToken_Enumerate_Response); rpc GetAuthSessionsForAccount (.CAuthentication_GetAuthSessionsForAccount_Request) returns (.CAuthentication_GetAuthSessionsForAccount_Response); - rpc MigrateMobileSession (.CAuthentication_MigrateMobileSession_Request) returns (.CAuthentication_MigrateMobileSession_Response); rpc RevokeToken (.CAuthentication_Token_Revoke_Request) returns (.CAuthentication_Token_Revoke_Response); rpc RevokeRefreshToken (.CAuthentication_RefreshToken_Revoke_Request) returns (.CAuthentication_RefreshToken_Revoke_Response); } 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 2c0138dc..4f114643 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 @@ -62,6 +62,7 @@ enum EProtoClanEventType { k_EClanSeasonUpdate = 33; k_EClanCrosspostEvent = 34; k_EClanInGameEventGeneral = 35; + k_EClanCreatorHome = 36; } enum PartnerEventNotificationType { @@ -329,6 +330,8 @@ message CPackageReservationStatus { optional uint32 time_reserved = 8; optional uint32 rtime_estimated_notification = 9; optional string notificaton_token = 10; + optional int32 queue_head_position_at_reservation = 11; + optional int32 queue_head_position_now = 12; } message CMsgKeyValuePair { @@ -348,3 +351,23 @@ message UserContentDescriptorPreferences { repeated .UserContentDescriptorPreferences.ContentDescriptor content_descriptors_to_exclude = 1; } + +message UserSystemInformation { + optional string manufacturer = 1; + optional string model = 2; + optional string dx_video_card = 3; + optional int32 dx_vendorid = 4; + optional int32 dx_deviceid = 5; + optional uint32 num_gpu = 6; + optional uint64 system_ram = 7; + optional string os = 8; + optional string cpu_vendor = 9; + optional string cpu_name = 10; + optional uint32 gaming_device_type = 11; + optional string dx_driver_version = 12; + optional string dx_driver_name = 13; + optional string adapter_description = 14; + optional string driver_version = 15; + optional string driver_date = 16; + optional uint32 vram_size = 17; +} 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 8230b7b3..3c5ff515 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 @@ -1,5 +1,6 @@ import "in/dragonbra/javasteam/protobufs/steamclient/steammessages_unified_base.steamclient.proto"; import "in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_friends.proto"; +import "in/dragonbra/javasteam/protobufs/steamclient/enums.proto"; option java_package = "in.dragonbra.javasteam.protobufs.steamclient"; @@ -43,6 +44,9 @@ enum EChatRoomServerMessage { k_EChatRoomServerMsg_ChatRoomTaglineChanged = 9; k_EChatRoomServerMsg_ChatRoomAvatarChanged = 10; k_EChatRoomServerMsg_AppCustom = 11; + k_EChatRoomServerMsg_JoinedMany = 12; + k_EChatRoomServerMsg_PartedMany = 13; + k_EChatRoomServerMsg_InvitedMany = 14; } enum EChatRoomMessageReactionType { @@ -172,6 +176,7 @@ message CUserChatRoomGroupState { 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 bool direct_messages_allowed = 8; } message CChatRoom_CreateChatRoomGroup_Response { @@ -670,6 +675,7 @@ message CChatRoom_SetUserChatGroupPreferences_Request { 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; + optional bool direct_messages_allowed = 4; } message ChatRoomPreferences { @@ -757,6 +763,35 @@ message CChatRoom_GetMessageReactionReactors_Response { repeated uint32 reactors = 1; } +message CChatRoom_ReportMessage_Request { + optional uint64 chat_group_id = 1; + optional uint64 chat_id = 2; + optional fixed64 steamid_from = 3; + optional uint32 timestamp = 4; + optional uint32 ordinal = 5; + optional .EContentReportReason report_reason = 6 [default = k_EContentReportReason_Invalid]; + optional string report_text = 7; + optional string language = 8; + optional .EContentReportSubjectType subject_type = 9 [default = k_EContentReportSubjectType_Invalid]; +} + +message CChatRoom_ReportMessage_Response { +} + +message CChatRoom_ResolveReport_Request { + optional uint64 subject_group_id = 1; + optional uint64 subject_id = 2; + optional .EContentReportResolution resolution = 3 [default = k_EContentReportResolution_Unresolved]; + optional .EContentReportReason reason = 4 [default = k_EContentReportReason_Invalid]; + optional .EContentReportSubjectType subject_type = 5 [default = k_EContentReportSubjectType_Invalid]; + optional uint64 chat_group_id = 6; + optional uint32 kick_expiration_time = 7; + optional bool skip_lock = 8; +} + +message CChatRoom_ResolveReport_Response { +} + message CClanChatRooms_GetClanChatRoomInfo_Request { optional fixed64 steamid = 1; optional bool autocreate = 2 [default = true]; @@ -1034,6 +1069,8 @@ service ChatRoom { 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 ReportMessage (.CChatRoom_ReportMessage_Request) returns (.CChatRoom_ReportMessage_Response); + rpc ResolveReport (.CChatRoom_ResolveReport_Request) returns (.CChatRoom_ResolveReport_Response); } service ClanChatRooms { diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_client_objects.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_client_objects.proto index 44616e1b..d86d0297 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_client_objects.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_client_objects.proto @@ -105,6 +105,9 @@ message CMsgNetworkDevicesData { optional string user_name = 7; optional string password = 8; optional int32 strength_raw = 9; + optional string band_filter = 10; + optional bool has_non_6ghz_channel = 11; + optional bool is_saved = 12; } repeated .CMsgNetworkDevicesData.Device.Wireless.AP aps = 1; @@ -143,10 +146,15 @@ message CMsgNetworkDeviceConnect { optional string password = 2; } + message Wireless { + optional string band_filter = 1; + } + optional uint32 device_id = 1 [default = 0]; optional .CMsgNetworkDeviceConnect.Credentials credentials = 4; optional .CMsgNetworkDeviceIP4Config ip4 = 5; optional .CMsgNetworkDeviceIP6Config ip6 = 6; + optional .CMsgNetworkDeviceConnect.Wireless wireless = 7; oneof ap_info { .CMsgNetworkDeviceConnect.KnownAP ap_known = 2; @@ -154,6 +162,16 @@ message CMsgNetworkDeviceConnect { } } +message CMsgNetworkDeviceSetOptions { + message Wireless { + required uint32 ap_id = 1; + optional bool is_autoconnect = 2; + optional string band_filter = 3; + } + + optional .CMsgNetworkDeviceSetOptions.Wireless wireless = 2; +} + message CMsgStorageDevicesData { message Drive { optional uint32 id = 1 [default = 0]; @@ -260,7 +278,6 @@ message CMsgSystemPerfLimits { optional int32 gpu_performance_manual_min_mhz = 5; optional int32 gpu_performance_manual_max_mhz = 6; optional bool perf_overlay_is_standalone = 7; - optional bool is_dynamic_vrs_available = 8; optional bool is_manual_display_refresh_rate_available = 9; repeated .EGPUPerformanceLevel gpu_performance_levels_available = 10; optional int32 display_refresh_manual_hz_min = 11; @@ -280,7 +297,6 @@ message CMsgSystemPerfLimits { message CMsgSystemPerfSettingsGlobal { optional float diagnostic_update_rate = 1; - optional .ESystemServiceState system_trace_service_state = 2 [default = k_ESystemServiceState_Unavailable]; optional .ESystemServiceState graphics_profiling_service_state = 3 [default = k_ESystemServiceState_Unavailable]; optional .ESystemServiceState perf_overlay_service_state = 4 [default = k_ESystemServiceState_Unavailable]; optional .EGraphicsPerfOverlayLevel perf_overlay_level = 5 [default = k_EGraphicsPerfOverlayLevel_Hidden]; @@ -506,9 +522,6 @@ message CMsgSystemDisplayManagerSetMode { message CMsgSystemManagerSettings { optional float idle_backlight_dim_battery_seconds = 1; optional float idle_backlight_dim_ac_seconds = 2; - optional float idle_suspend_battery_seconds = 3; - optional float idle_suspend_ac_seconds = 4; - optional bool idle_suspend_supressed = 5; optional bool is_adaptive_brightness_available = 6; optional bool display_adaptive_brightness_enabled = 7; optional bool display_nightmode_enabled = 10; diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientmetrics.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientmetrics.steamclient.proto index 5a824c50..2285e578 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientmetrics.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientmetrics.steamclient.proto @@ -120,6 +120,7 @@ message CClientMetrics_ReportClientError_Notification { optional string product = 1; optional string version = 2; repeated .CClientMetrics_ReportClientError_Notification.Error errors = 3; + repeated string tags = 4; } message CClientMetrics_ClientBootstrap_Notification { @@ -201,7 +202,7 @@ message CClientMetrics_ReportClientArgs_Notification { optional bool fps_counter_enabled = 7; optional bool library_low_bandwidth_mode_enabled = 8; optional bool library_low_perf_mode_enabled = 9; - optional int32 gr_mode = 10; + optional .EGRMode gr_mode = 10 [default = k_EGRMode_Never]; } message CClientMetrics_ReportLinuxStats_Notification { @@ -252,20 +253,14 @@ message CClientMetrics_EndGameRecording_Notification { } message CClientMetrics_GamePerformance_Notification { - message FrameRateReport { + message FrameRate { optional fixed64 gameid = 1; optional uint32 frame_rate = 2; - optional string manufacturer = 3; - optional string model = 4; - optional string dx_video_card = 5; - optional int32 dx_vendorid = 6; - optional int32 dx_deviceid = 7; - optional uint32 num_gpu = 8; - optional uint64 system_ram = 9; - optional int32 session_seconds = 10; + optional int32 session_seconds = 3; } - repeated .CClientMetrics_GamePerformance_Notification.FrameRateReport reports = 1; + repeated .CClientMetrics_GamePerformance_Notification.FrameRate frame_rates = 2; + optional .UserSystemInformation system_info = 3; } service ClientMetrics { 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 4a6dbdb9..4c8e7581 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 @@ -30,7 +30,6 @@ message CMsgClientRichPresenceInfo { message RichPresence { optional fixed64 steamid_user = 1; - optional bytes rich_presence_kv = 2; repeated .CMsgClientRichPresenceInfo.KV rich_presense = 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 6caf36af..f69f6fd3 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 @@ -152,8 +152,6 @@ message CMsgClientAccountInfo { 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; diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_ufs.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_ufs.proto deleted file mode 100644 index f521a0c0..00000000 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_ufs.proto +++ /dev/null @@ -1,47 +0,0 @@ -import "in/dragonbra/javasteam/protobufs/steamclient/steammessages_base.proto"; - -option java_package = "in.dragonbra.javasteam.protobufs.steamclient"; - -option optimize_for = SPEED; -option java_generic_services = false; - -message CMsgClientUFSGetUGCDetails { - optional fixed64 hcontent = 1 [default = 18446744073709551615]; -} - -message CMsgClientUFSGetUGCDetailsResponse { - optional int32 eresult = 1 [default = 2]; - optional string url = 2; - optional uint32 app_id = 3; - optional string filename = 4; - optional fixed64 steamid_creator = 5; - optional uint32 file_size = 6; - optional uint32 compressed_file_size = 7; - optional string rangecheck_host = 8; - optional string file_encoded_sha1 = 9; -} - -message CMsgClientUFSGetSingleFileInfo { - optional uint32 app_id = 1; - optional string file_name = 2; -} - -message CMsgClientUFSGetSingleFileInfoResponse { - optional int32 eresult = 1 [default = 2]; - optional uint32 app_id = 2; - optional string file_name = 3; - optional bytes sha_file = 4; - optional uint64 time_stamp = 5; - optional uint32 raw_file_size = 6; - optional bool is_explicit_delete = 7; -} - -message CMsgClientUFSShareFile { - optional uint32 app_id = 1; - optional string file_name = 2; -} - -message CMsgClientUFSShareFileResponse { - optional int32 eresult = 1 [default = 2]; - optional fixed64 hcontent = 2 [default = 18446744073709551615]; -} diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_userstats.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_userstats.proto index 4e1832cc..122da880 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_userstats.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_clientserver_userstats.proto @@ -69,14 +69,3 @@ message CMsgClientStatsUpdated { optional uint32 crc_stats = 3; repeated .CMsgClientStatsUpdated.Updated_Stats updated_stats = 4; } - -message CMsgClientStoreUserStats { - message Stats_To_Store { - optional uint32 stat_id = 1; - optional uint32 stat_value = 2; - } - - optional fixed64 game_id = 1; - optional bool explicit_reset = 2; - repeated .CMsgClientStoreUserStats.Stats_To_Store stats_to_store = 3; -} diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_cloud.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_cloud.steamclient.proto index 7a5190a1..917d5451 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_cloud.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_cloud.steamclient.proto @@ -103,10 +103,35 @@ message CCloud_UserFile { optional uint32 flags = 8; repeated string platforms_to_sync = 9; optional string file_sha = 10; + optional uint32 compressed_file_size = 11; } message CCloud_GetFileDetails_Response { optional .CCloud_UserFile details = 1; + optional string rangecheck_host = 2; +} + +message CCloud_GetSingleFileInfo_Request { + optional uint32 app_id = 1; + optional string file_name = 2; +} + +message CCloud_GetSingleFileInfo_Response { + optional uint32 app_id = 2; + optional string file_name = 3; + optional bytes sha_file = 4; + optional uint64 time_stamp = 5; + optional uint32 raw_file_size = 6; + optional bool is_explicit_delete = 7; +} + +message CCloud_ShareFile_Request { + optional uint32 app_id = 1; + optional string file_name = 2; +} + +message CCloud_ShareFile_Response { + optional fixed64 hcontent = 1 [default = 18446744073709551615]; } message CCloud_EnumerateUserFiles_Request { @@ -376,6 +401,8 @@ service Cloud { rpc BeginUGCUpload (.CCloud_BeginUGCUpload_Request) returns (.CCloud_BeginUGCUpload_Response); rpc CommitUGCUpload (.CCloud_CommitUGCUpload_Request) returns (.CCloud_CommitUGCUpload_Response); rpc GetFileDetails (.CCloud_GetFileDetails_Request) returns (.CCloud_GetFileDetails_Response); + rpc GetSingleFileInfo (.CCloud_GetSingleFileInfo_Request) returns (.CCloud_GetSingleFileInfo_Response); + rpc ShareFile (.CCloud_ShareFile_Request) returns (.CCloud_ShareFile_Response); rpc EnumerateUserFiles (.CCloud_EnumerateUserFiles_Request) returns (.CCloud_EnumerateUserFiles_Response); rpc Delete (.CCloud_Delete_Request) returns (.CCloud_Delete_Response); rpc GetClientEncryptionKey (.CCloud_GetClientEncryptionKey_Request) returns (.CCloud_GetClientEncryptionKey_Response); diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_contentsystem.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_contentsystem.steamclient.proto index 42e9088d..efb5c2f5 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_contentsystem.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_contentsystem.steamclient.proto @@ -12,25 +12,6 @@ enum EAppContentDetectionType { k_EAppContentDetectionType_GameEngine = 2; } -enum EAppAntiCheatType { - k_EAppAntiCheatTypeNone = 0; - k_EAppAntiCheatTypeEasyAC = 1; - k_EAppAntiCheatTypeDenuvo = 2; - k_EAppAntiCheatTypeBattlEye = 3; - k_EAppAntiCheatTypeXignCode = 4; - k_EAppAntiCheatTypePunkBuster = 5; - k_EAppAntiCheatTypeVAC = 6; - k_EAppAntiCheatTypeGameGuard = 7; - k_EAppAntiCheatTypeHackShield = 8; - k_EAppAntiCheatTypeAntiCheatExpert = 9; - k_EAppAntiCheatTypeOther = 10; -} - -enum EAppGameEngineType { - k_EAppGameEngineTypeNone = 0; - k_EAppGameEngineTypeUnreal = 1; -} - message CContentServerDirectory_ConnectedSteamPipeServerInfo { optional string type = 1; optional int32 source_id = 2; @@ -154,15 +135,6 @@ message CDepotContentDetection_GetAllDetectedAppContent_Response { repeated .DetectedAppContent detected_app_content = 1; } -message CDepotContentDetection_GetDetectedContentSingleApp_Request { - optional uint32 appid = 1; -} - -message CDepotContentDetection_GetDetectedContentSingleApp_Response { - optional .EAppAntiCheatType detected_anticheat = 1 [default = k_EAppAntiCheatTypeNone]; - optional .EAppGameEngineType detected_gameengine = 2 [default = k_EAppGameEngineTypeNone]; -} - service ContentServerDirectory { rpc GetServersForSteamPipe (.CContentServerDirectory_GetServersForSteamPipe_Request) returns (.CContentServerDirectory_GetServersForSteamPipe_Response); rpc GetDepotPatchInfo (.CContentServerDirectory_GetDepotPatchInfo_Request) returns (.CContentServerDirectory_GetDepotPatchInfo_Response); @@ -175,5 +147,4 @@ service ContentServerDirectory { service DepotContentDetection { rpc GetAllDetectedAppContent (.CDepotContentDetection_GetAllDetectedAppContent_Request) returns (.CDepotContentDetection_GetAllDetectedAppContent_Response); - rpc GetDetectedContentSingleApp (.CDepotContentDetection_GetDetectedContentSingleApp_Request) returns (.CDepotContentDetection_GetDetectedContentSingleApp_Response); } diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_familygroups.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_familygroups.steamclient.proto index 6fa0c52d..ea9cd22a 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_familygroups.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_familygroups.steamclient.proto @@ -142,6 +142,15 @@ message FamilyGroupPendingInviteForUser { optional .EFamilyGroupRole role = 2 [default = k_EFamilyGroupRole_None]; optional fixed64 inviter_steamid = 3; optional bool awaiting_2fa = 4; + optional uint64 invite_id = 5; +} + +message FamilyGroupMembership { + optional uint64 family_groupid = 1; + optional uint32 rtime_joined = 2; + optional uint32 rtime_left = 3; + optional uint32 role = 4; + optional bool participated = 5; } message CFamilyGroups_GetFamilyGroupForUser_Response { @@ -154,6 +163,7 @@ message CFamilyGroups_GetFamilyGroupForUser_Response { optional uint32 cooldown_seconds_remaining = 7; optional .CFamilyGroups_GetFamilyGroup_Response family_group = 8; optional bool can_undelete_last_joined_family = 9; + repeated .FamilyGroupMembership membership_history = 10; } message CFamilyGroups_ModifyFamilyGroupDetails_Request { @@ -201,6 +211,7 @@ message CFamilyGroups_JoinFamilyGroup_Response { optional .EFamilyGroupsTwoFactorMethod two_factor_method = 2 [default = k_EFamilyGroupsTwoFactorMethodNone]; optional bool cooldown_skip_granted = 3; optional bool invite_already_accepted = 4; + optional uint32 cooldown_seconds_remaining = 5; } message CFamilyGroups_ConfirmJoinFamilyGroup_Request { @@ -417,6 +428,14 @@ message CFamilyGroups_ClearCooldownSkip_Request { message CFamilyGroups_ClearCooldownSkip_Response { } +message CFamilyGroups_RollbackFamilyGroup_Request { + optional uint64 family_groupid = 1; + optional uint32 rtime32_target = 2; +} + +message CFamilyGroups_RollbackFamilyGroup_Response { +} + message CFamilyGroupsClient_NotifyRunningApps_Notification { message PlayingMember { optional fixed64 member_steamid = 1; @@ -466,6 +485,7 @@ service FamilyGroups { rpc ForceAcceptInvite (.CFamilyGroups_ForceAcceptInvite_Request) returns (.CFamilyGroups_ForceAcceptInvite_Response); rpc GetInviteCheckResults (.CFamilyGroups_GetInviteCheckResults_Request) returns (.CFamilyGroups_GetInviteCheckResults_Response); rpc ClearCooldownSkip (.CFamilyGroups_ClearCooldownSkip_Request) returns (.CFamilyGroups_ClearCooldownSkip_Response); + rpc RollbackFamilyGroup (.CFamilyGroups_RollbackFamilyGroup_Request) returns (.CFamilyGroups_RollbackFamilyGroup_Response); } service FamilyGroupsClient { 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 470ddadf..f4443155 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 @@ -1,4 +1,6 @@ +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/enums.proto"; option java_package = "in.dragonbra.javasteam.protobufs.steamclient"; @@ -11,6 +13,11 @@ enum EMessageReactionType { k_EMessageReactionType_Sticker = 2; } +enum EChatSessionNotice { + k_EChatSessionNotice_Invalid = 0; + k_EChatSessionNotice_Suspicious = 1; +} + message CFriendMessages_GetRecentMessages_Request { optional fixed64 steamid1 = 1; optional fixed64 steamid2 = 2; @@ -53,6 +60,7 @@ message CFriendsMessages_GetActiveMessageSessions_Response { optional uint32 last_message = 2; optional uint32 last_view = 3; optional uint32 unread_message_count = 4; + repeated .EChatSessionNotice notices = 5; } repeated .CFriendsMessages_GetActiveMessageSessions_Response.FriendMessageSession message_sessions = 1; @@ -103,6 +111,37 @@ message CFriendMessages_UpdateMessageReaction_Response { repeated uint32 reactors = 1; } +message CFriendMessages_ReportMessage_Request { + optional fixed64 steamid_from = 1; + optional fixed64 steamid_to = 2; + optional uint32 timestamp = 3; + optional uint32 ordinal = 4; + optional .EContentReportReason report_reason = 5 [default = k_EContentReportReason_Invalid]; + optional string report_text = 6; + optional string language = 7; +} + +message CFriendMessages_ReportMessage_Response { +} + +message CFriendMessages_ResolveReport_Request { + optional fixed64 steamid_from = 1; + optional fixed64 steamid_to = 2; + optional uint64 subject_group_id = 3; + optional uint64 subject_id = 4; + optional .EContentReportResolution resolution = 5 [default = k_EContentReportResolution_Unresolved]; + optional .EContentReportReason reason = 6 [default = k_EContentReportReason_Invalid]; + optional bool skip_lock = 7; +} + +message CFriendMessages_ResolveReport_Response { +} + +message CFriendMessages_DismissSessionNotice_Notification { + optional fixed64 steamid_friend = 1; + optional .EChatSessionNotice notice_type = 2 [default = k_EChatSessionNotice_Invalid]; +} + message CFriendMessages_IncomingMessage_Notification { optional fixed64 steamid_friend = 1; optional int32 chat_entry_type = 2; @@ -125,6 +164,12 @@ message CFriendMessages_MessageReaction_Notification { optional bool is_add = 7; } +message CFriendMessages_SessionNotice_Notification { + optional fixed64 steamid_friend = 1; + optional .EChatSessionNotice notice_type = 2 [default = k_EChatSessionNotice_Invalid]; + optional bool active = 3; +} + service FriendMessages { rpc GetRecentMessages (.CFriendMessages_GetRecentMessages_Request) returns (.CFriendMessages_GetRecentMessages_Response); rpc GetActiveMessageSessions (.CFriendsMessages_GetActiveMessageSessions_Request) returns (.CFriendsMessages_GetActiveMessageSessions_Response); @@ -132,6 +177,9 @@ service FriendMessages { 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 ReportMessage (.CFriendMessages_ReportMessage_Request) returns (.CFriendMessages_ReportMessage_Response); + rpc ResolveReport (.CFriendMessages_ResolveReport_Request) returns (.CFriendMessages_ResolveReport_Response); + rpc DismissSessionNotice (.CFriendMessages_DismissSessionNotice_Notification) returns (.NoResponse); } service FriendMessagesClient { @@ -140,4 +188,5 @@ service FriendMessagesClient { rpc IncomingMessage (.CFriendMessages_IncomingMessage_Notification) returns (.NoResponse); rpc NotifyAckMessageEcho (.CFriendMessages_AckMessage_Notification) returns (.NoResponse); rpc MessageReaction (.CFriendMessages_MessageReaction_Notification) returns (.NoResponse); + rpc SessionNotice (.CFriendMessages_SessionNotice_Notification) returns (.NoResponse); } 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 33d762e9..1b3102b6 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 @@ -84,14 +84,6 @@ message CParental_RequestRecoveryCode_Request { message CParental_RequestRecoveryCode_Response { } -message CParental_DisableWithRecoveryCode_Request { - optional uint32 recovery_code = 1; - optional fixed64 steamid = 10; -} - -message CParental_DisableWithRecoveryCode_Response { -} - message CParental_RequestFeatureAccess_Request { optional uint32 features = 1; optional fixed64 steamid = 10; @@ -182,7 +174,6 @@ service Parental { rpc ValidatePassword (.CParental_ValidatePassword_Request) returns (.CParental_ValidatePassword_Response); rpc LockClient (.CParental_LockClient_Request) returns (.CParental_LockClient_Response); rpc RequestRecoveryCode (.CParental_RequestRecoveryCode_Request) returns (.CParental_RequestRecoveryCode_Response); - rpc DisableWithRecoveryCode (.CParental_DisableWithRecoveryCode_Request) returns (.CParental_DisableWithRecoveryCode_Response); rpc RequestFeatureAccess (.CParental_RequestFeatureAccess_Request) returns (.CParental_RequestFeatureAccess_Response); rpc ApproveFeatureAccess (.CParental_ApproveFeatureAccess_Request) returns (.CParental_ApproveFeatureAccess_Response); rpc RequestPlaytime (.CParental_RequestPlaytime_Request) returns (.CParental_RequestPlaytime_Response); diff --git a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_publishedfile.steamclient.proto b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_publishedfile.steamclient.proto index a6a473ce..0568e06b 100644 --- a/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_publishedfile.steamclient.proto +++ b/src/main/proto/in/dragonbra/javasteam/protobufs/steamclient/steammessages_publishedfile.steamclient.proto @@ -8,760 +8,763 @@ option optimize_for = SPEED; option java_generic_services = false; enum EPublishedFileRevision { - k_EPublishedFileRevision_Default = 0; - k_EPublishedFileRevision_Latest = 1; - k_EPublishedFileRevision_ApprovedSnapshot = 2; - k_EPublishedFileRevision_ApprovedSnapshot_China = 3; - k_EPublishedFileRevision_RejectedSnapshot = 4; - k_EPublishedFileRevision_RejectedSnapshot_China = 5; - k_EPublishedFileRevision_AuthorSnapshot = 6; + k_EPublishedFileRevision_Default = 0; + k_EPublishedFileRevision_Latest = 1; + k_EPublishedFileRevision_ApprovedSnapshot = 2; + k_EPublishedFileRevision_ApprovedSnapshot_China = 3; + k_EPublishedFileRevision_RejectedSnapshot = 4; + k_EPublishedFileRevision_RejectedSnapshot_China = 5; + k_EPublishedFileRevision_AuthorSnapshot = 6; } enum EPublishedFileForSaleStatus { - k_PFFSS_NotForSale = 0; - k_PFFSS_PendingApproval = 1; - k_PFFSS_ApprovedForSale = 2; - k_PFFSS_RejectedForSale = 3; - k_PFFSS_NoLongerForSale = 4; - k_PFFSS_TentativeApproval = 5; + k_PFFSS_NotForSale = 0; + k_PFFSS_PendingApproval = 1; + k_PFFSS_ApprovedForSale = 2; + k_PFFSS_RejectedForSale = 3; + k_PFFSS_NoLongerForSale = 4; + k_PFFSS_TentativeApproval = 5; } message CPublishedFile_Vote_Request { - optional uint64 publishedfileid = 1; - optional bool vote_up = 2; + optional uint64 publishedfileid = 1; + optional bool vote_up = 2; } message CPublishedFile_Vote_Response { } message CPublishedFile_Subscribe_Request { - optional uint64 publishedfileid = 1; - optional uint32 list_type = 2; - optional int32 appid = 3; - optional bool notify_client = 4; - optional bool include_dependencies = 5; + optional uint64 publishedfileid = 1; + optional uint32 list_type = 2; + optional int32 appid = 3; + optional bool notify_client = 4; + optional bool include_dependencies = 5; } message CPublishedFile_Subscribe_Response { } message CPublishedFile_Unsubscribe_Request { - optional uint64 publishedfileid = 1; - optional uint32 list_type = 2; - optional int32 appid = 3; - optional bool notify_client = 4; + optional uint64 publishedfileid = 1; + optional uint32 list_type = 2; + optional int32 appid = 3; + optional bool notify_client = 4; } message CPublishedFile_Unsubscribe_Response { } message CPublishedFile_CanSubscribe_Request { - optional uint64 publishedfileid = 1; + optional uint64 publishedfileid = 1; } message CPublishedFile_CanSubscribe_Response { - optional bool can_subscribe = 1; + optional bool can_subscribe = 1; } message CPublishedFile_GetSubSectionData_Request { - optional uint64 publishedfileid = 1; - optional bool for_table_of_contents = 2; - optional uint64 specific_sectionid = 3; - optional .EPublishedFileRevision desired_revision = 4 [default = k_EPublishedFileRevision_Default]; + optional uint64 publishedfileid = 1; + optional bool for_table_of_contents = 2; + optional uint64 specific_sectionid = 3; + optional .EPublishedFileRevision desired_revision = 4 [default = k_EPublishedFileRevision_Default]; } message PublishedFileSubSection { - optional uint64 sectionid = 1; - optional string title = 2; - optional string description_text = 3; - optional uint32 sort_order = 4; + optional uint64 sectionid = 1; + optional string title = 2; + optional string description_text = 3; + optional uint32 sort_order = 4; } message CPublishedFile_GetSubSectionData_Response { - repeated .PublishedFileSubSection sub_sections = 1; + repeated .PublishedFileSubSection sub_sections = 1; } message CPublishedFile_Publish_Request { - optional uint32 appid = 1; - optional uint32 consumer_appid = 2; - optional string cloudfilename = 3; - optional string preview_cloudfilename = 4; - optional string title = 5; - optional string file_description = 6; - optional uint32 file_type = 7; - optional string consumer_shortcut_name = 8; - optional string youtube_username = 9; - optional string youtube_videoid = 10; - optional uint32 visibility = 11; - optional string redirect_uri = 12; - repeated string tags = 13; - optional string collection_type = 14; - optional string game_type = 15; - optional string url = 16; + optional uint32 appid = 1; + optional uint32 consumer_appid = 2; + optional string cloudfilename = 3; + optional string preview_cloudfilename = 4; + optional string title = 5; + optional string file_description = 6; + optional uint32 file_type = 7; + optional string consumer_shortcut_name = 8; + optional string youtube_username = 9; + optional string youtube_videoid = 10; + optional uint32 visibility = 11; + optional string redirect_uri = 12; + repeated string tags = 13; + optional string collection_type = 14; + optional string game_type = 15; + optional string url = 16; } message CPublishedFile_Publish_Response { - optional uint64 publishedfileid = 1; - optional string redirect_uri = 2; + optional uint64 publishedfileid = 1; + optional string redirect_uri = 2; } message CPublishedFile_GetDetails_Request { - repeated fixed64 publishedfileids = 1; - optional bool includetags = 2; - optional bool includeadditionalpreviews = 3; - optional bool includechildren = 4; - optional bool includekvtags = 5; - optional bool includevotes = 6; - optional bool short_description = 8; - optional bool includeforsaledata = 10; - optional bool includemetadata = 11; - optional int32 language = 12 [default = 0]; - optional uint32 return_playtime_stats = 13; - optional uint32 appid = 14; - optional bool strip_description_bbcode = 15; - optional .EPublishedFileRevision desired_revision = 16 [default = k_EPublishedFileRevision_Default]; - optional bool includereactions = 17 [default = false]; - optional bool admin_query = 18; + repeated fixed64 publishedfileids = 1; + optional bool includetags = 2; + optional bool includeadditionalpreviews = 3; + optional bool includechildren = 4; + optional bool includekvtags = 5; + optional bool includevotes = 6; + optional bool short_description = 8; + optional bool includeforsaledata = 10; + optional bool includemetadata = 11; + optional int32 language = 12 [default = 0]; + optional uint32 return_playtime_stats = 13; + optional uint32 appid = 14; + optional bool strip_description_bbcode = 15; + optional .EPublishedFileRevision desired_revision = 16 [default = k_EPublishedFileRevision_Default]; + optional bool includereactions = 17 [default = false]; + optional bool admin_query = 18; } message PublishedFileAuthorSnapshot { - optional uint32 timestamp = 1; - optional string game_branch_min = 2; - optional string game_branch_max = 3; - optional fixed64 manifestid = 4; + optional uint32 timestamp = 1; + optional string game_branch_min = 2; + optional string game_branch_max = 3; + optional fixed64 manifestid = 4; } message PublishedFileDetails { - message Tag { - optional string tag = 1; - optional bool adminonly = 2; - optional string display_name = 3; - } - - message Preview { - optional uint64 previewid = 1; - optional uint32 sortorder = 2; - optional string url = 3; - optional uint32 size = 4; - optional string filename = 5; - optional string youtubevideoid = 6; - optional uint32 preview_type = 7; - optional string external_reference = 8; - } - - message Child { - optional uint64 publishedfileid = 1; - optional uint32 sortorder = 2; - optional uint32 file_type = 3; - } - - message KVTag { - optional string key = 1; - optional string value = 2; - } - - message VoteData { - optional float score = 1; - optional uint32 votes_up = 2; - optional uint32 votes_down = 3; - optional float trusted_score = 4; - optional uint32 trusted_votes_up = 5; - optional uint32 trusted_votes_down = 6; - } - - message ForSaleData { - optional bool is_for_sale = 1; - optional uint32 price_category = 2; - optional .EPublishedFileForSaleStatus estatus = 3 [default = k_PFFSS_NotForSale]; - optional uint32 price_category_floor = 4; - optional bool price_is_pay_what_you_want = 5; - optional uint32 discount_percentage = 6; - } - - message PlaytimeStats { - optional uint64 playtime_seconds = 1; - optional uint64 num_sessions = 2; - } - - message Reaction { - optional uint32 reactionid = 1; - optional uint32 count = 2; - } - - optional uint32 result = 1; - optional uint64 publishedfileid = 2; - optional fixed64 creator = 3; - optional uint32 creator_appid = 4; - optional uint32 consumer_appid = 5; - optional uint32 consumer_shortcutid = 6; - optional string filename = 7; - optional uint64 file_size = 8; - optional uint64 preview_file_size = 9; - optional string file_url = 10; - optional string preview_url = 11; - optional string youtubevideoid = 12; - optional string url = 13; - optional fixed64 hcontent_file = 14; - optional fixed64 hcontent_preview = 15; - optional string title = 16; - optional string file_description = 17; - optional string short_description = 18; - optional uint32 time_created = 19; - optional uint32 time_updated = 20; - optional uint32 visibility = 21; - optional uint32 flags = 22; - optional bool workshop_file = 23; - optional bool workshop_accepted = 24; - optional bool show_subscribe_all = 25; - optional int32 num_comments_developer = 26; - optional int32 num_comments_public = 27; - optional bool banned = 28; - optional string ban_reason = 29; - optional fixed64 banner = 30; - optional bool can_be_deleted = 31; - optional bool incompatible = 32; - optional string app_name = 33; - optional uint32 file_type = 34; - optional bool can_subscribe = 35; - optional uint32 subscriptions = 36; - optional uint32 favorited = 37; - optional uint32 followers = 38; - optional uint32 lifetime_subscriptions = 39; - optional uint32 lifetime_favorited = 40; - optional uint32 lifetime_followers = 41; - optional uint64 lifetime_playtime = 62; - optional uint64 lifetime_playtime_sessions = 63; - optional uint32 views = 42; - optional uint32 image_width = 43; - optional uint32 image_height = 44; - optional string image_url = 45; - optional bool spoiler_tag = 46; - optional uint32 shortcutid = 47; - optional string shortcutname = 48; - optional uint32 num_children = 49; - optional uint32 num_reports = 50; - repeated .PublishedFileDetails.Preview previews = 51; - repeated .PublishedFileDetails.Tag tags = 52; - repeated .PublishedFileDetails.Child children = 53; - repeated .PublishedFileDetails.KVTag kvtags = 54; - optional .PublishedFileDetails.VoteData vote_data = 55; - optional .PublishedFileDetails.PlaytimeStats playtime_stats = 64; - optional uint32 time_subscribed = 56; - optional .PublishedFileDetails.ForSaleData for_sale_data = 57; - optional string metadata = 58; - optional int32 language = 61 [default = 0]; - optional bool maybe_inappropriate_sex = 65; - optional bool maybe_inappropriate_violence = 66; - repeated .EContentDescriptorID content_descriptorids = 72; - optional uint64 revision_change_number = 67; - optional .EPublishedFileRevision revision = 68 [default = k_EPublishedFileRevision_Default]; - repeated .EPublishedFileRevision available_revisions = 69; - repeated .PublishedFileDetails.Reaction reactions = 70; - optional .EBanContentCheckResult ban_text_check_result = 71 [default = k_EBanContentCheckResult_NotScanned]; - optional float search_score = 73; - optional uint64 external_asset_id = 74; - repeated .PublishedFileAuthorSnapshot author_snapshots = 75; + message Tag { + optional string tag = 1; + optional bool adminonly = 2; + optional string display_name = 3; + } + + message Preview { + optional uint64 previewid = 1; + optional uint32 sortorder = 2; + optional string url = 3; + optional uint32 size = 4; + optional string filename = 5; + optional string youtubevideoid = 6; + optional uint32 preview_type = 7; + optional string external_reference = 8; + } + + message Child { + optional uint64 publishedfileid = 1; + optional uint32 sortorder = 2; + optional uint32 file_type = 3; + } + + message KVTag { + optional string key = 1; + optional string value = 2; + } + + message VoteData { + optional float score = 1; + optional uint32 votes_up = 2; + optional uint32 votes_down = 3; + optional float trusted_score = 4; + optional uint32 trusted_votes_up = 5; + optional uint32 trusted_votes_down = 6; + } + + message ForSaleData { + optional bool is_for_sale = 1; + optional uint32 price_category = 2; + optional .EPublishedFileForSaleStatus estatus = 3 [default = k_PFFSS_NotForSale]; + optional uint32 price_category_floor = 4; + optional bool price_is_pay_what_you_want = 5; + optional uint32 discount_percentage = 6; + } + + message PlaytimeStats { + optional uint64 playtime_seconds = 1; + optional uint64 num_sessions = 2; + } + + message Reaction { + optional uint32 reactionid = 1; + optional uint32 count = 2; + } + + optional uint32 result = 1; + optional uint64 publishedfileid = 2; + optional fixed64 creator = 3; + optional uint32 creator_appid = 4; + optional uint32 consumer_appid = 5; + optional uint32 consumer_shortcutid = 6; + optional string filename = 7; + optional uint64 file_size = 8; + optional uint64 preview_file_size = 9; + optional string file_url = 10; + optional string preview_url = 11; + optional string youtubevideoid = 12; + optional string url = 13; + optional fixed64 hcontent_file = 14; + optional fixed64 hcontent_preview = 15; + optional string title = 16; + optional string file_description = 17; + optional string short_description = 18; + optional uint32 time_created = 19; + optional uint32 time_updated = 20; + optional uint32 visibility = 21; + optional uint32 flags = 22; + optional bool workshop_file = 23; + optional bool workshop_accepted = 24; + optional bool show_subscribe_all = 25; + optional int32 num_comments_developer = 26; + optional int32 num_comments_public = 27; + optional bool banned = 28; + optional string ban_reason = 29; + optional fixed64 banner = 30; + optional bool can_be_deleted = 31; + optional bool incompatible = 32; + optional string app_name = 33; + optional uint32 file_type = 34; + optional bool can_subscribe = 35; + optional uint32 subscriptions = 36; + optional uint32 favorited = 37; + optional uint32 followers = 38; + optional uint32 lifetime_subscriptions = 39; + optional uint32 lifetime_favorited = 40; + optional uint32 lifetime_followers = 41; + optional uint64 lifetime_playtime = 62; + optional uint64 lifetime_playtime_sessions = 63; + optional uint32 views = 42; + optional uint32 image_width = 43; + optional uint32 image_height = 44; + optional string image_url = 45; + optional bool spoiler_tag = 46; + optional uint32 shortcutid = 47; + optional string shortcutname = 48; + optional uint32 num_children = 49; + optional uint32 num_reports = 50; + repeated .PublishedFileDetails.Preview previews = 51; + repeated .PublishedFileDetails.Tag tags = 52; + repeated .PublishedFileDetails.Child children = 53; + repeated .PublishedFileDetails.KVTag kvtags = 54; + optional .PublishedFileDetails.VoteData vote_data = 55; + optional .PublishedFileDetails.PlaytimeStats playtime_stats = 64; + optional uint32 time_subscribed = 56; + optional .PublishedFileDetails.ForSaleData for_sale_data = 57; + optional string metadata = 58; + optional int32 language = 61 [default = 0]; + optional bool maybe_inappropriate_sex = 65; + optional bool maybe_inappropriate_violence = 66; + repeated .EContentDescriptorID content_descriptorids = 72; + optional uint64 revision_change_number = 67; + optional .EPublishedFileRevision revision = 68 [default = k_EPublishedFileRevision_Default]; + repeated .EPublishedFileRevision available_revisions = 69; + repeated .PublishedFileDetails.Reaction reactions = 70; + optional .EBanContentCheckResult ban_text_check_result = 71 [default = k_EBanContentCheckResult_NotScanned]; + optional float search_score = 73; + optional uint64 external_asset_id = 74; + repeated .PublishedFileAuthorSnapshot author_snapshots = 75; } message CPublishedFile_GetDetails_Response { - repeated .PublishedFileDetails publishedfiledetails = 1; + repeated .PublishedFileDetails publishedfiledetails = 1; } message CPublishedFile_GetItemInfo_Request { - message WorkshopItem { - optional fixed64 published_file_id = 1; - optional uint32 time_updated = 2; - optional .EPublishedFileRevision desired_revision = 3 [default = k_EPublishedFileRevision_Default]; - } + message WorkshopItem { + optional fixed64 published_file_id = 1; + optional uint32 time_updated = 2; + optional .EPublishedFileRevision desired_revision = 3 [default = k_EPublishedFileRevision_Default]; + } - optional uint32 appid = 1; - optional uint32 last_time_updated = 2; - repeated .CPublishedFile_GetItemInfo_Request.WorkshopItem workshop_items = 3; + optional uint32 appid = 1; + optional uint32 last_time_updated = 2; + repeated .CPublishedFile_GetItemInfo_Request.WorkshopItem workshop_items = 3; + optional .EPublishedFileRevision desired_revision = 4 [default = k_EPublishedFileRevision_Default]; } message CPublishedFile_GetItemInfo_Response { - message WorkshopItemInfo { - optional fixed64 published_file_id = 1; - optional uint32 time_updated = 2; - optional fixed64 manifest_id = 3; - optional uint32 flags = 4; - optional .EPublishedFileRevision revision = 5 [default = k_EPublishedFileRevision_Default]; - repeated .PublishedFileAuthorSnapshot author_snapshots = 6; - } + message WorkshopItemInfo { + optional fixed64 published_file_id = 1; + optional uint32 time_updated = 2; + optional fixed64 manifest_id = 3; + optional uint32 flags = 4; + optional .EPublishedFileRevision revision = 5 [default = k_EPublishedFileRevision_Default]; + repeated .PublishedFileAuthorSnapshot author_snapshots = 6; + } - optional uint32 update_time = 1; - repeated .CPublishedFile_GetItemInfo_Response.WorkshopItemInfo workshop_items = 2; - repeated fixed64 private_items = 3; + optional uint32 update_time = 1; + repeated .CPublishedFile_GetItemInfo_Response.WorkshopItemInfo workshop_items = 2; + repeated fixed64 private_items = 3; } message CPublishedFile_GetUserFiles_Request { - message KVTag { - optional string key = 1; - optional string value = 2; - } - - message TagGroup { - repeated string tags = 1; - } - - optional fixed64 steamid = 1; - optional uint32 appid = 2; - optional uint32 shortcutid = 3; - optional uint32 page = 4 [default = 1]; - optional uint32 numperpage = 5 [default = 1]; - optional string type = 6 [default = "myfiles"]; - optional string sortmethod = 7 [default = "lastupdated"]; - optional uint32 privacy = 9; - repeated string requiredtags = 10; - repeated string excludedtags = 11; - repeated .CPublishedFile_GetUserFiles_Request.KVTag required_kv_tags = 30; - optional uint32 filetype = 14; - optional uint32 creator_appid = 15; - optional string match_cloud_filename = 16; - optional uint32 cache_max_age_seconds = 27 [default = 0]; - optional int32 language = 29 [default = 0]; - repeated .CPublishedFile_GetUserFiles_Request.TagGroup taggroups = 34; - repeated .EContentDescriptorID excluded_content_descriptors = 37; - optional bool admin_query = 38; - optional bool totalonly = 17; - optional bool ids_only = 18; - optional bool return_vote_data = 19 [default = true]; - optional bool return_tags = 20; - optional bool return_kv_tags = 21 [default = true]; - optional bool return_previews = 22; - optional bool return_children = 23; - optional bool return_short_description = 24 [default = true]; - optional bool return_for_sale_data = 26; - optional bool return_metadata = 28 [default = false]; - optional uint32 return_playtime_stats = 31; - optional bool strip_description_bbcode = 32; - optional bool return_reactions = 35 [default = false]; - optional uint32 startindex_override = 25; - optional .EPublishedFileRevision desired_revision = 33 [default = k_EPublishedFileRevision_Default]; - optional bool return_apps = 36; + message KVTag { + optional string key = 1; + optional string value = 2; + } + + message TagGroup { + repeated string tags = 1; + } + + optional fixed64 steamid = 1; + optional uint32 appid = 2; + optional uint32 shortcutid = 3; + optional uint32 page = 4 [default = 1]; + optional uint32 numperpage = 5 [default = 1]; + optional string type = 6 [default = "myfiles"]; + optional string sortmethod = 7 [default = "lastupdated"]; + optional uint32 privacy = 9; + repeated string requiredtags = 10; + repeated string excludedtags = 11; + repeated .CPublishedFile_GetUserFiles_Request.KVTag required_kv_tags = 30; + optional uint32 filetype = 14; + optional uint32 creator_appid = 15; + optional string match_cloud_filename = 16; + optional uint32 cache_max_age_seconds = 27 [default = 0]; + optional int32 language = 29 [default = 0]; + repeated .CPublishedFile_GetUserFiles_Request.TagGroup taggroups = 34; + repeated .EContentDescriptorID excluded_content_descriptors = 37; + optional bool admin_query = 38; + optional bool totalonly = 17; + optional bool ids_only = 18; + optional bool return_vote_data = 19 [default = true]; + optional bool return_tags = 20; + optional bool return_kv_tags = 21 [default = true]; + optional bool return_previews = 22; + optional bool return_children = 23; + optional bool return_short_description = 24 [default = true]; + optional bool return_for_sale_data = 26; + optional bool return_metadata = 28 [default = false]; + optional uint32 return_playtime_stats = 31; + optional bool strip_description_bbcode = 32; + optional bool return_reactions = 35 [default = false]; + optional uint32 startindex_override = 25; + optional .EPublishedFileRevision desired_revision = 33 [default = k_EPublishedFileRevision_Default]; + optional bool return_apps = 36; } message CPublishedFile_GetUserFiles_Response { - message App { - optional uint32 appid = 1; - optional string name = 2; - optional uint32 shortcutid = 3; - optional bool private = 4; - } + message App { + optional uint32 appid = 1; + optional string name = 2; + optional uint32 shortcutid = 3; + optional bool private = 4; + } - optional uint32 total = 1; - optional uint32 startindex = 2; - repeated .PublishedFileDetails publishedfiledetails = 3; - repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; + optional uint32 total = 1; + optional uint32 startindex = 2; + repeated .PublishedFileDetails publishedfiledetails = 3; + repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; } message CPublishedFile_AreFilesInSubscriptionList_Request { - optional uint32 appid = 1; - repeated fixed64 publishedfileids = 2; - optional uint32 listtype = 3; - optional uint32 filetype = 4; - optional uint32 workshopfiletype = 5; + optional uint32 appid = 1; + repeated fixed64 publishedfileids = 2; + optional uint32 listtype = 3; + optional uint32 filetype = 4; + optional uint32 workshopfiletype = 5; } message CPublishedFile_AreFilesInSubscriptionList_Response { - message InList { - optional fixed64 publishedfileid = 1; - optional bool inlist = 2; - } + message InList { + optional fixed64 publishedfileid = 1; + optional bool inlist = 2; + } - repeated .CPublishedFile_AreFilesInSubscriptionList_Response.InList files = 1; + repeated .CPublishedFile_AreFilesInSubscriptionList_Response.InList files = 1; } message CPublishedFile_Update_Request { - optional uint32 appid = 1; - optional fixed64 publishedfileid = 2; - optional string title = 3; - optional string file_description = 4; - optional uint32 visibility = 5; - repeated string tags = 6; - optional string filename = 7; - optional string preview_filename = 8; - optional bool spoiler_tag = 10; - optional uint32 image_width = 15; - optional uint32 image_height = 16; - optional int32 language = 17; + optional uint32 appid = 1; + optional fixed64 publishedfileid = 2; + optional string title = 3; + optional string file_description = 4; + optional uint32 visibility = 5; + repeated string tags = 6; + optional string filename = 7; + optional string preview_filename = 8; + optional bool spoiler_tag = 10; + optional uint32 image_width = 15; + optional uint32 image_height = 16; + optional int32 language = 17; } message CPublishedFile_Update_Response { } message CPublishedFile_Delete_Request { - optional fixed64 publishedfileid = 1; - optional uint32 appid = 5; + optional fixed64 publishedfileid = 1; + optional uint32 appid = 5; } message CPublishedFile_Delete_Response { } message CPublishedFile_GetChangeHistoryEntry_Request { - optional fixed64 publishedfileid = 1; - optional uint32 timestamp = 2; - optional int32 language = 3; + optional fixed64 publishedfileid = 1; + optional uint32 timestamp = 2; + optional int32 language = 3; } message CPublishedFile_GetChangeHistoryEntry_Response { - optional string change_description = 1; - optional int32 language = 2; - optional bool saved_snapshot = 3; - optional string snapshot_game_branch_min = 4; - optional string snapshot_game_branch_max = 5; - optional fixed64 manifest_id = 6; + optional string change_description = 1; + optional int32 language = 2; + optional bool saved_snapshot = 3; + optional string snapshot_game_branch_min = 4; + optional string snapshot_game_branch_max = 5; + optional fixed64 manifest_id = 6; + optional uint32 accountid = 7; } message CPublishedFile_GetChangeHistory_Request { - optional fixed64 publishedfileid = 1; - optional bool total_only = 2; - optional uint32 startindex = 3; - optional uint32 count = 4; - optional int32 language = 5 [default = 0]; + optional fixed64 publishedfileid = 1; + optional bool total_only = 2; + optional uint32 startindex = 3; + optional uint32 count = 4; + optional int32 language = 5 [default = 0]; } message CPublishedFile_GetChangeHistory_Response { - message ChangeLog { - optional uint32 timestamp = 1; - optional string change_description = 2; - optional int32 language = 3; - optional bool saved_snapshot = 4; - optional string snapshot_game_branch_min = 5; - optional string snapshot_game_branch_max = 6; - optional fixed64 manifest_id = 7; - } + message ChangeLog { + optional uint32 timestamp = 1; + optional string change_description = 2; + optional int32 language = 3; + optional bool saved_snapshot = 4; + optional string snapshot_game_branch_min = 5; + optional string snapshot_game_branch_max = 6; + optional fixed64 manifest_id = 7; + optional uint32 accountid = 8; + } - repeated .CPublishedFile_GetChangeHistory_Response.ChangeLog changes = 1; - optional uint32 total = 2; + repeated .CPublishedFile_GetChangeHistory_Response.ChangeLog changes = 1; + optional uint32 total = 2; } message CPublishedFile_RefreshVotingQueue_Request { - optional uint32 appid = 1; - optional uint32 matching_file_type = 2; - repeated string tags = 3; - optional bool match_all_tags = 4 [default = true]; - repeated string excluded_tags = 5; - optional uint32 desired_queue_size = 6; - optional .EPublishedFileRevision desired_revision = 8 [default = k_EPublishedFileRevision_Default]; + optional uint32 appid = 1; + optional uint32 matching_file_type = 2; + repeated string tags = 3; + optional bool match_all_tags = 4 [default = true]; + repeated string excluded_tags = 5; + optional uint32 desired_queue_size = 6; + optional .EPublishedFileRevision desired_revision = 8 [default = k_EPublishedFileRevision_Default]; } message CPublishedFile_RefreshVotingQueue_Response { } message CPublishedFile_QueryFiles_Request { - message KVTag { - optional string key = 1; - optional string value = 2; - } - - message TagGroup { - repeated string tags = 1; - } - - message DateRange { - optional uint32 timestamp_start = 1; - optional uint32 timestamp_end = 2; - } - - optional uint32 query_type = 1; - optional uint32 page = 2; - optional string cursor = 39; - optional uint32 numperpage = 3 [default = 1]; - optional uint32 creator_appid = 4; - optional uint32 appid = 5; - repeated string requiredtags = 6; - repeated string excludedtags = 7; - optional bool match_all_tags = 8 [default = true]; - repeated string required_flags = 9; - repeated string omitted_flags = 10; - optional string search_text = 11; - optional uint32 filetype = 12; - optional fixed64 child_publishedfileid = 13; - optional uint32 days = 14; - optional bool include_recent_votes_only = 15; - optional uint32 cache_max_age_seconds = 31 [default = 0]; - optional int32 language = 33 [default = 0]; - repeated .CPublishedFile_QueryFiles_Request.KVTag required_kv_tags = 34; - repeated .CPublishedFile_QueryFiles_Request.TagGroup taggroups = 42; - optional .CPublishedFile_QueryFiles_Request.DateRange date_range_created = 44; - optional .CPublishedFile_QueryFiles_Request.DateRange date_range_updated = 45; - repeated .EContentDescriptorID excluded_content_descriptors = 46; - optional bool admin_query = 47; - optional bool totalonly = 16; - optional bool ids_only = 35; - optional bool return_vote_data = 17; - optional bool return_tags = 18; - optional bool return_kv_tags = 19; - optional bool return_previews = 20; - optional bool return_children = 21; - optional bool return_short_description = 22; - optional bool return_for_sale_data = 30; - optional bool return_metadata = 32 [default = false]; - optional uint32 return_playtime_stats = 36; - optional bool return_details = 37; - optional bool strip_description_bbcode = 38; - optional .EPublishedFileRevision desired_revision = 40 [default = k_EPublishedFileRevision_Default]; - optional bool return_reactions = 43 [default = false]; + message KVTag { + optional string key = 1; + optional string value = 2; + } + + message TagGroup { + repeated string tags = 1; + } + + message DateRange { + optional uint32 timestamp_start = 1; + optional uint32 timestamp_end = 2; + } + + optional uint32 query_type = 1; + optional uint32 page = 2; + optional string cursor = 39; + optional uint32 numperpage = 3 [default = 1]; + optional uint32 creator_appid = 4; + optional uint32 appid = 5; + repeated string requiredtags = 6; + repeated string excludedtags = 7; + optional bool match_all_tags = 8 [default = true]; + repeated string required_flags = 9; + repeated string omitted_flags = 10; + optional string search_text = 11; + optional uint32 filetype = 12; + optional fixed64 child_publishedfileid = 13; + optional uint32 days = 14; + optional bool include_recent_votes_only = 15; + optional uint32 cache_max_age_seconds = 31 [default = 0]; + optional int32 language = 33 [default = 0]; + repeated .CPublishedFile_QueryFiles_Request.KVTag required_kv_tags = 34; + repeated .CPublishedFile_QueryFiles_Request.TagGroup taggroups = 42; + optional .CPublishedFile_QueryFiles_Request.DateRange date_range_created = 44; + optional .CPublishedFile_QueryFiles_Request.DateRange date_range_updated = 45; + repeated .EContentDescriptorID excluded_content_descriptors = 46; + optional bool admin_query = 47; + optional bool totalonly = 16; + optional bool ids_only = 35; + optional bool return_vote_data = 17; + optional bool return_tags = 18; + optional bool return_kv_tags = 19; + optional bool return_previews = 20; + optional bool return_children = 21; + optional bool return_short_description = 22; + optional bool return_for_sale_data = 30; + optional bool return_metadata = 32 [default = false]; + optional uint32 return_playtime_stats = 36; + optional bool return_details = 37; + optional bool strip_description_bbcode = 38; + optional .EPublishedFileRevision desired_revision = 40 [default = k_EPublishedFileRevision_Default]; + optional bool return_reactions = 43 [default = false]; } message CPublishedFile_QueryFiles_Response { - optional uint32 total = 1; - repeated .PublishedFileDetails publishedfiledetails = 2; - optional string next_cursor = 3; + optional uint32 total = 1; + repeated .PublishedFileDetails publishedfiledetails = 2; + optional string next_cursor = 3; } message CPublishedFile_AddAppRelationship_Request { - optional uint64 publishedfileid = 1; - optional uint32 appid = 2; - optional uint32 relationship = 3; + optional uint64 publishedfileid = 1; + optional uint32 appid = 2; + optional uint32 relationship = 3; } message CPublishedFile_AddAppRelationship_Response { } message CPublishedFile_RemoveAppRelationship_Request { - optional uint64 publishedfileid = 1; - optional uint32 appid = 2; - optional uint32 relationship = 3; + optional uint64 publishedfileid = 1; + optional uint32 appid = 2; + optional uint32 relationship = 3; } message CPublishedFile_RemoveAppRelationship_Response { } message CPublishedFile_GetAppRelationships_Request { - optional uint64 publishedfileid = 1; + optional uint64 publishedfileid = 1; } message CPublishedFile_GetAppRelationships_Response { - message AppRelationship { - optional uint32 appid = 1; - optional uint32 relationship = 2; - } + message AppRelationship { + optional uint32 appid = 1; + optional uint32 relationship = 2; + } - repeated .CPublishedFile_GetAppRelationships_Response.AppRelationship app_relationships = 3; + repeated .CPublishedFile_GetAppRelationships_Response.AppRelationship app_relationships = 3; } message CPublishedFile_GetAppRelationshipsBatched_Request { - repeated uint64 publishedfileids = 1; - optional uint32 filter_relationship = 2; + repeated uint64 publishedfileids = 1; + optional uint32 filter_relationship = 2; } message CPublishedFile_GetAppRelationshipsBatched_Response { - message AppRelationship { - optional uint32 appid = 1; - optional uint32 relationship = 2; - } + message AppRelationship { + optional uint32 appid = 1; + optional uint32 relationship = 2; + } - message PublishedFileAppRelationship { - optional uint64 publishedfileid = 1; - optional uint32 result = 2; - repeated .CPublishedFile_GetAppRelationshipsBatched_Response.AppRelationship app_relationships = 3; - } + message PublishedFileAppRelationship { + optional uint64 publishedfileid = 1; + optional uint32 result = 2; + repeated .CPublishedFile_GetAppRelationshipsBatched_Response.AppRelationship app_relationships = 3; + } - repeated .CPublishedFile_GetAppRelationshipsBatched_Response.PublishedFileAppRelationship relationships = 1; + repeated .CPublishedFile_GetAppRelationshipsBatched_Response.PublishedFileAppRelationship relationships = 1; } message CPublishedFile_StartPlaytimeTracking_Request { - optional uint32 appid = 1; - repeated uint64 publishedfileids = 2; + optional uint32 appid = 1; + repeated uint64 publishedfileids = 2; } message CPublishedFile_StartPlaytimeTracking_Response { } message CPublishedFile_StopPlaytimeTracking_Request { - optional uint32 appid = 1; - repeated uint64 publishedfileids = 2; + optional uint32 appid = 1; + repeated uint64 publishedfileids = 2; } message CPublishedFile_StopPlaytimeTracking_Response { } message CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request { - optional uint32 appid = 1; + optional uint32 appid = 1; } message CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response { } message CPublishedFile_SetPlaytimeForControllerConfigs_Request { - message ControllerConfigUsage { - optional uint64 publishedfileid = 1; - optional float seconds_active = 2; - } + message ControllerConfigUsage { + optional uint64 publishedfileid = 1; + optional float seconds_active = 2; + } - optional uint32 appid = 1; - repeated .CPublishedFile_SetPlaytimeForControllerConfigs_Request.ControllerConfigUsage controller_config_usage = 2; + optional uint32 appid = 1; + repeated .CPublishedFile_SetPlaytimeForControllerConfigs_Request.ControllerConfigUsage controller_config_usage = 2; } message CPublishedFile_SetPlaytimeForControllerConfigs_Response { } message CPublishedFile_AddChild_Request { - optional uint64 publishedfileid = 1; - optional uint64 child_publishedfileid = 2; + optional uint64 publishedfileid = 1; + optional uint64 child_publishedfileid = 2; } message CPublishedFile_AddChild_Response { } message CPublishedFile_RemoveChild_Request { - optional uint64 publishedfileid = 1; - optional uint64 child_publishedfileid = 2; + optional uint64 publishedfileid = 1; + optional uint64 child_publishedfileid = 2; } message CPublishedFile_RemoveChild_Response { } message CPublishedFile_SetCollectionChildren_Request { - optional uint32 appid = 1; - optional uint64 publishedfileid = 2; - repeated uint64 children = 3; + optional uint32 appid = 1; + optional uint64 publishedfileid = 2; + repeated uint64 children = 3; } message CPublishedFile_SetCollectionChildren_Response { } message CPublishedFile_SetSubscriptionListFromCollection_Request { - optional uint32 appid = 1; - optional uint32 list_type = 2; - optional uint64 publishedfileid = 3; - optional bool add_only = 4; + optional uint32 appid = 1; + optional uint32 list_type = 2; + optional uint64 publishedfileid = 3; + optional bool add_only = 4; } message CPublishedFile_SetSubscriptionListFromCollection_Response { } message CPublishedFile_GetUserVoteSummary_Request { - repeated fixed64 publishedfileids = 1; + repeated fixed64 publishedfileids = 1; } message CPublishedFile_GetUserVoteSummary_Response { - message VoteSummary { - optional fixed64 publishedfileid = 1; - optional bool vote_for = 2; - optional bool vote_against = 3; - optional bool reported = 4; - } + message VoteSummary { + optional fixed64 publishedfileid = 1; + optional bool vote_for = 2; + optional bool vote_against = 3; + optional bool reported = 4; + } - repeated .CPublishedFile_GetUserVoteSummary_Response.VoteSummary summaries = 1; + repeated .CPublishedFile_GetUserVoteSummary_Response.VoteSummary summaries = 1; } message CPublishedFile_GetItemChanges_Request { - optional uint32 appid = 1; - optional uint32 last_time_updated = 2; - optional uint32 num_items_max = 3; - optional .EPublishedFileRevision desired_revision = 4 [default = k_EPublishedFileRevision_Default]; + optional uint32 appid = 1; + optional uint32 last_time_updated = 2; + optional uint32 num_items_max = 3; + optional .EPublishedFileRevision desired_revision = 4 [default = k_EPublishedFileRevision_Default]; } message CPublishedFile_GetItemChanges_Response { - message WorkshopItemInfo { - optional fixed64 published_file_id = 1; - optional uint32 time_updated = 2; - optional fixed64 manifest_id = 3; - repeated .PublishedFileAuthorSnapshot author_snapshots = 4; - } + message WorkshopItemInfo { + optional fixed64 published_file_id = 1; + optional uint32 time_updated = 2; + optional fixed64 manifest_id = 3; + repeated .PublishedFileAuthorSnapshot author_snapshots = 4; + } - optional uint32 update_time = 1; - repeated .CPublishedFile_GetItemChanges_Response.WorkshopItemInfo workshop_items = 2; + optional uint32 update_time = 1; + repeated .CPublishedFile_GetItemChanges_Response.WorkshopItemInfo workshop_items = 2; } message CPublishedFile_GetContentDescriptors_Request { - optional fixed64 publishedfileid = 1; + optional fixed64 publishedfileid = 1; } message CPublishedFile_GetContentDescriptors_Response { - message ContentDescriptor { - optional .EContentDescriptorID descriptorid = 1 [default = k_EContentDescriptor_NudityOrSexualContent]; - optional uint32 accountid = 2; - optional uint32 timestamp = 3; - optional bool moderator_set = 4; - } + message ContentDescriptor { + optional .EContentDescriptorID descriptorid = 1 [default = k_EContentDescriptor_NudityOrSexualContent]; + optional uint32 accountid = 2; + optional uint32 timestamp = 3; + optional bool moderator_set = 4; + } - repeated .CPublishedFile_GetContentDescriptors_Response.ContentDescriptor content_descriptors = 1; + repeated .CPublishedFile_GetContentDescriptors_Response.ContentDescriptor content_descriptors = 1; } message CPublishedFile_UpdateContentDescriptors_Request { - optional fixed64 publishedfileid = 1; - repeated .EContentDescriptorID descriptors_to_add = 2; - repeated .EContentDescriptorID descriptors_to_remove = 3; + optional fixed64 publishedfileid = 1; + repeated .EContentDescriptorID descriptors_to_add = 2; + repeated .EContentDescriptorID descriptors_to_remove = 3; } message CPublishedFile_UpdateContentDescriptors_Response { - optional uint32 timestamp_updated = 1; + optional uint32 timestamp_updated = 1; } message CPublishedFile_FileSubscribed_Notification { - message RevisionData { - optional .EPublishedFileRevision revision = 1 [default = k_EPublishedFileRevision_Default]; - optional fixed64 file_hcontent = 2; - optional uint32 rtime_updated = 3; - optional string game_branch_min = 4; - optional string game_branch_max = 5; - } - - optional fixed64 published_file_id = 1; - optional uint32 app_id = 2; - optional fixed64 file_hcontent = 3; - optional uint32 file_size = 4; - optional uint32 rtime_subscribed = 5; - optional bool is_depot_content = 6; - optional uint32 rtime_updated = 7; - optional .EPublishedFileRevision revision = 9 [default = k_EPublishedFileRevision_Default]; - repeated .CPublishedFile_FileSubscribed_Notification.RevisionData revisions = 8; + message RevisionData { + optional .EPublishedFileRevision revision = 1 [default = k_EPublishedFileRevision_Default]; + optional fixed64 file_hcontent = 2; + optional uint32 rtime_updated = 3; + optional string game_branch_min = 4; + optional string game_branch_max = 5; + } + + optional fixed64 published_file_id = 1; + optional uint32 app_id = 2; + optional fixed64 file_hcontent = 3; + optional uint32 file_size = 4; + optional uint32 rtime_subscribed = 5; + optional bool is_depot_content = 6; + optional uint32 rtime_updated = 7; + optional .EPublishedFileRevision revision = 9 [default = k_EPublishedFileRevision_Default]; + repeated .CPublishedFile_FileSubscribed_Notification.RevisionData revisions = 8; } message CPublishedFile_FileUnsubscribed_Notification { - optional fixed64 published_file_id = 1; - optional uint32 app_id = 2; + optional fixed64 published_file_id = 1; + optional uint32 app_id = 2; } message CPublishedFile_FileDeleted_Client_Notification { - optional fixed64 published_file_id = 1; - optional uint32 app_id = 2; + optional fixed64 published_file_id = 1; + optional uint32 app_id = 2; } service PublishedFile { - rpc Vote (.CPublishedFile_Vote_Request) returns (.CPublishedFile_Vote_Response); - rpc Subscribe (.CPublishedFile_Subscribe_Request) returns (.CPublishedFile_Subscribe_Response); - rpc Unsubscribe (.CPublishedFile_Unsubscribe_Request) returns (.CPublishedFile_Unsubscribe_Response); - rpc CanSubscribe (.CPublishedFile_CanSubscribe_Request) returns (.CPublishedFile_CanSubscribe_Response); - rpc GetSubSectionData (.CPublishedFile_GetSubSectionData_Request) returns (.CPublishedFile_GetSubSectionData_Response); - rpc Publish (.CPublishedFile_Publish_Request) returns (.CPublishedFile_Publish_Response); - rpc GetDetails (.CPublishedFile_GetDetails_Request) returns (.CPublishedFile_GetDetails_Response); - rpc GetItemInfo (.CPublishedFile_GetItemInfo_Request) returns (.CPublishedFile_GetItemInfo_Response); - rpc GetUserFiles (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response); - rpc GetUserFileCount (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response); - rpc AreFilesInSubscriptionList (.CPublishedFile_AreFilesInSubscriptionList_Request) returns (.CPublishedFile_AreFilesInSubscriptionList_Response); - rpc Update (.CPublishedFile_Update_Request) returns (.CPublishedFile_Update_Response); - rpc Delete (.CPublishedFile_Delete_Request) returns (.CPublishedFile_Delete_Response); - rpc GetChangeHistoryEntry (.CPublishedFile_GetChangeHistoryEntry_Request) returns (.CPublishedFile_GetChangeHistoryEntry_Response); - rpc GetChangeHistory (.CPublishedFile_GetChangeHistory_Request) returns (.CPublishedFile_GetChangeHistory_Response); - rpc RefreshVotingQueue (.CPublishedFile_RefreshVotingQueue_Request) returns (.CPublishedFile_RefreshVotingQueue_Response); - rpc QueryFiles (.CPublishedFile_QueryFiles_Request) returns (.CPublishedFile_QueryFiles_Response); - rpc AddAppRelationship (.CPublishedFile_AddAppRelationship_Request) returns (.CPublishedFile_AddAppRelationship_Response); - rpc RemoveAppRelationship (.CPublishedFile_RemoveAppRelationship_Request) returns (.CPublishedFile_RemoveAppRelationship_Response); - rpc GetAppRelationships (.CPublishedFile_GetAppRelationships_Request) returns (.CPublishedFile_GetAppRelationships_Response); - rpc GetAppRelationshipsBatched (.CPublishedFile_GetAppRelationshipsBatched_Request) returns (.CPublishedFile_GetAppRelationshipsBatched_Response); - rpc StartPlaytimeTracking (.CPublishedFile_StartPlaytimeTracking_Request) returns (.CPublishedFile_StartPlaytimeTracking_Response); - rpc StopPlaytimeTracking (.CPublishedFile_StopPlaytimeTracking_Request) returns (.CPublishedFile_StopPlaytimeTracking_Response); - rpc StopPlaytimeTrackingForAllAppItems (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request) returns (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response); - rpc SetPlaytimeForControllerConfigs (.CPublishedFile_SetPlaytimeForControllerConfigs_Request) returns (.CPublishedFile_SetPlaytimeForControllerConfigs_Response); - rpc AddChild (.CPublishedFile_AddChild_Request) returns (.CPublishedFile_AddChild_Response); - rpc RemoveChild (.CPublishedFile_RemoveChild_Request) returns (.CPublishedFile_RemoveChild_Response); - rpc SetCollectionChildren (.CPublishedFile_SetCollectionChildren_Request) returns (.CPublishedFile_SetCollectionChildren_Response); - rpc SetSubscriptionListFromCollection (.CPublishedFile_SetSubscriptionListFromCollection_Request) returns (.CPublishedFile_SetSubscriptionListFromCollection_Response); - rpc GetUserVoteSummary (.CPublishedFile_GetUserVoteSummary_Request) returns (.CPublishedFile_GetUserVoteSummary_Response); - rpc GetItemChanges (.CPublishedFile_GetItemChanges_Request) returns (.CPublishedFile_GetItemChanges_Response); - rpc GetContentDescriptors (.CPublishedFile_GetContentDescriptors_Request) returns (.CPublishedFile_GetContentDescriptors_Response); - rpc UpdateContentDescriptors (.CPublishedFile_UpdateContentDescriptors_Request) returns (.CPublishedFile_UpdateContentDescriptors_Response); + rpc Vote (.CPublishedFile_Vote_Request) returns (.CPublishedFile_Vote_Response); + rpc Subscribe (.CPublishedFile_Subscribe_Request) returns (.CPublishedFile_Subscribe_Response); + rpc Unsubscribe (.CPublishedFile_Unsubscribe_Request) returns (.CPublishedFile_Unsubscribe_Response); + rpc CanSubscribe (.CPublishedFile_CanSubscribe_Request) returns (.CPublishedFile_CanSubscribe_Response); + rpc GetSubSectionData (.CPublishedFile_GetSubSectionData_Request) returns (.CPublishedFile_GetSubSectionData_Response); + rpc Publish (.CPublishedFile_Publish_Request) returns (.CPublishedFile_Publish_Response); + rpc GetDetails (.CPublishedFile_GetDetails_Request) returns (.CPublishedFile_GetDetails_Response); + rpc GetItemInfo (.CPublishedFile_GetItemInfo_Request) returns (.CPublishedFile_GetItemInfo_Response); + rpc GetUserFiles (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response); + rpc GetUserFileCount (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response); + rpc AreFilesInSubscriptionList (.CPublishedFile_AreFilesInSubscriptionList_Request) returns (.CPublishedFile_AreFilesInSubscriptionList_Response); + rpc Update (.CPublishedFile_Update_Request) returns (.CPublishedFile_Update_Response); + rpc Delete (.CPublishedFile_Delete_Request) returns (.CPublishedFile_Delete_Response); + rpc GetChangeHistoryEntry (.CPublishedFile_GetChangeHistoryEntry_Request) returns (.CPublishedFile_GetChangeHistoryEntry_Response); + rpc GetChangeHistory (.CPublishedFile_GetChangeHistory_Request) returns (.CPublishedFile_GetChangeHistory_Response); + rpc RefreshVotingQueue (.CPublishedFile_RefreshVotingQueue_Request) returns (.CPublishedFile_RefreshVotingQueue_Response); + rpc QueryFiles (.CPublishedFile_QueryFiles_Request) returns (.CPublishedFile_QueryFiles_Response); + rpc AddAppRelationship (.CPublishedFile_AddAppRelationship_Request) returns (.CPublishedFile_AddAppRelationship_Response); + rpc RemoveAppRelationship (.CPublishedFile_RemoveAppRelationship_Request) returns (.CPublishedFile_RemoveAppRelationship_Response); + rpc GetAppRelationships (.CPublishedFile_GetAppRelationships_Request) returns (.CPublishedFile_GetAppRelationships_Response); + rpc GetAppRelationshipsBatched (.CPublishedFile_GetAppRelationshipsBatched_Request) returns (.CPublishedFile_GetAppRelationshipsBatched_Response); + rpc StartPlaytimeTracking (.CPublishedFile_StartPlaytimeTracking_Request) returns (.CPublishedFile_StartPlaytimeTracking_Response); + rpc StopPlaytimeTracking (.CPublishedFile_StopPlaytimeTracking_Request) returns (.CPublishedFile_StopPlaytimeTracking_Response); + rpc StopPlaytimeTrackingForAllAppItems (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request) returns (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response); + rpc SetPlaytimeForControllerConfigs (.CPublishedFile_SetPlaytimeForControllerConfigs_Request) returns (.CPublishedFile_SetPlaytimeForControllerConfigs_Response); + rpc AddChild (.CPublishedFile_AddChild_Request) returns (.CPublishedFile_AddChild_Response); + rpc RemoveChild (.CPublishedFile_RemoveChild_Request) returns (.CPublishedFile_RemoveChild_Response); + rpc SetCollectionChildren (.CPublishedFile_SetCollectionChildren_Request) returns (.CPublishedFile_SetCollectionChildren_Response); + rpc SetSubscriptionListFromCollection (.CPublishedFile_SetSubscriptionListFromCollection_Request) returns (.CPublishedFile_SetSubscriptionListFromCollection_Response); + rpc GetUserVoteSummary (.CPublishedFile_GetUserVoteSummary_Request) returns (.CPublishedFile_GetUserVoteSummary_Response); + rpc GetItemChanges (.CPublishedFile_GetItemChanges_Request) returns (.CPublishedFile_GetItemChanges_Response); + rpc GetContentDescriptors (.CPublishedFile_GetContentDescriptors_Request) returns (.CPublishedFile_GetContentDescriptors_Response); + rpc UpdateContentDescriptors (.CPublishedFile_UpdateContentDescriptors_Request) returns (.CPublishedFile_UpdateContentDescriptors_Response); } service PublishedFileClient { - option (service_execution_site) = k_EProtoExecutionSiteSteamClient; + option (service_execution_site) = k_EProtoExecutionSiteSteamClient; - rpc NotifyFileSubscribed (.CPublishedFile_FileSubscribed_Notification) returns (.NoResponse); - rpc NotifyFileUnsubscribed (.CPublishedFile_FileUnsubscribed_Notification) returns (.NoResponse); - rpc NotifyFileDeleted (.CPublishedFile_FileDeleted_Client_Notification) returns (.NoResponse); + rpc NotifyFileSubscribed (.CPublishedFile_FileSubscribed_Notification) returns (.NoResponse); + rpc NotifyFileUnsubscribed (.CPublishedFile_FileUnsubscribed_Notification) returns (.NoResponse); + rpc NotifyFileDeleted (.CPublishedFile_FileDeleted_Client_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 5c1ade2d..a80bb098 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 @@ -57,6 +57,7 @@ message CRemoteClient_RegisterStatusUpdate_Notification { optional fixed64 session_id = 1; optional fixed64 steamid = 2; optional fixed64 device_id = 3; + optional bool disable_polling = 4; } message CRemoteClient_UnregisterStatusUpdate_Notification { @@ -76,7 +77,10 @@ message CRemoteClient_Online_Notification { optional .CRemoteClient_DeviceDetails device_details = 3; } -message CRemoteClient_GetRecentClients_Request { +message CRemoteClient_Offline_Notification { + optional fixed64 session_id = 1; + optional fixed64 steamid = 2; + optional fixed64 remote_client_id = 3; } message CRemoteClient_ClientLogin { @@ -95,6 +99,9 @@ message CRemoteClient_ClientDetails { optional bool is_online = 8; } +message CRemoteClient_GetRecentClients_Request { +} + message CRemoteClient_GetRecentClients_Response { repeated .CRemoteClient_ClientDetails clients = 1; } @@ -281,5 +288,6 @@ message CCMRemoteClient_ServerMessage { .CRemoteClient_SetPairingInfo_Response set_pairing_info_response = 4; .CRemoteClient_CancelPairing_Response cancel_pairing_response = 5; .CRemoteClient_GetReplies_Response reply_packet = 6; + .CRemoteClient_Offline_Notification offline = 7; } }