跳到主要内容
版本:0.2.1

Interface IWukongChatApi

Namespace: WukongMp.Sdk.Api
Assembly: WukongMp.Sdk.dll

API for interacting with the in-game chat.

public interface IWukongChatApi

Methods

SendPlayerMessage(string)

Sends a message to the in-game chat, as if the player wrote it.

void SendPlayerMessage(string message)

Parameters

message string

The message to send.

SendServerMessage(string)

Sends a message to the in-game chat without a player name attached to it.

void SendServerMessage(string message)

Parameters

message string

The message to send.

ShowLocalMessage(string, FLinearColor)

Adds a message to the in-game chat, visible only to the local player.

void ShowLocalMessage(string message, FLinearColor color)

Parameters

message string

The message to add to the chat.

color FLinearColor

The color of the message in the chat.

  • Methods
    • SendPlayerMessage(string)
    • SendServerMessage(string)
    • ShowLocalMessage(string, FLinearColor)