forked from dotabuff/manta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
game_event_lookup.go
8302 lines (7122 loc) · 248 KB
/
game_event_lookup.go
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
//go:generate go run gen/game_event.go fixtures/source_1_legacy_game_events_list.pbmsg game_event_lookup.go
package manta
import (
"github.com/dotabuff/manta/dota"
)
var gameEventNames = map[int32]string{
0: "server_spawn",
1: "server_pre_shutdown",
2: "server_shutdown",
3: "server_cvar",
4: "server_message",
5: "server_addban",
6: "server_removeban",
7: "player_connect",
8: "player_info",
9: "player_disconnect",
10: "player_activate",
11: "player_connect_full",
12: "player_say",
13: "player_full_update",
14: "team_info",
15: "team_score",
16: "teamplay_broadcast_audio",
17: "player_team",
18: "player_class",
19: "player_death",
20: "player_hurt",
21: "player_chat",
22: "player_score",
23: "player_spawn",
24: "player_shoot",
25: "player_use",
26: "player_changename",
27: "player_hintmessage",
28: "game_init",
29: "game_newmap",
30: "game_start",
31: "game_end",
32: "round_start",
33: "round_end",
34: "round_start_pre_entity",
35: "teamplay_round_start",
36: "hostname_changed",
37: "difficulty_changed",
38: "finale_start",
39: "game_message",
40: "break_breakable",
41: "break_prop",
42: "npc_spawned",
43: "npc_replaced",
44: "entity_killed",
45: "entity_hurt",
46: "bonus_updated",
47: "player_stats_updated",
48: "achievement_event",
49: "achievement_earned",
50: "achievement_write_failed",
51: "physgun_pickup",
52: "flare_ignite_npc",
53: "helicopter_grenade_punt_miss",
54: "user_data_downloaded",
55: "ragdoll_dissolved",
56: "gameinstructor_draw",
57: "gameinstructor_nodraw",
58: "map_transition",
59: "instructor_server_hint_create",
60: "instructor_server_hint_stop",
61: "chat_new_message",
62: "chat_members_changed",
63: "inventory_updated",
64: "cart_updated",
65: "store_pricesheet_updated",
66: "gc_connected",
67: "item_schema_initialized",
68: "drop_rate_modified",
69: "event_ticket_modified",
70: "modifier_event",
71: "dota_player_kill",
72: "dota_player_deny",
73: "dota_barracks_kill",
74: "dota_tower_kill",
75: "dota_effigy_kill",
76: "dota_roshan_kill",
77: "dota_courier_lost",
78: "dota_courier_respawned",
79: "dota_glyph_used",
80: "dota_super_creeps",
81: "dota_item_purchase",
82: "dota_item_gifted",
83: "dota_rune_pickup",
84: "dota_rune_spotted",
85: "dota_item_spotted",
86: "dota_no_battle_points",
87: "dota_chat_informational",
88: "dota_action_item",
89: "dota_chat_ban_notification",
90: "dota_chat_event",
91: "dota_chat_timed_reward",
92: "dota_pause_event",
93: "dota_chat_kill_streak",
94: "dota_chat_first_blood",
95: "dota_chat_assassin_announce",
96: "dota_chat_assassin_denied",
97: "dota_chat_assassin_success",
98: "dota_player_update_hero_selection",
99: "dota_player_update_selected_unit",
100: "dota_player_update_query_unit",
101: "dota_player_update_killcam_unit",
102: "dota_player_take_tower_damage",
103: "dota_hud_error_message",
104: "dota_action_success",
105: "dota_starting_position_changed",
106: "dota_money_changed",
107: "dota_enemy_money_changed",
108: "dota_portrait_unit_stats_changed",
109: "dota_portrait_unit_modifiers_changed",
110: "dota_force_portrait_update",
111: "dota_inventory_changed",
112: "dota_item_picked_up",
113: "dota_inventory_item_changed",
114: "dota_ability_changed",
115: "dota_portrait_ability_layout_changed",
116: "dota_inventory_item_added",
117: "dota_inventory_changed_query_unit",
118: "dota_link_clicked",
119: "dota_set_quick_buy",
120: "dota_quick_buy_changed",
121: "dota_player_shop_changed",
122: "dota_player_show_killcam",
123: "dota_player_show_minikillcam",
124: "gc_user_session_created",
125: "team_data_updated",
126: "guild_data_updated",
127: "guild_open_parties_updated",
128: "fantasy_updated",
129: "fantasy_league_changed",
130: "fantasy_score_info_changed",
131: "player_info_updated",
132: "player_info_individual_updated",
133: "game_rules_state_change",
134: "match_history_updated",
135: "match_details_updated",
136: "live_games_updated",
137: "recent_matches_updated",
138: "news_updated",
139: "persona_updated",
140: "tournament_state_updated",
141: "party_updated",
142: "lobby_updated",
143: "dashboard_caches_cleared",
144: "last_hit",
145: "player_completed_game",
146: "player_reconnected",
147: "nommed_tree",
148: "dota_rune_activated_server",
149: "dota_player_gained_level",
150: "dota_player_learned_ability",
151: "dota_player_used_ability",
152: "dota_non_player_used_ability",
153: "dota_player_begin_cast",
154: "dota_non_player_begin_cast",
155: "dota_ability_channel_finished",
156: "dota_holdout_revive_complete",
157: "dota_player_killed",
158: "bindpanel_open",
159: "bindpanel_close",
160: "keybind_changed",
161: "dota_item_drag_begin",
162: "dota_item_drag_end",
163: "dota_shop_item_drag_begin",
164: "dota_shop_item_drag_end",
165: "dota_item_purchased",
166: "dota_item_combined",
167: "dota_item_used",
168: "dota_item_auto_purchase",
169: "dota_unit_event",
170: "dota_quest_started",
171: "dota_quest_completed",
172: "gameui_activated",
173: "gameui_hidden",
174: "player_fullyjoined",
175: "dota_spectate_hero",
176: "dota_match_done",
177: "dota_match_done_client",
178: "set_instructor_group_enabled",
179: "joined_chat_channel",
180: "left_chat_channel",
181: "gc_chat_channel_list_updated",
182: "today_messages_updated",
183: "file_downloaded",
184: "player_report_counts_updated",
185: "scaleform_file_download_complete",
186: "item_purchased",
187: "gc_mismatched_version",
190: "demo_stop",
191: "map_shutdown",
192: "dota_workshop_fileselected",
193: "dota_workshop_filecanceled",
194: "rich_presence_updated",
195: "dota_hero_random",
196: "dota_rd_chat_turn",
197: "dota_favorite_heroes_updated",
198: "profile_opened",
199: "profile_closed",
200: "item_preview_closed",
201: "dashboard_switched_section",
202: "dota_tournament_item_event",
203: "dota_hero_swap",
204: "dota_reset_suggested_items",
205: "halloween_high_score_received",
206: "halloween_phase_end",
207: "halloween_high_score_request_failed",
208: "dota_hud_skin_changed",
209: "dota_inventory_player_got_item",
210: "player_is_experienced",
211: "player_is_notexperienced",
212: "dota_tutorial_lesson_start",
213: "dota_tutorial_task_advance",
214: "dota_tutorial_shop_toggled",
215: "map_location_updated",
216: "richpresence_custom_updated",
217: "game_end_visible",
218: "antiaddiction_update",
219: "highlight_hud_element",
220: "hide_highlight_hud_element",
221: "intro_video_finished",
222: "matchmaking_status_visibility_changed",
223: "practice_lobby_visibility_changed",
224: "dota_courier_transfer_item",
225: "full_ui_unlocked",
227: "hero_selector_preview_set",
228: "antiaddiction_toast",
229: "hero_picker_shown",
230: "hero_picker_hidden",
231: "dota_local_quickbuy_changed",
232: "show_center_message",
233: "hud_flip_changed",
234: "frosty_points_updated",
235: "defeated",
236: "reset_defeated",
237: "booster_state_updated",
238: "event_points_updated",
239: "local_player_event_points",
240: "custom_game_difficulty",
241: "tree_cut",
242: "ugc_details_arrived",
243: "ugc_subscribed",
244: "ugc_unsubscribed",
245: "ugc_download_requested",
246: "ugc_installed",
247: "prizepool_received",
248: "microtransaction_success",
249: "dota_rubick_ability_steal",
250: "compendium_event_actions_loaded",
251: "compendium_selections_loaded",
252: "compendium_set_selection_failed",
253: "compendium_trophies_loaded",
254: "community_cached_names_updated",
255: "spec_item_pickup",
256: "spec_aegis_reclaim_time",
257: "account_trophies_changed",
258: "account_all_hero_challenge_changed",
259: "team_showcase_ui_update",
260: "ingame_events_changed",
261: "dota_match_signout",
262: "dota_illusions_created",
263: "dota_year_beast_killed",
264: "dota_hero_undoselection",
265: "dota_challenge_socache_updated",
266: "party_invites_updated",
267: "lobby_invites_updated",
268: "custom_game_mode_list_updated",
269: "custom_game_lobby_list_updated",
270: "friend_lobby_list_updated",
271: "dota_team_player_list_changed",
272: "dota_player_details_changed",
273: "player_profile_stats_updated",
274: "custom_game_player_count_updated",
275: "custom_game_friends_played_updated",
276: "custom_games_friends_play_updated",
277: "dota_player_update_assigned_hero",
278: "dota_player_hero_selection_dirty",
279: "dota_npc_goal_reached",
280: "dota_player_selected_custom_team",
281: "hltv_status",
282: "hltv_cameraman",
283: "hltv_rank_camera",
284: "hltv_rank_entity",
285: "hltv_fixed",
286: "hltv_chase",
287: "hltv_message",
288: "hltv_title",
289: "hltv_chat",
290: "hltv_versioninfo",
291: "dota_chase_hero",
292: "dota_combatlog",
293: "dota_game_state_change",
294: "dota_player_pick_hero",
295: "dota_team_kill_credit",
}
const (
EGameEvent_ServerSpawn = 0
EGameEvent_ServerPreShutdown = 1
EGameEvent_ServerShutdown = 2
EGameEvent_ServerCvar = 3
EGameEvent_ServerMessage = 4
EGameEvent_ServerAddban = 5
EGameEvent_ServerRemoveban = 6
EGameEvent_PlayerConnect = 7
EGameEvent_PlayerInfo = 8
EGameEvent_PlayerDisconnect = 9
EGameEvent_PlayerActivate = 10
EGameEvent_PlayerConnectFull = 11
EGameEvent_PlayerSay = 12
EGameEvent_PlayerFullUpdate = 13
EGameEvent_TeamInfo = 14
EGameEvent_TeamScore = 15
EGameEvent_TeamplayBroadcastAudio = 16
EGameEvent_PlayerTeam = 17
EGameEvent_PlayerClass = 18
EGameEvent_PlayerDeath = 19
EGameEvent_PlayerHurt = 20
EGameEvent_PlayerChat = 21
EGameEvent_PlayerScore = 22
EGameEvent_PlayerSpawn = 23
EGameEvent_PlayerShoot = 24
EGameEvent_PlayerUse = 25
EGameEvent_PlayerChangename = 26
EGameEvent_PlayerHintmessage = 27
EGameEvent_GameInit = 28
EGameEvent_GameNewmap = 29
EGameEvent_GameStart = 30
EGameEvent_GameEnd = 31
EGameEvent_RoundStart = 32
EGameEvent_RoundEnd = 33
EGameEvent_RoundStartPreEntity = 34
EGameEvent_TeamplayRoundStart = 35
EGameEvent_HostnameChanged = 36
EGameEvent_DifficultyChanged = 37
EGameEvent_FinaleStart = 38
EGameEvent_GameMessage = 39
EGameEvent_BreakBreakable = 40
EGameEvent_BreakProp = 41
EGameEvent_NpcSpawned = 42
EGameEvent_NpcReplaced = 43
EGameEvent_EntityKilled = 44
EGameEvent_EntityHurt = 45
EGameEvent_BonusUpdated = 46
EGameEvent_PlayerStatsUpdated = 47
EGameEvent_AchievementEvent = 48
EGameEvent_AchievementEarned = 49
EGameEvent_AchievementWriteFailed = 50
EGameEvent_PhysgunPickup = 51
EGameEvent_FlareIgniteNpc = 52
EGameEvent_HelicopterGrenadePuntMiss = 53
EGameEvent_UserDataDownloaded = 54
EGameEvent_RagdollDissolved = 55
EGameEvent_GameinstructorDraw = 56
EGameEvent_GameinstructorNodraw = 57
EGameEvent_MapTransition = 58
EGameEvent_InstructorServerHintCreate = 59
EGameEvent_InstructorServerHintStop = 60
EGameEvent_ChatNewMessage = 61
EGameEvent_ChatMembersChanged = 62
EGameEvent_InventoryUpdated = 63
EGameEvent_CartUpdated = 64
EGameEvent_StorePricesheetUpdated = 65
EGameEvent_GcConnected = 66
EGameEvent_ItemSchemaInitialized = 67
EGameEvent_DropRateModified = 68
EGameEvent_EventTicketModified = 69
EGameEvent_ModifierEvent = 70
EGameEvent_DotaPlayerKill = 71
EGameEvent_DotaPlayerDeny = 72
EGameEvent_DotaBarracksKill = 73
EGameEvent_DotaTowerKill = 74
EGameEvent_DotaEffigyKill = 75
EGameEvent_DotaRoshanKill = 76
EGameEvent_DotaCourierLost = 77
EGameEvent_DotaCourierRespawned = 78
EGameEvent_DotaGlyphUsed = 79
EGameEvent_DotaSuperCreeps = 80
EGameEvent_DotaItemPurchase = 81
EGameEvent_DotaItemGifted = 82
EGameEvent_DotaRunePickup = 83
EGameEvent_DotaRuneSpotted = 84
EGameEvent_DotaItemSpotted = 85
EGameEvent_DotaNoBattlePoints = 86
EGameEvent_DotaChatInformational = 87
EGameEvent_DotaActionItem = 88
EGameEvent_DotaChatBanNotification = 89
EGameEvent_DotaChatEvent = 90
EGameEvent_DotaChatTimedReward = 91
EGameEvent_DotaPauseEvent = 92
EGameEvent_DotaChatKillStreak = 93
EGameEvent_DotaChatFirstBlood = 94
EGameEvent_DotaChatAssassinAnnounce = 95
EGameEvent_DotaChatAssassinDenied = 96
EGameEvent_DotaChatAssassinSuccess = 97
EGameEvent_DotaPlayerUpdateHeroSelection = 98
EGameEvent_DotaPlayerUpdateSelectedUnit = 99
EGameEvent_DotaPlayerUpdateQueryUnit = 100
EGameEvent_DotaPlayerUpdateKillcamUnit = 101
EGameEvent_DotaPlayerTakeTowerDamage = 102
EGameEvent_DotaHudErrorMessage = 103
EGameEvent_DotaActionSuccess = 104
EGameEvent_DotaStartingPositionChanged = 105
EGameEvent_DotaMoneyChanged = 106
EGameEvent_DotaEnemyMoneyChanged = 107
EGameEvent_DotaPortraitUnitStatsChanged = 108
EGameEvent_DotaPortraitUnitModifiersChanged = 109
EGameEvent_DotaForcePortraitUpdate = 110
EGameEvent_DotaInventoryChanged = 111
EGameEvent_DotaItemPickedUp = 112
EGameEvent_DotaInventoryItemChanged = 113
EGameEvent_DotaAbilityChanged = 114
EGameEvent_DotaPortraitAbilityLayoutChanged = 115
EGameEvent_DotaInventoryItemAdded = 116
EGameEvent_DotaInventoryChangedQueryUnit = 117
EGameEvent_DotaLinkClicked = 118
EGameEvent_DotaSetQuickBuy = 119
EGameEvent_DotaQuickBuyChanged = 120
EGameEvent_DotaPlayerShopChanged = 121
EGameEvent_DotaPlayerShowKillcam = 122
EGameEvent_DotaPlayerShowMinikillcam = 123
EGameEvent_GcUserSessionCreated = 124
EGameEvent_TeamDataUpdated = 125
EGameEvent_GuildDataUpdated = 126
EGameEvent_GuildOpenPartiesUpdated = 127
EGameEvent_FantasyUpdated = 128
EGameEvent_FantasyLeagueChanged = 129
EGameEvent_FantasyScoreInfoChanged = 130
EGameEvent_PlayerInfoUpdated = 131
EGameEvent_PlayerInfoIndividualUpdated = 132
EGameEvent_GameRulesStateChange = 133
EGameEvent_MatchHistoryUpdated = 134
EGameEvent_MatchDetailsUpdated = 135
EGameEvent_LiveGamesUpdated = 136
EGameEvent_RecentMatchesUpdated = 137
EGameEvent_NewsUpdated = 138
EGameEvent_PersonaUpdated = 139
EGameEvent_TournamentStateUpdated = 140
EGameEvent_PartyUpdated = 141
EGameEvent_LobbyUpdated = 142
EGameEvent_DashboardCachesCleared = 143
EGameEvent_LastHit = 144
EGameEvent_PlayerCompletedGame = 145
EGameEvent_PlayerReconnected = 146
EGameEvent_NommedTree = 147
EGameEvent_DotaRuneActivatedServer = 148
EGameEvent_DotaPlayerGainedLevel = 149
EGameEvent_DotaPlayerLearnedAbility = 150
EGameEvent_DotaPlayerUsedAbility = 151
EGameEvent_DotaNonPlayerUsedAbility = 152
EGameEvent_DotaPlayerBeginCast = 153
EGameEvent_DotaNonPlayerBeginCast = 154
EGameEvent_DotaAbilityChannelFinished = 155
EGameEvent_DotaHoldoutReviveComplete = 156
EGameEvent_DotaPlayerKilled = 157
EGameEvent_BindpanelOpen = 158
EGameEvent_BindpanelClose = 159
EGameEvent_KeybindChanged = 160
EGameEvent_DotaItemDragBegin = 161
EGameEvent_DotaItemDragEnd = 162
EGameEvent_DotaShopItemDragBegin = 163
EGameEvent_DotaShopItemDragEnd = 164
EGameEvent_DotaItemPurchased = 165
EGameEvent_DotaItemCombined = 166
EGameEvent_DotaItemUsed = 167
EGameEvent_DotaItemAutoPurchase = 168
EGameEvent_DotaUnitEvent = 169
EGameEvent_DotaQuestStarted = 170
EGameEvent_DotaQuestCompleted = 171
EGameEvent_GameuiActivated = 172
EGameEvent_GameuiHidden = 173
EGameEvent_PlayerFullyjoined = 174
EGameEvent_DotaSpectateHero = 175
EGameEvent_DotaMatchDone = 176
EGameEvent_DotaMatchDoneClient = 177
EGameEvent_SetInstructorGroupEnabled = 178
EGameEvent_JoinedChatChannel = 179
EGameEvent_LeftChatChannel = 180
EGameEvent_GcChatChannelListUpdated = 181
EGameEvent_TodayMessagesUpdated = 182
EGameEvent_FileDownloaded = 183
EGameEvent_PlayerReportCountsUpdated = 184
EGameEvent_ScaleformFileDownloadComplete = 185
EGameEvent_ItemPurchased = 186
EGameEvent_GcMismatchedVersion = 187
EGameEvent_DemoStop = 190
EGameEvent_MapShutdown = 191
EGameEvent_DotaWorkshopFileselected = 192
EGameEvent_DotaWorkshopFilecanceled = 193
EGameEvent_RichPresenceUpdated = 194
EGameEvent_DotaHeroRandom = 195
EGameEvent_DotaRdChatTurn = 196
EGameEvent_DotaFavoriteHeroesUpdated = 197
EGameEvent_ProfileOpened = 198
EGameEvent_ProfileClosed = 199
EGameEvent_ItemPreviewClosed = 200
EGameEvent_DashboardSwitchedSection = 201
EGameEvent_DotaTournamentItemEvent = 202
EGameEvent_DotaHeroSwap = 203
EGameEvent_DotaResetSuggestedItems = 204
EGameEvent_HalloweenHighScoreReceived = 205
EGameEvent_HalloweenPhaseEnd = 206
EGameEvent_HalloweenHighScoreRequestFailed = 207
EGameEvent_DotaHudSkinChanged = 208
EGameEvent_DotaInventoryPlayerGotItem = 209
EGameEvent_PlayerIsExperienced = 210
EGameEvent_PlayerIsNotexperienced = 211
EGameEvent_DotaTutorialLessonStart = 212
EGameEvent_DotaTutorialTaskAdvance = 213
EGameEvent_DotaTutorialShopToggled = 214
EGameEvent_MapLocationUpdated = 215
EGameEvent_RichpresenceCustomUpdated = 216
EGameEvent_GameEndVisible = 217
EGameEvent_AntiaddictionUpdate = 218
EGameEvent_HighlightHudElement = 219
EGameEvent_HideHighlightHudElement = 220
EGameEvent_IntroVideoFinished = 221
EGameEvent_MatchmakingStatusVisibilityChanged = 222
EGameEvent_PracticeLobbyVisibilityChanged = 223
EGameEvent_DotaCourierTransferItem = 224
EGameEvent_FullUiUnlocked = 225
EGameEvent_HeroSelectorPreviewSet = 227
EGameEvent_AntiaddictionToast = 228
EGameEvent_HeroPickerShown = 229
EGameEvent_HeroPickerHidden = 230
EGameEvent_DotaLocalQuickbuyChanged = 231
EGameEvent_ShowCenterMessage = 232
EGameEvent_HudFlipChanged = 233
EGameEvent_FrostyPointsUpdated = 234
EGameEvent_Defeated = 235
EGameEvent_ResetDefeated = 236
EGameEvent_BoosterStateUpdated = 237
EGameEvent_EventPointsUpdated = 238
EGameEvent_LocalPlayerEventPoints = 239
EGameEvent_CustomGameDifficulty = 240
EGameEvent_TreeCut = 241
EGameEvent_UgcDetailsArrived = 242
EGameEvent_UgcSubscribed = 243
EGameEvent_UgcUnsubscribed = 244
EGameEvent_UgcDownloadRequested = 245
EGameEvent_UgcInstalled = 246
EGameEvent_PrizepoolReceived = 247
EGameEvent_MicrotransactionSuccess = 248
EGameEvent_DotaRubickAbilitySteal = 249
EGameEvent_CompendiumEventActionsLoaded = 250
EGameEvent_CompendiumSelectionsLoaded = 251
EGameEvent_CompendiumSetSelectionFailed = 252
EGameEvent_CompendiumTrophiesLoaded = 253
EGameEvent_CommunityCachedNamesUpdated = 254
EGameEvent_SpecItemPickup = 255
EGameEvent_SpecAegisReclaimTime = 256
EGameEvent_AccountTrophiesChanged = 257
EGameEvent_AccountAllHeroChallengeChanged = 258
EGameEvent_TeamShowcaseUiUpdate = 259
EGameEvent_IngameEventsChanged = 260
EGameEvent_DotaMatchSignout = 261
EGameEvent_DotaIllusionsCreated = 262
EGameEvent_DotaYearBeastKilled = 263
EGameEvent_DotaHeroUndoselection = 264
EGameEvent_DotaChallengeSocacheUpdated = 265
EGameEvent_PartyInvitesUpdated = 266
EGameEvent_LobbyInvitesUpdated = 267
EGameEvent_CustomGameModeListUpdated = 268
EGameEvent_CustomGameLobbyListUpdated = 269
EGameEvent_FriendLobbyListUpdated = 270
EGameEvent_DotaTeamPlayerListChanged = 271
EGameEvent_DotaPlayerDetailsChanged = 272
EGameEvent_PlayerProfileStatsUpdated = 273
EGameEvent_CustomGamePlayerCountUpdated = 274
EGameEvent_CustomGameFriendsPlayedUpdated = 275
EGameEvent_CustomGamesFriendsPlayUpdated = 276
EGameEvent_DotaPlayerUpdateAssignedHero = 277
EGameEvent_DotaPlayerHeroSelectionDirty = 278
EGameEvent_DotaNpcGoalReached = 279
EGameEvent_DotaPlayerSelectedCustomTeam = 280
EGameEvent_HltvStatus = 281
EGameEvent_HltvCameraman = 282
EGameEvent_HltvRankCamera = 283
EGameEvent_HltvRankEntity = 284
EGameEvent_HltvFixed = 285
EGameEvent_HltvChase = 286
EGameEvent_HltvMessage = 287
EGameEvent_HltvTitle = 288
EGameEvent_HltvChat = 289
EGameEvent_HltvVersioninfo = 290
EGameEvent_DotaChaseHero = 291
EGameEvent_DotaCombatlog = 292
EGameEvent_DotaGameStateChange = 293
EGameEvent_DotaPlayerPickHero = 294
EGameEvent_DotaTeamKillCredit = 295
)
type GameEventServerSpawn struct {
Hostname string `json:"hostname"`
Address string `json:"address"`
Port int32 `json:"port"`
Game string `json:"game"`
Mapname string `json:"mapname"`
Addonname string `json:"addonname"`
Maxplayers int32 `json:"maxplayers"`
Os string `json:"os"`
Dedicated bool `json:"dedicated"`
Password bool `json:"password"`
}
type GameEventServerPreShutdown struct {
Reason string `json:"reason"`
}
type GameEventServerShutdown struct {
Reason string `json:"reason"`
}
type GameEventServerCvar struct {
Cvarname string `json:"cvarname"`
Cvarvalue string `json:"cvarvalue"`
}
type GameEventServerMessage struct {
Text string `json:"text"`
}
type GameEventServerAddban struct {
Name string `json:"name"`
Userid int32 `json:"userid"`
Networkid string `json:"networkid"`
Ip string `json:"ip"`
Duration string `json:"duration"`
By string `json:"by"`
Kicked bool `json:"kicked"`
}
type GameEventServerRemoveban struct {
Networkid string `json:"networkid"`
Ip string `json:"ip"`
By string `json:"by"`
}
type GameEventPlayerConnect struct {
Name string `json:"name"`
Index int32 `json:"index"`
Userid int32 `json:"userid"`
Networkid string `json:"networkid"`
Address string `json:"address"`
}
type GameEventPlayerInfo struct {
Name string `json:"name"`
Index int32 `json:"index"`
Userid int32 `json:"userid"`
Networkid string `json:"networkid"`
Bot bool `json:"bot"`
}
type GameEventPlayerDisconnect struct {
Userid int32 `json:"userid"`
Reason int32 `json:"reason"`
Name string `json:"name"`
Networkid string `json:"networkid"`
}
type GameEventPlayerActivate struct {
Userid int32 `json:"userid"`
}
type GameEventPlayerConnectFull struct {
Userid int32 `json:"userid"`
Index int32 `json:"index"`
}
type GameEventPlayerSay struct {
Userid int32 `json:"userid"`
Text string `json:"text"`
}
type GameEventPlayerFullUpdate struct {
Userid int32 `json:"userid"`
Count int32 `json:"count"`
}
type GameEventTeamInfo struct {
Teamid int32 `json:"teamid"`
Teamname string `json:"teamname"`
}
type GameEventTeamScore struct {
Teamid int32 `json:"teamid"`
Score int32 `json:"score"`
}
type GameEventTeamplayBroadcastAudio struct {
Team int32 `json:"team"`
Sound string `json:"sound"`
}
type GameEventPlayerTeam struct {
Userid int32 `json:"userid"`
Team int32 `json:"team"`
Oldteam int32 `json:"oldteam"`
Disconnect bool `json:"disconnect"`
Autoteam bool `json:"autoteam"`
Silent bool `json:"silent"`
}
type GameEventPlayerClass struct {
Userid int32 `json:"userid"`
Class string `json:"class"`
}
type GameEventPlayerDeath struct {
Userid int32 `json:"userid"`
Attacker int32 `json:"attacker"`
}
type GameEventPlayerHurt struct {
Userid int32 `json:"userid"`
Attacker int32 `json:"attacker"`
Health int32 `json:"health"`
}
type GameEventPlayerChat struct {
Teamonly bool `json:"teamonly"`
Userid int32 `json:"userid"`
Text string `json:"text"`
}
type GameEventPlayerScore struct {
Userid int32 `json:"userid"`
Kills int32 `json:"kills"`
Deaths int32 `json:"deaths"`
Score int32 `json:"score"`
}
type GameEventPlayerSpawn struct {
Userid int32 `json:"userid"`
}
type GameEventPlayerShoot struct {
Userid int32 `json:"userid"`
Weapon int32 `json:"weapon"`
Mode int32 `json:"mode"`
}
type GameEventPlayerUse struct {
Userid int32 `json:"userid"`
Entity int32 `json:"entity"`
}
type GameEventPlayerChangename struct {
Userid int32 `json:"userid"`
Oldname string `json:"oldname"`
Newname string `json:"newname"`
}
type GameEventPlayerHintmessage struct {
Hintmessage string `json:"hintmessage"`
}
type GameEventGameInit struct {
}
type GameEventGameNewmap struct {
Mapname string `json:"mapname"`
}
type GameEventGameStart struct {
Roundslimit int32 `json:"roundslimit"`
Timelimit int32 `json:"timelimit"`
Fraglimit int32 `json:"fraglimit"`
Objective string `json:"objective"`
}
type GameEventGameEnd struct {
Winner int32 `json:"winner"`
}
type GameEventRoundStart struct {
Timelimit int32 `json:"timelimit"`
Fraglimit int32 `json:"fraglimit"`
Objective string `json:"objective"`
}
type GameEventRoundEnd struct {
Winner int32 `json:"winner"`
Reason int32 `json:"reason"`
Message string `json:"message"`
}
type GameEventRoundStartPreEntity struct {
}
type GameEventTeamplayRoundStart struct {
FullReset bool `json:"full_reset"`
}
type GameEventHostnameChanged struct {
Hostname string `json:"hostname"`
}
type GameEventDifficultyChanged struct {
NewDifficulty int32 `json:"newDifficulty"`
OldDifficulty int32 `json:"oldDifficulty"`
StrDifficulty string `json:"strDifficulty"`
}
type GameEventFinaleStart struct {
Rushes int32 `json:"rushes"`
}
type GameEventGameMessage struct {
Target int32 `json:"target"`
Text string `json:"text"`
}
type GameEventBreakBreakable struct {
Entindex int32 `json:"entindex"`
Userid int32 `json:"userid"`
Material int32 `json:"material"`
}
type GameEventBreakProp struct {
Entindex int32 `json:"entindex"`
Userid int32 `json:"userid"`
}
type GameEventNpcSpawned struct {
Entindex int32 `json:"entindex"`
}
type GameEventNpcReplaced struct {
OldEntindex int32 `json:"old_entindex"`
NewEntindex int32 `json:"new_entindex"`
}
type GameEventEntityKilled struct {
EntindexKilled int32 `json:"entindex_killed"`
EntindexAttacker int32 `json:"entindex_attacker"`
EntindexInflictor int32 `json:"entindex_inflictor"`
Damagebits int32 `json:"damagebits"`
}
type GameEventEntityHurt struct {
EntindexKilled int32 `json:"entindex_killed"`
EntindexAttacker int32 `json:"entindex_attacker"`
EntindexInflictor int32 `json:"entindex_inflictor"`
Damagebits int32 `json:"damagebits"`
}
type GameEventBonusUpdated struct {
Numadvanced int32 `json:"numadvanced"`
Numbronze int32 `json:"numbronze"`
Numsilver int32 `json:"numsilver"`
Numgold int32 `json:"numgold"`
}
type GameEventPlayerStatsUpdated struct {
Forceupload bool `json:"forceupload"`
}
type GameEventAchievementEvent struct {
AchievementName string `json:"achievement_name"`
CurVal int32 `json:"cur_val"`
MaxVal int32 `json:"max_val"`
}
type GameEventAchievementEarned struct {
Player int32 `json:"player"`
Achievement int32 `json:"achievement"`
}
type GameEventAchievementWriteFailed struct {
}
type GameEventPhysgunPickup struct {
Entindex int32 `json:"entindex"`
}
type GameEventFlareIgniteNpc struct {
Entindex int32 `json:"entindex"`
}
type GameEventHelicopterGrenadePuntMiss struct {
}
type GameEventUserDataDownloaded struct {
}
type GameEventRagdollDissolved struct {
Entindex int32 `json:"entindex"`
}
type GameEventGameinstructorDraw struct {
}
type GameEventGameinstructorNodraw struct {
}
type GameEventMapTransition struct {
}
type GameEventInstructorServerHintCreate struct {
HintName string `json:"hint_name"`
HintReplaceKey string `json:"hint_replace_key"`
HintTarget int32 `json:"hint_target"`
HintActivatorUserid int32 `json:"hint_activator_userid"`
HintTimeout int32 `json:"hint_timeout"`
HintIconOnscreen string `json:"hint_icon_onscreen"`
HintIconOffscreen string `json:"hint_icon_offscreen"`
HintCaption string `json:"hint_caption"`
HintActivatorCaption string `json:"hint_activator_caption"`
HintColor string `json:"hint_color"`
HintIconOffset float32 `json:"hint_icon_offset"`
HintRange float32 `json:"hint_range"`
HintFlags int32 `json:"hint_flags"`
HintBinding string `json:"hint_binding"`
HintAllowNodrawTarget bool `json:"hint_allow_nodraw_target"`
HintNooffscreen bool `json:"hint_nooffscreen"`
HintForcecaption bool `json:"hint_forcecaption"`
HintLocalPlayerOnly bool `json:"hint_local_player_only"`
}
type GameEventInstructorServerHintStop struct {
HintName string `json:"hint_name"`
}
type GameEventChatNewMessage struct {
Channel int32 `json:"channel"`
}
type GameEventChatMembersChanged struct {
Channel int32 `json:"channel"`
}
type GameEventInventoryUpdated struct {
Itemdef int32 `json:"itemdef"`
Itemid int32 `json:"itemid"`
}
type GameEventCartUpdated struct {
}
type GameEventStorePricesheetUpdated struct {
}
type GameEventGcConnected struct {
}
type GameEventItemSchemaInitialized struct {
}
type GameEventDropRateModified struct {
}
type GameEventEventTicketModified struct {
}
type GameEventModifierEvent struct {
Eventname string `json:"eventname"`
Caster int32 `json:"caster"`
Ability int32 `json:"ability"`
}
type GameEventDotaPlayerKill struct {
VictimUserid int32 `json:"victim_userid"`
Killer1Userid int32 `json:"killer1_userid"`
Killer2Userid int32 `json:"killer2_userid"`
Killer3Userid int32 `json:"killer3_userid"`
Killer4Userid int32 `json:"killer4_userid"`
Killer5Userid int32 `json:"killer5_userid"`
Bounty int32 `json:"bounty"`
Neutral int32 `json:"neutral"`
Greevil int32 `json:"greevil"`
}
type GameEventDotaPlayerDeny struct {
KillerUserid int32 `json:"killer_userid"`
VictimUserid int32 `json:"victim_userid"`
}
type GameEventDotaBarracksKill struct {
BarracksId int32 `json:"barracks_id"`
}
type GameEventDotaTowerKill struct {
KillerUserid int32 `json:"killer_userid"`
Teamnumber int32 `json:"teamnumber"`
Gold int32 `json:"gold"`
}
type GameEventDotaEffigyKill struct {
OwnerUserid int32 `json:"owner_userid"`
}