1#ifndef GAME_SERVER_TEEINFO_H
2#define GAME_SERVER_TEEINFO_H
3
4class CTeeInfo
5{
6public:
7 constexpr static const float ms_DarkestLGT7 = 61 / 255.0f;
8
9 char m_aSkinName[24] = {'\0'};
10 int m_UseCustomColor = 0;
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
30