ClientProxy
Description
None
Methods
string GetUsername()
ushort GetId()
AuthenticationLevel GetAuthLevel()
string Psid()
- Description: Gets client's platform specific id if such exists. For steam platform this will be client's steam id.
PlayerTeam GetCurrentTeam()
bool IsSpectating()
int GetScore()
PlayerTeam GetTeam()
- Description: Get the current team of the player.
void SetTeam(PlayerTeam team)
- Description: Set the next team of the player. If you are forcing player to a specific team you should kill the player immediately after calling this.
DisplayUsername GetDisplayUsername()
- Description: Returns the displayed username of the player. You may modify it but if you do you must call SetDirty function on the object for any changes to take effect.