Skip to main content
Version: 1.0.0

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​

bool

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.

  • Methods
    • HideGameMessage()
    • HideInfoMessage()
    • IsCharacterCreatorOpen()
    • ShowGameMessage(string, string, string)
    • ShowInfoMessage(string)
    • ShowMessage(string, MessagePosition, float)