UFO: Alien Invasion
Loading...
Searching...
No Matches
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.
const char * CL_PlayerGetName (unsigned int player)
 Get the player name.
int CL_GetPlayerNum (void)

Function Documentation

◆ CL_GetPlayerNum()

int CL_GetPlayerNum ( void )

Definition at line 103 of file cl_parse.cpp.

References cls.

Referenced by GAME_GetImportData(), cgame_import_t::int(), 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, and clientinfo_t::name.

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