19 lines
314 B
C++
19 lines
314 B
C++
|
namespace Components
|
||
|
{
|
||
|
class PlayerName : public Component
|
||
|
{
|
||
|
public:
|
||
|
PlayerName();
|
||
|
~PlayerName();
|
||
|
|
||
|
#ifdef DEBUG
|
||
|
const char* GetName() { return "PlayerName"; };
|
||
|
#endif
|
||
|
|
||
|
private:
|
||
|
static std::string PlayerNames[18];
|
||
|
|
||
|
static int GetClientName(int localClientNum, int index, char *buf, int size);
|
||
|
};
|
||
|
}
|