Interface IOblivionGameMessageApi
Namespace: OblivionMp.Sdk.Api
Assembly: OblivionMp.Sdk.dll
Provides methods related to in-game info messages.
public interface IOblivionGameMessageApi
Methods
HideGameMessage()
Hides the currently displayed game message.
void HideGameMessage()
HideInfoMessage()
Hides the currently displayed informational message.
void HideInfoMessage()
ShowGameMessage(string, string, string)
Displays a multi-line game message on the screen.
void ShowGameMessage(string mainText, string secondText = "", string thirdText = "")
Parameters
mainText string
The primary line of the message.
secondText string
The second line of the message. Optional.
thirdText string
The third line of the message. Optional.
ShowInfoMessage(string)
Displays an informational message on the screen.
void ShowInfoMessage(string message)
Parameters
message string
The informational message to display.
ShowMessage(string, MessagePosition, float)
Displays a message on the screen using the game UI widget.
void ShowMessage(string message, MessagePosition position = MessagePosition.Center, float duration = 3)
Parameters
message string
The message to display.
position MessagePosition
Where on the screen the message should appear. Defaults to Center.
duration float
How long, in seconds, the message stays on screen. Defaults to 3 seconds.