DDraceNetwork Docs
teeinfo.h
Go to the documentation of this file.
1#ifndef GAME_SERVER_TEEINFO_H
2#define GAME_SERVER_TEEINFO_H
3
5
7{
8public:
11 int m_ColorBody = 0;
12 int m_ColorFeet = 0;
13
14 // 0.7
15 char m_apSkinPartNames[6][24] = {"", "", "", "", "", ""};
16 bool m_aUseCustomColors[6] = {false, false, false, false, false, false};
17 int m_aSkinPartColors[6] = {0, 0, 0, 0, 0, 0};
18
19 CTeeInfo() = default;
20
21 CTeeInfo(const char *pSkinName, int UseCustomColor, int ColorBody, int ColorFeet);
22
23 // This constructor will assume all arrays are of length 6
24 CTeeInfo(const char *apSkinPartNames[6], const int *pUseCustomColors, const int *pSkinPartColors);
25
26 void FromSixup();
27 void ToSixup();
28};
29#endif //GAME_SERVER_TEEINFO_H
Definition: teeinfo.h:7
char m_apSkinPartNames[6][24]
Definition: teeinfo.h:15
CTeeInfo(const char *apSkinPartNames[6], const int *pUseCustomColors, const int *pSkinPartColors)
int m_ColorFeet
Definition: teeinfo.h:12
int m_aSkinPartColors[6]
Definition: teeinfo.h:17
int m_ColorBody
Definition: teeinfo.h:11
void FromSixup()
Definition: teeinfo.cpp:94
void ToSixup()
Definition: teeinfo.cpp:52
CTeeInfo()=default
bool m_aUseCustomColors[6]
Definition: teeinfo.h:16
char m_aSkinName[MAX_SKIN_LENGTH]
Definition: teeinfo.h:9
int m_UseCustomColor
Definition: teeinfo.h:10
@ MAX_SKIN_LENGTH
Definition: protocol.h:99