Go to the source code of this file.
Functions | |
void | CL_ParseServerMessage (svc_ops_t cmd, struct dbuffer *msg) |
Parses the server sent data from the given buffer. | |
const char * | CL_PlayerGetName (int player) |
Get the player name. |
Definition in file cl_parse.h.
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 199 of file cl_parse.c.
References _, ca_connecting, Cbuf_AddText(), Cbuf_Execute(), CL_Disconnect(), CL_Drop(), CL_Milliseconds(), CL_ParseConfigString(), CL_ParseEvent(), CL_ParseServerData(), CL_ParseStartSoundPacket(), CL_SetClientState(), cls, Com_DPrintf(), Com_Error(), Com_Printf(), client_static_s::connectTime, DEBUG_CLIENT, ERR_DROP, HUD_DisplayMessage(), i, MP_AddChatMessage(), NET_ReadByte(), NET_ReadString(), PRINT_CHAT, PRINT_HUD, S_StartLocalSample(), SND_VOLUME_DEFAULT, svc_bad, svc_configstring, svc_disconnect, svc_event, svc_nop, svc_print, svc_reconnect, svc_serverdata, svc_sound, svc_strings, and svc_stufftext.
Referenced by CL_ReadPackets().
const char* CL_PlayerGetName | ( | int | player | ) |
Get the player name.
player | The index of the player |
Definition at line 114 of file cl_parse.c.
References CL_GetConfigString(), CS_PLAYERNAMES, and MAX_CLIENTS.
Referenced by CL_AddTargetingBox(), CL_ParseClientinfo(), and GAME_MP_EndRoundAnnounce().