UFO: Alien Invasion
Loading...
Searching...
No Matches
serverInstanceStatic_t Struct Reference

#include <server.h>

Collaboration diagram for serverInstanceStatic_t:
Collaboration graph

Data Fields

bool initialized
int realtime
struct datagram_socketnetDatagramSocket
struct client_s * clients
int lastHeartbeat
int lastPing
bool abandon
bool killserver
SDL_mutex * serverMutex
SDL_cond * gameFrameCond
SDL_Thread * gameThread
voidgameLibrary
game_export_tge

Detailed Description

Definition at line 76 of file server.h.

Field Documentation

◆ abandon

bool serverInstanceStatic_t::abandon

shutdown server when all clients disconnect and don't accept new connections

Definition at line 84 of file server.h.

◆ clients

struct client_s* serverInstanceStatic_t::clients

[sv_maxclients->value];

Definition at line 80 of file server.h.

◆ gameFrameCond

SDL_cond* serverInstanceStatic_t::gameFrameCond

the signal that the game frame threads waits for

Definition at line 87 of file server.h.

◆ gameLibrary

void* serverInstanceStatic_t::gameLibrary

Definition at line 90 of file server.h.

◆ gameThread

SDL_Thread* serverInstanceStatic_t::gameThread

Definition at line 88 of file server.h.

◆ ge

game_export_t* serverInstanceStatic_t::ge

Definition at line 92 of file server.h.

◆ initialized

bool serverInstanceStatic_t::initialized

sv_init has completed

Definition at line 77 of file server.h.

◆ killserver

bool serverInstanceStatic_t::killserver

will initiate shutdown once abandon is set

Definition at line 85 of file server.h.

◆ lastHeartbeat

int serverInstanceStatic_t::lastHeartbeat

time where the last heartbeat was send to the master server Set to a huge negative value to send immmediately

Definition at line 81 of file server.h.

◆ lastPing

int serverInstanceStatic_t::lastPing

Definition at line 83 of file server.h.

◆ netDatagramSocket

struct datagram_socket* serverInstanceStatic_t::netDatagramSocket

Definition at line 79 of file server.h.

◆ realtime

int serverInstanceStatic_t::realtime

always increasing, no clamping, etc

Definition at line 78 of file server.h.

◆ serverMutex

SDL_mutex* serverInstanceStatic_t::serverMutex

Definition at line 86 of file server.h.


The documentation for this struct was generated from the following file: