iw4x-client/src/Components/Modules/PlayerName.hpp
2016-09-16 11:04:28 +02:00

19 lines
349 B
C++

namespace Components
{
class PlayerName : public Component
{
public:
PlayerName();
~PlayerName();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* GetName() { return "PlayerName"; };
#endif
private:
static std::string PlayerNames[18];
static int GetClientName(int localClientNum, int index, char *buf, int size);
};
}