DDraceNetwork Docs
protocol.h
Go to the documentation of this file.
1#ifndef GAME_GENERATED_PROTOCOL_H
2#define GAME_GENERATED_PROTOCOL_H
3class CUnpacker;
4#include <engine/message.h>
5
7
8enum
9{
11};
12
13enum
14{
18
22
25};
26
27enum
28{
30};
31
32enum
33{
41};
42
43enum
44{
54};
55
56enum
57{
75};
76
77enum
78{
84};
85
86enum
87{
101
102enum
103{
113
114enum
115{
124
125enum
126{
133
134enum
135{
141};
142
143enum
144{
147};
148
149enum
150{
155};
156
157enum
158{
182};
183
184enum
185{
218};
219
220enum
221{
230};
231
232enum
233{
237};
238
239enum
240{
255};
256
257enum
258{
264};
265
266enum
267{
291enum
292{
308
309enum
310{
345
346enum
347{
358
360{
361 static constexpr int ms_MsgID = NETOBJTYPE_PLAYERINPUT;
372};
373
375{
376 static constexpr int ms_MsgID = NETOBJTYPE_PROJECTILE;
377 int m_X;
378 int m_Y;
383};
384
386{
387 static constexpr int ms_MsgID = NETOBJTYPE_LASER;
388 int m_X;
389 int m_Y;
393};
394
396{
397 static constexpr int ms_MsgID = NETOBJTYPE_PICKUP;
398 int m_X;
399 int m_Y;
402};
403
405{
406 static constexpr int ms_MsgID = NETOBJTYPE_FLAG;
407 int m_X;
408 int m_Y;
410};
411
413{
414 static constexpr int ms_MsgID = NETOBJTYPE_GAMEINFO;
423};
424
426{
427 static constexpr int ms_MsgID = NETOBJTYPE_GAMEDATA;
432};
433
435{
436 static constexpr int ms_MsgID = NETOBJTYPE_CHARACTERCORE;
438 int m_X;
439 int m_Y;
452};
453
455{
456 static constexpr int ms_MsgID = NETOBJTYPE_CHARACTER;
464};
465
467{
468 static constexpr int ms_MsgID = NETOBJTYPE_PLAYERINFO;
474};
475
477{
478 static constexpr int ms_MsgID = NETOBJTYPE_CLIENTINFO;
496};
497
499{
500 static constexpr int ms_MsgID = NETOBJTYPE_SPECTATORINFO;
502 int m_X;
503 int m_Y;
504};
505
507{
508 static constexpr int ms_MsgID = NETOBJTYPE_MYOWNOBJECT;
510};
511
513{
514 static constexpr int ms_MsgID = NETOBJTYPE_DDNETCHARACTER;
525};
526
528{
529 static constexpr int ms_MsgID = NETOBJTYPE_DDNETPLAYER;
532};
533
535{
536 static constexpr int ms_MsgID = NETOBJTYPE_GAMEINFOEX;
540};
541
543{
544 static constexpr int ms_MsgID = NETOBJTYPE_DDRACEPROJECTILE;
545 int m_X;
546 int m_Y;
551};
552
554{
555 static constexpr int ms_MsgID = NETOBJTYPE_DDNETLASER;
556 int m_ToX;
557 int m_ToY;
565};
566
568{
569 static constexpr int ms_MsgID = NETOBJTYPE_DDNETPROJECTILE;
570 int m_X;
571 int m_Y;
580};
581
583{
584 static constexpr int ms_MsgID = NETOBJTYPE_DDNETPICKUP;
585 int m_X;
586 int m_Y;
590};
591
593{
594 static constexpr int ms_MsgID = NETEVENTTYPE_COMMON;
595 int m_X;
596 int m_Y;
597};
598
600{
601 static constexpr int ms_MsgID = NETEVENTTYPE_EXPLOSION;
602};
603
605{
606 static constexpr int ms_MsgID = NETEVENTTYPE_SPAWN;
607};
608
610{
611 static constexpr int ms_MsgID = NETEVENTTYPE_HAMMERHIT;
612};
613
615{
616 static constexpr int ms_MsgID = NETEVENTTYPE_DEATH;
618};
619
621{
622 static constexpr int ms_MsgID = NETEVENTTYPE_SOUNDGLOBAL;
624};
625
627{
628 static constexpr int ms_MsgID = NETEVENTTYPE_SOUNDWORLD;
630};
631
633{
634 static constexpr int ms_MsgID = NETEVENTTYPE_DAMAGEIND;
636};
637
639{
640 static constexpr int ms_MsgID = NETOBJTYPE_MYOWNEVENT;
642};
643
645{
646 static constexpr int ms_MsgID = NETOBJTYPE_SPECCHAR;
647 int m_X;
648 int m_Y;
649};
650
652{
653 static constexpr int ms_MsgID = NETOBJTYPE_SWITCHSTATE;
655 int m_aStatus[8];
658};
659
661{
662 static constexpr int ms_MsgID = NETOBJTYPE_ENTITYEX;
666};
667
669{
670 static constexpr int ms_MsgID = NETMSGTYPE_SV_MOTD;
671 const char *m_pMessage;
672
673 bool Pack(CMsgPacker *pPacker) const
674 {
675 pPacker->AddString(m_pMessage, -1);
676 return pPacker->Error() != 0;
677 }
678};
679
681{
682 static constexpr int ms_MsgID = NETMSGTYPE_SV_BROADCAST;
683 const char *m_pMessage;
684
685 bool Pack(CMsgPacker *pPacker) const
686 {
687 pPacker->AddString(m_pMessage, -1);
688 return pPacker->Error() != 0;
689 }
690};
691
693{
694 static constexpr int ms_MsgID = NETMSGTYPE_SV_CHAT;
697 const char *m_pMessage;
698
699 bool Pack(CMsgPacker *pPacker) const
700 {
701 pPacker->AddInt(m_Team);
702 pPacker->AddInt(m_ClientID);
703 pPacker->AddString(m_pMessage, -1);
704 return pPacker->Error() != 0;
705 }
706};
707
709{
710 static constexpr int ms_MsgID = NETMSGTYPE_SV_KILLMSG;
715
716 bool Pack(CMsgPacker *pPacker) const
717 {
718 pPacker->AddInt(m_Killer);
719 pPacker->AddInt(m_Victim);
720 pPacker->AddInt(m_Weapon);
721 pPacker->AddInt(m_ModeSpecial);
722 return pPacker->Error() != 0;
723 }
724};
725
727{
728 static constexpr int ms_MsgID = NETMSGTYPE_SV_SOUNDGLOBAL;
730
731 bool Pack(CMsgPacker *pPacker) const
732 {
733 pPacker->AddInt(m_SoundID);
734 return pPacker->Error() != 0;
735 }
736};
737
739{
740 static constexpr int ms_MsgID = NETMSGTYPE_SV_TUNEPARAMS;
741
742 bool Pack(CMsgPacker *pPacker) const
743 {
744 return pPacker->Error() != 0;
745 }
746};
747
749{
751
752 bool Pack(CMsgPacker *pPacker) const
753 {
754 return pPacker->Error() != 0;
755 }
756};
757
759{
760 static constexpr int ms_MsgID = NETMSGTYPE_SV_READYTOENTER;
761
762 bool Pack(CMsgPacker *pPacker) const
763 {
764 return pPacker->Error() != 0;
765 }
766};
767
769{
770 static constexpr int ms_MsgID = NETMSGTYPE_SV_WEAPONPICKUP;
772
773 bool Pack(CMsgPacker *pPacker) const
774 {
775 pPacker->AddInt(m_Weapon);
776 return pPacker->Error() != 0;
777 }
778};
779
781{
782 static constexpr int ms_MsgID = NETMSGTYPE_SV_EMOTICON;
785
786 bool Pack(CMsgPacker *pPacker) const
787 {
788 pPacker->AddInt(m_ClientID);
789 pPacker->AddInt(m_Emoticon);
790 return pPacker->Error() != 0;
791 }
792};
793
795{
797
798 bool Pack(CMsgPacker *pPacker) const
799 {
800 return pPacker->Error() != 0;
801 }
802};
803
805{
808 const char *m_pDescription0;
809 const char *m_pDescription1;
810 const char *m_pDescription2;
811 const char *m_pDescription3;
812 const char *m_pDescription4;
813 const char *m_pDescription5;
814 const char *m_pDescription6;
815 const char *m_pDescription7;
816 const char *m_pDescription8;
817 const char *m_pDescription9;
818 const char *m_pDescription10;
819 const char *m_pDescription11;
820 const char *m_pDescription12;
821 const char *m_pDescription13;
822 const char *m_pDescription14;
823
824 bool Pack(CMsgPacker *pPacker) const
825 {
826 pPacker->AddInt(m_NumOptions);
827 pPacker->AddString(m_pDescription0, -1);
828 pPacker->AddString(m_pDescription1, -1);
829 pPacker->AddString(m_pDescription2, -1);
830 pPacker->AddString(m_pDescription3, -1);
831 pPacker->AddString(m_pDescription4, -1);
832 pPacker->AddString(m_pDescription5, -1);
833 pPacker->AddString(m_pDescription6, -1);
834 pPacker->AddString(m_pDescription7, -1);
835 pPacker->AddString(m_pDescription8, -1);
836 pPacker->AddString(m_pDescription9, -1);
837 pPacker->AddString(m_pDescription10, -1);
838 pPacker->AddString(m_pDescription11, -1);
839 pPacker->AddString(m_pDescription12, -1);
840 pPacker->AddString(m_pDescription13, -1);
841 pPacker->AddString(m_pDescription14, -1);
842 return pPacker->Error() != 0;
843 }
844};
845
847{
848 static constexpr int ms_MsgID = NETMSGTYPE_SV_VOTEOPTIONADD;
849 const char *m_pDescription;
850
851 bool Pack(CMsgPacker *pPacker) const
852 {
853 pPacker->AddString(m_pDescription, -1);
854 return pPacker->Error() != 0;
855 }
856};
857
859{
861 const char *m_pDescription;
862
863 bool Pack(CMsgPacker *pPacker) const
864 {
865 pPacker->AddString(m_pDescription, -1);
866 return pPacker->Error() != 0;
867 }
868};
869
871{
872 static constexpr int ms_MsgID = NETMSGTYPE_SV_VOTESET;
874 const char *m_pDescription;
875 const char *m_pReason;
876
877 bool Pack(CMsgPacker *pPacker) const
878 {
879 pPacker->AddInt(m_Timeout);
880 pPacker->AddString(m_pDescription, -1);
881 pPacker->AddString(m_pReason, -1);
882 return pPacker->Error() != 0;
883 }
884};
885
887{
888 static constexpr int ms_MsgID = NETMSGTYPE_SV_VOTESTATUS;
889 int m_Yes;
890 int m_No;
893
894 bool Pack(CMsgPacker *pPacker) const
895 {
896 pPacker->AddInt(m_Yes);
897 pPacker->AddInt(m_No);
898 pPacker->AddInt(m_Pass);
899 pPacker->AddInt(m_Total);
900 return pPacker->Error() != 0;
901 }
902};
903
905{
906 static constexpr int ms_MsgID = NETMSGTYPE_CL_SAY;
908 const char *m_pMessage;
909
910 bool Pack(CMsgPacker *pPacker) const
911 {
912 pPacker->AddInt(m_Team);
913 pPacker->AddString(m_pMessage, -1);
914 return pPacker->Error() != 0;
915 }
916};
917
919{
920 static constexpr int ms_MsgID = NETMSGTYPE_CL_SETTEAM;
922
923 bool Pack(CMsgPacker *pPacker) const
924 {
925 pPacker->AddInt(m_Team);
926 return pPacker->Error() != 0;
927 }
928};
929
931{
934
935 bool Pack(CMsgPacker *pPacker) const
936 {
937 pPacker->AddInt(m_SpectatorID);
938 return pPacker->Error() != 0;
939 }
940};
941
943{
944 static constexpr int ms_MsgID = NETMSGTYPE_CL_STARTINFO;
945 const char *m_pName;
946 const char *m_pClan;
948 const char *m_pSkin;
952
953 bool Pack(CMsgPacker *pPacker) const
954 {
955 pPacker->AddString(m_pName, -1);
956 pPacker->AddString(m_pClan, -1);
957 pPacker->AddInt(m_Country);
958 pPacker->AddString(m_pSkin, -1);
959 pPacker->AddInt(m_UseCustomColor);
960 pPacker->AddInt(m_ColorBody);
961 pPacker->AddInt(m_ColorFeet);
962 return pPacker->Error() != 0;
963 }
964};
965
967{
968 static constexpr int ms_MsgID = NETMSGTYPE_CL_CHANGEINFO;
969 const char *m_pName;
970 const char *m_pClan;
972 const char *m_pSkin;
976
977 bool Pack(CMsgPacker *pPacker) const
978 {
979 pPacker->AddString(m_pName, -1);
980 pPacker->AddString(m_pClan, -1);
981 pPacker->AddInt(m_Country);
982 pPacker->AddString(m_pSkin, -1);
983 pPacker->AddInt(m_UseCustomColor);
984 pPacker->AddInt(m_ColorBody);
985 pPacker->AddInt(m_ColorFeet);
986 return pPacker->Error() != 0;
987 }
988};
989
991{
992 static constexpr int ms_MsgID = NETMSGTYPE_CL_KILL;
993
994 bool Pack(CMsgPacker *pPacker) const
995 {
996 return pPacker->Error() != 0;
997 }
998};
999
1001{
1002 static constexpr int ms_MsgID = NETMSGTYPE_CL_EMOTICON;
1004
1005 bool Pack(CMsgPacker *pPacker) const
1006 {
1007 pPacker->AddInt(m_Emoticon);
1008 return pPacker->Error() != 0;
1009 }
1010};
1011
1013{
1014 static constexpr int ms_MsgID = NETMSGTYPE_CL_VOTE;
1016
1017 bool Pack(CMsgPacker *pPacker) const
1018 {
1019 pPacker->AddInt(m_Vote);
1020 return pPacker->Error() != 0;
1021 }
1022};
1023
1025{
1026 static constexpr int ms_MsgID = NETMSGTYPE_CL_CALLVOTE;
1027 const char *m_pType;
1028 const char *m_pValue;
1029 const char *m_pReason;
1030
1031 bool Pack(CMsgPacker *pPacker) const
1032 {
1033 pPacker->AddString(m_pType, -1);
1034 pPacker->AddString(m_pValue, -1);
1035 pPacker->AddString(m_pReason, -1);
1036 return pPacker->Error() != 0;
1037 }
1038};
1039
1041{
1043
1044 bool Pack(CMsgPacker *pPacker) const
1045 {
1046 return pPacker->Error() != 0;
1047 }
1048};
1049
1051{
1056
1057 bool Pack(CMsgPacker *pPacker) const
1058 {
1059 pPacker->AddInt(m_Time);
1060 pPacker->AddInt(m_Check);
1061 pPacker->AddInt(m_Finish);
1062 return pPacker->Error() != 0;
1063 }
1064};
1065
1067{
1068 static constexpr int ms_MsgID = NETMSGTYPE_SV_RECORDLEGACY;
1071
1072 bool Pack(CMsgPacker *pPacker) const
1073 {
1074 pPacker->AddInt(m_ServerTimeBest);
1075 pPacker->AddInt(m_PlayerTimeBest);
1076 return pPacker->Error() != 0;
1077 }
1078};
1079
1081{
1082 static constexpr int ms_MsgID = NETMSGTYPE_UNUSED;
1083
1084 bool Pack(CMsgPacker *pPacker) const
1085 {
1086 return pPacker->Error() != 0;
1087 }
1088};
1089
1091{
1093
1094 bool Pack(CMsgPacker *pPacker) const
1095 {
1096 return pPacker->Error() != 0;
1097 }
1098};
1099
1101{
1104
1105 bool Pack(CMsgPacker *pPacker) const
1106 {
1107 pPacker->AddInt(m_Show);
1108 return pPacker->Error() != 0;
1109 }
1110};
1111
1113{
1114 static constexpr int ms_MsgID = NETMSGTYPE_SV_MYOWNMESSAGE;
1116
1117 bool Pack(CMsgPacker *pPacker) const
1118 {
1119 pPacker->AddInt(m_Test);
1120 return pPacker->Error() != 0;
1121 }
1122};
1123
1125{
1126 static constexpr int ms_MsgID = NETMSGTYPE_CL_SHOWDISTANCE;
1127 int m_X;
1128 int m_Y;
1129
1130 bool Pack(CMsgPacker *pPacker) const
1131 {
1132 pPacker->AddInt(m_X);
1133 pPacker->AddInt(m_Y);
1134 return pPacker->Error() != 0;
1135 }
1136};
1137
1139{
1140 static constexpr int ms_MsgID = NETMSGTYPE_CL_SHOWOTHERS;
1142
1143 bool Pack(CMsgPacker *pPacker) const
1144 {
1145 pPacker->AddInt(m_Show);
1146 return pPacker->Error() != 0;
1147 }
1148};
1149
1151{
1152 static constexpr int ms_MsgID = NETMSGTYPE_SV_TEAMSSTATE;
1153
1154 bool Pack(CMsgPacker *pPacker) const
1155 {
1156 return pPacker->Error() != 0;
1157 }
1158};
1159
1161{
1162 static constexpr int ms_MsgID = NETMSGTYPE_SV_DDRACETIME;
1166
1167 bool Pack(CMsgPacker *pPacker) const
1168 {
1169 pPacker->AddInt(m_Time);
1170 pPacker->AddInt(m_Check);
1171 pPacker->AddInt(m_Finish);
1172 return pPacker->Error() != 0;
1173 }
1174};
1175
1177{
1178 static constexpr int ms_MsgID = NETMSGTYPE_SV_RECORD;
1181
1182 bool Pack(CMsgPacker *pPacker) const
1183 {
1184 pPacker->AddInt(m_ServerTimeBest);
1185 pPacker->AddInt(m_PlayerTimeBest);
1186 return pPacker->Error() != 0;
1187 }
1188};
1189
1191{
1192 static constexpr int ms_MsgID = NETMSGTYPE_SV_KILLMSGTEAM;
1195
1196 bool Pack(CMsgPacker *pPacker) const
1197 {
1198 pPacker->AddInt(m_Team);
1199 pPacker->AddInt(m_First);
1200 return pPacker->Error() != 0;
1201 }
1202};
1203
1204enum
1205{
1249enum
1250{
1259
1261{
1262 const char *m_pMsgFailedOn;
1263 const char *m_pObjFailedOn;
1265 char m_aUnpackedData[1024 * 2];
1267 int ClampInt(const char *pErrorMsg, int Value, int Min, int Max);
1268
1269 static const char *ms_apObjNames[];
1270 static const char *ms_apExObjNames[];
1271 static int ms_aObjSizes[];
1274 static const char *ms_apMsgNames[];
1275 static const char *ms_apExMsgNames[];
1276
1277public:
1279
1280 void *SecureUnpackObj(int Type, CUnpacker *pUnpacker);
1281 const char *GetObjName(int Type) const;
1282 int GetObjSize(int Type) const;
1283 int GetUnpackedObjSize(int Type) const;
1284 int NumObjCorrections() const;
1285 const char *CorrectedObjOn() const;
1286 const char *FailedObjOn() const;
1287
1288 const char *GetMsgName(int Type) const;
1289 void *SecureUnpackMsg(int Type, CUnpacker *pUnpacker);
1290 bool TeeHistorianRecordMsg(int Type);
1291 const char *FailedMsgOn() const;
1292};
1293
1294#endif // GAME_GENERATED_PROTOCOL_H
Definition: message.h:10
Definition: protocol.h:1261
const char * m_pObjCorrectedOn
Definition: protocol.h:1264
const char * FailedObjOn() const
Definition: protocol.cpp:19
bool TeeHistorianRecordMsg(int Type)
Definition: protocol.cpp:984
char m_aUnpackedData[1024 *2]
Definition: protocol.h:1265
static const char * ms_apMsgNames[]
Definition: protocol.h:1274
const char * m_pObjFailedOn
Definition: protocol.h:1263
int ClampInt(const char *pErrorMsg, int Value, int Min, int Max)
Definition: protocol.cpp:25
void * SecureUnpackObj(int Type, CUnpacker *pUnpacker)
Definition: protocol.cpp:232
const char * FailedMsgOn() const
Definition: protocol.cpp:20
CNetObjHandler()
Definition: protocol.cpp:9
int GetObjSize(int Type) const
Definition: protocol.cpp:200
int m_NumObjCorrections
Definition: protocol.h:1266
static int ms_aUnpackedObjSizes[]
Definition: protocol.h:1272
static int ms_aUnpackedExObjSizes[]
Definition: protocol.h:1273
void * SecureUnpackMsg(int Type, CUnpacker *pUnpacker)
Definition: protocol.cpp:659
static int ms_aObjSizes[]
Definition: protocol.h:1271
static const char * ms_apObjNames[]
Definition: protocol.h:1269
int GetUnpackedObjSize(int Type) const
Definition: protocol.cpp:206
int NumObjCorrections() const
Definition: protocol.cpp:17
const char * GetObjName(int Type) const
Definition: protocol.cpp:187
static const char * ms_apExObjNames[]
Definition: protocol.h:1270
const char * m_pMsgFailedOn
Definition: protocol.h:1262
static const char * ms_apExMsgNames[]
Definition: protocol.h:1275
const char * CorrectedObjOn() const
Definition: protocol.cpp:18
const char * GetMsgName(int Type) const
Definition: protocol.cpp:219
void AddInt(int i)
Definition: packer.cpp:15
void AddString(const char *pStr, int Limit=PACKER_BUFFER_SIZE)
Definition: packer.cpp:29
bool Error() const
Definition: packer.h:28
Definition: packer.h:32
@ GAMEFLAG_FLAGS
Definition: protocol.h:146
@ GAMEFLAG_TEAMS
Definition: protocol.h:145
@ INPUT_STATE_MASK
Definition: protocol.h:10
@ LASERTYPE_RIFLE
Definition: protocol.h:104
@ LASERTYPE_FREEZE
Definition: protocol.h:107
@ LASERTYPE_GUN
Definition: protocol.h:109
@ NUM_LASERTYPES
Definition: protocol.h:111
@ LASERTYPE_DRAGGER
Definition: protocol.h:108
@ LASERTYPE_PLASMA
Definition: protocol.h:110
@ LASERTYPE_DOOR
Definition: protocol.h:106
@ LASERTYPE_SHOTGUN
Definition: protocol.h:105
@ NUM_POWERUPS
Definition: protocol.h:53
@ POWERUP_ARMOR_GRENADE
Definition: protocol.h:50
@ POWERUP_NINJA
Definition: protocol.h:48
@ POWERUP_ARMOR_LASER
Definition: protocol.h:52
@ POWERUP_ARMOR
Definition: protocol.h:46
@ POWERUP_HEALTH
Definition: protocol.h:45
@ POWERUP_ARMOR_NINJA
Definition: protocol.h:51
@ POWERUP_WEAPON
Definition: protocol.h:47
@ POWERUP_ARMOR_SHOTGUN
Definition: protocol.h:49
@ NUM_EMOTICONS
Definition: protocol.h:74
@ EMOTICON_OOP
Definition: protocol.h:58
@ EMOTICON_DOTDOT
Definition: protocol.h:62
@ EMOTICON_WTF
Definition: protocol.h:71
@ EMOTICON_EXCLAMATION
Definition: protocol.h:59
@ EMOTICON_SUSHI
Definition: protocol.h:66
@ EMOTICON_DEVILTEE
Definition: protocol.h:68
@ EMOTICON_ZZZ
Definition: protocol.h:70
@ EMOTICON_SPLATTEE
Definition: protocol.h:67
@ EMOTICON_QUESTION
Definition: protocol.h:73
@ EMOTICON_ZOMG
Definition: protocol.h:69
@ EMOTICON_SORRY
Definition: protocol.h:64
@ EMOTICON_GHOST
Definition: protocol.h:65
@ EMOTICON_DROP
Definition: protocol.h:61
@ EMOTICON_HEARTS
Definition: protocol.h:60
@ EMOTICON_MUSIC
Definition: protocol.h:63
@ EMOTICON_EYES
Definition: protocol.h:72
@ TEAM_RED
Definition: protocol.h:16
@ SPEC_FOLLOW
Definition: protocol.h:24
@ FLAG_MISSING
Definition: protocol.h:19
@ TEAM_SPECTATORS
Definition: protocol.h:15
@ FLAG_ATSTAND
Definition: protocol.h:20
@ TEAM_BLUE
Definition: protocol.h:17
@ FLAG_TAKEN
Definition: protocol.h:21
@ SPEC_FREEVIEW
Definition: protocol.h:23
@ EMOTE_SURPRISE
Definition: protocol.h:37
@ EMOTE_HAPPY
Definition: protocol.h:36
@ NUM_EMOTES
Definition: protocol.h:40
@ EMOTE_PAIN
Definition: protocol.h:35
@ EMOTE_ANGRY
Definition: protocol.h:38
@ EMOTE_NORMAL
Definition: protocol.h:34
@ EMOTE_BLINK
Definition: protocol.h:39
@ GAMEINFO_CURVERSION
Definition: protocol.h:29
@ LASERGUNTYPE_EXPLOSIVE
Definition: protocol.h:128
@ LASERGUNTYPE_UNFREEZE
Definition: protocol.h:127
@ NUM_LASERGUNTYPES
Definition: protocol.h:131
@ LASERGUNTYPE_FREEZE
Definition: protocol.h:129
@ LASERGUNTYPE_EXPFREEZE
Definition: protocol.h:130
@ PROJECTILEFLAG_BOUNCE_VERTICAL
Definition: protocol.h:260
@ PROJECTILEFLAG_EXPLOSIVE
Definition: protocol.h:261
@ PROJECTILEFLAG_BOUNCE_HORIZONTAL
Definition: protocol.h:259
@ PROJECTILEFLAG_NORMALIZE_VEL
Definition: protocol.h:263
@ PROJECTILEFLAG_FREEZE
Definition: protocol.h:262
@ ENTITYCLASS_GUN_FREEZE
Definition: protocol.h:95
@ NUM_ENTITYCLASSS
Definition: protocol.h:99
@ ENTITYCLASS_DOOR
Definition: protocol.h:89
@ ENTITYCLASS_PICKUP
Definition: protocol.h:98
@ ENTITYCLASS_PROJECTILE
Definition: protocol.h:88
@ ENTITYCLASS_DRAGGER_STRONG
Definition: protocol.h:92
@ ENTITYCLASS_DRAGGER_WEAK
Definition: protocol.h:90
@ ENTITYCLASS_GUN_EXPLOSIVE
Definition: protocol.h:94
@ ENTITYCLASS_GUN_UNFREEZE
Definition: protocol.h:96
@ ENTITYCLASS_DRAGGER_NORMAL
Definition: protocol.h:91
@ ENTITYCLASS_GUN_NORMAL
Definition: protocol.h:93
@ ENTITYCLASS_LIGHT
Definition: protocol.h:97
@ CHARACTERFLAG_COLLISION_DISABLED
Definition: protocol.h:161
@ CHARACTERFLAG_WEAPON_GUN
Definition: protocol.h:174
@ CHARACTERFLAG_TELEGUN_GUN
Definition: protocol.h:170
@ CHARACTERFLAG_LASER_HIT_DISABLED
Definition: protocol.h:168
@ CHARACTERFLAG_MOVEMENTS_DISABLED
Definition: protocol.h:179
@ CHARACTERFLAG_IN_FREEZE
Definition: protocol.h:180
@ CHARACTERFLAG_PRACTICE_MODE
Definition: protocol.h:181
@ CHARACTERFLAG_SOLO
Definition: protocol.h:159
@ CHARACTERFLAG_TELEGUN_GRENADE
Definition: protocol.h:171
@ CHARACTERFLAG_JETPACK
Definition: protocol.h:160
@ CHARACTERFLAG_ENDLESS_JUMP
Definition: protocol.h:163
@ CHARACTERFLAG_HAMMER_HIT_DISABLED
Definition: protocol.h:165
@ CHARACTERFLAG_WEAPON_GRENADE
Definition: protocol.h:176
@ CHARACTERFLAG_WEAPON_LASER
Definition: protocol.h:177
@ CHARACTERFLAG_GRENADE_HIT_DISABLED
Definition: protocol.h:167
@ CHARACTERFLAG_HOOK_HIT_DISABLED
Definition: protocol.h:169
@ CHARACTERFLAG_WEAPON_SHOTGUN
Definition: protocol.h:175
@ CHARACTERFLAG_SUPER
Definition: protocol.h:164
@ CHARACTERFLAG_WEAPON_HAMMER
Definition: protocol.h:173
@ CHARACTERFLAG_SHOTGUN_HIT_DISABLED
Definition: protocol.h:166
@ CHARACTERFLAG_ENDLESS_HOOK
Definition: protocol.h:162
@ CHARACTERFLAG_TELEGUN_LASER
Definition: protocol.h:172
@ CHARACTERFLAG_WEAPON_NINJA
Definition: protocol.h:178
@ AUTHED_MOD
Definition: protocol.h:81
@ NUM_AUTHEDS
Definition: protocol.h:83
@ AUTHED_ADMIN
Definition: protocol.h:82
@ AUTHED_HELPER
Definition: protocol.h:80
@ AUTHED_NO
Definition: protocol.h:79
@ GAMEINFOFLAG_PREDICT_FNG
Definition: protocol.h:207
@ GAMEINFOFLAG_ENTITIES_RACE
Definition: protocol.h:213
@ GAMEINFOFLAG_GAMETYPE_DDRACE
Definition: protocol.h:190
@ GAMEINFOFLAG_DDRACE_RECORD_MESSAGE
Definition: protocol.h:198
@ GAMEINFOFLAG_GAMETYPE_BLOCK_WORLDS
Definition: protocol.h:192
@ GAMEINFOFLAG_FLAG_STARTS_RACE
Definition: protocol.h:195
@ GAMEINFOFLAG_GAMETYPE_VANILLA
Definition: protocol.h:193
@ GAMEINFOFLAG_GAMETYPE_DDNET
Definition: protocol.h:191
@ GAMEINFOFLAG_GAMETYPE_RACE
Definition: protocol.h:187
@ GAMEINFOFLAG_UNLIMITED_AMMO
Definition: protocol.h:197
@ GAMEINFOFLAG_ALLOW_HOOK_COLL
Definition: protocol.h:201
@ GAMEINFOFLAG_RACE
Definition: protocol.h:196
@ GAMEINFOFLAG_ENTITIES_VANILLA
Definition: protocol.h:215
@ GAMEINFOFLAG_ENTITIES_DDNET
Definition: protocol.h:211
@ GAMEINFOFLAG_GAMETYPE_FNG
Definition: protocol.h:189
@ GAMEINFOFLAG_PREDICT_VANILLA
Definition: protocol.h:210
@ GAMEINFOFLAG_GAMETYPE_FASTCAP
Definition: protocol.h:188
@ GAMEINFOFLAG_BUG_FNG_LASER_RANGE
Definition: protocol.h:205
@ GAMEINFOFLAG_ALLOW_ZOOM
Definition: protocol.h:202
@ GAMEINFOFLAG_BUG_DDRACE_INPUT
Definition: protocol.h:204
@ GAMEINFOFLAG_BUG_DDRACE_GHOST
Definition: protocol.h:203
@ GAMEINFOFLAG_RACE_RECORD_MESSAGE
Definition: protocol.h:199
@ GAMEINFOFLAG_GAMETYPE_PLUS
Definition: protocol.h:194
@ GAMEINFOFLAG_TIMESCORE
Definition: protocol.h:186
@ GAMEINFOFLAG_PREDICT_DDRACE_TILES
Definition: protocol.h:209
@ GAMEINFOFLAG_DONT_MASK_ENTITIES
Definition: protocol.h:216
@ GAMEINFOFLAG_ENTITIES_BW
Definition: protocol.h:217
@ GAMEINFOFLAG_ENTITIES_FNG
Definition: protocol.h:214
@ GAMEINFOFLAG_PREDICT_DDRACE
Definition: protocol.h:208
@ GAMEINFOFLAG_ENTITIES_DDRACE
Definition: protocol.h:212
@ GAMEINFOFLAG_BUG_VANILLA_BOUNCE
Definition: protocol.h:206
@ GAMEINFOFLAG_ALLOW_EYE_WHEEL
Definition: protocol.h:200
@ NETEVENTTYPE_SPAWN
Definition: protocol.h:283
@ NETOBJTYPE_FLAG
Definition: protocol.h:273
@ NETOBJTYPE_PLAYERINPUT
Definition: protocol.h:269
@ NETEVENTTYPE_DEATH
Definition: protocol.h:285
@ NETOBJTYPE_SPECTATORINFO
Definition: protocol.h:280
@ NETOBJTYPE_EX
Definition: protocol.h:268
@ NETEVENTTYPE_SOUNDWORLD
Definition: protocol.h:287
@ NETEVENTTYPE_HAMMERHIT
Definition: protocol.h:284
@ NETOBJTYPE_CLIENTINFO
Definition: protocol.h:279
@ NETOBJTYPE_GAMEDATA
Definition: protocol.h:275
@ NETEVENTTYPE_DAMAGEIND
Definition: protocol.h:288
@ NETOBJTYPE_PICKUP
Definition: protocol.h:272
@ NETOBJTYPE_CHARACTER
Definition: protocol.h:277
@ NETOBJTYPE_PLAYERINFO
Definition: protocol.h:278
@ NETEVENTTYPE_COMMON
Definition: protocol.h:281
@ NETOBJTYPE_GAMEINFO
Definition: protocol.h:274
@ NETEVENTTYPE_SOUNDGLOBAL
Definition: protocol.h:286
@ NETOBJTYPE_PROJECTILE
Definition: protocol.h:270
@ NUM_NETOBJTYPES
Definition: protocol.h:289
@ NETEVENTTYPE_EXPLOSION
Definition: protocol.h:282
@ NETOBJTYPE_LASER
Definition: protocol.h:271
@ NETOBJTYPE_CHARACTERCORE
Definition: protocol.h:276
@ SOUND_PLAYER_PAIN_SHORT
Definition: protocol.h:1217
@ SOUND_PLAYER_SPAWN
Definition: protocol.h:1223
@ NUM_SOUNDS
Definition: protocol.h:1247
@ SOUND_NINJA_FIRE
Definition: protocol.h:1211
@ SOUND_LASER_BOUNCE
Definition: protocol.h:1215
@ SOUND_PICKUP_NINJA
Definition: protocol.h:1234
@ SOUND_GUN_FIRE
Definition: protocol.h:1206
@ SOUND_PLAYER_JUMP
Definition: protocol.h:1221
@ SOUND_LASER_FIRE
Definition: protocol.h:1214
@ SOUND_HOOK_ATTACH_GROUND
Definition: protocol.h:1227
@ SOUND_CHAT_HIGHLIGHT
Definition: protocol.h:1240
@ SOUND_CTF_CAPTURE
Definition: protocol.h:1245
@ SOUND_PLAYER_AIRJUMP
Definition: protocol.h:1220
@ SOUND_CTF_GRAB_PL
Definition: protocol.h:1243
@ SOUND_PICKUP_HEALTH
Definition: protocol.h:1230
@ SOUND_SHOTGUN_FIRE
Definition: protocol.h:1207
@ SOUND_GRENADE_EXPLODE
Definition: protocol.h:1212
@ SOUND_PLAYER_SKID
Definition: protocol.h:1224
@ SOUND_WEAPON_SPAWN
Definition: protocol.h:1235
@ SOUND_HIT
Definition: protocol.h:1237
@ SOUND_CTF_DROP
Definition: protocol.h:1241
@ SOUND_NINJA_HIT
Definition: protocol.h:1213
@ SOUND_HOOK_ATTACH_PLAYER
Definition: protocol.h:1228
@ SOUND_WEAPON_NOAMMO
Definition: protocol.h:1236
@ SOUND_TEE_CRY
Definition: protocol.h:1225
@ SOUND_HOOK_NOATTACH
Definition: protocol.h:1229
@ SOUND_HAMMER_FIRE
Definition: protocol.h:1209
@ SOUND_BODY_LAND
Definition: protocol.h:1219
@ SOUND_CHAT_CLIENT
Definition: protocol.h:1239
@ SOUND_MENU
Definition: protocol.h:1246
@ SOUND_CTF_RETURN
Definition: protocol.h:1242
@ SOUND_PLAYER_DIE
Definition: protocol.h:1222
@ SOUND_WEAPON_SWITCH
Definition: protocol.h:1216
@ SOUND_CTF_GRAB_EN
Definition: protocol.h:1244
@ SOUND_CHAT_SERVER
Definition: protocol.h:1238
@ SOUND_GRENADE_FIRE
Definition: protocol.h:1208
@ SOUND_HOOK_LOOP
Definition: protocol.h:1226
@ SOUND_PLAYER_PAIN_LONG
Definition: protocol.h:1218
@ SOUND_PICKUP_ARMOR
Definition: protocol.h:1231
@ SOUND_PICKUP_GRENADE
Definition: protocol.h:1232
@ SOUND_PICKUP_SHOTGUN
Definition: protocol.h:1233
@ SOUND_HAMMER_HIT
Definition: protocol.h:1210
@ GAMEINFOFLAG2_NO_WEAK_HOOK
Definition: protocol.h:229
@ GAMEINFOFLAG2_HUD_HEALTH_ARMOR
Definition: protocol.h:226
@ GAMEINFOFLAG2_ENTITIES_FDDRACE
Definition: protocol.h:225
@ GAMEINFOFLAG2_HUD_DDRACE
Definition: protocol.h:228
@ GAMEINFOFLAG2_GAMETYPE_FDDRACE
Definition: protocol.h:224
@ GAMEINFOFLAG2_HUD_AMMO
Definition: protocol.h:227
@ GAMEINFOFLAG2_GAMETYPE_CITY
Definition: protocol.h:223
@ GAMEINFOFLAG2_ALLOW_X_SKINS
Definition: protocol.h:222
@ WEAPON_NINJA
Definition: protocol.h:1256
@ NUM_WEAPONS
Definition: protocol.h:1257
@ WEAPON_LASER
Definition: protocol.h:1255
@ WEAPON_HAMMER
Definition: protocol.h:1251
@ WEAPON_GUN
Definition: protocol.h:1252
@ WEAPON_GRENADE
Definition: protocol.h:1254
@ WEAPON_SHOTGUN
Definition: protocol.h:1253
@ PLAYERFLAG_AIM
Definition: protocol.h:140
@ PLAYERFLAG_SCOREBOARD
Definition: protocol.h:139
@ PLAYERFLAG_CHATTING
Definition: protocol.h:138
@ PLAYERFLAG_PLAYING
Definition: protocol.h:136
@ PLAYERFLAG_IN_MENU
Definition: protocol.h:137
@ NETOBJTYPE_DDNETPICKUP
Definition: protocol.h:301
@ NETOBJTYPE_DDNETPLAYER
Definition: protocol.h:296
@ NETOBJTYPE_GAMEINFOEX
Definition: protocol.h:297
@ NETOBJTYPE_SWITCHSTATE
Definition: protocol.h:304
@ NETOBJTYPE_DDNETLASER
Definition: protocol.h:299
@ NETOBJTYPE_SPECCHAR
Definition: protocol.h:303
@ NETOBJTYPE_DDRACEPROJECTILE
Definition: protocol.h:298
@ OFFSET_NETMSGTYPE_UUID
Definition: protocol.h:306
@ NETOBJTYPE_MYOWNEVENT
Definition: protocol.h:302
@ NETOBJTYPE_DDNETCHARACTER
Definition: protocol.h:295
@ __NETOBJTYPE_UUID_HELPER
Definition: protocol.h:293
@ NETOBJTYPE_ENTITYEX
Definition: protocol.h:305
@ NETOBJTYPE_MYOWNOBJECT
Definition: protocol.h:294
@ NETOBJTYPE_DDNETPROJECTILE
Definition: protocol.h:300
@ LEGACYPROJECTILEFLAG_IS_DDNET
Definition: protocol.h:250
@ LEGACYPROJECTILEFLAG_NO_OWNER
Definition: protocol.h:249
@ LEGACYPROJECTILEFLAG_CLIENTID_BIT6
Definition: protocol.h:247
@ LEGACYPROJECTILEFLAG_CLIENTID_BIT0
Definition: protocol.h:241
@ LEGACYPROJECTILEFLAG_CLIENTID_BIT3
Definition: protocol.h:244
@ LEGACYPROJECTILEFLAG_CLIENTID_BIT7
Definition: protocol.h:248
@ LEGACYPROJECTILEFLAG_CLIENTID_BIT1
Definition: protocol.h:242
@ LEGACYPROJECTILEFLAG_BOUNCE_VERTICAL
Definition: protocol.h:252
@ LEGACYPROJECTILEFLAG_EXPLOSIVE
Definition: protocol.h:253
@ LEGACYPROJECTILEFLAG_CLIENTID_BIT4
Definition: protocol.h:245
@ LEGACYPROJECTILEFLAG_FREEZE
Definition: protocol.h:254
@ LEGACYPROJECTILEFLAG_CLIENTID_BIT5
Definition: protocol.h:246
@ LEGACYPROJECTILEFLAG_BOUNCE_HORIZONTAL
Definition: protocol.h:251
@ LEGACYPROJECTILEFLAG_CLIENTID_BIT2
Definition: protocol.h:243
@ LASERDRAGGERTYPE_STRONG_NW
Definition: protocol.h:121
@ LASERDRAGGERTYPE_NORMAL
Definition: protocol.h:118
@ LASERDRAGGERTYPE_NORMAL_NW
Definition: protocol.h:119
@ LASERDRAGGERTYPE_WEAK
Definition: protocol.h:116
@ LASERDRAGGERTYPE_STRONG
Definition: protocol.h:120
@ NUM_LASERDRAGGERTYPES
Definition: protocol.h:122
@ LASERDRAGGERTYPE_WEAK_NW
Definition: protocol.h:117
@ NETMSGTYPE_CL_VOTE
Definition: protocol.h:335
@ NETMSGTYPE_SV_MOTD
Definition: protocol.h:312
@ NETMSGTYPE_CL_CHANGEINFO
Definition: protocol.h:332
@ NETMSGTYPE_SV_TEAMSSTATELEGACY
Definition: protocol.h:341
@ NETMSGTYPE_SV_DDRACETIMELEGACY
Definition: protocol.h:338
@ NETMSGTYPE_SV_READYTOENTER
Definition: protocol.h:319
@ NETMSGTYPE_SV_VOTECLEAROPTIONS
Definition: protocol.h:322
@ NETMSGTYPE_SV_WEAPONPICKUP
Definition: protocol.h:320
@ NETMSGTYPE_CL_ISDDNETLEGACY
Definition: protocol.h:337
@ NETMSGTYPE_CL_SAY
Definition: protocol.h:328
@ NETMSGTYPE_SV_VOTEOPTIONREMOVE
Definition: protocol.h:325
@ NETMSGTYPE_SV_VOTESET
Definition: protocol.h:326
@ NETMSGTYPE_CL_KILL
Definition: protocol.h:333
@ NETMSGTYPE_SV_SOUNDGLOBAL
Definition: protocol.h:316
@ NETMSGTYPE_CL_SETTEAM
Definition: protocol.h:329
@ NETMSGTYPE_CL_SETSPECTATORMODE
Definition: protocol.h:330
@ NETMSGTYPE_CL_STARTINFO
Definition: protocol.h:331
@ NETMSGTYPE_UNUSED
Definition: protocol.h:340
@ NETMSGTYPE_SV_VOTEOPTIONLISTADD
Definition: protocol.h:323
@ NETMSGTYPE_SV_TUNEPARAMS
Definition: protocol.h:317
@ NETMSGTYPE_SV_BROADCAST
Definition: protocol.h:313
@ NETMSGTYPE_SV_KILLMSG
Definition: protocol.h:315
@ NETMSGTYPE_SV_RECORDLEGACY
Definition: protocol.h:339
@ NETMSGTYPE_SV_EMOTICON
Definition: protocol.h:321
@ NETMSGTYPE_SV_VOTEOPTIONADD
Definition: protocol.h:324
@ NETMSGTYPE_SV_CHAT
Definition: protocol.h:314
@ NUM_NETMSGTYPES
Definition: protocol.h:343
@ NETMSGTYPE_CL_CALLVOTE
Definition: protocol.h:336
@ NETMSGTYPE_EX
Definition: protocol.h:311
@ NETMSGTYPE_SV_EXTRAPROJECTILE
Definition: protocol.h:318
@ NETMSGTYPE_SV_VOTESTATUS
Definition: protocol.h:327
@ NETMSGTYPE_CL_EMOTICON
Definition: protocol.h:334
@ NETMSGTYPE_CL_SHOWOTHERSLEGACY
Definition: protocol.h:342
@ EXPLAYERFLAG_PAUSED
Definition: protocol.h:235
@ EXPLAYERFLAG_SPEC
Definition: protocol.h:236
@ EXPLAYERFLAG_AFK
Definition: protocol.h:234
@ NETMSGTYPE_SV_RECORD
Definition: protocol.h:354
@ NETMSGTYPE_CL_SHOWOTHERS
Definition: protocol.h:351
@ NETMSGTYPE_CL_SHOWDISTANCE
Definition: protocol.h:350
@ NETMSGTYPE_SV_MYOWNMESSAGE
Definition: protocol.h:349
@ NETMSGTYPE_SV_DDRACETIME
Definition: protocol.h:353
@ NETMSGTYPE_SV_TEAMSSTATE
Definition: protocol.h:352
@ NETMSGTYPE_SV_KILLMSGTEAM
Definition: protocol.h:355
@ __NETMSGTYPE_UUID_HELPER
Definition: protocol.h:348
@ OFFSET_MAPITEMTYPE_UUID
Definition: protocol.h:356
@ GAMESTATEFLAG_GAMEOVER
Definition: protocol.h:151
@ GAMESTATEFLAG_PAUSED
Definition: protocol.h:153
@ GAMESTATEFLAG_SUDDENDEATH
Definition: protocol.h:152
@ GAMESTATEFLAG_RACETIME
Definition: protocol.h:154
Definition: protocol.h:593
int m_Y
Definition: protocol.h:596
int m_X
Definition: protocol.h:595
static constexpr int ms_MsgID
Definition: protocol.h:594
Definition: protocol.h:633
int m_Angle
Definition: protocol.h:635
static constexpr int ms_MsgID
Definition: protocol.h:634
Definition: protocol.h:615
int m_ClientID
Definition: protocol.h:617
static constexpr int ms_MsgID
Definition: protocol.h:616
Definition: protocol.h:600
static constexpr int ms_MsgID
Definition: protocol.h:601
Definition: protocol.h:610
static constexpr int ms_MsgID
Definition: protocol.h:611
Definition: protocol.h:621
int m_SoundID
Definition: protocol.h:623
static constexpr int ms_MsgID
Definition: protocol.h:622
Definition: protocol.h:627
static constexpr int ms_MsgID
Definition: protocol.h:628
int m_SoundID
Definition: protocol.h:629
Definition: protocol.h:605
static constexpr int ms_MsgID
Definition: protocol.h:606
Definition: protocol.h:1025
static constexpr int ms_MsgID
Definition: protocol.h:1026
const char * m_pReason
Definition: protocol.h:1029
const char * m_pType
Definition: protocol.h:1027
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1031
const char * m_pValue
Definition: protocol.h:1028
Definition: protocol.h:967
const char * m_pSkin
Definition: protocol.h:972
static constexpr int ms_MsgID
Definition: protocol.h:968
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:977
const char * m_pClan
Definition: protocol.h:970
int m_UseCustomColor
Definition: protocol.h:973
int m_ColorBody
Definition: protocol.h:974
int m_ColorFeet
Definition: protocol.h:975
int m_Country
Definition: protocol.h:971
const char * m_pName
Definition: protocol.h:969
Definition: protocol.h:1001
static constexpr int ms_MsgID
Definition: protocol.h:1002
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1005
int m_Emoticon
Definition: protocol.h:1003
Definition: protocol.h:1041
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1044
static constexpr int ms_MsgID
Definition: protocol.h:1042
Definition: protocol.h:991
static constexpr int ms_MsgID
Definition: protocol.h:992
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:994
Definition: protocol.h:905
int m_Team
Definition: protocol.h:907
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:910
static constexpr int ms_MsgID
Definition: protocol.h:906
const char * m_pMessage
Definition: protocol.h:908
Definition: protocol.h:931
static constexpr int ms_MsgID
Definition: protocol.h:932
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:935
int m_SpectatorID
Definition: protocol.h:933
Definition: protocol.h:919
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:923
static constexpr int ms_MsgID
Definition: protocol.h:920
int m_Team
Definition: protocol.h:921
Definition: protocol.h:1125
static constexpr int ms_MsgID
Definition: protocol.h:1126
int m_Y
Definition: protocol.h:1128
int m_X
Definition: protocol.h:1127
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1130
Definition: protocol.h:1101
int m_Show
Definition: protocol.h:1103
static constexpr int ms_MsgID
Definition: protocol.h:1102
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1105
Definition: protocol.h:1139
int m_Show
Definition: protocol.h:1141
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1143
static constexpr int ms_MsgID
Definition: protocol.h:1140
Definition: protocol.h:943
const char * m_pSkin
Definition: protocol.h:948
static constexpr int ms_MsgID
Definition: protocol.h:944
int m_ColorBody
Definition: protocol.h:950
int m_UseCustomColor
Definition: protocol.h:949
const char * m_pClan
Definition: protocol.h:946
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:953
int m_ColorFeet
Definition: protocol.h:951
const char * m_pName
Definition: protocol.h:945
int m_Country
Definition: protocol.h:947
Definition: protocol.h:1013
static constexpr int ms_MsgID
Definition: protocol.h:1014
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1017
int m_Vote
Definition: protocol.h:1015
Definition: protocol.h:681
const char * m_pMessage
Definition: protocol.h:683
static constexpr int ms_MsgID
Definition: protocol.h:682
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:685
Definition: protocol.h:693
const char * m_pMessage
Definition: protocol.h:697
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:699
int m_Team
Definition: protocol.h:695
int m_ClientID
Definition: protocol.h:696
static constexpr int ms_MsgID
Definition: protocol.h:694
Definition: protocol.h:1051
static constexpr int ms_MsgID
Definition: protocol.h:1052
int m_Time
Definition: protocol.h:1053
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1057
int m_Finish
Definition: protocol.h:1055
int m_Check
Definition: protocol.h:1054
Definition: protocol.h:1161
int m_Time
Definition: protocol.h:1163
int m_Finish
Definition: protocol.h:1165
int m_Check
Definition: protocol.h:1164
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1167
static constexpr int ms_MsgID
Definition: protocol.h:1162
Definition: protocol.h:781
int m_ClientID
Definition: protocol.h:783
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:786
static constexpr int ms_MsgID
Definition: protocol.h:782
int m_Emoticon
Definition: protocol.h:784
Definition: protocol.h:749
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:752
static constexpr int ms_MsgID
Definition: protocol.h:750
Definition: protocol.h:1191
int m_First
Definition: protocol.h:1194
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1196
int m_Team
Definition: protocol.h:1193
static constexpr int ms_MsgID
Definition: protocol.h:1192
Definition: protocol.h:709
int m_Weapon
Definition: protocol.h:713
int m_Victim
Definition: protocol.h:712
int m_ModeSpecial
Definition: protocol.h:714
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:716
int m_Killer
Definition: protocol.h:711
static constexpr int ms_MsgID
Definition: protocol.h:710
Definition: protocol.h:669
const char * m_pMessage
Definition: protocol.h:671
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:673
static constexpr int ms_MsgID
Definition: protocol.h:670
Definition: protocol.h:1113
int m_Test
Definition: protocol.h:1115
static constexpr int ms_MsgID
Definition: protocol.h:1114
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1117
Definition: protocol.h:759
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:762
static constexpr int ms_MsgID
Definition: protocol.h:760
Definition: protocol.h:1067
int m_PlayerTimeBest
Definition: protocol.h:1070
static constexpr int ms_MsgID
Definition: protocol.h:1068
int m_ServerTimeBest
Definition: protocol.h:1069
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1072
Definition: protocol.h:1177
static constexpr int ms_MsgID
Definition: protocol.h:1178
int m_ServerTimeBest
Definition: protocol.h:1179
int m_PlayerTimeBest
Definition: protocol.h:1180
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1182
Definition: protocol.h:727
int m_SoundID
Definition: protocol.h:729
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:731
static constexpr int ms_MsgID
Definition: protocol.h:728
Definition: protocol.h:1091
static constexpr int ms_MsgID
Definition: protocol.h:1092
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1094
Definition: protocol.h:1151
static constexpr int ms_MsgID
Definition: protocol.h:1152
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1154
Definition: protocol.h:739
static constexpr int ms_MsgID
Definition: protocol.h:740
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:742
Definition: protocol.h:795
static constexpr int ms_MsgID
Definition: protocol.h:796
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:798
Definition: protocol.h:847
static constexpr int ms_MsgID
Definition: protocol.h:848
const char * m_pDescription
Definition: protocol.h:849
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:851
Definition: protocol.h:805
const char * m_pDescription0
Definition: protocol.h:808
static constexpr int ms_MsgID
Definition: protocol.h:806
const char * m_pDescription6
Definition: protocol.h:814
const char * m_pDescription5
Definition: protocol.h:813
int m_NumOptions
Definition: protocol.h:807
const char * m_pDescription14
Definition: protocol.h:822
const char * m_pDescription13
Definition: protocol.h:821
const char * m_pDescription2
Definition: protocol.h:810
const char * m_pDescription12
Definition: protocol.h:820
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:824
const char * m_pDescription3
Definition: protocol.h:811
const char * m_pDescription8
Definition: protocol.h:816
const char * m_pDescription9
Definition: protocol.h:817
const char * m_pDescription10
Definition: protocol.h:818
const char * m_pDescription4
Definition: protocol.h:812
const char * m_pDescription1
Definition: protocol.h:809
const char * m_pDescription7
Definition: protocol.h:815
const char * m_pDescription11
Definition: protocol.h:819
Definition: protocol.h:859
static constexpr int ms_MsgID
Definition: protocol.h:860
const char * m_pDescription
Definition: protocol.h:861
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:863
Definition: protocol.h:871
const char * m_pDescription
Definition: protocol.h:874
static constexpr int ms_MsgID
Definition: protocol.h:872
int m_Timeout
Definition: protocol.h:873
const char * m_pReason
Definition: protocol.h:875
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:877
Definition: protocol.h:887
int m_Total
Definition: protocol.h:892
int m_Pass
Definition: protocol.h:891
static constexpr int ms_MsgID
Definition: protocol.h:888
int m_No
Definition: protocol.h:890
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:894
int m_Yes
Definition: protocol.h:889
Definition: protocol.h:769
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:773
static constexpr int ms_MsgID
Definition: protocol.h:770
int m_Weapon
Definition: protocol.h:771
Definition: protocol.h:1081
static constexpr int ms_MsgID
Definition: protocol.h:1082
bool Pack(CMsgPacker *pPacker) const
Definition: protocol.h:1084
Definition: protocol.h:435
int m_VelX
Definition: protocol.h:440
int m_Angle
Definition: protocol.h:442
int m_Jumped
Definition: protocol.h:444
int m_HookY
Definition: protocol.h:449
int m_X
Definition: protocol.h:438
int m_VelY
Definition: protocol.h:441
int m_Direction
Definition: protocol.h:443
int m_Tick
Definition: protocol.h:437
int m_HookDy
Definition: protocol.h:451
int m_HookX
Definition: protocol.h:448
int m_HookTick
Definition: protocol.h:447
int m_HookDx
Definition: protocol.h:450
int m_HookedPlayer
Definition: protocol.h:445
int m_HookState
Definition: protocol.h:446
static constexpr int ms_MsgID
Definition: protocol.h:436
int m_Y
Definition: protocol.h:439
Definition: protocol.h:455
int m_PlayerFlags
Definition: protocol.h:457
int m_Armor
Definition: protocol.h:459
int m_Weapon
Definition: protocol.h:461
int m_Health
Definition: protocol.h:458
int m_AttackTick
Definition: protocol.h:463
int m_AmmoCount
Definition: protocol.h:460
static constexpr int ms_MsgID
Definition: protocol.h:456
int m_Emote
Definition: protocol.h:462
Definition: protocol.h:477
int m_Name0
Definition: protocol.h:479
int m_Name3
Definition: protocol.h:482
int m_ColorBody
Definition: protocol.h:494
int m_Skin3
Definition: protocol.h:490
int m_Clan0
Definition: protocol.h:483
int m_Skin5
Definition: protocol.h:492
int m_Name2
Definition: protocol.h:481
int m_Skin2
Definition: protocol.h:489
int m_ColorFeet
Definition: protocol.h:495
static constexpr int ms_MsgID
Definition: protocol.h:478
int m_Skin0
Definition: protocol.h:487
int m_UseCustomColor
Definition: protocol.h:493
int m_Clan2
Definition: protocol.h:485
int m_Country
Definition: protocol.h:486
int m_Clan1
Definition: protocol.h:484
int m_Skin1
Definition: protocol.h:488
int m_Skin4
Definition: protocol.h:491
int m_Name1
Definition: protocol.h:480
Definition: protocol.h:513
int m_NinjaActivationTick
Definition: protocol.h:521
int m_Jumps
Definition: protocol.h:517
int m_StrongWeakID
Definition: protocol.h:519
static constexpr int ms_MsgID
Definition: protocol.h:514
int m_Flags
Definition: protocol.h:515
int m_FreezeStart
Definition: protocol.h:522
int m_TargetX
Definition: protocol.h:523
int m_JumpedTotal
Definition: protocol.h:520
int m_FreezeEnd
Definition: protocol.h:516
int m_TeleCheckpoint
Definition: protocol.h:518
int m_TargetY
Definition: protocol.h:524
Definition: protocol.h:554
int m_ToX
Definition: protocol.h:556
int m_Owner
Definition: protocol.h:561
int m_Type
Definition: protocol.h:562
int m_SwitchNumber
Definition: protocol.h:563
int m_StartTick
Definition: protocol.h:560
int m_Subtype
Definition: protocol.h:564
static constexpr int ms_MsgID
Definition: protocol.h:555
int m_FromY
Definition: protocol.h:559
int m_FromX
Definition: protocol.h:558
int m_ToY
Definition: protocol.h:557
Definition: protocol.h:583
int m_X
Definition: protocol.h:585
int m_Subtype
Definition: protocol.h:588
static constexpr int ms_MsgID
Definition: protocol.h:584
int m_Y
Definition: protocol.h:586
int m_Type
Definition: protocol.h:587
int m_SwitchNumber
Definition: protocol.h:589
Definition: protocol.h:528
int m_AuthLevel
Definition: protocol.h:531
static constexpr int ms_MsgID
Definition: protocol.h:529
int m_Flags
Definition: protocol.h:530
Definition: protocol.h:568
int m_StartTick
Definition: protocol.h:575
int m_TuneZone
Definition: protocol.h:578
int m_VelY
Definition: protocol.h:573
int m_VelX
Definition: protocol.h:572
int m_Y
Definition: protocol.h:571
int m_Owner
Definition: protocol.h:576
int m_Flags
Definition: protocol.h:579
static constexpr int ms_MsgID
Definition: protocol.h:569
int m_Type
Definition: protocol.h:574
int m_SwitchNumber
Definition: protocol.h:577
int m_X
Definition: protocol.h:570
Definition: protocol.h:543
int m_X
Definition: protocol.h:545
int m_Data
Definition: protocol.h:548
int m_Angle
Definition: protocol.h:547
int m_StartTick
Definition: protocol.h:550
int m_Type
Definition: protocol.h:549
static constexpr int ms_MsgID
Definition: protocol.h:544
int m_Y
Definition: protocol.h:546
Definition: protocol.h:661
int m_SwitchNumber
Definition: protocol.h:663
int m_EntityClass
Definition: protocol.h:665
int m_Layer
Definition: protocol.h:664
static constexpr int ms_MsgID
Definition: protocol.h:662
Definition: protocol.h:405
int m_Y
Definition: protocol.h:408
int m_Team
Definition: protocol.h:409
static constexpr int ms_MsgID
Definition: protocol.h:406
int m_X
Definition: protocol.h:407
Definition: protocol.h:426
int m_TeamscoreBlue
Definition: protocol.h:429
int m_FlagCarrierRed
Definition: protocol.h:430
static constexpr int ms_MsgID
Definition: protocol.h:427
int m_FlagCarrierBlue
Definition: protocol.h:431
int m_TeamscoreRed
Definition: protocol.h:428
Definition: protocol.h:535
int m_Flags2
Definition: protocol.h:539
static constexpr int ms_MsgID
Definition: protocol.h:536
int m_Version
Definition: protocol.h:538
int m_Flags
Definition: protocol.h:537
Definition: protocol.h:413
int m_TimeLimit
Definition: protocol.h:420
static constexpr int ms_MsgID
Definition: protocol.h:414
int m_GameFlags
Definition: protocol.h:415
int m_WarmupTimer
Definition: protocol.h:418
int m_RoundNum
Definition: protocol.h:421
int m_GameStateFlags
Definition: protocol.h:416
int m_RoundCurrent
Definition: protocol.h:422
int m_ScoreLimit
Definition: protocol.h:419
int m_RoundStartTick
Definition: protocol.h:417
Definition: protocol.h:386
int m_Y
Definition: protocol.h:389
int m_X
Definition: protocol.h:388
int m_FromX
Definition: protocol.h:390
int m_StartTick
Definition: protocol.h:392
static constexpr int ms_MsgID
Definition: protocol.h:387
int m_FromY
Definition: protocol.h:391
Definition: protocol.h:639
static constexpr int ms_MsgID
Definition: protocol.h:640
int m_Test
Definition: protocol.h:641
Definition: protocol.h:507
static constexpr int ms_MsgID
Definition: protocol.h:508
int m_Test
Definition: protocol.h:509
Definition: protocol.h:396
int m_Subtype
Definition: protocol.h:401
int m_Type
Definition: protocol.h:400
int m_X
Definition: protocol.h:398
static constexpr int ms_MsgID
Definition: protocol.h:397
int m_Y
Definition: protocol.h:399
Definition: protocol.h:467
int m_Team
Definition: protocol.h:471
int m_Local
Definition: protocol.h:469
static constexpr int ms_MsgID
Definition: protocol.h:468
int m_Score
Definition: protocol.h:472
int m_Latency
Definition: protocol.h:473
int m_ClientID
Definition: protocol.h:470
Definition: protocol.h:360
int m_TargetY
Definition: protocol.h:364
int m_Fire
Definition: protocol.h:366
int m_Hook
Definition: protocol.h:367
int m_Jump
Definition: protocol.h:365
int m_TargetX
Definition: protocol.h:363
int m_NextWeapon
Definition: protocol.h:370
int m_Direction
Definition: protocol.h:362
int m_PlayerFlags
Definition: protocol.h:368
int m_WantedWeapon
Definition: protocol.h:369
static constexpr int ms_MsgID
Definition: protocol.h:361
int m_PrevWeapon
Definition: protocol.h:371
Definition: protocol.h:375
int m_X
Definition: protocol.h:377
int m_VelY
Definition: protocol.h:380
int m_StartTick
Definition: protocol.h:382
static constexpr int ms_MsgID
Definition: protocol.h:376
int m_Y
Definition: protocol.h:378
int m_VelX
Definition: protocol.h:379
int m_Type
Definition: protocol.h:381
Definition: protocol.h:645
int m_X
Definition: protocol.h:647
static constexpr int ms_MsgID
Definition: protocol.h:646
int m_Y
Definition: protocol.h:648
Definition: protocol.h:499
int m_SpectatorID
Definition: protocol.h:501
static constexpr int ms_MsgID
Definition: protocol.h:500
int m_Y
Definition: protocol.h:503
int m_X
Definition: protocol.h:502
Definition: protocol.h:652
int m_aEndTicks[4]
Definition: protocol.h:657
int m_HighestSwitchNumber
Definition: protocol.h:654
int m_aStatus[8]
Definition: protocol.h:655
int m_aSwitchNumbers[4]
Definition: protocol.h:656
static constexpr int ms_MsgID
Definition: protocol.h:653
@ OFFSET_GAME_UUID
Definition: teehistorian_ex.h:11