UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cl_parse.h File Reference

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

int CL_GetPlayerNum ( void  )

Definition at line 103 of file cl_parse.cpp.

References cls, and client_static_s::team.

Referenced by GAME_GetImportData(), and S_MumbleUpdate().

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_s::clientinfo, and clientinfo_t::name.

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