Interface IWukongLocalApi
Namespace: WukongMp.Sdk.Api
Assembly: WukongMp.Sdk.dll
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â
AddChatMessage(string, FLinearColor)â
Adds a message to the in-game chat, visible only to the local player.
void AddChatMessage(string message, FLinearColor color)
Parametersâ
message string
The message to add to the chat.
color FLinearColor
The color of the message in the chat.
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.
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.