Skip to content

ECS Framework API v2.2.13


ECS Framework API / IComponentEventData

Interface: IComponentEventData

Defined in: packages/core/src/Types/index.ts:194

组件事件数据接口

Extends

Properties

timestamp

timestamp: number

Defined in: packages/core/src/Types/index.ts:172

事件时间戳

Inherited from

IEntityEventData.timestamp


source?

optional source: string

Defined in: packages/core/src/Types/index.ts:174

事件来源

Inherited from

IEntityEventData.source


eventId?

optional eventId: string

Defined in: packages/core/src/Types/index.ts:176

事件ID

Inherited from

IEntityEventData.eventId


entityId

entityId: number

Defined in: packages/core/src/Types/index.ts:184

实体ID

Inherited from

IEntityEventData.entityId


entityName?

optional entityName: string

Defined in: packages/core/src/Types/index.ts:186

实体名称

Inherited from

IEntityEventData.entityName


entityTag?

optional entityTag: string

Defined in: packages/core/src/Types/index.ts:188

实体标签

Inherited from

IEntityEventData.entityTag


componentType

componentType: string

Defined in: packages/core/src/Types/index.ts:196

组件类型名称


component?

optional component: IComponent

Defined in: packages/core/src/Types/index.ts:198

组件实例

Released under the MIT License.