DDraceNetwork Documentation
Loading...
Searching...
No Matches
teeinfo.h
Go to the documentation of this file.
1#ifndef GAME_SERVER_TEEINFO_H
2#define GAME_SERVER_TEEINFO_H
3
5
6#include <generated/protocol7.h>
7
9{
10public:
12 bool m_UseCustomColor = false;
13 int m_ColorBody = 0;
14 int m_ColorFeet = 0;
15
16 // 0.7
18 bool m_aUseCustomColors[protocol7::NUM_SKINPARTS] = {false, false, false, false, false, false};
20
21 CTeeInfo() = default;
22 CTeeInfo(const char *pSkinName, int UseCustomColor, int ColorBody, int ColorFeet);
24
25 void FromSixup();
26 void ToSixup();
27};
28
29#endif //GAME_SERVER_TEEINFO_H
Definition teeinfo.h:9
char m_aaSkinPartNames[protocol7::NUM_SKINPARTS][protocol7::MAX_SKIN_LENGTH]
Definition teeinfo.h:17
int m_ColorFeet
Definition teeinfo.h:14
int m_aSkinPartColors[protocol7::NUM_SKINPARTS]
Definition teeinfo.h:19
int m_ColorBody
Definition teeinfo.h:13
void FromSixup()
Definition teeinfo.cpp:96
void ToSixup()
Definition teeinfo.cpp:54
CTeeInfo()=default
bool m_UseCustomColor
Definition teeinfo.h:12
bool m_aUseCustomColors[protocol7::NUM_SKINPARTS]
Definition teeinfo.h:18
char m_aSkinName[MAX_SKIN_LENGTH]
Definition teeinfo.h:11
Definition vmath.h:15
@ MAX_SKIN_LENGTH
Definition protocol.h:100
@ NUM_SKINPARTS
Definition protocol7.h:37
@ MAX_SKIN_LENGTH
Definition protocol7.h:69