类 ChatSendAfterEventSignal实验性

管理与聊天消息发送相关的回调。

Manages callbacks that are connected to chat messages being sent.

方法

  • 实验性

    参数

    返回 (arg0: ChatSendAfterEvent) => void

    添加一个当新聊天消息发送时会被调用的回调。

    Adds a callback that will be called when new chat messages are sent.

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can be called in early-execution mode.

  • 实验性

    参数

    返回 void

    移除一个当新聊天消息发送时会被调用的回调。

    Removes a callback from being called when new chat messages are sent.

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can be called in early-execution mode.