UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
client_s Struct Reference

#include <server.h>

Data Fields

client_state_t state
 
char userinfo [MAX_INFO_STRING]
 
player_tplayer
 
char name [32]
 
int messagelevel
 
int lastmessage
 
char peername [256]
 
struct net_streamstream
 

Detailed Description

a client can leave the server in one of four ways:

  • dropping properly by quitting or disconnecting
  • timing out if no valid messages are received
  • getting kicked off by the server operator
  • a program error, like an overflowed reliable buffer

Definition at line 155 of file server.h.

Field Documentation

int client_s::lastmessage

when packet was last received

Definition at line 161 of file server.h.

Referenced by SV_CheckTimeouts(), SV_ExecuteClientMessage(), SV_Status_f(), and SVC_DirectConnect().

int client_s::messagelevel

for filtering printed messages

Definition at line 160 of file server.h.

Referenced by SV_BroadcastPrintf(), SV_ClientPrintf(), and SV_UserinfoChanged().

char client_s::name[32]
char client_s::peername[256]

Definition at line 162 of file server.h.

Referenced by SVC_DirectConnect().

char client_s::userinfo[MAX_INFO_STRING]

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