#include <server.h>
Data Fields | |
qboolean | initialized |
int | realtime |
struct datagram_socket * | netDatagramSocket |
struct client_s * | clients |
int | lastHeartbeat |
qboolean | abandon |
qboolean | killserver |
SDL_mutex * | serverMutex |
SDL_Thread * | gameThread |
void * | gameLibrary |
game_export_t * | ge |
Definition at line 75 of file server.h.
shutdown server when all clients disconnect and don't accept new connections
Definition at line 82 of file server.h.
Referenced by SV_DropClient(), SV_Frame(), and SV_ShutdownWhenEmpty().
[sv_maxclients->value];
Definition at line 79 of file server.h.
Referenced by SV_GetClient(), SV_GetNextClient(), SV_InitGame(), SV_Shutdown(), and SV_Status_f().
Definition at line 86 of file server.h.
Referenced by SV_GetGameAPI(), SV_LoadGame(), and SV_UnloadGame().
SDL_Thread* serverInstanceStatic_t::gameThread |
Definition at line 85 of file server.h.
Referenced by SV_InitGameProgs(), and SV_ShutdownGameProgs().
Definition at line 87 of file server.h.
Referenced by SV_Begin_f(), SV_DropClient(), SV_ExecuteClientMessage(), SV_ExecuteUserCommand(), SV_InitGameProgs(), SV_LinkEdict(), SV_Map(), SV_RunGameFrame(), SV_ServerCommand_f(), SV_ShutdownGameProgs(), SV_Spawn_f(), SV_Status_f(), SV_TouchEdicts(), SV_Trace(), SV_UserinfoChanged(), SVC_DirectConnect(), SVC_Status(), and SVC_TeamInfo().
sv_init has completed
Definition at line 76 of file server.h.
Referenced by SV_CountPlayers(), SV_Frame(), SV_InitGame(), SV_Kick_f(), SV_KillServer_f(), SV_Map(), SV_Shutdown(), and SV_UserInfo_f().
will initiate shutdown once abandon is set
Definition at line 83 of file server.h.
Referenced by SV_DropClient(), and SV_Frame().
time where the last heartbeat was send to the master server Set to a huge negative value to send immmediately
Definition at line 80 of file server.h.
Referenced by Master_Heartbeat(), and SV_Heartbeat_f().
Definition at line 78 of file server.h.
Referenced by SV_InitGame(), and SV_Shutdown().
always increasing, no clamping, etc
Definition at line 77 of file server.h.
Referenced by Master_Heartbeat(), SV_Frame(), and SVC_DirectConnect().
SDL_mutex* serverInstanceStatic_t::serverMutex |
Definition at line 84 of file server.h.
Referenced by SV_Begin_f(), SV_DropClient(), SV_ExecuteClientMessage(), SV_ExecuteUserCommand(), SV_InitGame(), SV_Map(), SV_RunGameFrame(), SV_ServerCommand_f(), SV_Shutdown(), SV_Spawn_f(), SV_UserinfoChanged(), and SVC_DirectConnect().