|
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. | |
| void | SV_BroadcastPrintf (int level, const char *fmt,...) |
| Sends text to all active clients. | |
| void | SV_Multicast (int mask, const dbuffer &msg) |
| Sends the contents of msg to a subset of the clients, then frees msg. | |
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, length, level, MAX_SVC_PRINT, NET_VPrintf(), NET_WriteByte(), NET_WriteConstMsg(), PRINT_HUD, Q_vsnprintf(), 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_t::stream, and svc_stufftext.
Sends text across to be displayed if the level passes.
Definition at line 58 of file sv_send.cpp.
References cl, level, MAX_SVC_PRINT, NET_VPrintf(), NET_WriteByte(), NET_WriteMsg(), 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(), and SV_GetNextClient().
Referenced by SV_Configstring(), SV_EndEvents(), SV_FindIndex(), and SV_SendQueuedEvents().