C# Класс idTech4.idConsole

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AddToConsoleBuffer ( string msg ) : void
AddToDedicatedBuffer ( string msg ) : void

Описание методов

ClearInputHistory() публичный статический Метод

public static ClearInputHistory ( ) : void
Результат void

ClearWarnings() публичный статический Метод

public static ClearWarnings ( string reason ) : void
reason string
Результат void

DeveloperWrite() публичный статический Метод

Prints message that only shows up if the "developer" cvar is set.
public static DeveloperWrite ( string format ) : void
format string
Результат void

DeveloperWriteLine() публичный статический Метод

Prints message that only shows up if the "developer" cvar is set.
public static DeveloperWriteLine ( string format ) : void
format string
Результат void

Error() публичный статический Метод

public static Error ( int localizationKey ) : void
localizationKey int
Результат void

Error() публичный статический Метод

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
Результат void

FatalError() публичный статический Метод

Dump out of the game to a system dialog.
public static FatalError ( string format ) : void
format string
Результат void

PrintWarnings() публичный статический Метод

public static PrintWarnings ( ) : void
Результат void

Warning() публичный статический Метод

Prints WARNING messages and adds the message to a queue to be printed later on.
public static Warning ( string format ) : void
format string
Результат void

Write() публичный статический Метод

Both client and server can use this, and it will output to the appropriate place.
public static Write ( string format ) : void
format string
Результат void

WriteLine() публичный статический Метод

Both client and server can use this, and it will output to the appropriate place.
public static WriteLine ( string format ) : void
format string
Результат void