IQuakeUI
Namespace: QuakeReloaded.Interfaces
Provides things that are related to the UI of the game. Affects the client only.
public interface IQuakeUI
Properties
ResolutionWidth
Gets the client horizontal resolution
public abstract int ResolutionWidth { get; }
Property Value
ResolutionHeight
Gets the client vertical resolution
public abstract int ResolutionHeight { get; }
Property Value
Methods
DrawText(String, Single, Single)
Draws a string to the screen of the client.
void DrawText(string text, float x, float y)
Parameters
text
String
The text that’ll be drawn
x
Single
Relative horizontal position of the text on the screen
y
Single
Relative vertical position of the text on the screen.
DrawText(String, Int32, Int32)
Draws a string to the screen of the client.
void DrawText(string text, int x, int y)
Parameters
text
String
The text that’ll be drawn
x
Int32
Absolute horizontal position of the text on the screen
y
Int32
Absolute vertical position of the text on the screen.