神岛 API 文档 - ArenaPro版
    Preparing search index...

    当实体发起聊天事件时触发。

    Event triggered when an entity initiates a chat event.

    GameWorld.onChat 和 GameEntity.onChat 触发。

    Triggered by GameWorld.onChat and GameEntity.onChat.

    Index

    Properties

    Properties

    entity: GameEntity

    发起聊天事件的实体。

    The entity that initiated the chat event.

    message: string

    实体在聊天事件中说的话。

    The message said by the entity in the chat event.

    tick: number

    聊天事件发生的时间。

    The time when the chat event occurred.