Interface IUserInterface
Namespace: OblivionMp.Sdk
Assembly: OblivionMp.Sdk.dll
On-screen messages, and the state of the game's own menus.
public interface IUserInterface
Methods
HideGameMessage()
Hides the game message.
void HideGameMessage()
HideInfoMessage()
Hides the informational message.
void HideInfoMessage()
IsCharacterCreatorOpen()
Whether the character creator, class or birthsign menu is open. Follows about one frame after it opens.
bool IsCharacterCreatorOpen()
Returns
ShowGameMessage(string, string, string)
Shows a game message of up to three lines. HideGameMessage takes it down.
void ShowGameMessage(string mainText, string secondText = "", string thirdText = "")
Parameters
mainText string
The first line.
secondText string
The second line, if any.
thirdText string
The third line, if any.
ShowInfoMessage(string)
Shows an informational message. HideInfoMessage takes it down.
void ShowInfoMessage(string message)
Parameters
message string
ShowMessage(string, MessagePosition, float)
Shows a message on screen in the game's message widget.
void ShowMessage(string message, MessagePosition position = MessagePosition.Center, float duration = 3)
Parameters
message string
The message to show.
position MessagePosition
Where on screen it appears.
duration float
How long it stays, in seconds.