doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | Static Private Attributes | List of all members
idAsyncNetwork Class Reference

#include <AsyncNetwork.h>

Public Member Functions

 idAsyncNetwork ()
 

Static Public Member Functions

static void Init (void)
 
static void Shutdown (void)
 
static bool IsActive (void)
 
static void RunFrame (void)
 
static void WriteUserCmdDelta (idBitMsg &msg, const usercmd_t &cmd, const usercmd_t *base)
 
static void ReadUserCmdDelta (const idBitMsg &msg, usercmd_t &cmd, const usercmd_t *base)
 
static bool DuplicateUsercmd (const usercmd_t &previousUserCmd, usercmd_t &currentUserCmd, int frame, int time)
 
static bool UsercmdInputChanged (const usercmd_t &previousUserCmd, const usercmd_t &currentUserCmd)
 
static bool GetMasterAddress (int index, netadr_t &adr)
 
static netadr_t GetMasterAddress (void)
 
static void GetNETServers ()
 
static void ExecuteSessionCommand (const char *sessCmd)
 
static void BuildInvalidKeyMsg (idStr &msg, bool valid[2])
 

Static Public Attributes

static idAsyncServer server
 
static idAsyncClient client
 
static idCVar verbose
 
static idCVar allowCheats
 
static idCVar serverDedicated
 
static idCVar serverSnapshotDelay
 
static idCVar serverMaxClientRate
 
static idCVar clientMaxRate
 
static idCVar serverMaxUsercmdRelay
 
static idCVar serverZombieTimeout
 
static idCVar serverClientTimeout
 
static idCVar clientServerTimeout
 
static idCVar serverDrawClient
 
static idCVar serverRemoteConsolePassword
 
static idCVar clientPrediction
 
static idCVar clientMaxPrediction
 
static idCVar clientUsercmdBackup
 
static idCVar clientRemoteConsoleAddress
 
static idCVar clientRemoteConsolePassword
 
static idCVar master0
 
static idCVar master1
 
static idCVar master2
 
static idCVar master3
 
static idCVar master4
 
static idCVar LANServer
 
static idCVar serverReloadEngine
 
static idCVar serverAllowServerMod
 
static idCVar idleServer
 
static idCVar clientDownload
 

Static Private Member Functions

static void SpawnServer_f (const idCmdArgs &args)
 
static void NextMap_f (const idCmdArgs &args)
 
static void Connect_f (const idCmdArgs &args)
 
static void Reconnect_f (const idCmdArgs &args)
 
static void GetServerInfo_f (const idCmdArgs &args)
 
static void GetLANServers_f (const idCmdArgs &args)
 
static void ListServers_f (const idCmdArgs &args)
 
static void RemoteConsole_f (const idCmdArgs &args)
 
static void Heartbeat_f (const idCmdArgs &args)
 
static void Kick_f (const idCmdArgs &args)
 
static void CheckNewVersion_f (const idCmdArgs &args)
 
static void UpdateUI_f (const idCmdArgs &args)
 

Static Private Attributes

static int realTime
 
static master_t masters [MAX_MASTER_SERVERS]
 

Detailed Description

Definition at line 143 of file AsyncNetwork.h.

Constructor & Destructor Documentation

idAsyncNetwork::idAsyncNetwork ( void  )

Definition at line 78 of file AsyncNetwork.cpp.

Member Function Documentation

void idAsyncNetwork::BuildInvalidKeyMsg ( idStr msg,
bool  valid[2] 
)
static

Definition at line 500 of file AsyncNetwork.cpp.

void idAsyncNetwork::CheckNewVersion_f ( const idCmdArgs args)
staticprivate

Definition at line 460 of file AsyncNetwork.cpp.

void idAsyncNetwork::Connect_f ( const idCmdArgs args)
staticprivate

Definition at line 346 of file AsyncNetwork.cpp.

bool idAsyncNetwork::DuplicateUsercmd ( const usercmd_t previousUserCmd,
usercmd_t currentUserCmd,
int  frame,
int  time 
)
static

Definition at line 255 of file AsyncNetwork.cpp.

void idAsyncNetwork::ExecuteSessionCommand ( const char *  sessCmd)
static

Definition at line 469 of file AsyncNetwork.cpp.

void idAsyncNetwork::GetLANServers_f ( const idCmdArgs args)
staticprivate

Definition at line 382 of file AsyncNetwork.cpp.

bool idAsyncNetwork::GetMasterAddress ( int  index,
netadr_t adr 
)
static

Definition at line 129 of file AsyncNetwork.cpp.

netadr_t idAsyncNetwork::GetMasterAddress ( void  )
static

Definition at line 118 of file AsyncNetwork.cpp.

void idAsyncNetwork::GetNETServers ( void  )
static

Definition at line 451 of file AsyncNetwork.cpp.

void idAsyncNetwork::GetServerInfo_f ( const idCmdArgs args)
staticprivate

Definition at line 373 of file AsyncNetwork.cpp.

void idAsyncNetwork::Heartbeat_f ( const idCmdArgs args)
staticprivate

Definition at line 409 of file AsyncNetwork.cpp.

