-
Notifications
You must be signed in to change notification settings - Fork 301
/
dota_gcmessages_client.proto
3334 lines (2794 loc) · 87.5 KB
/
dota_gcmessages_client.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import "steammessages.proto";
import "dota_shared_enums.proto";
import "dota_gcmessages_common.proto";
import "dota_gcmessages_webapi.proto";
import "gcsdk_gcmessages.proto";
import "dota_gcmessages_common_lobby.proto";
import "dota_gcmessages_common_match_management.proto";
import "base_gcmessages.proto";
import "econ_gcmessages.proto";
import "valveextensions.proto";
enum CMsgDOTARequestMatches_SkillLevel {
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;
}
enum EItemEditorReservationResult {
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;
}
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;
}
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;
}
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;
}
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;
}
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;
}
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;
}
enum CMsgClientToGCUpdateComicBookStat_Type {
CMsgClientToGCUpdateComicBookStat_Type_HighestPageRead = 1;
CMsgClientToGCUpdateComicBookStat_Type_SecondsSpentReading = 2;
CMsgClientToGCUpdateComicBookStat_Type_HighestPercentRead = 3;
}
message CMsgClientSuspended {
optional uint32 time_end = 1;
}
message CMsgBalancedShuffleLobby {
}
message CMsgInitialQuestionnaireResponse {
optional uint32 initial_skill = 1;
}
message CMsgDOTARequestMatchesResponse {
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;
}
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;
}
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;
}
message CMsgDOTASubmitPlayerReport {
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];
}
message CMsgDOTASubmitPlayerAvoidRequest {
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;
}
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;
}
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];
}
message CMsgDOTASubmitLobbyMVPVote {
optional uint32 target_account_id = 1;
}
message CMsgDOTASubmitLobbyMVPVoteResponse {
optional uint32 target_account_id = 1;
optional uint32 eresult = 2;
}
message CMsgDOTALobbyMVPAwarded {
optional uint64 match_id = 1;
repeated uint32 mvp_account_id = 2;
}
message CMsgDOTAKickedFromMatchmakingQueue {
optional .MatchType match_type = 1 [default = MATCH_TYPE_CASUAL];
}
message CMsgGCMatchDetailsRequest {
optional uint64 match_id = 1;
}
message CMsgGCMatchDetailsResponse {
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;
}
optional uint32 result = 1;
optional uint32 account_id = 2;
repeated .CMsgDOTAProfileTickets.LeaguePass league_passes = 3;
}
message CMsgClientToGCGetProfileTickets {
optional uint32 account_id = 1;
}
message CMsgGCToClientPartySearchInvites {
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;
}
message CSODOTAGameHeroFavorites {
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;
}
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];
}
message CMsgDOTAMatchmakingStatsRequest {
}
message CMsgDOTAMatchmakingStatsResponse {
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;
}
message CMsgDOTAUpdateMatchManagementStats {
optional .CMsgDOTAMatchmakingStatsResponse stats = 1;
}
message CMsgDOTASetMatchHistoryAccess {
optional bool allow_3rd_party_match_history = 1;
}
message CMsgDOTASetMatchHistoryAccessResponse {
optional uint32 eresult = 1 [default = 2];
}
message CMsgDOTANotifyAccountFlagsChange {
optional uint32 accountid = 1;
optional uint32 account_flags = 2;
}
message CMsgDOTASetProfilePrivacy {
optional bool profile_private = 1;
}
message CMsgDOTASetProfilePrivacyResponse {
optional uint32 eresult = 1;
}
message CMsgUpgradeLeagueItem {
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];
}
message CMsgClientsRejoinChatChannels {
}
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 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;
}
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];
}
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 RankChunkedStats {
optional uint32 rank_chunk = 1;
repeated .CMsgGCGetHeroTimedStatsResponse.TimedStatsContainer timed_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;
}
message CMsgGCItemEditorReservationsResponse {
repeated .CMsgGCItemEditorReservation reservations = 1;
}
message CMsgGCItemEditorReserveItemDef {
optional uint32 def_index = 1;
optional string username = 2;
}
message CMsgGCItemEditorReserveItemDefResponse {
optional uint32 def_index = 1;
optional string username = 2;
optional uint32 result = 3;
}
message CMsgGCItemEditorReleaseReservation {
optional uint32 def_index = 1;
optional string username = 2;
}
message CMsgGCItemEditorReleaseReservationResponse {
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;
}
message CMsgDOTAClaimEventActionData {
message GrantItemGiftData {
optional uint32 give_to_account_id = 1;
optional string gift_message = 2;
}
optional .CMsgDOTAClaimEventActionData.GrantItemGiftData grant_item_gift_data = 4;
}
message CMsgDOTAClaimEventAction {
optional uint32 event_id = 1;
optional uint32 action_id = 2;
optional uint32 quantity = 3;
optional .CMsgDOTAClaimEventActionData data = 4;
}
message CMsgClientToGCClaimEventActionUsingItem {
optional uint32 event_id = 1;
optional uint32 action_id = 2;
optional uint64 item_id = 3;
optional uint32 quantity = 4;
}
message CMsgClientToGCClaimEventActionUsingItemResponse {
optional .CMsgDOTAClaimEventActionResponse action_results = 1;
}
message CMsgGCToClientClaimEventActionUsingItemCompleted {
optional uint64 item_id = 1;
optional .CMsgDOTAClaimEventActionResponse action_results = 2;
}
message CMsgDOTAGetEventPoints {
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 CMsgDOTAGetPeriodicResource {
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;
}
message CMsgDOTAPeriodicResourceUpdated {
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;
}
message CMsgDOTACompendiumSelectionResponse {
optional uint32 eresult = 1 [default = 2];
}
message CMsgDOTACompendiumRemoveAllSelections {
optional uint32 leagueid = 1;
}
message CMsgDOTACompendiumRemoveAllSelectionsResponse {
optional uint32 eresult = 1 [default = 2];
}
message CMsgDOTACompendiumData {
repeated .CMsgDOTACompendiumSelection selections = 1;
}
message CMsgDOTACompendiumDataRequest {
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;
}
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;
}
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 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;
}
message CMsgGCNotificationsUpdate {
enum EResult {
SUCCESS = 0;
ERROR_UNSPECIFIED = 1;
}
optional .CMsgGCNotificationsUpdate.EResult result = 1 [default = SUCCESS];
repeated .CMsgGCNotifications_Notification notifications = 2;
}
message CMsgGCNotificationsResponse {
optional .CMsgGCNotificationsUpdate update = 1;
}
message CMsgGCNotificationsMarkReadRequest {
}
message CMsgGCPlayerInfoSubmit {
optional string name = 1;
optional string country_code = 2;
optional uint32 fantasy_role = 3;
optional uint32 team_id = 4;
optional string sponsor = 5;
}
message CMsgGCPlayerInfoSubmitResponse {
enum EResult {
SUCCESS = 0;
ERROR_UNSPECIFIED = 1;
ERROR_INFO_LOCKED = 2;
ERROR_NOT_MEMBER_OF_TEAM = 3;
}
optional .CMsgGCPlayerInfoSubmitResponse.EResult result = 1 [default = SUCCESS];
}
message CMsgDOTAEmoticonAccessSDO {
optional uint32 account_id = 1;
optional bytes unlocked_emoticons = 2;
}
message CMsgClientToGCEmoticonDataRequest {
}
message CMsgGCToClientEmoticonData {
optional .CMsgDOTAEmoticonAccessSDO emoticon_access = 1;
}
message CMsgGCToClientTournamentItemDrop {
optional uint32 item_def = 1;
optional uint32 event_type = 2;
}
message CMsgClientToGCGetAllHeroOrder {
}
message CMsgClientToGCGetAllHeroOrderResponse {
repeated int32 hero_ids = 1;
}
message CMsgClientToGCGetAllHeroProgress {
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;
}
message CMsgClientToGCGetTrophyList {
optional uint32 account_id = 1;
}
message CMsgClientToGCGetTrophyListResponse {
message Trophy {
optional uint32 trophy_id = 1;
optional uint32 trophy_score = 2;
optional uint32 last_updated = 3;
}
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;
}
message CMsgClientToGCRankRequest {
optional .ERankType rank_type = 1 [default = k_ERankType_Invalid];
}
message CMsgGCToClientRankResponse {
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;
}
message CMsgGCToClientRankUpdate {
optional .ERankType rank_type = 1 [default = k_ERankType_Invalid];
optional .CMsgGCToClientRankResponse rank_info = 2;
}
message CMsgClientToGCGetProfileCard {
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;
}
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;
}
message CMsgGCToClientHeroStatueCreateResult {
optional uint64 resulting_item_id = 1;
}
message CMsgClientToGCPlayerStatsRequest {
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;
}
message CMsgClientToGCCustomGamesFriendsPlayedRequest {
}
message CMsgGCToClientCustomGamesFriendsPlayedResponse {
message CustomGame {
optional uint64 custom_game_id = 1;
repeated uint32 account_ids = 2;
}
optional uint32 account_id = 1;
repeated .CMsgGCToClientCustomGamesFriendsPlayedResponse.CustomGame games = 2;
}
message CMsgClientToGCSocialFeedPostCommentRequest {
optional uint64 event_id = 1;
optional string comment = 2;
}
message CMsgGCToClientSocialFeedPostCommentResponse {
optional bool success = 1;
}
message CMsgClientToGCSocialFeedPostMessageRequest {
optional string message = 1;
optional uint64 match_id = 2;
optional uint32 match_timestamp = 3;
}
message CMsgGCToClientSocialFeedPostMessageResponse {
optional bool success = 1;
}
message CMsgClientToGCFriendsPlayedCustomGameRequest {
optional uint64 custom_game_id = 1;
}
message CMsgGCToClientFriendsPlayedCustomGameResponse {
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;