Interface IWukongLocalApi
Namespace: WukongMp.Sdk.Api
Assembly: WukongMp.Sdk.dll
Provides various utility methods not related to networking.
public interface IWukongLocalApi
Propertiesâ
IsGameplayLevelâ
Is the game currently in a gameplay level, as opposed to a menu or the like?
bool IsGameplayLevel { get; }
Property Valueâ
Methodsâ
HideInfoMessage()â
Hides the message currently being shown on the player's screen, if any.
void HideInfoMessage()
ShowInfoMessage(string)â
Shows a message on the player's screen.
void ShowInfoMessage(string message)
Parametersâ
message string
The message to show.
ShowInfoMessage(string, float)â
Shows a message on the player's screen for a certain amount of time.
void ShowInfoMessage(string message, float timeoutSeconds)
Parametersâ
message string
The message to show.
timeoutSeconds float
The amount of time, in seconds, to show the message for.
ShowTip(string, bool)â
Shows a tip message on the player's screen using the game's UI.
void ShowTip(string message, bool autoHide)
Parametersâ
message string
The message to show.
autoHide bool
Whether the message should automatically hide after 5 seconds
Wait(Task)â
Waits for the given task to complete in a synchronous manner.
void Wait(Task task)
Parametersâ
task Task
The task to wait for.