void idAsyncNetwork::Init ( void  )
static

Definition at line 86 of file AsyncNetwork.cpp.

static bool idAsyncNetwork::IsActive ( void  )
inlinestatic

Definition at line 149 of file AsyncNetwork.h.

void idAsyncNetwork::Kick_f ( const idCmdArgs args)
staticprivate

Definition at line 422 of file AsyncNetwork.cpp.

void idAsyncNetwork::ListServers_f ( const idCmdArgs args)
staticprivate

Definition at line 391 of file AsyncNetwork.cpp.

void idAsyncNetwork::NextMap_f ( const idCmdArgs args)
staticprivate

Definition at line 337 of file AsyncNetwork.cpp.

void idAsyncNetwork::ReadUserCmdDelta ( const idBitMsg msg,
usercmd_t cmd,
const usercmd_t base 
)
static

Definition at line 221 of file AsyncNetwork.cpp.

void idAsyncNetwork::Reconnect_f ( const idCmdArgs args)
staticprivate

Definition at line 364 of file AsyncNetwork.cpp.

void idAsyncNetwork::RemoteConsole_f ( const idCmdArgs args)
staticprivate

Definition at line 400 of file AsyncNetwork.cpp.

void idAsyncNetwork::RunFrame ( void  )
static

Definition at line 172 of file AsyncNetwork.cpp.

void idAsyncNetwork::Shutdown ( void  )
static

Definition at line 158 of file AsyncNetwork.cpp.

void idAsyncNetwork::SpawnServer_f ( const idCmdArgs args)
staticprivate

Definition at line 296 of file AsyncNetwork.cpp.

void idAsyncNetwork::UpdateUI_f ( const idCmdArgs args)
staticprivate

Definition at line 482 of file AsyncNetwork.cpp.

bool idAsyncNetwork::UsercmdInputChanged ( const usercmd_t previousUserCmd,
const usercmd_t currentUserCmd 
)
static

Definition at line 281 of file AsyncNetwork.cpp.

void idAsyncNetwork::WriteUserCmdDelta ( idBitMsg msg,
const usercmd_t cmd,
const usercmd_t base 
)
static

Definition at line 189 of file AsyncNetwork.cpp.

Member Data Documentation

idCVar idAsyncNetwork::allowCheats
static

Definition at line 171 of file AsyncNetwork.h.

idAsyncClient idAsyncNetwork::client
static

Definition at line 168 of file AsyncNetwork.h.

idCVar idAsyncNetwork::clientDownload
static

Definition at line 196 of file AsyncNetwork.h.

idCVar idAsyncNetwork::clientMaxPrediction
static

Definition at line 183 of file AsyncNetwork.h.

idCVar idAsyncNetwork::clientMaxRate
static

Definition at line 175 of file AsyncNetwork.h.

idCVar idAsyncNetwork::clientPrediction
static

Definition at line 182 of file AsyncNetwork.h.

idCVar idAsyncNetwork::clientRemoteConsoleAddress
static

Definition at line 185 of file AsyncNetwork.h.

idCVar idAsyncNetwork::clientRemoteConsolePassword
static

Definition at line 186 of file AsyncNetwork.h.

idCVar idAsyncNetwork::clientServerTimeout
static

Definition at line 179 of file AsyncNetwork.h.

idCVar idAsyncNetwork::clientUsercmdBackup
static

Definition at line 184 of file AsyncNetwork.h.

idCVar idAsyncNetwork::idleServer
static

Definition at line 195 of file AsyncNetwork.h.

idCVar idAsyncNetwork::LANServer
static

Definition at line 192 of file AsyncNetwork.h.

idCVar idAsyncNetwork::master0
static

Definition at line 187 of file AsyncNetwork.h.

idCVar idAsyncNetwork::master1
static

Definition at line 188 of file AsyncNetwork.h.

idCVar idAsyncNetwork::master2
static

Definition at line 189 of file AsyncNetwork.h.

idCVar idAsyncNetwork::master3
static

Definition at line 190 of file AsyncNetwork.h.

idCVar idAsyncNetwork::master4
static

Definition at line 191 of file AsyncNetwork.h.

master_t idAsyncNetwork::masters
staticprivate

Definition at line 203 of file AsyncNetwork.h.

int idAsyncNetwork::realTime
staticprivate

Definition at line 202 of file AsyncNetwork.h.

idAsyncServer idAsyncNetwork::server
static

Definition at line 167 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverAllowServerMod
static

Definition at line 194 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverClientTimeout
static

Definition at line 178 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverDedicated
static

Definition at line 172 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverDrawClient
static

Definition at line 180 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverMaxClientRate
static

Definition at line 174 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverMaxUsercmdRelay
static

Definition at line 176 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverReloadEngine
static

Definition at line 193 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverRemoteConsolePassword
static

Definition at line 181 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverSnapshotDelay
static

Definition at line 173 of file AsyncNetwork.h.

idCVar idAsyncNetwork::serverZombieTimeout
static

Definition at line 177 of file AsyncNetwork.h.

idCVar idAsyncNetwork::verbose
static

Definition at line 170 of file AsyncNetwork.h.


The documentation for this class was generated from the following files: