Skip to main content

tf2types/
cevents.rs

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