Skip to content

ECS Framework API v2.1.50


ECS Framework API / IComponentEventData

Interface: IComponentEventData

Defined in: Types/index.ts:200

组件事件数据接口

Extends

Properties

timestamp

timestamp: number

Defined in: Types/index.ts:178

事件时间戳

Inherited from

IEntityEventData.timestamp


source?

optional source: string

Defined in: Types/index.ts:180

事件来源

Inherited from

IEntityEventData.source


eventId?

optional eventId: string

Defined in: Types/index.ts:182

事件ID

Inherited from

IEntityEventData.eventId


entityId

entityId: number

Defined in: Types/index.ts:190

实体ID

Inherited from

IEntityEventData.entityId


entityName?

optional entityName: string

Defined in: Types/index.ts:192

实体名称

Inherited from

IEntityEventData.entityName


entityTag?

optional entityTag: string

Defined in: Types/index.ts:194

实体标签

Inherited from

IEntityEventData.entityTag


componentType

componentType: string

Defined in: Types/index.ts:202

组件类型名称


component?

optional component: IComponent

Defined in: Types/index.ts:204

组件实例

Released under the MIT License.