@esengine/ecs-framework 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @esengine/ecs-framework v2.5.0
2
+ * @esengine/ecs-framework v2.6.0
3
3
  * TypeScript definitions
4
4
  */
5
5
  /**
@@ -832,10 +832,16 @@ type ISceneDebugData = {
832
832
  * @en Components in ECS architecture should be pure data containers.
833
833
  * All game logic should be implemented in EntitySystem, not inside components.
834
834
  *
835
+ * @zh **重要:所有 Component 子类都必须使用 @ECSComponent 装饰器!**
836
+ * @zh 该装饰器用于注册组件类型名称,是序列化、网络同步等功能正常工作的前提。
837
+ * @en **IMPORTANT: All Component subclasses MUST use the @ECSComponent decorator!**
838
+ * @en This decorator registers the component type name, which is required for serialization, network sync, etc.
839
+ *
835
840
  * @example
836
- * @zh 推荐做法:纯数据组件
837
- * @en Recommended: Pure data component
841
+ * @zh 正确做法:使用 @ECSComponent 装饰器
842
+ * @en Correct: Use @ECSComponent decorator
838
843
  * ```typescript
844
+ * @ECSComponent('HealthComponent')
839
845
  * class HealthComponent extends Component {
840
846
  * public health: number = 100;
841
847
  * public maxHealth: number = 100;
@@ -10633,7 +10639,13 @@ declare class Entity {
10633
10639
  */
10634
10640
  getComponentByType<T extends Component>(baseType: ComponentType<T>): T | null;
10635
10641
  /**
10636
- * 活跃状态改变时的回调
10642
+ * @zh 活跃状态改变时的回调
10643
+ * @en Callback when active state changes
10644
+ *
10645
+ * @zh 通过事件系统发出 ENTITY_ENABLED 或 ENTITY_DISABLED 事件,
10646
+ * 组件可以通过监听这些事件来响应实体状态变化。
10647
+ * @en Emits ENTITY_ENABLED or ENTITY_DISABLED event through the event system.
10648
+ * Components can listen to these events to respond to entity state changes.
10637
10649
  */
10638
10650
  private onActiveChanged;
10639
10651
  /**
@@ -13261,6 +13273,121 @@ declare function clearChanges(component: any): void;
13261
13273
  */
13262
13274
  declare function hasChanges(component: any): boolean;
13263
13275
 
