C# Class SharpQuake.Host

Host_functions
Afficher le fichier Open project: Memorix101/SharpQuake

Méthodes publiques

Свойство Type Description
CurrentSkill int
FrameTime double
HostClient client_t
NoClipAngleHack bool
RealTime double

Méthodes publiques

Méthode Description
ClearMemory ( ) : void

Host_ClearMemory

ClientCommands ( string fmt ) : void

Host_ClientCommands Send text over to the client to be executed

EndGame ( string message ) : void

Host_EndGame

Error ( string error ) : void

Host_Error This shuts down both the client and server

Frame ( double time ) : void
Init ( quakeparms_t parms ) : void
ServerFrame ( ) : void

Host_ServerFrame

Shutdown ( ) : void

Host_Shutdown

ShutdownServer ( bool crash ) : void

Host_ShutdownServer This only happens at the end of a game, not between levels

Private Methods

Méthode Description
FilterTime ( double time ) : bool

Host_FilterTime Returns false if the time is too short to run a frame

FindMaxClients ( ) : void

Host_FindMaxClients

GetConsoleCommands ( ) : void
InitLocal ( ) : void
InitVCR ( quakeparms_t parms ) : void
InternalFrame ( double time ) : void
WriteConfiguration ( ) : void

Host_WriteConfiguration Writes key bindings and archived cvars to config.cfg

Method Details

ClearMemory() public static méthode

Host_ClearMemory
public static ClearMemory ( ) : void
Résultat void

ClientCommands() public static méthode

Host_ClientCommands Send text over to the client to be executed
public static ClientCommands ( string fmt ) : void
fmt string
Résultat void

EndGame() public static méthode

Host_EndGame
public static EndGame ( string message ) : void
message string
Résultat void

Error() public static méthode

Host_Error This shuts down both the client and server
public static Error ( string error ) : void
error string
Résultat void

Frame() public static méthode

public static Frame ( double time ) : void
time double
Résultat void

Init() public static méthode

public static Init ( quakeparms_t parms ) : void
parms quakeparms_t
Résultat void

ServerFrame() public static méthode

Host_ServerFrame
public static ServerFrame ( ) : void
Résultat void

Shutdown() public static méthode

Host_Shutdown
public static Shutdown ( ) : void
Résultat void

ShutdownServer() public static méthode

Host_ShutdownServer This only happens at the end of a game, not between levels
public static ShutdownServer ( bool crash ) : void
crash bool
Résultat void

Property Details

CurrentSkill public_oe static_oe property

public static int CurrentSkill
Résultat int

FrameTime public_oe static_oe property

public static double FrameTime
Résultat double

HostClient public_oe static_oe property

public static client_t,SharpQuake HostClient
Résultat client_t

NoClipAngleHack public_oe static_oe property

public static bool NoClipAngleHack
Résultat bool

RealTime public_oe static_oe property

public static double RealTime
Résultat double