神岛 API 文档 - ArenaPro版
Preparing search index...
server/types/GameAPI
GameInteractEvent
Class GameInteractEvent
当实体进行交互时触发的事件。 由
GameWorld.onInteract
和
GameEntity.onInteract
触发。
Index
Properties
entity
target
Entity
tick
Properties
entity
entity
:
GamePlayerEntity
发起交互的实体。
target
Entity
targetEntity
:
GameEntity
接收交互的实体。
tick
tick
:
number
事件发生的时间。
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
entity
target
Entity
tick
神岛 API 文档 - ArenaPro版
Loading...
当实体进行交互时触发的事件。 由 GameWorld.onInteract 和 GameEntity.onInteract 触发。