13276
+ /**
13277
+ * @zh 网络实体装饰器
13278
+ * @en Network entity decorator
13279
+ *
13280
+ * @zh 提供 @NetworkEntity 装饰器,用于标记需要自动广播生成/销毁的组件
13281
+ * @en Provides @NetworkEntity decorator to mark components for automatic spawn/despawn broadcasting
13282
+ */
13283
+ /**
13284
+ * @zh 网络实体元数据的 Symbol 键
13285
+ * @en Symbol key for network entity metadata
13286
+ */
13287
+ declare const NETWORK_ENTITY_METADATA: unique symbol;
13288
+ /**
13289
+ * @zh 网络实体元数据
13290
+ * @en Network entity metadata
13291
+ */
13292
+ interface NetworkEntityMetadata {
13293
+ /**
13294
+ * @zh 预制体类型名称(用于客户端重建实体)
13295
+ * @en Prefab type name (used by client to reconstruct entity)
13296
+ */
13297
+ prefabType: string;
13298
+ /**
13299
+ * @zh 是否自动广播生成
13300
+ * @en Whether to auto-broadcast spawn
13301
+ * @default true
13302
+ */
13303
+ autoSpawn: boolean;
13304
+ /**
13305
+ * @zh 是否自动广播销毁
13306
+ * @en Whether to auto-broadcast despawn
13307
+ * @default true
13308
+ */
13309
+ autoDespawn: boolean;
13310
+ }
13311
+ /**
13312
+ * @zh 网络实体装饰器配置选项
13313
+ * @en Network entity decorator options
13314
+ */
13315
+ interface NetworkEntityOptions {
13316
+ /**
13317
+ * @zh 是否自动广播生成
13318
+ * @en Whether to auto-broadcast spawn
13319
+ * @default true
13320
+ */
13321
+ autoSpawn?: boolean;
13322
+ /**
13323
+ * @zh 是否自动广播销毁
13324
+ * @en Whether to auto-broadcast despawn
13325
+ * @default true
13326
+ */
13327
+ autoDespawn?: boolean;
13328
+ }
13329
+ /**
13330
+ * @zh 网络实体装饰器
13331
+ * @en Network entity decorator
13332
+ *
13333
+ * @zh 标记组件类为网络实体。当包含此组件的实体被创建或销毁时,
13334
+ * ECSRoom 会自动广播相应的 spawn/despawn 消息给所有客户端。
13335
+ * @en Marks a component class as a network entity. When an entity containing
13336
+ * this component is created or destroyed, ECSRoom will automatically broadcast
13337
+ * the corresponding spawn/despawn messages to all clients.
13338
+ *
13339
+ * @param prefabType - @zh 预制体类型名称 @en Prefab type name
13340
+ * @param options - @zh 可选配置 @en Optional configuration
13341
+ *
13342
+ * @example
13343
+ * ```typescript
13344
+ * import { Component, ECSComponent, NetworkEntity, sync } from '@esengine/ecs-framework';
13345
+ *
13346
+ * @ECSComponent('Enemy')
13347
+ * @NetworkEntity('Enemy')
13348
+ * class EnemyComponent extends Component {
13349
+ * @sync('float32') x: number = 0;
13350
+ * @sync('float32') y: number = 0;
13351
+ * @sync('uint16') health: number = 100;
13352
+ * }
13353
+ *
13354
+ * // 当添加此组件到实体时,ECSRoom 会自动广播 spawn
13355
+ * const enemy = scene.createEntity('Enemy');
13356
+ * enemy.addComponent(new EnemyComponent()); // 自动广播给所有客户端
13357
+ *
13358
+ * // 当实体销毁时,自动广播 despawn
13359
+ * enemy.destroy(); // 自动广播给所有客户端
13360
+ * ```
13361
+ *
13362
+ * @example
13363
+ * ```typescript
13364
+ * // 只自动广播生成,销毁由手动控制
13365
+ * @ECSComponent('Bullet')
13366
+ * @NetworkEntity('Bullet', { autoDespawn: false })
13367
+ * class BulletComponent extends Component {
13368
+ * @sync('float32') x: number = 0;
13369
+ * @sync('float32') y: number = 0;
13370
+ * }
13371
+ * ```
13372
+ */
13373
+ declare function NetworkEntity(prefabType: string, options?: NetworkEntityOptions): <T extends new (...args: any[]) => any>(target: T) => T;
13374
+ /**
13375
+ * @zh 获取组件类的网络实体元数据
13376
+ * @en Get network entity metadata for a component class
13377
+ *
13378
+ * @param componentClass - @zh 组件类或组件实例 @en Component class or instance
13379
+ * @returns @zh 网络实体元数据,如果不存在则返回 null @en Network entity metadata, or null if not exists
13380
+ */
13381
+ declare function getNetworkEntityMetadata(componentClass: any): NetworkEntityMetadata | null;
13382
+ /**
13383
+ * @zh 检查组件是否标记为网络实体
13384
+ * @en Check if a component is marked as a network entity
13385
+ *
13386
+ * @param component - @zh 组件类或组件实例 @en Component class or instance
13387
+ * @returns @zh 如果是网络实体返回 true @en Returns true if is a network entity
13388
+ */
13389
+ declare function isNetworkEntity(component: any): boolean;
13390
+
13264
13391
  /**
13265
13392
  * @zh 变长整数编解码
13266
13393
  * @en Variable-length integer encoding/decoding
@@ -13718,21 +13845,6 @@ declare function encodeDespawnBatch(entityIds: number[]): Uint8Array;
13718
13845
  * @en Decodes binary format and applies to ECS Components
13719
13846
  */
13720
13847
 
