C# 클래스 idTech4.idConsole

파일 보기 프로젝트 열기: iainmckay/idtech4.net

공개 메소드들

메소드 설명
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