tf2types/
events.rs

1
2pub struct achievement_earned_local {
3    pub achievement: i32,
4
5}
6
7
8pub struct achievement_earned {
9    pub player: i32,
10    pub achievement: i32,
11}
12
13
14pub struct air_dash {
15    pub player: i32,
16}
17
18
19pub struct arena_match_maxstreak {
20    pub team: i32,
21    pub streak: i32,
22}
23
24
25pub struct arena_player_notification {
26    pub player: i32,
27    pub message: String,
28}
29
30
31pub struct arena_win_panel {
32    pub paneltyle: i32,
33    pub winning_team: i32,
34    pub winreason: String,
35    pub cappers: String,
36    pub flagcaplimit: i32,
37    pub bluecore: i32,
38    pub redcore: i32,
39    pub bluecore_prev: i32,
40    pub redcore_prev: i32,
41    pub round_complete: i32,
42    pub player_1: i32,
43    pub player_1_damage: i32,
44    pub player_1_healing: i32,
45    pub player_1_lifetime: i32,
46    pub player_1_kills: i32,
47    pub player_2: i32,
48    pub player_2_damage: i32,
49    pub player_2_healing: i32,
50    pub player_2_lifetime: i32,
51    pub player_2_kills: i32,
52    pub player_3: i32,
53    pub player_3_damage: i32,
54    pub player_3_healing: i32,
55    pub player_3_lifetime: i32,
56    pub player_3_kills: i32,
57    pub player_4: i32,
58    pub player_4_damage: i32,
59    pub player_4_healing: i32,
60    pub player_4_lifetime: i32,
61    pub player_4_kills: i32,
62    pub player_5: i32,
63    pub player_5_damage: i32,
64    pub player_5_healing: i32,
65    pub player_5_lifetime: i32,
66    pub player_5_kills: i32,
67    pub player_6: i32,
68    pub player_6_damage: i32,
69    pub player_6_healing: i32,
70    pub player_6_lifetime: i32,
71    pub player_6_kills: i32,
72}
73
74
75pub struct arrow_impact {
76    pub attachedEntity: i32,
77    pub shooter: i32,
78    pub boneIndexAttached: i32,
79    pub bonePositionX: f32,
80    pub bonePositionY: f32,
81    pub bonePositionZ: f32,
82    pub boneAnglesX: f32,
83    pub boneAnglesY: f32,
84    pub boneAnglesZ: f32,
85    pub projectileType: i32,
86    pub isCrit: bool,
87}
88
89
90pub struct building_healed {
91    pub building: i32,
92    pub healer: i32,
93    pub amount: i32,
94}
95
96
97pub struct building_info_changed {
98    pub building_type: i32,
99    pub object_mode	: i32,
100    pub remove: i32,
101}
102
103
104pub struct capper_killed {
105    pub blocker: i32,
106    pub victim: i32,
107
108}
109
110
111pub struct christmas_gift_grab {
112    pub userid: i32,
113}
114
115
116pub struct cl_drawline {
117    pub player: i32,
118    pub panel: i32,
119    pub line: i32,
120    pub x: f32,
121    pub y: f32,
122}
123
124
125pub struct competitivetats_update {
126    pub index: i32,
127    pub kills_rank: i32,
128    pub score_rank: i32,
129    pub damage_rank: i32,
130    pub healing_rank: i32,
131    pub support_rank: i32,
132}
133
134
135pub struct conga_kill {
136    pub index: i32,
137}
138
139
140pub struct controlpoint_endtouch {
141    pub player: i32,
142    pub area: i32,
143}
144
145
146pub struct controlpoint_fake_capture_mult {
147    pub player: i32,
148    pub i32_data: i32,
149}
150
151
152pub struct controlpoint_pulse_element {
153    pub player: i32,
154}
155
156
157pub struct controlpointtarttouch {
158    pub player: i32,
159    pub area: i32,
160}
161
162
163pub struct controlpoint_timer_updated {
164    pub entindex: i32,
165    pub time: f32,
166}
167
168
169pub struct controlpoint_unlock_updated {
170    pub index: i32,
171    pub time: f32,
172}
173
174
175pub struct controlpoint_updatecapping {
176    pub index: i32,
177}
178
179
180pub struct controlpoint_updateimages {
181    pub index: i32,
182}
183
184
185pub struct controlpoint_updatelayout {
186    pub index: i32,
187}
188
189
190pub struct controlpoint_updateowner {
191    pub index: i32,
192}
193
194
195pub struct cross_spectral_bridge {
196    pub player: i32,
197}
198
199
200pub struct crossbow_heal {
201    pub healer: i32,
202    pub target: i32,
203    pub amount: i32,
204}
205
206
207pub struct ctf_flag_captured {
208    pub capping_team: i32,
209    pub capping_team_score	: i32,
210}
211
212
213pub struct damage_mitigated {
214    pub mitigator: i32,
215    pub damaged: i32,
216    pub amount: i32,
217    pub itemdefindex: i32,
218}
219
220
221pub struct damage_prevented {
222    pub preventor: i32,
223    pub victim: i32,
224    pub amount: i32,
225    pub condition: i32,
226}
227
228
229pub struct damage_resisted {
230    pub entindex: i32,
231}
232
233
234pub struct demoman_det_stickies {
235    pub player: i32,
236}
237
238
239pub struct deploy_buff_banner {
240    pub buff_type: i32,
241    pub buff_owner: i32,
242}
243
244
245pub struct doomsday_rocket_open {
246    pub team: i32,
247}
248
249
250pub struct duel_status {
251    pub killer: i32,
252    pub score_type: i32,
253    pub initiator: i32,
254    pub target: i32,
255    pub initiator_score: i32,
256    pub target_score: i32,
257}
258
259
260pub struct environmental_death {
261    pub killer: i32,
262    pub victim: i32,
263}
264
265
266pub struct escaped_hell {
267    pub player: i32,
268}
269
270
271pub struct escaped_loot_island {
272    pub player: i32,
273}
274
275
276pub struct escort_progress {
277    pub team: i32,
278    pub progress: f32,
279    pub reset: bool,
280}
281
282
283pub struct escort_recede {
284    pub team: i32,
285    pub recedetime: f32,
286}
287
288
289pub struct escort_speed {
290    pub team: i32,
291    pub speed: String,
292    pub players: i32,
293}
294
295
296pub struct eyeball_boss_escape_imminent {
297    pub level: i32,
298    pub time_remaining: String,
299}
300
301
302pub struct eyeball_boss_escaped {
303    pub level: i32,
304
305}
306
307
308pub struct eyeball_boss_killed {
309    pub level: i32,
310}
311
312
313pub struct eyeball_boss_killer {
314    pub level: i32,
315    pub player_entindex: i32,
316}
317
318
319pub struct eyeball_boss_stunned {
320    pub level: i32,
321    pub player_entindex: i32,
322}
323
324
325pub struct fish_notice {
326    pub userid: i32,
327    pub victim_entindex: i32,
328    pub inflictor_entindex: i32,
329    pub attacker: i32,
330    pub weapon: String,
331    pub weaponid: i32,
332    pub damagebits: i32,
333    pub customkill: i32,
334    pub assister: i32,
335    pub weapon_logclassname: String,
336    pub stun_flags: i32,
337    pub death_flags: i32,
338    pub silent_kill: bool,
339    pub assister_fallback: String,
340}
341
342
343pub struct flagstatus_update {
344    pub userid: i32,
345    pub entindex: i32,
346}
347
348
349pub struct gas_doused_player_ignited {
350    pub igniter: i32,
351    pub douser: i32,
352    pub victim: i32,
353}
354
355
356pub struct halloween_boss_killed {
357    pub boss: i32,
358    pub killer: i32,
359}
360
361
362pub struct halloween_duck_collected {
363    pub collector: i32,
364}
365
366
367pub struct halloween_pumpkin_grab {
368    pub userid: i32,
369}
370
371
372pub struct halloween_skeleton_killed {
373    pub player: i32,
374}
375
376
377pub struct halloween_soul_collected {
378    pub i32ended_target: i32,
379    pub collecting_player: i32,
380    pub soul_count: i32,
381}
382
383
384pub struct hide_annotation {
385    pub id: i32,
386}
387
388
389pub struct i32ro_finish {
390    pub player: i32,
391}
392
393
394pub struct i32ro_nextcamera {
395    pub player: i32,
396}
397
398
399pub struct item_found {
400    pub player: i32,
401    pub quality: i32,
402    pub method: i32,
403    pub itemdef: i32,
404    pub isstrange: i32,
405    pub isunusual: i32,
406    pub wear: f32,
407}
408
409
410pub struct item_pickup {
411    pub userid: i32,
412    pub item: String,
413}
414
415
416pub struct kill_in_hell {
417    pub killer: i32,
418    pub victim: i32,
419}
420
421
422pub struct kill_refills_meter {
423    pub index: i32,
424}
425
426
427pub struct killed_capping_player {
428    pub cp: i32,
429    pub killer: i32,
430    pub victim: i32,
431    pub assister: i32,
432}
433
434
435pub struct landed {
436    pub player: i32,
437}
438
439
440pub struct localplayer_changedisguise {
441    pub disguised: bool,
442}
443
444
445pub struct localplayer_healed {
446    pub amount: i32,
447}
448
449
450pub struct localplayer_score_changed {
451    pub score: i32,
452}
453
454
455pub struct medic_death {
456    pub userid: i32,
457    pub attacker: i32,
458    pub healing: i32,
459    pub charged: bool,
460}
461
462
463pub struct medigun_shield_blocked_damage {
464    pub userid: i32,
465    pub damage: f32,
466}
467
468
469pub struct merasmus_escape_warning {
470    pub level: i32,
471    pub time_remaining: String,
472}
473
474
475pub struct merasmus_escaped {
476    pub level: i32,
477}
478
479
480pub struct merasmus_prop_found {
481    pub player: i32,
482}
483
484
485pub struct merasmus_stunned {
486    pub player: i32,
487}
488
489
490pub struct minigame_win {
491    pub team: i32,
492    pub types: i32,
493}
494
495
496pub struct minigame_won {
497    pub player: i32,
498    pub game: i32,
499}
500
501
502pub struct mvm_adv_wave_complete_no_gates {
503    pub index: i32,
504}
505
506
507pub struct mvm_begin_wave {
508    pub wave_index: i32,
509    pub max_waves: i32,
510    pub advanced: i32,
511}
512
513
514pub struct mvm_bomb_carrier_killed {
515    pub level: i32,
516}
517
518
519pub struct mvm_bomb_deploy_reset_by_player {
520    pub player: i32,
521}
522
523
524pub struct mvm_bomb_reset_by_player {
525    pub player: i32,
526}
527
528
529pub struct mvm_kill_robot_delivering_bomb {
530    pub player: i32,
531}
532
533
534pub struct mvm_medic_powerup_shared {
535    pub player: i32,
536}
537
538
539pub struct mvm_mission_complete {
540    pub mission: String,
541}
542
543
544pub struct mvm_mission_update {
545    pub class	: i32,
546    pub count: i32,
547}
548
549
550pub struct mvm_pickup_currency {
551    pub player: i32,
552    pub currency: i32,
553}
554
555
556pub struct mvm_quick_sentry_upgrade {
557    pub player: i32,
558}
559
560
561pub struct mvm_scout_marked_for_death {
562    pub player: i32,
563}
564
565
566pub struct mvm_sentrybuster_detonate {
567    pub player: i32,
568    pub det_x: f32,
569    pub det_y: f32,
570    pub det_z: f32,
571}
572
573
574pub struct mvm_sentrybuster_killed {
575    pub sentry_buster: i32,
576}
577
578
579pub struct mvm_sniper_headshot_currency {
580    pub userid: i32,
581    pub currency: i32,
582}
583
584
585pub struct mvm_wave_complete {
586    pub advanced: bool,
587}
588
589
590pub struct nav_blocked {
591    pub area: i32,
592    pub blocked: bool,
593}
594
595
596pub struct num_cappers_changed {
597    pub index: i32,
598    pub count: i32,
599}
600
601
602pub struct object_deflected {
603    pub userid: i32,
604    pub ownerid: i32,
605    pub weaponid: i32,
606    pub object_entindex: i32,
607}
608
609
610pub struct object_destroyed {
611    pub userid: i32,
612    pub attacker: i32,
613    pub assister: i32,
614    pub weapon: String,
615    pub weaponid: i32,
616    pub objecttype: i32,
617    pub index: i32,
618    pub was_building: bool,
619}
620
621
622pub struct object_detonated {
623    pub userid: i32,
624    pub objecttype: i32,
625    pub index: i32,
626}
627
628
629pub struct object_removed {
630    pub userid: i32,
631    pub objecttype: i32,
632    pub index: i32,
633}
634
635
636pub struct parachute_deploy {
637    pub index: i32,
638}
639
640
641pub struct parachute_holster {
642    pub index: i32,
643}
644
645
646pub struct party_chat {
647    pub steamid: String,
648    pub text: String,
649    pub types: i32,
650}
651
652
653pub struct party_member_join {
654    pub steamid: String,
655}
656
657
658pub struct party_member_leave {
659    pub steamid: String,
660}
661
662
663pub struct pass_ball_blocked {
664    pub owner: i32,
665    pub blocker: i32,
666}
667
668
669pub struct pass_ball_stolen {
670    pub victim: i32,
671    pub attacker: i32,
672}
673
674
675pub struct pass_free {
676    pub owner: i32,
677    pub attacker: i32,
678}
679
680
681pub struct pass_get {
682    pub owner: i32,
683}
684
685
686pub struct pass_pass_caught {
687    pub passer: i32,
688    pub catcher: i32,
689    pub dist: f32,
690    pub duration: f32,
691}
692
693
694pub struct pass_score {
695    pub scorer: i32,
696    pub assister: i32,
697    pub poi32s: i32,
698}
699
700
701pub struct path_track_passed {
702    pub index: i32,
703}
704
705
706pub struct payload_pushed {
707    pub pusher: i32,
708    pub distance: String,
709}
710
711
712pub struct player_abandoned_match {
713    pub game_over: bool,
714}
715
716
717pub struct player_account_changed {
718    pub old_value: i32,
719    pub new_value: i32,
720}
721
722
723pub struct player_askedforball {
724    pub userid: i32,
725}
726
727
728pub struct player_bonuspoi32s {
729    pub poi32s: i32,
730    pub player_entindex: i32,
731    pub source_entindex	: i32,
732}
733
734
735pub struct player_buff {
736    pub userid: i32,
737    pub buff_owner: i32,
738    pub buff_type: i32,
739}
740
741
742pub struct player_builtobject {
743    pub userid: i32,
744    pub object: i32,
745    pub index: i32,
746}
747
748
749pub struct player_buyback {
750    pub player: i32,
751    pub cost: i32,
752}
753
754
755pub struct player_calledformedic {
756    pub userid	: i32,
757}
758
759
760pub struct player_carryobject {
761    pub userid: i32,
762    pub object: i32,
763    pub index: i32,
764}
765
766
767pub struct player_changeclass {
768    pub userid: i32,
769    pub class: i32,
770}
771
772
773pub struct player_chargedeployed {
774    pub userid: i32,
775    pub targetid: i32,
776}
777
778
779pub struct player_currency_changed {
780    pub currency: i32,
781}
782
783
784pub struct player_damage_dodged {
785    pub damage: i32,
786}
787
788
789pub struct player_damaged {
790    pub amount: i32,
791    pub types: i32,
792
793}
794
795
796pub struct player_death {
797    pub userid: i32,
798    pub victim_entindex: i32,
799    pub inflictor_entindex: i32,
800    pub attacker: i32,
801    pub weapon: String,
802    pub weaponid: i32,
803    pub damagebits: i32,
804    pub customkill: i32,
805    pub assister: i32,
806    pub weapon_logclassname: String,
807    pub stun_flags: i32,
808    pub death_flags: i32,
809    pub silent_kill: bool,
810    pub playerpenetratecount: i32,
811    pub assister_fallback: String,
812    pub kill_streak_total: i32,
813    pub kill_streak_wep: i32,
814    pub kill_streak_assist: i32,
815    pub kill_streak_victim: i32,
816    pub ducks_streaked: i32,
817    pub duck_streak_total: i32,
818    pub duck_streak_assist: i32,
819    pub duck_streak_victim: i32,
820    pub rocket_jump: bool,
821    pub weapon_def_index: i32,
822    pub crit_type: i32,
823
824}
825
826
827pub struct player_destroyed_pipebomb {
828    pub userid: i32,
829}
830
831
832pub struct player_directhit_stun {
833    pub attacker: i32,
834    pub victim: i32,
835}
836
837
838pub struct player_domination {
839    pub dominator: i32,
840    pub dominated: i32,
841    pub dominations: i32,
842}
843
844
845pub struct player_dropobject {
846    pub userid: i32,
847    pub object: i32,
848    pub index: i32,
849}
850
851
852pub struct player_escort_score {
853    pub player: i32,
854    pub poi32s: i32,
855}
856
857
858pub struct player_extinguished {
859    pub victim: i32,
860    pub healer: i32,
861    pub itemdefindex: i32,
862}
863
864
865pub struct player_healed {
866    pub patient: i32,
867    pub healer	: i32,
868    pub amount: i32,
869}
870
871
872pub struct player_healedbymedic {
873    pub medic: i32,
874}
875
876
877pub struct player_healedmediccall {
878    pub userid: i32,
879}
880
881
882pub struct player_healonhit {
883    pub amount: i32,
884    pub entindex: i32,
885}
886
887
888pub struct player_highfive_cancel {
889    pub entindex: i32,
890}
891
892
893pub struct player_highfive_success {
894    pub initiator_entindex: i32,
895    pub partner_entindex	: i32,
896}
897
898
899pub struct player_hurt {
900    pub userid: i32,
901    pub health: i32,
902    pub attacker: i32,
903    pub damageamount: i32,
904    pub custom: i32,
905    pub showdisguisedcrit: bool,
906    pub crit: bool,
907    pub minicrit: bool,
908    pub allseecrit: bool,
909    pub weaponid: i32,
910    pub bonuseffect: i32,
911}
912
913
914pub struct player_ignited_inv {
915    pub pyro_entindex: i32,
916    pub victim_entindex: i32,
917    pub medic_entindex: i32,
918}
919
920
921pub struct player_ignited {
922    pub pyro_entindex: i32,
923    pub victim_entindex: i32,
924    pub weaponid: i32,
925}
926
927
928pub struct player_initial_spawn {
929    pub index: i32,
930}
931
932
933pub struct player_invulned {
934    pub userid: i32,
935    pub medic_userid: i32,
936}
937
938
939pub struct player_jarated_fade {
940    pub thrower_entindex: i32,
941    pub victim_entindex: i32,
942}
943
944
945pub struct player_jarated {
946    pub thrower_entindex: i32,
947    pub victim_entindex: i32,
948}
949
950
951pub struct player_killed_achievement_zone {
952    pub attacker: i32,
953    pub victim: i32,
954    pub zone_id: i32,
955}
956
957
958pub struct player_mvp {
959    pub player: i32,
960}
961
962
963pub struct player_next_map_vote_change {
964    pub map_index: i32,
965    pub vote: i32,
966}
967
968
969pub struct player_pinned {
970    pub pinned: i32,
971}
972
973
974pub struct player_rocketpack_pushed {
975    pub pusher: i32,
976    pub pushed: i32,
977}
978
979
980pub struct player_sapped_object {
981    pub userid: i32,
982    pub ownerid: i32,
983    pub object: i32,
984    pub sapperid: i32,
985}
986
987
988pub struct player_score_changed {
989    pub player: i32,
990    pub delta: i32,
991}
992
993
994pub struct player_shield_blocked {
995    pub attacker_entindex: i32,
996    pub blocker_entindex: i32,
997}
998
999
1000pub struct player_spawn {
1001    pub userid: i32,
1002    pub team: i32,
1003    pub class: i32,
1004}
1005
1006
1007pub struct player_stats_updated {
1008    pub forceupload: bool,
1009}
1010
1011
1012pub struct player_stealsandvich {
1013    pub owner: i32,
1014    pub target: i32,
1015}
1016
1017
1018pub struct player_stunned {
1019    pub stunner: i32,
1020    pub victim: i32,
1021    pub victim_capping	: bool,
1022    pub big_stun: bool,
1023}
1024
1025
1026pub struct player_teleported {
1027    pub userid: i32,
1028    pub builderid: i32,
1029    pub dist: f32,
1030}
1031
1032
1033pub struct player_turned_to_ghost {
1034    pub userid: i32,
1035}
1036
1037
1038pub struct player_upgradedobject {
1039    pub userid: i32,
1040    pub object: i32,
1041    pub index: i32,
1042    pub isbuilder: bool,
1043}
1044
1045
1046pub struct player_used_powerup_bottle {
1047    pub player: i32,
1048    pub types: i32,
1049    pub time: f32,
1050}
1051
1052
1053pub struct post_inventory_application {
1054    pub userid: i32,
1055}
1056
1057
1058pub struct projectile_direct_hit {
1059    pub attacker: i32,
1060    pub victim: i32,
1061    pub weapon_def_index: i32,
1062}
1063
1064
1065pub struct projectile_removed {
1066    pub attacker: i32,
1067    pub weapon_def_index: i32,
1068    pub num_hit: i32,
1069    pub num_direct_hit: i32,
1070}
1071
1072
1073pub struct proto_def_changed {
1074    pub types: i32,
1075    pub defindex: i32,
1076    pub created: bool,
1077    pub deleted: bool,
1078    pub erase_history: bool,
1079}
1080
1081
1082pub struct pve_win_panel {
1083    pub panel_style: i32,
1084    pub winning_team: i32,
1085    pub winreason: String,
1086}
1087
1088
1089pub struct quest_objective_completed {
1090    pub quest_item_id_low: i32,
1091    pub quest_item_id_hi: i32,
1092    pub quest_objective_id: i32,
1093    pub scorer_user_id: i32,
1094}
1095
1096
1097pub struct quest_progress {
1098    pub owner: i32,
1099    pub scorer: i32,
1100    pub types: i32,
1101    pub completed: bool,
1102    pub quest_defindex: i32,
1103}
1104
1105
1106pub struct quest_request {
1107    pub request: i32,
1108    pub msg: String,
1109}
1110
1111
1112pub struct quest_response {
1113    pub request: i32,
1114    pub success: bool,
1115    pub msg: String,
1116}
1117
1118
1119pub struct quest_turn_in_state {
1120    pub state: i32,
1121}
1122
1123
1124pub struct rd_robot_impact {
1125    pub entindex: i32,
1126    pub impulse_x: f32,
1127    pub impulse_y: f32,
1128    pub impulse_z: f32,
1129}
1130
1131
1132pub struct rd_robot_killed {
1133    pub userid: i32,
1134    pub victim_entindex: i32,
1135    pub inflictor_entindex: i32,
1136    pub attacker: i32,
1137    pub weapon: String,
1138    pub weaponid: i32,
1139    pub damagebits: i32,
1140    pub customkill: i32,
1141    pub weapon_logclassname: String,
1142}
1143
1144
1145pub struct rd_team_poi32s_changed {
1146    pub poi32s: i32,
1147    pub team: i32,
1148    pub method: i32,
1149}
1150
1151
1152pub struct rematch_vote_period_over {
1153    pub success: bool,
1154}
1155
1156
1157pub struct remove_nemesis_relationships {
1158    pub player: i32,
1159}
1160
1161
1162pub struct respawn_ghost {
1163    pub reviver: i32,
1164    pub ghost: i32,
1165}
1166
1167
1168pub struct restart_timer_time {
1169    pub time: String,
1170}
1171
1172
1173pub struct revive_player_complete {
1174    pub entindex: i32,
1175}
1176
1177
1178pub struct revive_player_notify {
1179    pub entindex: i32,
1180    pub marker_entindex: i32,
1181}
1182
1183
1184pub struct revive_player_stopped {
1185    pub entindex: i32,
1186}
1187
1188
1189pub struct rocket_jump_landed {
1190    pub userid: i32,
1191}
1192
1193
1194pub struct rocket_jump {
1195    pub userid: i32,
1196    pub playsound: bool,
1197}
1198
1199
1200pub struct rocketpack_landed {
1201    pub userid: i32,
1202}
1203
1204
1205pub struct rocketpack_launch {
1206    pub userid: i32,
1207    pub playsound: bool,
1208}
1209
1210
1211pub struct rps_taunt_event {
1212    pub winner: i32,
1213    pub winner_rps: i32,
1214    pub loser: i32,
1215    pub loser_rps: i32,
1216}
1217
1218
1219pub struct scout_grand_slam {
1220    pub scout_id: i32,
1221    pub target_id: i32,
1222}
1223
1224
1225pub struct scout_slamdoll_landed {
1226    pub target_index: i32,
1227    pub x: f32,
1228    pub y: f32,
1229    pub z: f32,
1230}
1231
1232
1233pub struct sentry_on_go_active {
1234    pub index: i32,
1235}
1236
1237
1238pub struct show_annotation {
1239    pub worldPosX: f32,
1240    pub worldPosY: f32,
1241    pub worldPosZ: f32,
1242    pub worldNormalX: f32,
1243    pub worldNormalY: f32,
1244    pub worldNormalZ: f32,
1245    pub id: i32,
1246    pub text: String,
1247    pub lifetime: f32,
1248    pub visibilityBitfield: i32,
1249    pub follow_entindex: i32,
1250    pub show_distance: bool,
1251    pub play_sound: String,
1252    pub show_effect: bool,
1253}
1254
1255
1256pub struct show_class_layout {
1257    pub show: bool,
1258}
1259
1260
1261pub struct show_freezepanel {
1262    pub killer: i32,
1263}
1264
1265
1266pub struct show_vs_panel {
1267    pub show: bool,
1268}
1269
1270
1271pub struct special_score {
1272    pub player: i32,
1273}
1274
1275
1276pub struct sticky_jump_landed {
1277    pub userid: i32,
1278}
1279
1280
1281pub struct sticky_jump {
1282    pub userid: i32,
1283    pub playsound: bool,
1284}
1285
1286
1287pub struct tagged_player_as_it {
1288    pub player: i32,
1289}
1290
1291
1292pub struct team_leader_killed {
1293    pub killer: i32,
1294    pub victim: i32,
1295}
1296
1297
1298pub struct teamplay_alert {
1299    pub alert_type: i32,
1300}
1301
1302
1303pub struct teamplay_broadcast_audio {
1304    pub team: i32,
1305    pub sound: String,
1306    pub additional_flags: i32,
1307}
1308
1309
1310pub struct teamplay_capture_blocked {
1311    pub cp: i32,
1312    pub cpname: String,
1313    pub blocker: i32,
1314    pub victim: i32,
1315}
1316
1317
1318pub struct teamplay_capture_broken {
1319    pub cp: i32,
1320    pub cpname: String,
1321    pub time_remaining	: f32,
1322}
1323
1324
1325pub struct teamplay_flag_event {
1326    pub player: i32,
1327    pub carrier: i32,
1328    pub eventtype: i32,
1329    pub home: i32,
1330    pub team: i32,
1331}
1332
1333
1334pub struct teamplay_game_over {
1335    pub reason: String,
1336}
1337
1338
1339pub struct teamplay_map_time_remaining {
1340    pub seconds: i32,
1341}
1342
1343
1344pub struct teamplay_poi32_captured {
1345    pub cp: i32,
1346    pub cpname: String,
1347    pub team: i32,
1348    pub cappers: String,
1349}
1350
1351
1352pub struct teamplay_poi32_locked {
1353    pub cp: i32,
1354    pub cpname: String,
1355    pub team: i32,
1356}
1357
1358
1359pub struct teamplay_poi32_startcapture {
1360    pub cp: i32,
1361    pub cpname: String,
1362    pub team: i32,
1363    pub capteam: i32,
1364    pub cappers: String,
1365    pub captime: f32,
1366}
1367
1368
1369pub struct teamplay_poi32_unlocked {
1370    pub cp: i32,
1371    pub cpname: String,
1372    pub 	team: i32,
1373}
1374
1375
1376pub struct teamplay_pre_round_time_left {
1377    pub time: i32,
1378}
1379
1380
1381pub struct teamplay_round_restart_seconds {
1382    pub seconds: i32,
1383}
1384
1385
1386pub struct teamplay_round_selected {
1387    pub round: String,
1388}
1389
1390
1391pub struct teamplay_round_stalemate {
1392    pub reason: String,
1393}
1394
1395
1396pub struct teamplay_round_start {
1397    pub full_reset: bool,
1398}
1399
1400
1401pub struct teamplay_round_win {
1402    pub team: i32,
1403    pub winreason: i32,
1404    pub flagcaplimit: i32,
1405    pub full_round: bool,
1406    pub round_time: f32,
1407    pub losing_team_num_caps: i32,
1408    pub was_sudden_death: bool,
1409}
1410
1411
1412pub struct teamplay_team_ready {
1413    pub team: i32,
1414}
1415
1416
1417pub struct teamplay_teambalanced_player {
1418    pub player: i32,
1419    pub team: i32,
1420}
1421
1422
1423pub struct teamplay_timer_flash {
1424    pub time_remaining: i32,
1425}
1426
1427
1428pub struct teamplay_timer_time_added {
1429    pub timer: i32,
1430    pub seconds_added: i32,
1431}
1432
1433
1434pub struct teamplay_win_panel {
1435    pub panel_style: String,
1436    pub winning_team: i32,
1437    pub winreason: String,
1438    pub cappers: String,
1439    pub flagcaplimit: i32,
1440    pub blue_score: i32,
1441    pub red_score: i32,
1442    pub blue_score_prev: i32,
1443    pub red_score_prev: i32,
1444    pub round_complete: i32,
1445    pub rounds_remaining: i32,
1446    pub player_1: i32,
1447    pub player_1_poi32s: i32,
1448    pub player_2: i32,
1449    pub player_2_poi32s: i32,
1450    pub player_3: i32,
1451    pub player_3_poi32s: i32,
1452    pub killstreak_player_1: i32,
1453    pub killstreak_player_1_count: i32,
1454    pub game_over: i32,
1455}
1456
1457
1458pub struct tf_game_over {
1459    pub reason: String,
1460}
1461
1462
1463pub struct tf_map_time_remaining {
1464    pub seconds: i32,
1465}
1466
1467
1468pub struct tournament_stateupdate {
1469    pub userid: i32,
1470    pub namechange: bool,
1471    pub readystate: i32,
1472    pub newname: String,
1473}
1474
1475
1476pub struct training_complete {
1477    pub next_map: String,
1478    pub map: String,
1479    pub text: String,
1480}
1481
1482
1483pub struct update_status_item {
1484    pub index: i32,
1485    pub object: i32,
1486}
1487
1488
1489pub struct upgrades_file_changed {
1490    pub path: String,
1491}