13721
- /**
13722
- * @zh 注册组件类型
13723
- * @en Register component type
13724
- *
13725
- * @param typeId - @zh 组件类型 ID @en Component type ID
13726
- * @param componentClass - @zh 组件类 @en Component class
13727
- */
13728
- declare function registerSyncComponent<T extends Component>(typeId: string, componentClass: new () => T): void;
13729
- /**
13730
- * @zh 从 @ECSComponent 装饰器自动注册
13731
- * @en Auto-register from @ECSComponent decorator
13732
- *
13733
- * @param componentClass - @zh 组件类 @en Component class
13734
- */
13735
- declare function autoRegisterSyncComponent(componentClass: new () => Component): void;
13736
13848
  /**
13737
13849
  * @zh 解码并应用组件数据
13738
13850
  * @en Decode and apply component data
@@ -17121,5 +17233,5 @@ declare function getFullPlatformConfig(): Promise<any>;
17121
17233
  declare function supportsFeature(feature: 'worker' | 'shared-array-buffer' | 'transferable-objects' | 'module-worker'): boolean;
17122
17234
  declare function hasAdapter(): boolean;
17123
17235
 
17124
- export { AdvancedProfilerCollector, After, AutoProfiler, Before, BinaryReader, BinarySerializer, BinaryWriter, BitMask64Utils, Bits, CHANGE_TRACKER, COMPONENT_DEPENDENCIES, COMPONENT_EDITOR_OPTIONS, COMPONENT_TYPE_NAME, ChangeOperation, ChangeTracker, Colors, CommandBuffer, CommandType, CompiledQuery, Component, ComponentDataCollector, ComponentPool, ComponentPoolManager, ComponentRegistry, ComponentSerializer, ComponentSparseSet, ComponentStorage, ConsoleLogger, Core, CycleDependencyError, DEFAULT_PROFILER_CONFIG, DEFAULT_STAGE_ORDER, DebugConfigService, DebugManager, DebugPlugin, DeepCopy, ECSComponent, ECSEventType, ECSFluentAPI, ECSSystem, EEntityLifecyclePolicy, EMPTY_GUID, ENTITY_REF_METADATA, EVENT_TYPES, Emitter, EnableSoA, Entity, EntityDataCollector, EntityHandleManager, EntityList, EntityProcessorList, EntityRef, EntitySerializer, EntitySystem, EntityTags, EpochManager, EventBus, EventPriority, EventTypeValidator, Float32, Float64, FuncPack, GEN_BITS, GEN_MASK, GlobalComponentRegistry, GlobalEventBus, GlobalManager, HierarchyComponent, HierarchySystem, INDEX_BITS, INDEX_MASK, IdentifierPool, IgnoreSerialization, InSet, IncrementalSerializer, InjectProperty, Injectable, Int16, Int32, Int8, IntervalSystem, LogLevel, Logger, LoggerManager, MAX_ENTITIES, MAX_GENERATION, Matcher, MigrationBuilder, NULL_HANDLE, NumberExtension, PREFAB_FORMAT_VERSION, PROPERTY_METADATA, PassiveSystem, PerformanceDataCollector, PerformanceMonitor, PerformanceWarningType, PlatformDetector, PlatformManager, PlatformWorkerPool, PluginManager, PluginServiceRegistry, PluginState, Pool, PoolManager, PrefabInstanceComponent, PrefabSerializer, ProcessingSystem, Profile, ProfileCategory, ProfileClass, ProfilerSDK, Property, QuerySystem, ReactiveQuery, ReactiveQueryChangeType, ReferenceTracker, RuntimeModeService, RuntimeModeToken, SCHEDULING_METADATA, SERIALIZABLE_METADATA, SERIALIZE_FIELD, SERIALIZE_OPTIONS, SYNC_METADATA, SYSTEM_TYPE_NAME, Scene, SceneDataCollector, SceneManager, SceneSerializer, Serializable, SerializationContext, Serialize, SerializeArray, SerializeAsMap, SerializeAsSet, SerializeMap, SerializeSet, ServiceContainer, ServiceLifetime, SoAStorage, SparseSet, Stage, SyncOperation, SystemDataCollector, SystemDependencyGraph, SystemScheduler, TYPE_SIZES, Time, Timer, TimerManager, TypeSafeEventSystem, TypeUtils, TypedEntityBuilder, TypedQueryBuilder, TypedQueryResult, Uint16, Uint32, Uint8, Uint8Clamped, Updatable, ValueSerializer, VersionMigrationManager, WebSocketManager, WorkerEntitySystem, World, WorldManager, addAndConfigure, addEntityTag, autoRegisterSyncComponent, buildEntity, clearChanges, createECSAPI, createEditorModeService, createInstance, createLogger, createQuery, createServiceToken, createStandaloneModeService, decodeComponent, decodeDespawn, decodeEntity, decodeSignedVarint, decodeSnapshot, decodeSpawn, decodeVarint, encodeComponentDelta, encodeComponentFull, encodeDespawn, encodeDespawnBatch, encodeEntity, encodeSignedVarint, encodeSnapshot, encodeSpawn, encodeVarint, genOf, generateGUID, getBasicWorkerConfig, getChangeTracker, getComponentDependencies, getComponentEditorOptions, getComponentInstanceEditorOptions, getComponentInstanceTypeName, getComponentTypeName, getComponents, getCurrentAdapter, getEntityRefMetadata, getEntityRefProperties, getFullPlatformConfig, getGlobalWithMiniGame, getOrAddComponent, getPerformanceWithMemory, getPropertyInjectMetadata, getPropertyMetadata, getSceneByEntityId, getSchedulingMetadata, getSerializationMetadata, getSyncMetadata, getSystemInstanceMetadata, getSystemInstanceTypeName, getSystemMetadata, getSystemTypeName, getUpdatableMetadata, handleEquals, handleToString, hasAdapter, hasAnyComponent, hasChanges, hasComponents, hasECSComponentDecorator, hasEntityRef, hasEntityTag, hasPropertyMetadata, hasSchedulingMetadata, hasSyncFields, indexOf, initChangeTracker, injectProperties, isComponentArray, isComponentHiddenInInspector, isComponentInstanceHiddenInInspector, isComponentType, isEntityRefProperty, isFolder, isHidden, isLocked, isSerializable, isUpdatable, isValidGUID, isValidHandle, makeHandle, processDespawn, queryFor, queryForAll, registerInjectable, registerPlatformAdapter, registerSyncComponent, removeEntityTag, requireComponent, resetLoggerColors, setGlobalLogLevel, setLoggerColors, setLoggerFactory, supportsFeature, sync, tryGetComponent, updateComponent, varintSize, zigzagDecode, zigzagEncode };
17125
- export type { AnyComponentConstructor, AutoProfilerConfig, BitMask64Data, CallGraphNode, ComponentChange, ComponentConstructor, ComponentDebugInfo, ComponentEditorOptions, ComponentInstance, ComponentMigrationFunction, ComponentOptions, ComponentType, ComponentTypeMap, ComponentTypeName, ComponentTypeNames, ComponentTypeWithMetadata, DataOnly, DecodeDespawnResult, DecodeEntityResult, DecodeSnapshotResult, DecodeSpawnResult, DeepPartial, DeepReadonly, DeferredCommand, DeserializationStrategy, ECSDebugStats, EntityChange, EntityDebugInfo, EntityHandle, EntityRefMetadata, EntityRefRecord, EntityTagValue, EntityWithComponents, EnumOption, EventListenerConfig, EventStats, ExtractComponents, FieldSerializeOptions, IAdvancedProfilerData, IAlipayMiniGameAPI, IBaiduMiniGameAPI, IByteDanceMiniGameAPI, IChromeMemoryInfo, IComponent, IComponentDebugData, IComponentEventData, IComponentRegistry, IComponentTypeMetadata, ICoreConfig, IECSDebugConfig, IECSDebugData, IEntityDebugData, IEntityEventData, IEntityHierarchyNode, IEventBus, IEventData, IEventListenerConfig, IEventStats, IGlobalThisWithMiniGame, ILogger, IMiniGamePlatformAPI, IPerformanceDebugData, IPerformanceEventData, IPerformanceWithMemory, IPlatformAdapter, IPlugin, IPluginMetadata, IPoolable, IRuntimeMode, IScene, ISceneConfig, ISceneDebugData, ISceneEventData, ISceneFactory, IService, ISystemBase, ISystemDebugData, ISystemEventData, ITimer, IUpdatable, IWeChatMiniGameAPI, IWorkerPoolStatus, IWorkerSystemConfig, IWorldConfig, IWorldManagerConfig, IncrementalSerializationFormat, IncrementalSerializationOptions, IncrementalSnapshot, InjectableMetadata, InstanceTypes, LoggerColorConfig, LoggerConfig, LongTaskInfo, MemorySnapshot, MigrationFunction, PartialComponent, PerformanceData, PerformanceStats, PerformanceThresholds, PerformanceWarning, PlatformConfig, PlatformDetectionResult, PlatformWorker, PoolStats, PrefabComponentTypeEntry, PrefabCreateOptions, PrefabData, PrefabInstantiateOptions, PrefabMetadata, ProcessingMode, ProfileCounter, ProfileFrame, ProfileReport, ProfileSample, ProfileSampleStats, ProfilerConfig, PropertyAction, PropertyAssetType, PropertyControl, PropertyOptions, PropertyType, QueryResult$1 as QueryResult, ReactiveQueryChange, ReactiveQueryConfig, ReactiveQueryListener, ReadonlyComponent, RuntimeModeConfig, SampleHandle, SceneDataChange, SceneDebugInfo, SceneDeserializationOptions, SceneMigrationFunction, SceneSerializationOptions, SerializableComponent, SerializableFields, SerializableOptions, SerializableValue, SerializationFormat, SerializationMetadata, SerializedComponent, SerializedEntity, SerializedEntityRef, SerializedPrefabEntity, SerializedScene, ServiceIdentifier, ServiceToken, ServiceType, SharedArrayBufferProcessFunction, SupportedTypedArray, SyncFieldMetadata, SyncMetadata, SyncType, SystemDebugInfo, SystemDependencyInfo, SystemEntityType, SystemLifecycleHooks, SystemMetadata, SystemSchedulingMetadata, SystemStage, TypeDef as TypeHandler, TypeSafeBuilder, TypedEventHandler, TypedQueryCondition, TypedValue, UpdatableMetadata, ValidComponent, ValidComponentArray, WorkerCreationOptions, WorkerProcessFunction, WorkerSystemConfig };
17236
+ export { AdvancedProfilerCollector, After, AutoProfiler, Before, BinaryReader, BinarySerializer, BinaryWriter, BitMask64Utils, Bits, CHANGE_TRACKER, COMPONENT_DEPENDENCIES, COMPONENT_EDITOR_OPTIONS, COMPONENT_TYPE_NAME, ChangeOperation, ChangeTracker, Colors, CommandBuffer, CommandType, CompiledQuery, Component, ComponentDataCollector, ComponentPool, ComponentPoolManager, ComponentRegistry, ComponentSerializer, ComponentSparseSet, ComponentStorage, ConsoleLogger, Core, CycleDependencyError, DEFAULT_PROFILER_CONFIG, DEFAULT_STAGE_ORDER, DebugConfigService, DebugManager, DebugPlugin, DeepCopy, ECSComponent, ECSEventType, ECSFluentAPI, ECSSystem, EEntityLifecyclePolicy, EMPTY_GUID, ENTITY_REF_METADATA, EVENT_TYPES, Emitter, EnableSoA, Entity, EntityDataCollector, EntityHandleManager, EntityList, EntityProcessorList, EntityRef, EntitySerializer, EntitySystem, EntityTags, EpochManager, EventBus, EventPriority, EventTypeValidator, Float32, Float64, FuncPack, GEN_BITS, GEN_MASK, GlobalComponentRegistry, GlobalEventBus, GlobalManager, HierarchyComponent, HierarchySystem, INDEX_BITS, INDEX_MASK, IdentifierPool, IgnoreSerialization, InSet, IncrementalSerializer, InjectProperty, Injectable, Int16, Int32, Int8, IntervalSystem, LogLevel, Logger, LoggerManager, MAX_ENTITIES, MAX_GENERATION, Matcher, MigrationBuilder, NETWORK_ENTITY_METADATA, NULL_HANDLE, NetworkEntity, NumberExtension, PREFAB_FORMAT_VERSION, PROPERTY_METADATA, PassiveSystem, PerformanceDataCollector, PerformanceMonitor, PerformanceWarningType, PlatformDetector, PlatformManager, PlatformWorkerPool, PluginManager, PluginServiceRegistry, PluginState, Pool, PoolManager, PrefabInstanceComponent, PrefabSerializer, ProcessingSystem, Profile, ProfileCategory, ProfileClass, ProfilerSDK, Property, QuerySystem, ReactiveQuery, ReactiveQueryChangeType, ReferenceTracker, RuntimeModeService, RuntimeModeToken, SCHEDULING_METADATA, SERIALIZABLE_METADATA, SERIALIZE_FIELD, SERIALIZE_OPTIONS, SYNC_METADATA, SYSTEM_TYPE_NAME, Scene, SceneDataCollector, SceneManager, SceneSerializer, Serializable, SerializationContext, Serialize, SerializeArray, SerializeAsMap, SerializeAsSet, SerializeMap, SerializeSet, ServiceContainer, ServiceLifetime, SoAStorage, SparseSet, Stage, SyncOperation, SystemDataCollector, SystemDependencyGraph, SystemScheduler, TYPE_SIZES, Time, Timer, TimerManager, TypeSafeEventSystem, TypeUtils, TypedEntityBuilder, TypedQueryBuilder, TypedQueryResult, Uint16, Uint32, Uint8, Uint8Clamped, Updatable, ValueSerializer, VersionMigrationManager, WebSocketManager, WorkerEntitySystem, World, WorldManager, addAndConfigure, addEntityTag, buildEntity, clearChanges, createECSAPI, createEditorModeService, createInstance, createLogger, createQuery, createServiceToken, createStandaloneModeService, decodeComponent, decodeDespawn, decodeEntity, decodeSignedVarint, decodeSnapshot, decodeSpawn, decodeVarint, encodeComponentDelta, encodeComponentFull, encodeDespawn, encodeDespawnBatch, encodeEntity, encodeSignedVarint, encodeSnapshot, encodeSpawn, encodeVarint, genOf, generateGUID, getBasicWorkerConfig, getChangeTracker, getComponentDependencies, getComponentEditorOptions, getComponentInstanceEditorOptions, getComponentInstanceTypeName, getComponentTypeName, getComponents, getCurrentAdapter, getEntityRefMetadata, getEntityRefProperties, getFullPlatformConfig, getGlobalWithMiniGame, getNetworkEntityMetadata, getOrAddComponent, getPerformanceWithMemory, getPropertyInjectMetadata, getPropertyMetadata, getSceneByEntityId, getSchedulingMetadata, getSerializationMetadata, getSyncMetadata, getSystemInstanceMetadata, getSystemInstanceTypeName, getSystemMetadata, getSystemTypeName, getUpdatableMetadata, handleEquals, handleToString, hasAdapter, hasAnyComponent, hasChanges, hasComponents, hasECSComponentDecorator, hasEntityRef, hasEntityTag, hasPropertyMetadata, hasSchedulingMetadata, hasSyncFields, indexOf, initChangeTracker, injectProperties, isComponentArray, isComponentHiddenInInspector, isComponentInstanceHiddenInInspector, isComponentType, isEntityRefProperty, isFolder, isHidden, isLocked, isNetworkEntity, isSerializable, isUpdatable, isValidGUID, isValidHandle, makeHandle, processDespawn, queryFor, queryForAll, registerInjectable, registerPlatformAdapter, removeEntityTag, requireComponent, resetLoggerColors, setGlobalLogLevel, setLoggerColors, setLoggerFactory, supportsFeature, sync, tryGetComponent, updateComponent, varintSize, zigzagDecode, zigzagEncode };
17237
+ export type { AnyComponentConstructor, AutoProfilerConfig, BitMask64Data, CallGraphNode, ComponentChange, ComponentConstructor, ComponentDebugInfo, ComponentEditorOptions, ComponentInstance, ComponentMigrationFunction, ComponentOptions, ComponentType, ComponentTypeMap, ComponentTypeName, ComponentTypeNames, ComponentTypeWithMetadata, DataOnly, DecodeDespawnResult, DecodeEntityResult, DecodeSnapshotResult, DecodeSpawnResult, DeepPartial, DeepReadonly, DeferredCommand, DeserializationStrategy, ECSDebugStats, EntityChange, EntityDebugInfo, EntityHandle, EntityRefMetadata, EntityRefRecord, EntityTagValue, EntityWithComponents, EnumOption, EventListenerConfig, EventStats, ExtractComponents, FieldSerializeOptions, IAdvancedProfilerData, IAlipayMiniGameAPI, IBaiduMiniGameAPI, IByteDanceMiniGameAPI, IChromeMemoryInfo, IComponent, IComponentDebugData, IComponentEventData, IComponentRegistry, IComponentTypeMetadata, ICoreConfig, IECSDebugConfig, IECSDebugData, IEntityDebugData, IEntityEventData, IEntityHierarchyNode, IEventBus, IEventData, IEventListenerConfig, IEventStats, IGlobalThisWithMiniGame, ILogger, IMiniGamePlatformAPI, IPerformanceDebugData, IPerformanceEventData, IPerformanceWithMemory, IPlatformAdapter, IPlugin, IPluginMetadata, IPoolable, IRuntimeMode, IScene, ISceneConfig, ISceneDebugData, ISceneEventData, ISceneFactory, IService, ISystemBase, ISystemDebugData, ISystemEventData, ITimer, IUpdatable, IWeChatMiniGameAPI, IWorkerPoolStatus, IWorkerSystemConfig, IWorldConfig, IWorldManagerConfig, IncrementalSerializationFormat, IncrementalSerializationOptions, IncrementalSnapshot, InjectableMetadata, InstanceTypes, LoggerColorConfig, LoggerConfig, LongTaskInfo, MemorySnapshot, MigrationFunction, NetworkEntityMetadata, NetworkEntityOptions, PartialComponent, PerformanceData, PerformanceStats, PerformanceThresholds, PerformanceWarning, PlatformConfig, PlatformDetectionResult, PlatformWorker, PoolStats, PrefabComponentTypeEntry, PrefabCreateOptions, PrefabData, PrefabInstantiateOptions, PrefabMetadata, ProcessingMode, ProfileCounter, ProfileFrame, ProfileReport, ProfileSample, ProfileSampleStats, ProfilerConfig, PropertyAction, PropertyAssetType, PropertyControl, PropertyOptions, PropertyType, QueryResult$1 as QueryResult, ReactiveQueryChange, ReactiveQueryConfig, ReactiveQueryListener, ReadonlyComponent, RuntimeModeConfig, SampleHandle, SceneDataChange, SceneDebugInfo, SceneDeserializationOptions, SceneMigrationFunction, SceneSerializationOptions, SerializableComponent, SerializableFields, SerializableOptions, SerializableValue, SerializationFormat, SerializationMetadata, SerializedComponent, SerializedEntity, SerializedEntityRef, SerializedPrefabEntity, SerializedScene, ServiceIdentifier, ServiceToken, ServiceType, SharedArrayBufferProcessFunction, SupportedTypedArray, SyncFieldMetadata, SyncMetadata, SyncType, SystemDebugInfo, SystemDependencyInfo, SystemEntityType, SystemLifecycleHooks, SystemMetadata, SystemSchedulingMetadata, SystemStage, TypeDef as TypeHandler, TypeSafeBuilder, TypedEventHandler, TypedQueryCondition, TypedValue, UpdatableMetadata, ValidComponent, ValidComponentArray, WorkerCreationOptions, WorkerProcessFunction, WorkerSystemConfig };