IQuakeConsole
Namespace: QuakeReloaded.Interfaces
Provides access to the game console.
public interface IQuakeConsole
Methods
Print(String)
Prints partial text to the console. The text color will be white. Note that partial text will not be shown until a line is finished either by printing a ‘\n’ character or calling IQuakeConsole.PrintLine(String).
void Print(string text)
Parameters
text
String
The text that will be printed to the console.
Print(String, UInt32)
Prints partial text to the console with the specified color. Note that partial text will not be shown until a line is finished either by printing a ‘\n’ character or calling IQuakeConsole.PrintLine(String).
void Print(string text, uint colorABGR)
Parameters
text
String
The text that will be printed to the console.
colorABGR
UInt32
The color of the text as an unsigned integer in ABGR format. Example full blue: 0xFFFF0000
Print(String, Byte, Byte, Byte, Byte)
Prints partial text to the console with the specified color. Note that partial text will not be shown until a line is finished either by printing a ‘\n’ character or calling IQuakeConsole.PrintLine(String).
void Print(string text, byte r, byte g, byte b, byte a)
Parameters
text
String
The text that will be printed to the console.
r
Byte
The red component of the text color. 0: No red, 255: Full red
g
Byte
The green component of the text color. 0: No green, 255: Full green
b
Byte
The blue component of the text color. 0: No blue, 255: Full blue
a
Byte
The alpha component of the text color. 0: Transparent, 255: Fully opaque
PrintLine(String)
Prints a text line to the console. The text color will be white.
void PrintLine(string text)
Parameters
text
String
The message that will be printed to the console
PrintLine(String, UInt32)
Prints a text line to the console.
void PrintLine(string text, uint colorABGR)
Parameters
text
String
The message that will be printed to the console
colorABGR
UInt32
The color of the text as an unsigned integer in ABGR format. Example full blue: 0xFFFF0000
PrintLine(String, Byte, Byte, Byte, Byte)
Prints a text line to the console.
void PrintLine(string text, byte r, byte g, byte b, byte a)
Parameters
text
String
The message that will be printed to the console
r
Byte
The red component of the text color. 0: No red, 255: Full red
g
Byte
The green component of the text color. 0: No green, 255: Full green
b
Byte
The blue component of the text color. 0: No blue, 255: Full blue
a
Byte
The alpha component of the text color. 0: Transparent, 255: Fully opaque