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

20 lines
402 B
C++
Raw Normal View History

2017-01-20 08:36:52 -05:00
#pragma once
2017-01-19 16:23:59 -05:00
namespace Components
{
class PlayerName : public Component
{
public:
PlayerName();
static void UserInfoCopy(char* buffer, const char* name, size_t size);
2017-01-19 16:23:59 -05:00
private:
static Dvar::Var sv_allowColoredNames;
2017-01-19 16:23:59 -05:00
static char* CleanStrStub(char* string);
static void ClientUserinfoChanged();
static char* GetClientName(int localClientNum, int index, char* buf, size_t size);
2017-01-19 16:23:59 -05:00
};
}