/
dota_gcmessages_server.proto
875 lines (757 loc) · 24.8 KB
/
dota_gcmessages_server.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
import "steammessages.proto";
import "dota_gcmessages_common.proto";
import "econ_gcmessages.proto";
import "network_connection.proto";
option optimize_for = SPEED;
option cc_generic_services = false;
enum EPoorNetworkConditionsType {
k_EPoorNetworkConditions_None = 0;
k_EPoorNetworkConditions_Unknown = 1;
k_EPoorNetworkConditions_MassDisconnect = 2;
k_EPoorNetworkConditions_ExcessBadQosIntervals = 3;
}
enum EAbilityAbuseType {
k_EAbilityAbuseType_None = 0;
k_EAbilityAbuseType_Io_Relocate = 1;
k_EAbilityAbuseType_Chen_Test_Of_Faith = 2;
k_EAbilityAbuseType_Bane_Nightmare = 3;
k_EAbilityAbuseType_Bloodseeker_Bloodrage = 4;
k_EAbilityAbuseType_Outworld_Astral_Imprisonment = 5;
k_EAbilityAbuseType_Shadow_Demon_Disruption = 6;
}
enum EIntentionalFeedingType {
k_EIntentionalFeedingType_None = 0;
k_EIntentionalFeedingType_ExcessiveDeaths = 1;
k_EIntentionalFeedingType_MultipleCourierPurchases = 2;
k_EIntentionalFeedingType_MultipleCourierDeaths = 4;
k_EIntentionalFeedingType_LowActivity = 8;
k_EIntentionalFeedingType_LowDamage = 16;
k_EIntentionalFeedingType_HighUnspentGold = 32;
k_EIntentionalFeedingType_SoldTooMuchItemValue = 64;
k_EIntentionalFeedingType_TooManyDroppedItems = 128;
k_EIntentionalFeedingType_ExcessiveTowerDamage = 256;
}
enum ESuspiciousActivity {
k_ESuspiciousActivity_VAC_MultipleInstances = 1;
k_ESuspiciousActivity_IntentionalFeeding = 100;
k_ESuspiciousActivity_SuspectedBotFarming = 101;
}
enum ESuspiciousBuildType {
k_ESuspiciousBuildType_None = 0;
k_ESuspiciousBuildType_NoGoldSpent = 1;
k_ESuspiciousBuildType_NoItems = 2;
k_ESuspiciousBuildType_NoSignificantItems = 3;
k_ESuspiciousBuildType_TooManyBoots = 4;
k_ESuspiciousBuildType_Bot1 = 101;
k_ESuspiciousBuildType_Bot2 = 102;
k_ESuspiciousBuildType_Bot3 = 103;
k_ESuspiciousBuildType_Bot4 = 104;
k_ESuspiciousBuildType_Bot5 = 105;
}
message CMsgSpawnLootGreevil {
optional bool rare = 1;
}
message CMsgDismissLootGreevil {
optional bool killed = 2;
optional bool rare = 3;
}
message CMsgDismissLootGreevilResponse {
}
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;
}
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 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;
}
message CMsgConnectedPlayers {
message Player {
optional fixed64 steam_id = 1;
optional uint32 hero_id = 2;
optional .CMsgLeaverState leaver_state = 3;
optional .ENetworkDisconnectionReason disconnect_reason = 4 [default = NETWORK_DISCONNECT_INVALID];
}
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;
TOWER_STATE = 9;
GAMESTATE_TIMEOUT = 10;
MASS_DISCONNECT = 11;
BARRACKS_STATE = 12;
KILLS = 13;
}
repeated .CMsgConnectedPlayers.Player connected_players = 1;
repeated .CMsgConnectedPlayers.Player disconnected_players = 7;
optional .DOTA_GameState game_state = 2 [default = DOTA_GAMERULES_STATE_INIT];
optional uint32 tower_state = 4;
optional bool first_blood_happened = 6;
optional bool legacy_mass_disconnect = 9;
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 uint32 barracks_state = 13;
}
message CMsgGameServerInfo {
enum ServerType {
UNSPECIFIED = 0;
GAME = 1;
PROXY = 2;
}
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 server_steamdatagram_port = 21;
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;
}
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;
}
message CMsgLeaverDetectedResponse {
optional uint32 result = 1;
}
message CMsgDOTAFantasyPlayerStats {
optional uint32 player_account_id = 1;
optional uint64 match_id = 2;
optional bool match_completed = 3;
optional uint32 level = 4;
optional uint32 kills = 5;
optional uint32 deaths = 6;
optional uint32 assists = 7;
optional uint32 last_hits = 8;
optional uint32 denies = 9;
optional float gpm = 10;
optional float xppm = 11;
optional float stuns = 12;
optional float healing = 13;
optional uint32 tower_kills = 14;
optional uint32 roshan_kills = 15;
optional uint32 team_id = 16;
optional uint32 league_id = 17;
optional uint32 delay = 18;
}
message CMsgDOTAFantasyMatch {
optional uint64 match_id = 1;
optional uint32 league_id = 2;
optional uint32 series_id = 3;
optional uint32 start_time = 4;
optional uint32 series_type = 5;
optional uint32 team_1 = 6;
optional uint32 team_2 = 7;
}
message CMsgServerToGCRealtimeStats {
optional .CMsgDOTARealtimeGameStats delayed = 1;
optional .CMsgDOTARealtimeGameStats current = 2;
}
message CMsgGCToServerRealtimeStatsStartStop {
optional bool start = 1;
}
message CMsgGameMatchSignOut {
message CTeam {
message CPlayer {
message CCustomGameData {
optional uint32 dota_team = 1;
optional bool winner = 2;
}
optional fixed64 steam_id = 1;
optional uint32 hero_id = 3;
repeated uint32 items = 4;
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 hero_damage = 16;
optional uint32 tower_damage = 17;
optional uint32 hero_healing = 18;
optional uint32 time_last_seen = 19;
optional uint32 support_ability_value = 20;
optional uint64 party_id = 21;
optional float scaled_kills = 24;
optional float scaled_deaths = 25;
optional float scaled_assists = 26;
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;
repeated .CMatchPlayerAbilityUpgrade ability_upgrades = 32;
repeated .CMatchAdditionalUnitInventory additional_units_inventory = 33;
optional uint32 net_worth = 34;
optional .CMsgGameMatchSignOut.CTeam.CPlayer.CCustomGameData custom_game_data = 35;
}
repeated .CMsgGameMatchSignOut.CTeam.CPlayer players = 1;
}
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;
}
optional uint64 match_id = 1 [(key_field) = true];
optional uint32 duration = 2;
optional bool good_guys_win = 3;
optional fixed32 date = 4;
repeated uint32 num_players = 5;
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 float game_balance = 13;
optional uint32 event_score = 14;
repeated .CMatchHeroSelectEvent picks_bans = 15;
repeated .CMsgDOTAFantasyPlayerStats fantasy_stats = 16;
repeated .CMsgEconPlayerStrangeCountAdjustment player_strange_count_adjustments = 17;
optional bool automatic_surrender = 18;
optional uint32 server_version = 19;
optional bool legacy_mass_disconnect = 21;
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 sint32 networth_delta_min10 = 23;
optional sint32 networth_delta_min20 = 24;
optional sint32 maximum_losing_networth_lead = 25;
optional sint32 average_experience_delta = 26;
optional sint32 experience_delta_min10 = 27;
optional sint32 experience_delta_min20 = 28;
optional sint32 bonus_gold_winner_min10 = 29;
optional sint32 bonus_gold_winner_min20 = 30;
optional uint32 bonus_gold_winner_total = 31;
optional sint32 bonus_gold_loser_min10 = 32;
optional sint32 bonus_gold_loser_min20 = 33;
optional uint32 bonus_gold_loser_total = 34;
}
message CMsgSignOutDraftInfo {
optional uint32 radiant_captain_account_id = 1;
optional uint32 dire_captain_account_id = 2;
repeated .CMatchHeroSelectEvent picks_bans = 3;
}
message CMsgSignOutBotInfo {
message CMsgBotSlotDifficulty {
optional uint32 slot = 1;
optional .DOTABotDifficulty bot_difficulty = 2 [default = BOT_DIFFICULTY_PASSIVE];
}
optional bool allow_cheats = 1;
optional .DOTABotDifficulty bot_difficulty = 2 [default = BOT_DIFFICULTY_PASSIVE];
optional bool created_lobby = 3;
repeated .CMsgSignOutBotInfo.CMsgBotSlotDifficulty bot_slot_difficulties = 4;
}
message CMsgSignOutPlayerStats {
optional int32 account_id = 1;
optional uint64 match_id = 2;
optional uint32 rank = 3;
optional uint32 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;
}
message CMsgSignOutCommunicationSummary {
message PlayerCommunication {
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 players = 1;
}
message CMsgGameMatchSignoutResponse {
message CAdditionalSignoutMsg {
optional uint32 id = 1;
optional bytes contents = 2;
}
optional uint64 match_id = 1;
optional fixed32 replay_salt = 2;
repeated .CLobbyTimedRewardDetails timed_reward_details = 3;
repeated .CDOTALobbyMember xp_reward_details = 4;
optional uint32 leagueid = 5;
repeated .CMsgGameMatchSignoutResponse.CAdditionalSignoutMsg additional_msgs = 6;
}
message CMsgGameMatchSignOutPermissionRequest {
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];
}
message CMsgGameChatLog {
message CChatLine {
optional uint32 account_id = 1;
optional uint32 team_only = 2;
optional string text = 3;
optional uint32 game_time = 4;
}
optional uint64 match_id = 1;
repeated .CMsgGameChatLog.CChatLine lines = 2;
}
message CMsgDOTALiveScoreboardUpdate {
message Team {
message Player {
message HeroAbility {
optional uint32 ability_id = 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 uint32 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 uint32 item0 = 16;
optional uint32 item1 = 17;
optional uint32 item2 = 18;
optional uint32 item3 = 19;
optional uint32 item4 = 20;
optional uint32 item5 = 21;
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 uint32 hero_picks = 5;
repeated uint32 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 CMsgDOTARequestPlayerResources {
optional fixed64 steam_id = 1;
optional uint32 player_id = 2;
}
message CMsgDOTARequestPlayerResourcesResponse {
optional fixed64 steam_id = 1;
optional uint32 rank = 2;
optional uint32 player_id = 3;
optional bool prevent_text_chat = 4;
optional bool prevent_voice_chat = 5;
optional bool low_priority = 6;
}
message CMsgDOTARequestBatchPlayerResources {
repeated uint32 account_ids = 1 [packed = true];
repeated uint32 rank_types = 4 [packed = true];
}
message CMsgDOTARequestBatchPlayerResourcesResponse {
message Result {
optional uint32 account_id = 1;
optional bool prevent_text_chat = 2;
optional bool prevent_voice_chat = 3;
optional uint32 rank = 4;
optional bool rank_calibrated = 5;
optional bool low_priority = 6;
}
repeated .CMsgDOTARequestBatchPlayerResourcesResponse.Result results = 6;
}
message CMsgDOTAPlayerFailedToConnect {
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;
}
message CMsgGCGCToLANServerRelayConnect {
optional fixed64 relay_steamid = 1;
}
message CMsgGCToRelayConnectResponse {
}
message CMsgGCBanStatusRequest {
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;
}
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;
}
message CMsgTournamentItemEventResponse {
optional .DOTA_TournamentEvents event_type = 1 [default = TE_FIRST_BLOOD];
optional uint32 viewers_granted = 6;
}
message CMsgTeamFanfare {
optional uint64 match_id = 1;
}
message CMsgResponseTeamFanfare {
optional uint32 fanfare_goodguys = 1;
optional uint32 fanfare_badguys = 2;
}
message CMsgGameServerUploadSaveGame {
optional uint32 game_time = 1;
optional bytes save_game_data = 2;
optional uint64 lobby_id = 3;
repeated uint64 player_steam_ids = 4;
}
message CMsgGameServerSaveGameResult {
enum Result {
SaveSuccessful = 0;
SessionNotFound = 1;
DatabaseError = 2;
TooBig = 3;
}
optional .CMsgGameServerSaveGameResult.Result result = 1 [default = SaveSuccessful];
}
message CMsgGameServerGetLoadGame {
optional uint32 save_id = 1;
}
message CMsgGameServerGetLoadGameResult {
optional bytes save_game_data = 1;
}
message CMsgDOTAGenerateDiretidePrizeList {
optional uint32 prize_list = 1;
optional uint32 highest_roshan_level = 2;
}
message CMsgDOTAGenerateDiretidePrizeListResponse {
repeated uint32 item_defs = 1;
repeated fixed64 steam_ids = 2;
optional uint32 prize_list = 3;
}
message CMsgDOTARewardDiretidePrizes {
optional uint32 team = 1;
optional uint32 prize_list = 2;
}
message CMsgDOTADiretidePrizesRewardedResponse {
optional uint32 prize_list = 1;
}
message CMsgDOTAAwardEventPoints {
message AwardPoints {
optional uint32 account_id = 1;
optional int32 points = 2;
optional int32 premium_points = 3;
optional uint32 trade_ban_time = 5;
}
repeated .CMsgDOTAAwardEventPoints.AwardPoints award_points = 1;
optional uint64 match_id = 2;
optional uint32 event_id = 4;
}
message CMsgServerToGCSignoutAwardAdditionalDrops {
message AdditionalDrops {
optional string loot_list = 1;
repeated uint32 player_account_ids = 2;
optional bool no_trade = 3;
optional bool randomize_reward = 4;
}
repeated .CMsgServerToGCSignoutAwardAdditionalDrops.AdditionalDrops drops = 1;
optional uint64 match_id = 2;
}
message CMsgDOTAUpdateTI4HeroQuest {
message Player {
optional uint32 account_id = 1;
optional uint32 hero_id = 2;
}
repeated .CMsgDOTAUpdateTI4HeroQuest.Player players = 1;
optional fixed32 match_start_time = 2;
optional uint64 match_id = 3;
}
message CMsgDOTAFrostivusTimeElapsed {
message User {
optional uint32 account_id = 1;
optional uint32 time_elapsed_s = 2;
}
optional uint32 seconds = 1;
repeated .CMsgDOTAFrostivusTimeElapsed.User users = 2;
optional uint64 match_id = 3;
}
message CMsgGCToServerPingRequest {
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;
}
message CMsgGCToServerConsoleCommand {
optional string console_command = 1;
}
message CMsgServerGetEventPoints {
optional uint32 event_id = 1;
repeated uint32 account_id = 2;
}
message CMsgServerGetEventPointsResponse {
message Points {
optional uint32 account_id = 1;
optional uint32 points_total = 2;
optional bool owned = 4;
}
optional uint32 event_id = 1;
repeated .CMsgServerGetEventPointsResponse.Points points = 2;
}
message CMsgServerGrantSurveyPermission {
message Survey {
optional uint32 account_id = 1;
optional uint32 question_id = 2;
optional uint32 expire_time = 3;
optional uint64 survey_key = 4;
optional uint64 extra_data = 5;
optional uint64 extra_data_32 = 6;
}
repeated .CMsgServerGrantSurveyPermission.Survey surveys = 1;
}
message CMsgServerGrantSurveyPermissionResponse {
optional uint32 result = 1;
}
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 CMsgServerGCUpdateSpectatorCount {
optional uint32 spectator_count = 1;
}
message CSerializedCombatLog {
message Dictionary {
message DictString {
required uint32 id = 1;
required string value = 2;
}
repeated .CSerializedCombatLog.Dictionary.DictString strings = 1;
}
optional uint32 version = 1;
optional .CSerializedCombatLog.Dictionary dictionary = 2;
repeated .CMsgDOTACombatLogEntry entries = 3;
}
message CMsgServerToGCGetAdditionalEquips {
repeated uint32 account_ids = 1;
}
message CMsgServerToGCGetAdditionalEquipsResponse {
message CUserEquips {
optional uint32 account_id = 1;
repeated .CAdditionalEquipSlot equips = 2;
}
repeated .CMsgServerToGCGetAdditionalEquipsResponse.CUserEquips equips = 1;
}
message CMsgServerToGCGetProfileCard {
repeated uint32 account_ids = 1;
}
message CMsgServerToGCGetProfileCardResponse {
repeated .CMsgDOTAProfileCard cards = 1;
}
message CMsgServerToGCVictoryPredictions {
message Record {
optional uint32 account_id = 1;
optional uint64 item_id = 2;
repeated uint64 item_ids = 5;
}
repeated .CMsgServerToGCVictoryPredictions.Record records = 1;
}
message CMsgSuspiciousActivity {
optional uint32 account_id = 1;
optional .ESuspiciousActivity activity = 2 [default = k_ESuspiciousActivity_VAC_MultipleInstances];
optional sint32 intdata1 = 3;
optional sint32 intdata2 = 4;
optional uint32 time = 5;
}
message CMsgServerToGCRequestStatus {
}
message CMsgServerToGCRequestStatus_Response {
optional uint32 response = 1;
}
message CMsgSignOutAssassinMiniGameInfo {
repeated fixed64 winning_players = 1;
repeated fixed64 losing_players = 2;
repeated fixed64 arcana_owners = 3;
optional bool assassin_won = 4;
optional uint32 target_hero_id = 5;
optional bool contract_completed = 6;
optional float contract_complete_time = 7;
optional bool pa_is_radiant = 8;
}
message CMsgServerToGCGetIngameEventData {
optional .EIngameEvent event = 1 [default = k_EIngameEvent_OraclePA];
}
message CMsgGCToServerIngameEventDataOraclePA {
repeated uint32 target_hero_ids = 1;
}
message CMsgServerToGCKillSummaries {
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;
}
message CMsgGCToServerPredictionResult {
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 .CMsgGCToServerPredictionResult.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 .CMsgGCToServerPredictionResult.Prediction predictions = 4;
}
message CMsgServerToGCLockCharmTrading {
optional uint32 account_id = 1;
optional uint64 item_id = 2;
}
message CMsgDOTACNY2015EventPointUsage {
message PointUsage {
repeated uint32 path = 1;
repeated uint32 path_level = 2;
repeated uint32 ability_points_spent = 3;
}
optional .CMsgDOTACNY2015EventPointUsage.PointUsage winning_team_usage = 1;
optional .CMsgDOTACNY2015EventPointUsage.PointUsage losing_team_usage = 2;
}
message CMsgSignOutUpdatePlayerChallenge {
message Challenge {
optional uint32 event_id = 1;
optional uint32 sequence_id = 3;
}
optional uint32 account_id = 1;
repeated .CMsgSignOutUpdatePlayerChallenge.Challenge completed = 2;
repeated .CMsgSignOutUpdatePlayerChallenge.Challenge rerolled = 3;
optional uint64 match_id = 4;
}
message CMsgServerToGCRerollPlayerChallenge {
optional uint32 account_id = 1;
optional .CMsgClientToGCRerollPlayerChallenge reroll_msg = 2;
}