iw4x-client/src/Components/Modules/PlayerName.hpp

19 lines
314 B
C++
Raw Normal View History

2016-09-05 13:55:47 -04:00
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);
};
}