UFO: Alien Invasion
|
Event message handling? More...
#include "server.h"
Go to the source code of this file.
Functions | |
void | SV_ClientCommand (client_t *client, const char *fmt,...) |
void | SV_ClientPrintf (client_t *cl, int level, const char *fmt,...) |
Sends text across to be displayed if the level passes. More... | |
void | SV_BroadcastPrintf (int level, const char *fmt,...) |
Sends text to all active clients. More... | |
void | SV_Multicast (int mask, const dbuffer &msg) |
Sends the contents of msg to a subset of the clients, then frees msg. More... | |
Event message handling?
Definition in file sv_send.cpp.
Sends text to all active clients.
Definition at line 79 of file sv_send.cpp.
References cl, Com_Printf(), cs_connected, i, cvar_s::integer, length, MAX_SVC_PRINT, client_s::messagelevel, NET_VPrintf(), NET_WriteByte(), NET_WriteConstMsg(), PRINT_HUD, Q_vsnprintf(), client_s::state, client_s::stream, sv_dedicated, SV_GetNextClient(), and svc_print.
Definition at line 40 of file sv_send.cpp.
References MAX_SVC_STUFFTEXT, NET_VPrintf(), NET_WriteByte(), NET_WriteMsg(), client_s::stream, and svc_stufftext.
Sends text across to be displayed if the level passes.
Definition at line 58 of file sv_send.cpp.
References MAX_SVC_PRINT, client_s::messagelevel, NET_VPrintf(), NET_WriteByte(), NET_WriteMsg(), client_s::stream, and svc_print.
Sends the contents of msg to a subset of the clients, then frees msg.
[in] | mask | Bitmask of the players to send the multicast to |
[in,out] | msg | The message to send to the clients |
Definition at line 126 of file sv_send.cpp.
References cl, cs_connected, NET_WriteConstMsg(), client_s::state, client_s::stream, and SV_GetNextClient().
Referenced by SV_Configstring(), SV_EndEvents(), SV_FindIndex(), and SV_SendQueuedEvents().