DDraceNetwork Docs
protocol7.h
Go to the documentation of this file.
1#ifndef GAME_GENERATED_PROTOCOL7_H
2#define GAME_GENERATED_PROTOCOL7_H
3class CUnpacker;
4#include <engine/message.h>
5namespace protocol7 {
6
7
8enum
9{
11};
12
13enum
14{
19
23
29
37};
38
39enum
40{
50};
51
52enum
53{
61};
62
63enum
64{
82};
83
84enum
85{
94};
95
96enum
97{
104
105enum
106{
120
121enum
122{
131};
132
133enum
134{
139};
140
141enum
142{
149};
150
151enum
152{
158};
159
160enum
161{
165};
166
167enum
168{
196
197enum
198{
241
242
243 template<typename... Ts> struct make_void { typedef void type;};
244 template<typename... Ts> using void_t = typename make_void<Ts...>::type;
245
246 template<typename T, typename = void>
247 struct is_sixup {
248 constexpr static bool value = false;
249 };
250
251 template<typename T>
252 struct is_sixup<T, void_t<typename T::is_sixup>> {
253 constexpr static bool value = true;
254 };
255
257{
258 using is_sixup = char;
259 static constexpr int ms_MsgID = NETOBJTYPE_PLAYERINPUT;
270};
271
273{
274 using is_sixup = char;
275 static constexpr int ms_MsgID = NETOBJTYPE_PROJECTILE;
276 int m_X;
277 int m_Y;
282};
283
285{
286 using is_sixup = char;
287 static constexpr int ms_MsgID = NETOBJTYPE_LASER;
288 int m_X;
289 int m_Y;
293};
294
296{
297 using is_sixup = char;
298 static constexpr int ms_MsgID = NETOBJTYPE_PICKUP;
299 int m_X;
300 int m_Y;
302};
303
305{
306 using is_sixup = char;
307 static constexpr int ms_MsgID = NETOBJTYPE_FLAG;
308 int m_X;
309 int m_Y;
311};
312
314{
315 using is_sixup = char;
316 static constexpr int ms_MsgID = NETOBJTYPE_GAMEDATA;
320};
321
323{
324 using is_sixup = char;
325 static constexpr int ms_MsgID = NETOBJTYPE_GAMEDATATEAM;
328};
329
331{
332 using is_sixup = char;
333 static constexpr int ms_MsgID = NETOBJTYPE_GAMEDATAFLAG;
338};
339
341{
342 using is_sixup = char;
343 static constexpr int ms_MsgID = NETOBJTYPE_CHARACTERCORE;
345 int m_X;
346 int m_Y;
359};
360
362{
363 using is_sixup = char;
364 static constexpr int ms_MsgID = NETOBJTYPE_CHARACTER;
372};
373
375{
376 using is_sixup = char;
377 static constexpr int ms_MsgID = NETOBJTYPE_PLAYERINFO;
381};
382
384{
385 using is_sixup = char;
386 static constexpr int ms_MsgID = NETOBJTYPE_SPECTATORINFO;
389 int m_X;
390 int m_Y;
391};
392
394{
395 using is_sixup = char;
396 static constexpr int ms_MsgID = NETOBJTYPE_DE_CLIENTINFO;
399 int m_aName[4];
400 int m_aClan[3];
405};
406
408{
409 using is_sixup = char;
410 static constexpr int ms_MsgID = NETOBJTYPE_DE_GAMEINFO;
416};
417
419{
420 using is_sixup = char;
421 static constexpr int ms_MsgID = NETOBJTYPE_DE_TUNEPARAMS;
423};
424
426{
427 using is_sixup = char;
428 static constexpr int ms_MsgID = NETEVENTTYPE_COMMON;
429 int m_X;
430 int m_Y;
431};
432
434{
435 using is_sixup = char;
436 static constexpr int ms_MsgID = NETEVENTTYPE_EXPLOSION;
437};
438
440{
441 using is_sixup = char;
442 static constexpr int ms_MsgID = NETEVENTTYPE_SPAWN;
443};
444
446{
447 using is_sixup = char;
448 static constexpr int ms_MsgID = NETEVENTTYPE_HAMMERHIT;
449};
450
452{
453 using is_sixup = char;
454 static constexpr int ms_MsgID = NETEVENTTYPE_DEATH;
456};
457
459{
460 using is_sixup = char;
461 static constexpr int ms_MsgID = NETEVENTTYPE_SOUNDWORLD;
463};
464
466{
467 using is_sixup = char;
468 static constexpr int ms_MsgID = NETEVENTTYPE_DAMAGE;
474};
475
477{
478 using is_sixup = char;
479 static constexpr int ms_MsgID = NETOBJTYPE_PLAYERINFORACE;
481};
482
484{
485 using is_sixup = char;
486 static constexpr int ms_MsgID = NETOBJTYPE_GAMEDATARACE;
490};
491
493{
494 using is_sixup = char;
495 static constexpr int ms_MsgID = NETMSGTYPE_SV_MOTD;
496 const char *m_pMessage;
497
498 bool Pack(CMsgPacker *pPacker) const
499 {
500 pPacker->AddString(m_pMessage, -1);
501 return pPacker->Error() != 0;
502 }
503};
504
506{
507 using is_sixup = char;
508 static constexpr int ms_MsgID = NETMSGTYPE_SV_BROADCAST;
509 const char *m_pMessage;
510
511 bool Pack(CMsgPacker *pPacker) const
512 {
513 pPacker->AddString(m_pMessage, -1);
514 return pPacker->Error() != 0;
515 }
516};
517
519{
520 using is_sixup = char;
521 static constexpr int ms_MsgID = NETMSGTYPE_SV_CHAT;
525 const char *m_pMessage;
526
527 bool Pack(CMsgPacker *pPacker) const
528 {
529 pPacker->AddInt(m_Mode);
530 pPacker->AddInt(m_ClientID);
531 pPacker->AddInt(m_TargetID);
532 pPacker->AddString(m_pMessage, -1);
533 return pPacker->Error() != 0;
534 }
535};
536
538{
539 using is_sixup = char;
540 static constexpr int ms_MsgID = NETMSGTYPE_SV_TEAM;
545
546 bool Pack(CMsgPacker *pPacker) const
547 {
548 pPacker->AddInt(m_ClientID);
549 pPacker->AddInt(m_Team);
550 pPacker->AddInt(m_Silent);
551 pPacker->AddInt(m_CooldownTick);
552 return pPacker->Error() != 0;
553 }
554};
555
557{
558 using is_sixup = char;
559 static constexpr int ms_MsgID = NETMSGTYPE_SV_KILLMSG;
564
565 bool Pack(CMsgPacker *pPacker) const
566 {
567 pPacker->AddInt(m_Killer);
568 pPacker->AddInt(m_Victim);
569 pPacker->AddInt(m_Weapon);
570 pPacker->AddInt(m_ModeSpecial);
571 return pPacker->Error() != 0;
572 }
573};
574
576{
577 using is_sixup = char;
578 static constexpr int ms_MsgID = NETMSGTYPE_SV_TUNEPARAMS;
579
580 bool Pack(CMsgPacker *pPacker) const
581 {
582 return pPacker->Error() != 0;
583 }
584};
585
587{
588 using is_sixup = char;
590
591 bool Pack(CMsgPacker *pPacker) const
592 {
593 return pPacker->Error() != 0;
594 }
595};
596
598{
599 using is_sixup = char;
600 static constexpr int ms_MsgID = NETMSGTYPE_SV_READYTOENTER;
601
602 bool Pack(CMsgPacker *pPacker) const
603 {
604 return pPacker->Error() != 0;
605 }
606};
607
609{
610 using is_sixup = char;
611 static constexpr int ms_MsgID = NETMSGTYPE_SV_WEAPONPICKUP;
613
614 bool Pack(CMsgPacker *pPacker) const
615 {
616 pPacker->AddInt(m_Weapon);
617 return pPacker->Error() != 0;
618 }
619};
620
622{
623 using is_sixup = char;
624 static constexpr int ms_MsgID = NETMSGTYPE_SV_EMOTICON;
627
628 bool Pack(CMsgPacker *pPacker) const
629 {
630 pPacker->AddInt(m_ClientID);
631 pPacker->AddInt(m_Emoticon);
632 return pPacker->Error() != 0;
633 }
634};
635
637{
638 using is_sixup = char;
640
641 bool Pack(CMsgPacker *pPacker) const
642 {
643 return pPacker->Error() != 0;
644 }
645};
646
648{
649 using is_sixup = char;
651
652 bool Pack(CMsgPacker *pPacker) const
653 {
654 return pPacker->Error() != 0;
655 }
656};
657
659{
660 using is_sixup = char;
661 static constexpr int ms_MsgID = NETMSGTYPE_SV_VOTEOPTIONADD;
662 const char *m_pDescription;
663
664 bool Pack(CMsgPacker *pPacker) const
665 {
666 pPacker->AddString(m_pDescription, -1);
667 return pPacker->Error() != 0;
668 }
669};
670
672{
673 using is_sixup = char;
675 const char *m_pDescription;
676
677 bool Pack(CMsgPacker *pPacker) const
678 {
679 pPacker->AddString(m_pDescription, -1);
680 return pPacker->Error() != 0;
681 }
682};
683
685{
686 using is_sixup = char;
687 static constexpr int ms_MsgID = NETMSGTYPE_SV_VOTESET;
691 const char *m_pDescription;
692 const char *m_pReason;
693
694 bool Pack(CMsgPacker *pPacker) const
695 {
696 pPacker->AddInt(m_ClientID);
697 pPacker->AddInt(m_Type);
698 pPacker->AddInt(m_Timeout);
699 pPacker->AddString(m_pDescription, -1);
700 pPacker->AddString(m_pReason, -1);
701 return pPacker->Error() != 0;
702 }
703};
704
706{
707 using is_sixup = char;
708 static constexpr int ms_MsgID = NETMSGTYPE_SV_VOTESTATUS;
709 int m_Yes;
710 int m_No;
713
714 bool Pack(CMsgPacker *pPacker) const
715 {
716 pPacker->AddInt(m_Yes);
717 pPacker->AddInt(m_No);
718 pPacker->AddInt(m_Pass);
719 pPacker->AddInt(m_Total);
720 return pPacker->Error() != 0;
721 }
722};
723
725{
726 using is_sixup = char;
734
735 bool Pack(CMsgPacker *pPacker) const
736 {
737 pPacker->AddInt(m_KickVote);
738 pPacker->AddInt(m_KickMin);
739 pPacker->AddInt(m_SpecVote);
740 pPacker->AddInt(m_TeamLock);
741 pPacker->AddInt(m_TeamBalance);
742 pPacker->AddInt(m_PlayerSlots);
743 return pPacker->Error() != 0;
744 }
745};
746
748{
749 using is_sixup = char;
750 static constexpr int ms_MsgID = NETMSGTYPE_SV_CLIENTINFO;
754 const char *m_pName;
755 const char *m_pClan;
757 const char *m_apSkinPartNames[6];
761
762 bool Pack(CMsgPacker *pPacker) const
763 {
764 pPacker->AddInt(m_ClientID);
765 pPacker->AddInt(m_Local);
766 pPacker->AddInt(m_Team);
767 pPacker->AddString(m_pName, -1);
768 pPacker->AddString(m_pClan, -1);
769 pPacker->AddInt(m_Country);
770 pPacker->AddString(m_apSkinPartNames[0], -1);
771 pPacker->AddString(m_apSkinPartNames[1], -1);
772 pPacker->AddString(m_apSkinPartNames[2], -1);
773 pPacker->AddString(m_apSkinPartNames[3], -1);
774 pPacker->AddString(m_apSkinPartNames[4], -1);
775 pPacker->AddString(m_apSkinPartNames[5], -1);
776 pPacker->AddInt(m_aUseCustomColors[0]);
777 pPacker->AddInt(m_aUseCustomColors[1]);
778 pPacker->AddInt(m_aUseCustomColors[2]);
779 pPacker->AddInt(m_aUseCustomColors[3]);
780 pPacker->AddInt(m_aUseCustomColors[4]);
781 pPacker->AddInt(m_aUseCustomColors[5]);
782 pPacker->AddInt(m_aSkinPartColors[0]);
783 pPacker->AddInt(m_aSkinPartColors[1]);
784 pPacker->AddInt(m_aSkinPartColors[2]);
785 pPacker->AddInt(m_aSkinPartColors[3]);
786 pPacker->AddInt(m_aSkinPartColors[4]);
787 pPacker->AddInt(m_aSkinPartColors[5]);
788 pPacker->AddInt(m_Silent);
789 return pPacker->Error() != 0;
790 }
791};
792
794{
795 using is_sixup = char;
796 static constexpr int ms_MsgID = NETMSGTYPE_SV_GAMEINFO;
802
803 bool Pack(CMsgPacker *pPacker) const
804 {
805 pPacker->AddInt(m_GameFlags);
806 pPacker->AddInt(m_ScoreLimit);
807 pPacker->AddInt(m_TimeLimit);
808 pPacker->AddInt(m_MatchNum);
809 pPacker->AddInt(m_MatchCurrent);
810 return pPacker->Error() != 0;
811 }
812};
813
815{
816 using is_sixup = char;
817 static constexpr int ms_MsgID = NETMSGTYPE_SV_CLIENTDROP;
819 const char *m_pReason;
821
822 bool Pack(CMsgPacker *pPacker) const
823 {
824 pPacker->AddInt(m_ClientID);
825 pPacker->AddString(m_pReason, -1);
826 pPacker->AddInt(m_Silent);
827 return pPacker->Error() != 0;
828 }
829};
830
832{
833 using is_sixup = char;
834 static constexpr int ms_MsgID = NETMSGTYPE_SV_GAMEMSG;
835
836 bool Pack(CMsgPacker *pPacker) const
837 {
838 return pPacker->Error() != 0;
839 }
840};
841
843{
844 using is_sixup = char;
845 static constexpr int ms_MsgID = NETMSGTYPE_DE_CLIENTENTER;
846 const char *m_pName;
849
850 bool Pack(CMsgPacker *pPacker) const
851 {
852 pPacker->AddString(m_pName, -1);
853 pPacker->AddInt(m_ClientID);
854 pPacker->AddInt(m_Team);
855 return pPacker->Error() != 0;
856 }
857};
858
860{
861 using is_sixup = char;
862 static constexpr int ms_MsgID = NETMSGTYPE_DE_CLIENTLEAVE;
863 const char *m_pName;
865 const char *m_pReason;
866
867 bool Pack(CMsgPacker *pPacker) const
868 {
869 pPacker->AddString(m_pName, -1);
870 pPacker->AddInt(m_ClientID);
871 pPacker->AddString(m_pReason, -1);
872 return pPacker->Error() != 0;
873 }
874};
875
877{
878 using is_sixup = char;
879 static constexpr int ms_MsgID = NETMSGTYPE_CL_SAY;
882 const char *m_pMessage;
883
884 bool Pack(CMsgPacker *pPacker) const
885 {
886 pPacker->AddInt(m_Mode);
887 pPacker->AddInt(m_Target);
888 pPacker->AddString(m_pMessage, -1);
889 return pPacker->Error() != 0;
890 }
891};
892
894{
895 using is_sixup = char;
896 static constexpr int ms_MsgID = NETMSGTYPE_CL_SETTEAM;
898
899 bool Pack(CMsgPacker *pPacker) const
900 {
901 pPacker->AddInt(m_Team);
902 return pPacker->Error() != 0;
903 }
904};
905
907{
908 using is_sixup = char;
912
913 bool Pack(CMsgPacker *pPacker) const
914 {
915 pPacker->AddInt(m_SpecMode);
916 pPacker->AddInt(m_SpectatorID);
917 return pPacker->Error() != 0;
918 }
919};
920
922{
923 using is_sixup = char;
924 static constexpr int ms_MsgID = NETMSGTYPE_CL_STARTINFO;
925 const char *m_pName;
926 const char *m_pClan;
928 const char *m_apSkinPartNames[6];
931
932 bool Pack(CMsgPacker *pPacker) const
933 {
934 pPacker->AddString(m_pName, -1);
935 pPacker->AddString(m_pClan, -1);
936 pPacker->AddInt(m_Country);
937 pPacker->AddString(m_apSkinPartNames[0], -1);
938 pPacker->AddString(m_apSkinPartNames[1], -1);
939 pPacker->AddString(m_apSkinPartNames[2], -1);
940 pPacker->AddString(m_apSkinPartNames[3], -1);
941 pPacker->AddString(m_apSkinPartNames[4], -1);
942 pPacker->AddString(m_apSkinPartNames[5], -1);
943 pPacker->AddInt(m_aUseCustomColors[0]);
944 pPacker->AddInt(m_aUseCustomColors[1]);
945 pPacker->AddInt(m_aUseCustomColors[2]);
946 pPacker->AddInt(m_aUseCustomColors[3]);
947 pPacker->AddInt(m_aUseCustomColors[4]);
948 pPacker->AddInt(m_aUseCustomColors[5]);
949 pPacker->AddInt(m_aSkinPartColors[0]);
950 pPacker->AddInt(m_aSkinPartColors[1]);
951 pPacker->AddInt(m_aSkinPartColors[2]);
952 pPacker->AddInt(m_aSkinPartColors[3]);
953 pPacker->AddInt(m_aSkinPartColors[4]);
954 pPacker->AddInt(m_aSkinPartColors[5]);
955 return pPacker->Error() != 0;
956 }
957};
958
960{
961 using is_sixup = char;
962 static constexpr int ms_MsgID = NETMSGTYPE_CL_KILL;
963
964 bool Pack(CMsgPacker *pPacker) const
965 {
966 return pPacker->Error() != 0;
967 }
968};
969
971{
972 using is_sixup = char;
973 static constexpr int ms_MsgID = NETMSGTYPE_CL_READYCHANGE;
974
975 bool Pack(CMsgPacker *pPacker) const
976 {
977 return pPacker->Error() != 0;
978 }
979};
980
982{
983 using is_sixup = char;
984 static constexpr int ms_MsgID = NETMSGTYPE_CL_EMOTICON;
986
987 bool Pack(CMsgPacker *pPacker) const
988 {
989 pPacker->AddInt(m_Emoticon);
990 return pPacker->Error() != 0;
991 }
992};
993
995{
996 using is_sixup = char;
997 static constexpr int ms_MsgID = NETMSGTYPE_CL_VOTE;
999
1000 bool Pack(CMsgPacker *pPacker) const
1001 {
1002 pPacker->AddInt(m_Vote);
1003 return pPacker->Error() != 0;
1004 }
1005};
1006
1008{
1009 using is_sixup = char;
1010 static constexpr int ms_MsgID = NETMSGTYPE_CL_CALLVOTE;
1011 const char *m_pType;
1012 const char *m_pValue;
1013 const char *m_pReason;
1015
1016 bool Pack(CMsgPacker *pPacker) const
1017 {
1018 pPacker->AddString(m_pType, -1);
1019 pPacker->AddString(m_pValue, -1);
1020 pPacker->AddString(m_pReason, -1);
1021 pPacker->AddInt(m_Force);
1022 return pPacker->Error() != 0;
1023 }
1024};
1025
1027{
1028 using is_sixup = char;
1029 static constexpr int ms_MsgID = NETMSGTYPE_SV_SKINCHANGE;
1031 const char *m_apSkinPartNames[6];
1034
1035 bool Pack(CMsgPacker *pPacker) const
1036 {
1037 pPacker->AddInt(m_ClientID);
1038 pPacker->AddString(m_apSkinPartNames[0], -1);
1039 pPacker->AddString(m_apSkinPartNames[1], -1);
1040 pPacker->AddString(m_apSkinPartNames[2], -1);
1041 pPacker->AddString(m_apSkinPartNames[3], -1);
1042 pPacker->AddString(m_apSkinPartNames[4], -1);
1043 pPacker->AddString(m_apSkinPartNames[5], -1);
1044 pPacker->AddInt(m_aUseCustomColors[0]);
1045 pPacker->AddInt(m_aUseCustomColors[1]);
1046 pPacker->AddInt(m_aUseCustomColors[2]);
1047 pPacker->AddInt(m_aUseCustomColors[3]);
1048 pPacker->AddInt(m_aUseCustomColors[4]);
1049 pPacker->AddInt(m_aUseCustomColors[5]);
1050 pPacker->AddInt(m_aSkinPartColors[0]);
1051 pPacker->AddInt(m_aSkinPartColors[1]);
1052 pPacker->AddInt(m_aSkinPartColors[2]);
1053 pPacker->AddInt(m_aSkinPartColors[3]);
1054 pPacker->AddInt(m_aSkinPartColors[4]);
1055 pPacker->AddInt(m_aSkinPartColors[5]);
1056 return pPacker->Error() != 0;
1057 }
1058};
1059
1061{
1062 using is_sixup = char;
1063 static constexpr int ms_MsgID = NETMSGTYPE_CL_SKINCHANGE;
1064 const char *m_apSkinPartNames[6];
1067
1068 bool Pack(CMsgPacker *pPacker) const
1069 {
1070 pPacker->AddString(m_apSkinPartNames[0], -1);
1071 pPacker->AddString(m_apSkinPartNames[1], -1);
1072 pPacker->AddString(m_apSkinPartNames[2], -1);
1073 pPacker->AddString(m_apSkinPartNames[3], -1);
1074 pPacker->AddString(m_apSkinPartNames[4], -1);
1075 pPacker->AddString(m_apSkinPartNames[5], -1);
1076 pPacker->AddInt(m_aUseCustomColors[0]);
1077 pPacker->AddInt(m_aUseCustomColors[1]);
1078 pPacker->AddInt(m_aUseCustomColors[2]);
1079 pPacker->AddInt(m_aUseCustomColors[3]);
1080 pPacker->AddInt(m_aUseCustomColors[4]);
1081 pPacker->AddInt(m_aUseCustomColors[5]);
1082 pPacker->AddInt(m_aSkinPartColors[0]);
1083 pPacker->AddInt(m_aSkinPartColors[1]);
1084 pPacker->AddInt(m_aSkinPartColors[2]);
1085 pPacker->AddInt(m_aSkinPartColors[3]);
1086 pPacker->AddInt(m_aSkinPartColors[4]);
1087 pPacker->AddInt(m_aSkinPartColors[5]);
1088 return pPacker->Error() != 0;
1089 }
1090};
1091
1093{
1094 using is_sixup = char;
1095 static constexpr int ms_MsgID = NETMSGTYPE_SV_RACEFINISH;
1101
1102 bool Pack(CMsgPacker *pPacker) const
1103 {
1104 pPacker->AddInt(m_ClientID);
1105 pPacker->AddInt(m_Time);
1106 pPacker->AddInt(m_Diff);
1107 pPacker->AddInt(m_RecordPersonal);
1108 pPacker->AddInt(m_RecordServer);
1109 return pPacker->Error() != 0;
1110 }
1111};
1112
1114{
1115 using is_sixup = char;
1116 static constexpr int ms_MsgID = NETMSGTYPE_SV_CHECKPOINT;
1118
1119 bool Pack(CMsgPacker *pPacker) const
1120 {
1121 pPacker->AddInt(m_Diff);
1122 return pPacker->Error() != 0;
1123 }
1124};
1125
1127{
1128 using is_sixup = char;
1129 static constexpr int ms_MsgID = NETMSGTYPE_SV_COMMANDINFO;
1130 const char *m_pName;
1131 const char *m_pArgsFormat;
1132 const char *m_pHelpText;
1133
1134 bool Pack(CMsgPacker *pPacker) const
1135 {
1136 pPacker->AddString(m_pName, -1);
1137 pPacker->AddString(m_pArgsFormat, -1);
1138 pPacker->AddString(m_pHelpText, -1);
1139 return pPacker->Error() != 0;
1140 }
1141};
1142
1144{
1145 using is_sixup = char;
1147 const char *m_pName;
1148
1149 bool Pack(CMsgPacker *pPacker) const
1150 {
1151 pPacker->AddString(m_pName, -1);
1152 return pPacker->Error() != 0;
1153 }
1154};
1155
1157{
1158 using is_sixup = char;
1159 static constexpr int ms_MsgID = NETMSGTYPE_CL_COMMAND;
1160 const char *m_pName;
1161 const char *m_pArguments;
1162
1163 bool Pack(CMsgPacker *pPacker) const
1164 {
1165 pPacker->AddString(m_pName, -1);
1166 pPacker->AddString(m_pArguments, -1);
1167 return pPacker->Error() != 0;
1168 }
1169};
1170
1171enum
1172{
1216enum
1217{
1226
1227
1229 {
1230 const char *m_pMsgFailedOn;
1231 char m_aMsgData[1024];
1232 const char *m_pObjFailedOn;
1234 bool CheckInt(const char *pErrorMsg, int Value, int Min, int Max);
1235 bool CheckFlag(const char *pErrorMsg, int Value, int Mask);
1236
1237 static const char *ms_apObjNames[];
1238 static int ms_aObjSizes[];
1239 static const char *ms_apMsgNames[];
1240
1241 public:
1243
1244 int ValidateObj(int Type, const void *pData, int Size);
1245 const char *GetObjName(int Type) const;
1246 int GetObjSize(int Type) const;
1247 const char *FailedObjOn() const;
1248 int NumObjFailures() const;
1249
1250 const char *GetMsgName(int Type) const;
1251 void *SecureUnpackMsg(int Type, CUnpacker *pUnpacker);
1252 const char *FailedMsgOn() const;
1253 };
1254
1255
1256}
1257#endif // GAME_GENERATED_PROTOCOL7_H
Definition: message.h:10
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
Definition: protocol7.h:1229
const char * FailedObjOn() const
Definition: protocol7.cpp:12
static const char * ms_apMsgNames[]
Definition: protocol7.h:1239
bool CheckFlag(const char *pErrorMsg, int Value, int Mask)
Definition: protocol7.cpp:27
const char * m_pMsgFailedOn
Definition: protocol7.h:1230
int m_NumObjFailures
Definition: protocol7.h:1233
const char * FailedMsgOn() const
Definition: protocol7.cpp:14
CNetObjHandler()
Definition: protocol7.cpp:5
int GetObjSize(int Type) const
Definition: protocol7.cpp:141
void * SecureUnpackMsg(int Type, CUnpacker *pUnpacker)
Definition: protocol7.cpp:384
bool CheckInt(const char *pErrorMsg, int Value, int Min, int Max)
Definition: protocol7.cpp:21
static int ms_aObjSizes[]
Definition: protocol7.h:1238
int ValidateObj(int Type, const void *pData, int Size)
Definition: protocol7.cpp:153
int NumObjFailures() const
Definition: protocol7.cpp:13
static const char * ms_apObjNames[]
Definition: protocol7.h:1237
const char * m_pObjFailedOn
Definition: protocol7.h:1232
const char * GetObjName(int Type) const
Definition: protocol7.cpp:135
char m_aMsgData[1024]
Definition: protocol7.h:1231
const char * GetMsgName(int Type) const
Definition: protocol7.cpp:147
Definition: protocol7.h:8
@ GAMESTATEFLAG_PAUSED
Definition: protocol7.h:147
@ GAMESTATEFLAG_WARMUP
Definition: protocol7.h:143
@ GAMESTATEFLAG_STARTCOUNTDOWN
Definition: protocol7.h:148
@ GAMESTATEFLAG_ROUNDOVER
Definition: protocol7.h:145
@ GAMESTATEFLAG_SUDDENDEATH
Definition: protocol7.h:144
@ GAMESTATEFLAG_GAMEOVER
Definition: protocol7.h:146
@ RACEFLAG_HIDE_KILLMSG
Definition: protocol7.h:162
@ RACEFLAG_FINISHMSG_AS_CHAT
Definition: protocol7.h:163
@ RACEFLAG_KEEP_WANTED_WEAPON
Definition: protocol7.h:164
@ GAMEMSG_CTF_GRAB
Definition: protocol7.h:115
@ GAMEMSG_TEAM_ALL
Definition: protocol7.h:113
@ GAMEMSG_TEAM_SWAP
Definition: protocol7.h:107
@ GAMEMSG_TEAM_SHUFFLE
Definition: protocol7.h:109
@ NUM_GAMEMSGS
Definition: protocol7.h:118
@ GAMEMSG_CTF_CAPTURE
Definition: protocol7.h:116
@ GAMEMSG_CTF_DROP
Definition: protocol7.h:111
@ GAMEMSG_TEAM_BALANCE_VICTIM
Definition: protocol7.h:114
@ GAMEMSG_TEAM_BALANCE
Definition: protocol7.h:110
@ GAMEMSG_GAME_PAUSED
Definition: protocol7.h:117
@ GAMEMSG_SPEC_INVALIDID
Definition: protocol7.h:108
@ GAMEMSG_CTF_RETURN
Definition: protocol7.h:112
@ NETOBJTYPE_DE_GAMEINFO
Definition: protocol7.h:183
@ NETEVENTTYPE_SOUNDWORLD
Definition: protocol7.h:190
@ NETOBJTYPE_DE_TUNEPARAMS
Definition: protocol7.h:184
@ NETEVENTTYPE_DAMAGE
Definition: protocol7.h:191
@ NETOBJTYPE_PROJECTILE
Definition: protocol7.h:171
@ NETEVENTTYPE_HAMMERHIT
Definition: protocol7.h:188
@ NETOBJTYPE_GAMEDATA
Definition: protocol7.h:175
@ NETOBJTYPE_GAMEDATAFLAG
Definition: protocol7.h:177
@ NETOBJTYPE_CHARACTERCORE
Definition: protocol7.h:178
@ NETOBJTYPE_PLAYERINFO
Definition: protocol7.h:180
@ NETEVENTTYPE_SPAWN
Definition: protocol7.h:187
@ NETOBJTYPE_GAMEDATATEAM
Definition: protocol7.h:176
@ NETOBJTYPE_SPECTATORINFO
Definition: protocol7.h:181
@ NETOBJTYPE_CHARACTER
Definition: protocol7.h:179
@ NETOBJTYPE_LASER
Definition: protocol7.h:172
@ NETOBJTYPE_FLAG
Definition: protocol7.h:174
@ NETOBJTYPE_DE_CLIENTINFO
Definition: protocol7.h:182
@ NUM_NETOBJTYPES
Definition: protocol7.h:194
@ NETEVENTTYPE_COMMON
Definition: protocol7.h:185
@ NETOBJTYPE_PICKUP
Definition: protocol7.h:173
@ NETEVENTTYPE_EXPLOSION
Definition: protocol7.h:186
@ NETEVENTTYPE_DEATH
Definition: protocol7.h:189
@ NETOBJTYPE_PLAYERINPUT
Definition: protocol7.h:170
@ NETOBJ_INVALID
Definition: protocol7.h:169
@ NETOBJTYPE_GAMEDATARACE
Definition: protocol7.h:193
@ NETOBJTYPE_PLAYERINFORACE
Definition: protocol7.h:192
@ COREEVENTFLAG_HOOK_HIT_NOHOOK
Definition: protocol7.h:157
@ COREEVENTFLAG_HOOK_ATTACH_GROUND
Definition: protocol7.h:156
@ COREEVENTFLAG_GROUND_JUMP
Definition: protocol7.h:153
@ COREEVENTFLAG_HOOK_ATTACH_PLAYER
Definition: protocol7.h:155
@ COREEVENTFLAG_AIR_JUMP
Definition: protocol7.h:154
@ EMOTE_HAPPY
Definition: protocol7.h:56
@ EMOTE_PAIN
Definition: protocol7.h:55
@ EMOTE_ANGRY
Definition: protocol7.h:58
@ EMOTE_SURPRISE
Definition: protocol7.h:57
@ EMOTE_NORMAL
Definition: protocol7.h:54
@ NUM_EMOTES
Definition: protocol7.h:60
@ EMOTE_BLINK
Definition: protocol7.h:59
@ INPUT_STATE_MASK
Definition: protocol7.h:10
@ EMOTICON_SUSHI
Definition: protocol7.h:73
@ EMOTICON_EYES
Definition: protocol7.h:79
@ EMOTICON_HEARTS
Definition: protocol7.h:67
@ EMOTICON_DEVILTEE
Definition: protocol7.h:75
@ EMOTICON_ZZZ
Definition: protocol7.h:77
@ EMOTICON_WTF
Definition: protocol7.h:78
@ EMOTICON_GHOST
Definition: protocol7.h:72
@ EMOTICON_QUESTION
Definition: protocol7.h:80
@ EMOTICON_SORRY
Definition: protocol7.h:71
@ EMOTICON_OOP
Definition: protocol7.h:65
@ EMOTICON_EXCLAMATION
Definition: protocol7.h:66
@ EMOTICON_MUSIC
Definition: protocol7.h:70
@ NUM_EMOTICONS
Definition: protocol7.h:81
@ EMOTICON_DOTDOT
Definition: protocol7.h:69
@ EMOTICON_SPLATTEE
Definition: protocol7.h:74
@ EMOTICON_ZOMG
Definition: protocol7.h:76
@ EMOTICON_DROP
Definition: protocol7.h:68
@ PICKUP_SHOTGUN
Definition: protocol7.h:44
@ NUM_PICKUPS
Definition: protocol7.h:49
@ PICKUP_HEALTH
Definition: protocol7.h:41
@ PICKUP_GUN
Definition: protocol7.h:47
@ PICKUP_NINJA
Definition: protocol7.h:46
@ PICKUP_HAMMER
Definition: protocol7.h:48
@ PICKUP_LASER
Definition: protocol7.h:45
@ PICKUP_ARMOR
Definition: protocol7.h:42
@ PICKUP_GRENADE
Definition: protocol7.h:43
@ GAMEFLAG_FLAGS
Definition: protocol7.h:136
@ GAMEFLAG_TEAMS
Definition: protocol7.h:135
@ GAMEFLAG_SURVIVAL
Definition: protocol7.h:137
@ GAMEFLAG_RACE
Definition: protocol7.h:138
@ SOUND_PLAYER_PAIN_LONG
Definition: protocol7.h:1185
@ SOUND_MENU
Definition: protocol7.h:1213
@ SOUND_HIT
Definition: protocol7.h:1204
@ SOUND_GRENADE_EXPLODE
Definition: protocol7.h:1179
@ SOUND_CTF_CAPTURE
Definition: protocol7.h:1212
@ SOUND_PLAYER_SPAWN
Definition: protocol7.h:1190
@ SOUND_HOOK_ATTACH_GROUND
Definition: protocol7.h:1194
@ SOUND_PLAYER_JUMP
Definition: protocol7.h:1188
@ SOUND_WEAPON_SWITCH
Definition: protocol7.h:1183
@ SOUND_CTF_DROP
Definition: protocol7.h:1208
@ SOUND_HOOK_NOATTACH
Definition: protocol7.h:1196
@ SOUND_HOOK_ATTACH_PLAYER
Definition: protocol7.h:1195
@ SOUND_CHAT_SERVER
Definition: protocol7.h:1205
@ SOUND_PLAYER_DIE
Definition: protocol7.h:1189
@ SOUND_TEE_CRY
Definition: protocol7.h:1192
@ SOUND_PICKUP_ARMOR
Definition: protocol7.h:1198
@ SOUND_BODY_LAND
Definition: protocol7.h:1186
@ SOUND_HOOK_LOOP
Definition: protocol7.h:1193
@ SOUND_GUN_FIRE
Definition: protocol7.h:1173
@ SOUND_PICKUP_HEALTH
Definition: protocol7.h:1197
@ SOUND_CHAT_CLIENT
Definition: protocol7.h:1206
@ SOUND_GRENADE_FIRE
Definition: protocol7.h:1175
@ SOUND_WEAPON_NOAMMO
Definition: protocol7.h:1203
@ SOUND_CTF_GRAB_EN
Definition: protocol7.h:1211
@ SOUND_NINJA_FIRE
Definition: protocol7.h:1178
@ SOUND_PICKUP_GRENADE
Definition: protocol7.h:1199
@ SOUND_HAMMER_FIRE
Definition: protocol7.h:1176
@ SOUND_LASER_FIRE
Definition: protocol7.h:1181
@ SOUND_PLAYER_AIRJUMP
Definition: protocol7.h:1187
@ SOUND_CHAT_HIGHLIGHT
Definition: protocol7.h:1207
@ SOUND_PICKUP_SHOTGUN
Definition: protocol7.h:1200
@ SOUND_NINJA_HIT
Definition: protocol7.h:1180
@ SOUND_HAMMER_HIT
Definition: protocol7.h:1177
@ SOUND_PICKUP_NINJA
Definition: protocol7.h:1201
@ SOUND_LASER_BOUNCE
Definition: protocol7.h:1182
@ SOUND_WEAPON_SPAWN
Definition: protocol7.h:1202
@ SOUND_PLAYER_SKID
Definition: protocol7.h:1191
@ SOUND_CTF_RETURN
Definition: protocol7.h:1209
@ SOUND_PLAYER_PAIN_SHORT
Definition: protocol7.h:1184
@ NUM_SOUNDS
Definition: protocol7.h:1214
@ SOUND_CTF_GRAB_PL
Definition: protocol7.h:1210
@ SOUND_SHOTGUN_FIRE
Definition: protocol7.h:1174
typename make_void< Ts... >::type void_t
Definition: protocol7.h:244
@ PLAYERFLAG_CHATTING
Definition: protocol7.h:124
@ PLAYERFLAG_READY
Definition: protocol7.h:126
@ PLAYERFLAG_WATCHING
Definition: protocol7.h:128
@ PLAYERFLAG_DEAD
Definition: protocol7.h:127
@ PLAYERFLAG_AIM
Definition: protocol7.h:130
@ PLAYERFLAG_ADMIN
Definition: protocol7.h:123
@ PLAYERFLAG_BOT
Definition: protocol7.h:129
@ PLAYERFLAG_SCOREBOARD
Definition: protocol7.h:125
@ CHAT_ALL
Definition: protocol7.h:99
@ CHAT_NONE
Definition: protocol7.h:98
@ NUM_CHATS
Definition: protocol7.h:102
@ CHAT_TEAM
Definition: protocol7.h:100
@ CHAT_WHISPER
Definition: protocol7.h:101
@ NETMSGTYPE_SV_BROADCAST
Definition: protocol7.h:201
@ NETMSGTYPE_SV_VOTESTATUS
Definition: protocol7.h:215
@ NETMSGTYPE_SV_GAMEINFO
Definition: protocol7.h:218
@ NETMSGTYPE_SV_COMMANDINFO
Definition: protocol7.h:236
@ NETMSGTYPE_SV_VOTEOPTIONADD
Definition: protocol7.h:212
@ NETMSGTYPE_SV_SERVERSETTINGS
Definition: protocol7.h:216
@ NETMSGTYPE_SV_MOTD
Definition: protocol7.h:200
@ NETMSGTYPE_SV_READYTOENTER
Definition: protocol7.h:207
@ NETMSGTYPE_DE_CLIENTENTER
Definition: protocol7.h:221
@ NETMSGTYPE_SV_CLIENTINFO
Definition: protocol7.h:217
@ NETMSGTYPE_SV_VOTECLEAROPTIONS
Definition: protocol7.h:210
@ NETMSGTYPE_SV_EMOTICON
Definition: protocol7.h:209
@ NETMSGTYPE_CL_COMMAND
Definition: protocol7.h:238
@ NETMSG_INVALID
Definition: protocol7.h:199
@ NETMSGTYPE_SV_TUNEPARAMS
Definition: protocol7.h:205
@ NETMSGTYPE_SV_VOTEOPTIONLISTADD
Definition: protocol7.h:211
@ NETMSGTYPE_CL_KILL
Definition: protocol7.h:227
@ NETMSGTYPE_CL_READYCHANGE
Definition: protocol7.h:228
@ NETMSGTYPE_CL_VOTE
Definition: protocol7.h:230
@ NETMSGTYPE_CL_STARTINFO
Definition: protocol7.h:226
@ NETMSGTYPE_CL_SETSPECTATORMODE
Definition: protocol7.h:225
@ NETMSGTYPE_SV_GAMEMSG
Definition: protocol7.h:220
@ NETMSGTYPE_CL_SKINCHANGE
Definition: protocol7.h:233
@ NETMSGTYPE_CL_EMOTICON
Definition: protocol7.h:229
@ NETMSGTYPE_SV_COMMANDINFOREMOVE
Definition: protocol7.h:237
@ NETMSGTYPE_SV_TEAM
Definition: protocol7.h:203
@ NETMSGTYPE_SV_WEAPONPICKUP
Definition: protocol7.h:208
@ NETMSGTYPE_SV_CHECKPOINT
Definition: protocol7.h:235
@ NETMSGTYPE_SV_CLIENTDROP
Definition: protocol7.h:219
@ NETMSGTYPE_SV_EXTRAPROJECTILE
Definition: protocol7.h:206
@ NETMSGTYPE_DE_CLIENTLEAVE
Definition: protocol7.h:222
@ NETMSGTYPE_SV_VOTESET
Definition: protocol7.h:214
@ NETMSGTYPE_SV_RACEFINISH
Definition: protocol7.h:234
@ NUM_NETMSGTYPES
Definition: protocol7.h:239
@ NETMSGTYPE_SV_SKINCHANGE
Definition: protocol7.h:232
@ NETMSGTYPE_SV_VOTEOPTIONREMOVE
Definition: protocol7.h:213
@ NETMSGTYPE_SV_CHAT
Definition: protocol7.h:202
@ NETMSGTYPE_CL_SETTEAM
Definition: protocol7.h:224
@ NETMSGTYPE_SV_KILLMSG
Definition: protocol7.h:204
@ NETMSGTYPE_CL_CALLVOTE
Definition: protocol7.h:231
@ NETMSGTYPE_CL_SAY
Definition: protocol7.h:223
@ VOTE_END_PASS
Definition: protocol7.h:91
@ VOTE_UNKNOWN
Definition: protocol7.h:86
@ VOTE_END_FAIL
Definition: protocol7.h:92
@ VOTE_START_SPEC
Definition: protocol7.h:89
@ VOTE_END_ABORT
Definition: protocol7.h:90
@ VOTE_START_KICK
Definition: protocol7.h:88
@ NUM_VOTES
Definition: protocol7.h:93
@ VOTE_START_OP
Definition: protocol7.h:87
@ WEAPON_GUN
Definition: protocol7.h:1219
@ NUM_WEAPONS
Definition: protocol7.h:1224
@ WEAPON_GRENADE
Definition: protocol7.h:1221
@ WEAPON_NINJA
Definition: protocol7.h:1223
@ WEAPON_LASER
Definition: protocol7.h:1222
@ WEAPON_SHOTGUN
Definition: protocol7.h:1220
@ WEAPON_HAMMER
Definition: protocol7.h:1218
@ SKINPART_FEET
Definition: protocol7.h:34
@ NUM_SPECMODES
Definition: protocol7.h:28
@ NUM_TEAMS
Definition: protocol7.h:18
@ SKINPART_DECORATION
Definition: protocol7.h:32
@ TEAM_SPECTATORS
Definition: protocol7.h:15
@ TEAM_BLUE
Definition: protocol7.h:17
@ SKINPART_BODY
Definition: protocol7.h:30
@ FLAG_MISSING
Definition: protocol7.h:20
@ NUM_SKINPARTS
Definition: protocol7.h:36
@ SPEC_FREEVIEW
Definition: protocol7.h:24
@ SPEC_PLAYER
Definition: protocol7.h:25
@ SKINPART_EYES
Definition: protocol7.h:35
@ TEAM_RED
Definition: protocol7.h:16
@ SKINPART_MARKING
Definition: protocol7.h:31
@ FLAG_ATSTAND
Definition: protocol7.h:21
@ SPEC_FLAGRED
Definition: protocol7.h:26
@ SKINPART_HANDS
Definition: protocol7.h:33
@ FLAG_TAKEN
Definition: protocol7.h:22
@ SPEC_FLAGBLUE
Definition: protocol7.h:27
Definition: protocol7.h:426
static constexpr int ms_MsgID
Definition: protocol7.h:428
int m_Y
Definition: protocol7.h:430
char is_sixup
Definition: protocol7.h:427
int m_X
Definition: protocol7.h:429
Definition: protocol7.h:466
int m_ArmorAmount
Definition: protocol7.h:472
int m_ClientID
Definition: protocol7.h:469
int m_Angle
Definition: protocol7.h:470
static constexpr int ms_MsgID
Definition: protocol7.h:468
int m_Self
Definition: protocol7.h:473
int m_HealthAmount
Definition: protocol7.h:471
Definition: protocol7.h:452
static constexpr int ms_MsgID
Definition: protocol7.h:454
int m_ClientID
Definition: protocol7.h:455
Definition: protocol7.h:434
static constexpr int ms_MsgID
Definition: protocol7.h:436
Definition: protocol7.h:446
static constexpr int ms_MsgID
Definition: protocol7.h:448
Definition: protocol7.h:459
int m_SoundID
Definition: protocol7.h:462
static constexpr int ms_MsgID
Definition: protocol7.h:461
Definition: protocol7.h:440
static constexpr int ms_MsgID
Definition: protocol7.h:442
Definition: protocol7.h:1008
const char * m_pType
Definition: protocol7.h:1011
int m_Force
Definition: protocol7.h:1014
const char * m_pReason
Definition: protocol7.h:1013
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1016
const char * m_pValue
Definition: protocol7.h:1012
char is_sixup
Definition: protocol7.h:1009
static constexpr int ms_MsgID
Definition: protocol7.h:1010
Definition: protocol7.h:1157
static constexpr int ms_MsgID
Definition: protocol7.h:1159
const char * m_pArguments
Definition: protocol7.h:1161
char is_sixup
Definition: protocol7.h:1158
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1163
const char * m_pName
Definition: protocol7.h:1160
Definition: protocol7.h:982
int m_Emoticon
Definition: protocol7.h:985
char is_sixup
Definition: protocol7.h:983
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:987
static constexpr int ms_MsgID
Definition: protocol7.h:984
Definition: protocol7.h:960
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:964
char is_sixup
Definition: protocol7.h:961
static constexpr int ms_MsgID
Definition: protocol7.h:962
Definition: protocol7.h:971
static constexpr int ms_MsgID
Definition: protocol7.h:973
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:975
char is_sixup
Definition: protocol7.h:972
Definition: protocol7.h:877
int m_Mode
Definition: protocol7.h:880
int m_Target
Definition: protocol7.h:881
char is_sixup
Definition: protocol7.h:878
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:884
static constexpr int ms_MsgID
Definition: protocol7.h:879
const char * m_pMessage
Definition: protocol7.h:882
Definition: protocol7.h:907
int m_SpectatorID
Definition: protocol7.h:911
static constexpr int ms_MsgID
Definition: protocol7.h:909
char is_sixup
Definition: protocol7.h:908
int m_SpecMode
Definition: protocol7.h:910
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:913
Definition: protocol7.h:894
char is_sixup
Definition: protocol7.h:895
static constexpr int ms_MsgID
Definition: protocol7.h:896
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:899
int m_Team
Definition: protocol7.h:897
Definition: protocol7.h:1061
const char * m_apSkinPartNames[6]
Definition: protocol7.h:1064
int m_aUseCustomColors[6]
Definition: protocol7.h:1065
int m_aSkinPartColors[6]
Definition: protocol7.h:1066
char is_sixup
Definition: protocol7.h:1062
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1068
static constexpr int ms_MsgID
Definition: protocol7.h:1063
Definition: protocol7.h:922
const char * m_pName
Definition: protocol7.h:925
char is_sixup
Definition: protocol7.h:923
int m_aSkinPartColors[6]
Definition: protocol7.h:930
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:932
const char * m_pClan
Definition: protocol7.h:926
static constexpr int ms_MsgID
Definition: protocol7.h:924
const char * m_apSkinPartNames[6]
Definition: protocol7.h:928
int m_Country
Definition: protocol7.h:927
int m_aUseCustomColors[6]
Definition: protocol7.h:929
Definition: protocol7.h:995
static constexpr int ms_MsgID
Definition: protocol7.h:997
char is_sixup
Definition: protocol7.h:996
int m_Vote
Definition: protocol7.h:998
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1000
Definition: protocol7.h:843
const char * m_pName
Definition: protocol7.h:846
char is_sixup
Definition: protocol7.h:844
int m_ClientID
Definition: protocol7.h:847
static constexpr int ms_MsgID
Definition: protocol7.h:845
int m_Team
Definition: protocol7.h:848
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:850
Definition: protocol7.h:860
const char * m_pName
Definition: protocol7.h:863
static constexpr int ms_MsgID
Definition: protocol7.h:862
int m_ClientID
Definition: protocol7.h:864
char is_sixup
Definition: protocol7.h:861
const char * m_pReason
Definition: protocol7.h:865
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:867
Definition: protocol7.h:506
static constexpr int ms_MsgID
Definition: protocol7.h:508
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:511
char is_sixup
Definition: protocol7.h:507
const char * m_pMessage
Definition: protocol7.h:509
Definition: protocol7.h:519
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:527
int m_TargetID
Definition: protocol7.h:524
int m_ClientID
Definition: protocol7.h:523
const char * m_pMessage
Definition: protocol7.h:525
char is_sixup
Definition: protocol7.h:520
static constexpr int ms_MsgID
Definition: protocol7.h:521
int m_Mode
Definition: protocol7.h:522
Definition: protocol7.h:1114
char is_sixup
Definition: protocol7.h:1115
int m_Diff
Definition: protocol7.h:1117
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1119
static constexpr int ms_MsgID
Definition: protocol7.h:1116
Definition: protocol7.h:815
int m_Silent
Definition: protocol7.h:820
char is_sixup
Definition: protocol7.h:816
static constexpr int ms_MsgID
Definition: protocol7.h:817
const char * m_pReason
Definition: protocol7.h:819
int m_ClientID
Definition: protocol7.h:818
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:822
Definition: protocol7.h:748
const char * m_pName
Definition: protocol7.h:754
const char * m_pClan
Definition: protocol7.h:755
int m_Silent
Definition: protocol7.h:760
int m_aSkinPartColors[6]
Definition: protocol7.h:759
int m_Local
Definition: protocol7.h:752
int m_ClientID
Definition: protocol7.h:751
static constexpr int ms_MsgID
Definition: protocol7.h:750
char is_sixup
Definition: protocol7.h:749
int m_Team
Definition: protocol7.h:753
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:762
int m_aUseCustomColors[6]
Definition: protocol7.h:758
const char * m_apSkinPartNames[6]
Definition: protocol7.h:757
int m_Country
Definition: protocol7.h:756
Definition: protocol7.h:1144
static constexpr int ms_MsgID
Definition: protocol7.h:1146
const char * m_pName
Definition: protocol7.h:1147
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1149
char is_sixup
Definition: protocol7.h:1145
Definition: protocol7.h:1127
const char * m_pArgsFormat
Definition: protocol7.h:1131
static constexpr int ms_MsgID
Definition: protocol7.h:1129
const char * m_pName
Definition: protocol7.h:1130
const char * m_pHelpText
Definition: protocol7.h:1132
char is_sixup
Definition: protocol7.h:1128
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1134
Definition: protocol7.h:622
static constexpr int ms_MsgID
Definition: protocol7.h:624
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:628
int m_Emoticon
Definition: protocol7.h:626
char is_sixup
Definition: protocol7.h:623
int m_ClientID
Definition: protocol7.h:625
Definition: protocol7.h:587
static constexpr int ms_MsgID
Definition: protocol7.h:589
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:591
char is_sixup
Definition: protocol7.h:588
Definition: protocol7.h:794
int m_MatchCurrent
Definition: protocol7.h:801
int m_MatchNum
Definition: protocol7.h:800
static constexpr int ms_MsgID
Definition: protocol7.h:796
int m_TimeLimit
Definition: protocol7.h:799
char is_sixup
Definition: protocol7.h:795
int m_ScoreLimit
Definition: protocol7.h:798
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:803
int m_GameFlags
Definition: protocol7.h:797
Definition: protocol7.h:832
char is_sixup
Definition: protocol7.h:833
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:836
static constexpr int ms_MsgID
Definition: protocol7.h:834
Definition: protocol7.h:557
int m_Weapon
Definition: protocol7.h:562
int m_ModeSpecial
Definition: protocol7.h:563
static constexpr int ms_MsgID
Definition: protocol7.h:559
int m_Victim
Definition: protocol7.h:561
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:565
int m_Killer
Definition: protocol7.h:560
char is_sixup
Definition: protocol7.h:558
Definition: protocol7.h:493
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:498
const char * m_pMessage
Definition: protocol7.h:496
static constexpr int ms_MsgID
Definition: protocol7.h:495
char is_sixup
Definition: protocol7.h:494
Definition: protocol7.h:1093
int m_RecordServer
Definition: protocol7.h:1100
char is_sixup
Definition: protocol7.h:1094
int m_Time
Definition: protocol7.h:1097
int m_RecordPersonal
Definition: protocol7.h:1099
static constexpr int ms_MsgID
Definition: protocol7.h:1095
int m_Diff
Definition: protocol7.h:1098
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1102
int m_ClientID
Definition: protocol7.h:1096
Definition: protocol7.h:598
static constexpr int ms_MsgID
Definition: protocol7.h:600
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:602
char is_sixup
Definition: protocol7.h:599
Definition: protocol7.h:725
int m_PlayerSlots
Definition: protocol7.h:733
int m_KickMin
Definition: protocol7.h:729
static constexpr int ms_MsgID
Definition: protocol7.h:727
int m_TeamBalance
Definition: protocol7.h:732
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:735
char is_sixup
Definition: protocol7.h:726
int m_KickVote
Definition: protocol7.h:728
int m_TeamLock
Definition: protocol7.h:731
int m_SpecVote
Definition: protocol7.h:730
Definition: protocol7.h:1027
int m_aSkinPartColors[6]
Definition: protocol7.h:1033
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:1035
static constexpr int ms_MsgID
Definition: protocol7.h:1029
int m_aUseCustomColors[6]
Definition: protocol7.h:1032
char is_sixup
Definition: protocol7.h:1028
int m_ClientID
Definition: protocol7.h:1030
const char * m_apSkinPartNames[6]
Definition: protocol7.h:1031
Definition: protocol7.h:538
static constexpr int ms_MsgID
Definition: protocol7.h:540
char is_sixup
Definition: protocol7.h:539
int m_ClientID
Definition: protocol7.h:541
int m_Team
Definition: protocol7.h:542
int m_CooldownTick
Definition: protocol7.h:544
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:546
int m_Silent
Definition: protocol7.h:543
Definition: protocol7.h:576
char is_sixup
Definition: protocol7.h:577
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:580
static constexpr int ms_MsgID
Definition: protocol7.h:578
Definition: protocol7.h:637
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:641
char is_sixup
Definition: protocol7.h:638
static constexpr int ms_MsgID
Definition: protocol7.h:639
Definition: protocol7.h:659
static constexpr int ms_MsgID
Definition: protocol7.h:661
char is_sixup
Definition: protocol7.h:660
const char * m_pDescription
Definition: protocol7.h:662
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:664
Definition: protocol7.h:648
static constexpr int ms_MsgID
Definition: protocol7.h:650
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:652
char is_sixup
Definition: protocol7.h:649
Definition: protocol7.h:672
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:677
char is_sixup
Definition: protocol7.h:673
const char * m_pDescription
Definition: protocol7.h:675
static constexpr int ms_MsgID
Definition: protocol7.h:674
Definition: protocol7.h:685
int m_Timeout
Definition: protocol7.h:690
char is_sixup
Definition: protocol7.h:686
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:694
int m_ClientID
Definition: protocol7.h:688
static constexpr int ms_MsgID
Definition: protocol7.h:687
int m_Type
Definition: protocol7.h:689
const char * m_pDescription
Definition: protocol7.h:691
const char * m_pReason
Definition: protocol7.h:692
Definition: protocol7.h:706
static constexpr int ms_MsgID
Definition: protocol7.h:708
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:714
int m_Yes
Definition: protocol7.h:709
int m_No
Definition: protocol7.h:710
int m_Pass
Definition: protocol7.h:711
int m_Total
Definition: protocol7.h:712
char is_sixup
Definition: protocol7.h:707
Definition: protocol7.h:609
int m_Weapon
Definition: protocol7.h:612
bool Pack(CMsgPacker *pPacker) const
Definition: protocol7.h:614
static constexpr int ms_MsgID
Definition: protocol7.h:611
char is_sixup
Definition: protocol7.h:610
Definition: protocol7.h:341
int m_HookY
Definition: protocol7.h:356
int m_HookTick
Definition: protocol7.h:354
int m_Direction
Definition: protocol7.h:350
int m_VelX
Definition: protocol7.h:347
int m_Tick
Definition: protocol7.h:344
int m_HookState
Definition: protocol7.h:353
int m_Jumped
Definition: protocol7.h:351
int m_Angle
Definition: protocol7.h:349
int m_HookDy
Definition: protocol7.h:358
int m_HookX
Definition: protocol7.h:355
int m_VelY
Definition: protocol7.h:348
static constexpr int ms_MsgID
Definition: protocol7.h:343
int m_HookDx
Definition: protocol7.h:357
int m_X
Definition: protocol7.h:345
int m_HookedPlayer
Definition: protocol7.h:352
int m_Y
Definition: protocol7.h:346
char is_sixup
Definition: protocol7.h:342
Definition: protocol7.h:362
int m_AttackTick
Definition: protocol7.h:370
int m_Emote
Definition: protocol7.h:369
int m_AmmoCount
Definition: protocol7.h:367
static constexpr int ms_MsgID
Definition: protocol7.h:364
int m_Health
Definition: protocol7.h:365
int m_TriggeredEvents
Definition: protocol7.h:371
int m_Armor
Definition: protocol7.h:366
int m_Weapon
Definition: protocol7.h:368
Definition: protocol7.h:394
int m_aClan[3]
Definition: protocol7.h:400
int m_aSkinPartColors[6]
Definition: protocol7.h:404
int m_Team
Definition: protocol7.h:398
static constexpr int ms_MsgID
Definition: protocol7.h:396
int m_Local
Definition: protocol7.h:397
int m_Country
Definition: protocol7.h:401
int m_aName[4]
Definition: protocol7.h:399
int m_aUseCustomColors[6]
Definition: protocol7.h:403
int m_aaSkinPartNames[6][6]
Definition: protocol7.h:402
char is_sixup
Definition: protocol7.h:395
Definition: protocol7.h:408
int m_MatchNum
Definition: protocol7.h:414
int m_ScoreLimit
Definition: protocol7.h:412
static constexpr int ms_MsgID
Definition: protocol7.h:410
int m_GameFlags
Definition: protocol7.h:411
int m_TimeLimit
Definition: protocol7.h:413
char is_sixup
Definition: protocol7.h:409
int m_MatchCurrent
Definition: protocol7.h:415
Definition: protocol7.h:419
static constexpr int ms_MsgID
Definition: protocol7.h:421
int m_aTuneParams[32]
Definition: protocol7.h:422
char is_sixup
Definition: protocol7.h:420
Definition: protocol7.h:305
int m_X
Definition: protocol7.h:308
static constexpr int ms_MsgID
Definition: protocol7.h:307
int m_Team
Definition: protocol7.h:310
char is_sixup
Definition: protocol7.h:306
int m_Y
Definition: protocol7.h:309
Definition: protocol7.h:331
static constexpr int ms_MsgID
Definition: protocol7.h:333
char is_sixup
Definition: protocol7.h:332
int m_FlagDropTickRed
Definition: protocol7.h:336
int m_FlagDropTickBlue
Definition: protocol7.h:337
int m_FlagCarrierBlue
Definition: protocol7.h:335
int m_FlagCarrierRed
Definition: protocol7.h:334
Definition: protocol7.h:484
int m_BestTime
Definition: protocol7.h:487
char is_sixup
Definition: protocol7.h:485
int m_RaceFlags
Definition: protocol7.h:489
static constexpr int ms_MsgID
Definition: protocol7.h:486
int m_Precision
Definition: protocol7.h:488
Definition: protocol7.h:323
static constexpr int ms_MsgID
Definition: protocol7.h:325
int m_TeamscoreRed
Definition: protocol7.h:326
int m_TeamscoreBlue
Definition: protocol7.h:327
char is_sixup
Definition: protocol7.h:324
Definition: protocol7.h:314
int m_GameStartTick
Definition: protocol7.h:317
int m_GameStateFlags
Definition: protocol7.h:318
int m_GameStateEndTick
Definition: protocol7.h:319
static constexpr int ms_MsgID
Definition: protocol7.h:316
char is_sixup
Definition: protocol7.h:315
Definition: protocol7.h:285
int m_StartTick
Definition: protocol7.h:292
int m_FromY
Definition: protocol7.h:291
int m_X
Definition: protocol7.h:288
static constexpr int ms_MsgID
Definition: protocol7.h:287
char is_sixup
Definition: protocol7.h:286
int m_FromX
Definition: protocol7.h:290
int m_Y
Definition: protocol7.h:289
Definition: protocol7.h:296
int m_Type
Definition: protocol7.h:301
static constexpr int ms_MsgID
Definition: protocol7.h:298
char is_sixup
Definition: protocol7.h:297
int m_X
Definition: protocol7.h:299
int m_Y
Definition: protocol7.h:300
Definition: protocol7.h:477
char is_sixup
Definition: protocol7.h:478
int m_RaceStartTick
Definition: protocol7.h:480
static constexpr int ms_MsgID
Definition: protocol7.h:479
Definition: protocol7.h:375
int m_Score
Definition: protocol7.h:379
int m_Latency
Definition: protocol7.h:380
static constexpr int ms_MsgID
Definition: protocol7.h:377
char is_sixup
Definition: protocol7.h:376
int m_PlayerFlags
Definition: protocol7.h:378
Definition: protocol7.h:257
int m_PrevWeapon
Definition: protocol7.h:269
int m_WantedWeapon
Definition: protocol7.h:267
static constexpr int ms_MsgID
Definition: protocol7.h:259
int m_Direction
Definition: protocol7.h:260
int m_PlayerFlags
Definition: protocol7.h:266
int m_Jump
Definition: protocol7.h:263
int m_TargetX
Definition: protocol7.h:261
int m_NextWeapon
Definition: protocol7.h:268
char is_sixup
Definition: protocol7.h:258
int m_Hook
Definition: protocol7.h:265
int m_TargetY
Definition: protocol7.h:262
int m_Fire
Definition: protocol7.h:264
Definition: protocol7.h:273
int m_VelX
Definition: protocol7.h:278
int m_Type
Definition: protocol7.h:280
char is_sixup
Definition: protocol7.h:274
int m_VelY
Definition: protocol7.h:279
int m_Y
Definition: protocol7.h:277
int m_StartTick
Definition: protocol7.h:281
static constexpr int ms_MsgID
Definition: protocol7.h:275
int m_X
Definition: protocol7.h:276
Definition: protocol7.h:384
char is_sixup
Definition: protocol7.h:385
int m_SpectatorID
Definition: protocol7.h:388
int m_X
Definition: protocol7.h:389
static constexpr int ms_MsgID
Definition: protocol7.h:386
int m_Y
Definition: protocol7.h:390
int m_SpecMode
Definition: protocol7.h:387
Definition: protocol7.h:247
static constexpr bool value
Definition: protocol7.h:248
Definition: protocol7.h:243
void type
Definition: protocol7.h:243