2020-06-10 16:12:10 +00:00
|
|
|
#ifndef GAME_SERVER_TEEINFO_H
|
|
|
|
#define GAME_SERVER_TEEINFO_H
|
|
|
|
|
|
|
|
class CTeeInfo
|
|
|
|
{
|
|
|
|
public:
|
2020-09-26 19:41:58 +00:00
|
|
|
constexpr static const float DARKEST_LGT_7 = 61 / 255.0f;
|
2020-06-18 16:59:21 +00:00
|
|
|
|
2020-09-26 19:41:58 +00:00
|
|
|
char m_SkinName[64] = {'\0'};
|
|
|
|
int m_UseCustomColor = 0;
|
|
|
|
int m_ColorBody = 0;
|
|
|
|
int m_ColorFeet = 0;
|
2020-06-10 16:12:10 +00:00
|
|
|
|
2020-09-26 19:41:58 +00:00
|
|
|
// 0.7
|
|
|
|
char m_apSkinPartNames[6][24] = {"", "", "", "", "", ""};
|
|
|
|
bool m_aUseCustomColors[6] = {false, false, false, false, false, false};
|
|
|
|
int m_aSkinPartColors[6] = {0, 0, 0, 0, 0, 0};
|
2020-06-10 16:12:10 +00:00
|
|
|
|
2020-09-26 19:41:58 +00:00
|
|
|
CTeeInfo() = default;
|
2020-06-10 16:12:10 +00:00
|
|
|
|
2020-09-26 19:41:58 +00:00
|
|
|
CTeeInfo(const char *pSkinName, int UseCustomColor, int ColorBody, int ColorFeet);
|
2020-06-10 16:12:10 +00:00
|
|
|
|
2020-09-26 19:41:58 +00:00
|
|
|
// This constructor will assume all arrays are of length 6
|
|
|
|
CTeeInfo(const char *pSkinPartNames[6], int *pUseCustomColors, int *pSkinPartColors);
|
2020-06-10 16:12:10 +00:00
|
|
|
|
2020-09-26 19:41:58 +00:00
|
|
|
void FromSixup();
|
|
|
|
void ToSixup();
|
2020-06-10 16:12:10 +00:00
|
|
|
};
|
|
|
|
#endif //GAME_SERVER_TEEINFO_H
|