C# Class idTech4.idConsole

Afficher le fichier Open project: iainmckay/idtech4.net

Méthodes publiques

Méthode Description
ClearInputHistory ( ) : void
ClearWarnings ( string reason ) : void
DeveloperWrite ( string format ) : void

Prints message that only shows up if the "developer" cvar is set.

DeveloperWriteLine ( string format ) : void

Prints message that only shows up if the "developer" cvar is set.

Error ( int localizationKey ) : void
Error ( string format ) : void

Throws an exception. Normal errors just abort to the game loop, which is appropriate for media or dynamic logic errors.

FatalError ( string format ) : void

Dump out of the game to a system dialog.

PrintWarnings ( ) : void
Warning ( string format ) : void

Prints WARNING messages and adds the message to a queue to be printed later on.

Write ( string format ) : void

Both client and server can use this, and it will output to the appropriate place.

WriteLine ( string format ) : void

Both client and server can use this, and it will output to the appropriate place.

Private Methods

Méthode Description
AddToConsoleBuffer ( string msg ) : void
AddToDedicatedBuffer ( string msg ) : void

Method Details

ClearInputHistory() public static méthode

public static ClearInputHistory ( ) : void
Résultat void

ClearWarnings() public static méthode

public static ClearWarnings ( string reason ) : void
reason string
Résultat void

DeveloperWrite() public static méthode

Prints message that only shows up if the "developer" cvar is set.
public static DeveloperWrite ( string format ) : void
format string
Résultat void

DeveloperWriteLine() public static méthode

Prints message that only shows up if the "developer" cvar is set.
public static DeveloperWriteLine ( string format ) : void
format string
Résultat void

Error() public static méthode

public static Error ( int localizationKey ) : void
localizationKey int
Résultat void

Error() public static méthode

Throws an exception. Normal errors just abort to the game loop, which is appropriate for media or dynamic logic errors.
public static Error ( string format ) : void
format string
Résultat void

FatalError() public static méthode

Dump out of the game to a system dialog.
public static FatalError ( string format ) : void
format string
Résultat void

PrintWarnings() public static méthode

public static PrintWarnings ( ) : void
Résultat void

Warning() public static méthode

Prints WARNING messages and adds the message to a queue to be printed later on.
public static Warning ( string format ) : void
format string
Résultat void

Write() public static méthode

Both client and server can use this, and it will output to the appropriate place.
public static Write ( string format ) : void
format string
Résultat void

WriteLine() public static méthode

Both client and server can use this, and it will output to the appropriate place.
public static WriteLine ( string format ) : void
format string
Résultat void