Skip to main content
Version: 0.1.0

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​

bool

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.

  • Properties
    • IsGameplayLevel
  • Methods
    • AddChatMessage(string, FLinearColor)
    • HideInfoMessage()
    • ShowInfoMessage(string)
    • ShowInfoMessage(string, float)
    • Wait(Task)