UFO: Alien Invasion
|
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) |
Definition at line 103 of file cl_parse.cpp.
References cls, and client_static_s::team.
Referenced by GAME_GetImportData(), and S_MumbleUpdate().
Parses the server sent data from the given buffer.
[in] | cmd | The action that should be parsed from the data |
[in,out] | msg | The client stream message buffer to read from |
Definition at line 160 of file cl_parse.cpp.
References _, Cbuf_AddText(), Cbuf_Execute(), CL_Drop(), CL_Milliseconds(), CL_ParseConfigString(), CL_ParseEvent(), CL_ParseServerData(), clc_ack, cls, Com_DPrintf(), Com_Error(), Com_Printf(), DEBUG_CLIENT, ERR_DROP, GAME_AddChatMessage(), HUD_DisplayMessage(), i, MAX_SVC_DISCONNECT, MAX_SVC_PRINT, MAX_SVC_RECONNECT, MAX_SVC_STUFFTEXT, NET_ReadByte(), NET_ReadString(), NET_WriteByte(), NET_WriteMsg(), client_static_s::netStream, PRINT_CHAT, PRINT_HUD, client_static_s::reconnectTime, svc_bad, svc_configstring, svc_disconnect, svc_event, svc_nop, svc_oob, svc_ping, svc_print, svc_reconnect, svc_serverdata, svc_strings, and svc_stufftext.
Referenced by CL_ReadPackets().
const char* CL_PlayerGetName | ( | unsigned int | player | ) |
Get the player name.
player | The index 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().