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

    Class GameMotionEvent<TargetType>

    表示与游戏动作相关的事件,携带有关目标和事件状态的信息。

    Represents an event related to a game motion, carrying information about the target and event state.

    Type Parameters

    • TargetType

      动作目标对象的类型。

    Index

    Properties

    cancelled: boolean

    表示事件是否被取消。

    Indicates whether the event has been cancelled.

    动作事件处理器,特定于目标对象。

    The motion event handler, specific to the target object.

    target: TargetType

    事件的目标对象。

    The target object of the event.

    tick: number

    发生事件的刻度。

    The tick at which the event occurred.