UFO: Alien Invasion
cl_parse.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void CL_ParseServerMessage (svc_ops_t cmd, dbuffer *msg)
 Parses the server sent data from the given buffer. More...
 
const char * CL_PlayerGetName (unsigned int player)
 Get the player name. More...
 
int CL_GetPlayerNum (void)
 

Function Documentation

◆ CL_GetPlayerNum()

int CL_GetPlayerNum ( void  )

Definition at line 103 of file cl_parse.cpp.

References cls, and client_static_t::team.

Referenced by GAME_GetImportData(), and S_MumbleUpdate().

◆ CL_ParseServerMessage()

◆ CL_PlayerGetName()

const char * CL_PlayerGetName ( unsigned int  player)

Get the player name.

Parameters
playerThe index of the player
Returns
The name of the player

Definition at line 113 of file cl_parse.cpp.

References cl, clientBattleScape_t::clientinfo, and clientinfo_t::name.

Referenced by CL_ActorDie(), CL_AddTargetingBox(), GAME_GetImportData(), and S_MumbleUpdate().