@esengine/ecs-framework 2.2.13 → 2.2.14
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.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.d.ts +111 -99
- package/index.es5.js +2 -2
- package/index.es5.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/index.umd.js +2 -2
- package/index.umd.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @esengine/ecs-framework v2.2.
|
|
2
|
+
* @esengine/ecs-framework v2.2.14
|
|
3
3
|
* TypeScript definitions
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -919,16 +919,16 @@ declare class BitMask64Utils {
|
|
|
919
919
|
private static getSegmentByBitIndex;
|
|
920
920
|
}
|
|
921
921
|
|
|
922
|
+
/**
|
|
923
|
+
* SoA存储器支持的TypedArray类型
|
|
924
|
+
*/
|
|
925
|
+
type SupportedTypedArray = Float32Array | Float64Array | Int32Array | Uint32Array | Int16Array | Uint16Array | Int8Array | Uint8Array | Uint8ClampedArray;
|
|
926
|
+
|
|
922
927
|
/**
|
|
923
928
|
* 启用SoA优化装饰器
|
|
924
929
|
* 默认关闭SoA,只有在大规模批量操作场景下才建议开启
|
|
925
930
|
*/
|
|
926
931
|
declare function EnableSoA<T extends ComponentType>(target: T): T;
|
|
927
|
-
/**
|
|
928
|
-
* 高精度数值装饰器
|
|
929
|
-
* 标记字段需要保持完整精度,存储为复杂对象而非TypedArray
|
|
930
|
-
*/
|
|
931
|
-
declare function HighPrecision(target: any, propertyKey: string | symbol): void;
|
|
932
932
|
/**
|
|
933
933
|
* 64位浮点数装饰器
|
|
934
934
|
* 标记字段使用Float64Array存储(更高精度但更多内存)
|
|
@@ -994,51 +994,11 @@ declare function SerializeArray(target: any, propertyKey: string | symbol): void
|
|
|
994
994
|
* 标记字段需要深拷贝处理(适用于嵌套对象)
|
|
995
995
|
*/
|
|
996
996
|
declare function DeepCopy(target: any, propertyKey: string | symbol): void;
|
|
997
|
-
/**
|
|
998
|
-
* 自动类型推断装饰器
|
|
999
|
-
* 根据字段的默认值和数值范围自动选择最优的TypedArray类型
|
|
1000
|
-
*
|
|
1001
|
-
* @param options 类型推断选项
|
|
1002
|
-
* @param options.minValue 数值的最小值(用于范围优化)
|
|
1003
|
-
* @param options.maxValue 数值的最大值(用于范围优化)
|
|
1004
|
-
* @param options.precision 是否需要浮点精度(true: 使用浮点数组, false: 使用整数数组)
|
|
1005
|
-
* @param options.signed 是否需要符号位(仅在整数模式下有效)
|
|
1006
|
-
*/
|
|
1007
|
-
declare function AutoTyped(options?: {
|
|
1008
|
-
minValue?: number;
|
|
1009
|
-
maxValue?: number;
|
|
1010
|
-
precision?: boolean;
|
|
1011
|
-
signed?: boolean;
|
|
1012
|
-
}): (target: any, propertyKey: string | symbol) => void;
|
|
1013
|
-
/**
|
|
1014
|
-
* 自动类型推断器
|
|
1015
|
-
* 根据数值类型和范围自动选择最优的TypedArray类型
|
|
1016
|
-
*/
|
|
1017
|
-
declare class TypeInference {
|
|
1018
|
-
/**
|
|
1019
|
-
* 根据数值范围推断最优的TypedArray类型
|
|
1020
|
-
*/
|
|
1021
|
-
static inferOptimalType(value: any, options?: {
|
|
1022
|
-
minValue?: number;
|
|
1023
|
-
maxValue?: number;
|
|
1024
|
-
precision?: boolean;
|
|
1025
|
-
signed?: boolean;
|
|
1026
|
-
}): string;
|
|
1027
|
-
/**
|
|
1028
|
-
* 根据推断的类型名创建对应的TypedArray构造函数
|
|
1029
|
-
*/
|
|
1030
|
-
static getTypedArrayConstructor(typeName: string): typeof Float32Array | typeof Float64Array | typeof Int32Array | typeof Uint32Array | typeof Int16Array | typeof Uint16Array | typeof Int8Array | typeof Uint8Array | typeof Uint8ClampedArray;
|
|
1031
|
-
}
|
|
1032
|
-
/**
|
|
1033
|
-
* SoA存储器支持的TypedArray类型
|
|
1034
|
-
*/
|
|
1035
|
-
type SupportedTypedArray = Float32Array | Float64Array | Int32Array | Uint32Array | Int16Array | Uint16Array | Int8Array | Uint8Array | Uint8ClampedArray;
|
|
1036
997
|
/**
|
|
1037
998
|
* SoA存储器(需要装饰器启用)
|
|
1038
999
|
* 使用Structure of Arrays存储模式,在大规模批量操作时提供优异性能
|
|
1039
1000
|
*/
|
|
1040
1001
|
declare class SoAStorage<T extends Component> {
|
|
1041
|
-
private static readonly _logger;
|
|
1042
1002
|
private fields;
|
|
1043
1003
|
private stringFields;
|
|
1044
1004
|
private serializedFields;
|
|
@@ -1049,23 +1009,24 @@ declare class SoAStorage<T extends Component> {
|
|
|
1049
1009
|
private _size;
|
|
1050
1010
|
private _capacity;
|
|
1051
1011
|
readonly type: ComponentType<T>;
|
|
1012
|
+
private fieldTypes;
|
|
1013
|
+
private serializeMapFields;
|
|
1014
|
+
private serializeSetFields;
|
|
1015
|
+
private serializeArrayFields;
|
|
1052
1016
|
constructor(componentType: ComponentType<T>);
|
|
1053
1017
|
private initializeFields;
|
|
1054
1018
|
addComponent(entityId: number, component: T): void;
|
|
1055
1019
|
private updateComponentAtIndex;
|
|
1020
|
+
getComponent(entityId: number): T | null;
|
|
1056
1021
|
/**
|
|
1057
|
-
*
|
|
1058
|
-
|
|
1059
|
-
private serializeValue;
|
|
1060
|
-
/**
|
|
1061
|
-
* 反序列化JSON字符串为值
|
|
1022
|
+
* 创建组件的 Proxy 视图
|
|
1023
|
+
* 读写操作直接映射到底层 TypedArray,无数据复制
|
|
1062
1024
|
*/
|
|
1063
|
-
private
|
|
1025
|
+
private createProxyView;
|
|
1064
1026
|
/**
|
|
1065
|
-
*
|
|
1027
|
+
* 获取组件的快照副本(用于序列化等需要独立副本的场景)
|
|
1066
1028
|
*/
|
|
1067
|
-
|
|
1068
|
-
getComponent(entityId: number): T | null;
|
|
1029
|
+
getComponentSnapshot(entityId: number): T | null;
|
|
1069
1030
|
private getFieldType;
|
|
1070
1031
|
hasComponent(entityId: number): boolean;
|
|
1071
1032
|
removeComponent(entityId: number): T | null;
|
|
@@ -5217,7 +5178,7 @@ declare class Scene implements IScene {
|
|
|
5217
5178
|
* 在场景中添加一个EntitySystem处理器
|
|
5218
5179
|
*
|
|
5219
5180
|
* 支持两种使用方式:
|
|
5220
|
-
* 1. 传入类型(推荐):自动使用DI创建实例,支持@Injectable和@
|
|
5181
|
+
* 1. 传入类型(推荐):自动使用DI创建实例,支持@Injectable和@InjectProperty装饰器
|
|
5221
5182
|
* 2. 传入实例:直接使用提供的实例
|
|
5222
5183
|
*
|
|
5223
5184
|
* @param systemTypeOrInstance 系统类型或系统实例
|
|
@@ -5228,7 +5189,10 @@ declare class Scene implements IScene {
|
|
|
5228
5189
|
* // 方式1:传入类型,自动DI(推荐)
|
|
5229
5190
|
* @Injectable()
|
|
5230
5191
|
* class PhysicsSystem extends EntitySystem {
|
|
5231
|
-
*
|
|
5192
|
+
* @InjectProperty(CollisionSystem)
|
|
5193
|
+
* private collision!: CollisionSystem;
|
|
5194
|
+
*
|
|
5195
|
+
* constructor() {
|
|
5232
5196
|
* super(Matcher.empty().all(Transform));
|
|
5233
5197
|
* }
|
|
5234
5198
|
* }
|
|
@@ -5261,7 +5225,10 @@ declare class Scene implements IScene {
|
|
|
5261
5225
|
* @Injectable()
|
|
5262
5226
|
* @ECSSystem('Physics', { updateOrder: 10 })
|
|
5263
5227
|
* class PhysicsSystem extends EntitySystem implements IService {
|
|
5264
|
-
*
|
|
5228
|
+
* @InjectProperty(CollisionSystem)
|
|
5229
|
+
* private collision!: CollisionSystem;
|
|
5230
|
+
*
|
|
5231
|
+
* constructor() {
|
|
5265
5232
|
* super(Matcher.empty().all(Transform, RigidBody));
|
|
5266
5233
|
* }
|
|
5267
5234
|
* dispose() {}
|
|
@@ -5294,7 +5261,7 @@ declare class Scene implements IScene {
|
|
|
5294
5261
|
/**
|
|
5295
5262
|
* 获取指定类型的EntitySystem处理器
|
|
5296
5263
|
*
|
|
5297
|
-
* @deprecated 推荐使用依赖注入代替此方法。使用 `scene.services.resolve(SystemType)`
|
|
5264
|
+
* @deprecated 推荐使用依赖注入代替此方法。使用 `scene.services.resolve(SystemType)` 或使用 `@InjectProperty(SystemType)` 装饰器。
|
|
5298
5265
|
*
|
|
5299
5266
|
* @param type 处理器类型
|
|
5300
5267
|
* @returns 处理器实例,如果未找到则返回null
|
|
@@ -5303,8 +5270,11 @@ declare class Scene implements IScene {
|
|
|
5303
5270
|
* ```typescript
|
|
5304
5271
|
* @Injectable()
|
|
5305
5272
|
* class MySystem extends EntitySystem {
|
|
5306
|
-
*
|
|
5307
|
-
*
|
|
5273
|
+
* @InjectProperty(PhysicsSystem)
|
|
5274
|
+
* private physics!: PhysicsSystem;
|
|
5275
|
+
*
|
|
5276
|
+
* constructor() {
|
|
5277
|
+
* super(Matcher.empty());
|
|
5308
5278
|
* }
|
|
5309
5279
|
* }
|
|
5310
5280
|
* ```
|
|
@@ -7275,11 +7245,14 @@ interface SystemMetadata {
|
|
|
7275
7245
|
* }
|
|
7276
7246
|
* }
|
|
7277
7247
|
*
|
|
7278
|
-
* //
|
|
7248
|
+
* // 配置更新顺序和依赖注入
|
|
7279
7249
|
* @Injectable()
|
|
7280
7250
|
* @ECSSystem('Physics', { updateOrder: 10 })
|
|
7281
7251
|
* class PhysicsSystem extends EntitySystem {
|
|
7282
|
-
*
|
|
7252
|
+
* @InjectProperty(CollisionSystem)
|
|
7253
|
+
* private collision!: CollisionSystem;
|
|
7254
|
+
*
|
|
7255
|
+
* constructor() {
|
|
7283
7256
|
* super(Matcher.empty().all(Transform, RigidBody));
|
|
7284
7257
|
* }
|
|
7285
7258
|
* }
|
|
@@ -8005,15 +7978,15 @@ declare class World {
|
|
|
8005
7978
|
/**
|
|
8006
7979
|
* 创建并添加Scene到World
|
|
8007
7980
|
*/
|
|
8008
|
-
createScene<T extends IScene>(
|
|
7981
|
+
createScene<T extends IScene>(sceneName: string, sceneInstance?: T): T;
|
|
8009
7982
|
/**
|
|
8010
7983
|
* 移除Scene
|
|
8011
7984
|
*/
|
|
8012
|
-
removeScene(
|
|
7985
|
+
removeScene(sceneName: string): boolean;
|
|
8013
7986
|
/**
|
|
8014
7987
|
* 获取Scene
|
|
8015
7988
|
*/
|
|
8016
|
-
getScene<T extends IScene>(
|
|
7989
|
+
getScene<T extends IScene>(sceneName: string): T | null;
|
|
8017
7990
|
/**
|
|
8018
7991
|
* 获取所有Scene ID
|
|
8019
7992
|
*/
|
|
@@ -8029,11 +8002,11 @@ declare class World {
|
|
|
8029
8002
|
/**
|
|
8030
8003
|
* 设置Scene激活状态
|
|
8031
8004
|
*/
|
|
8032
|
-
setSceneActive(
|
|
8005
|
+
setSceneActive(sceneName: string, active: boolean): void;
|
|
8033
8006
|
/**
|
|
8034
8007
|
* 检查Scene是否激活
|
|
8035
8008
|
*/
|
|
8036
|
-
isSceneActive(
|
|
8009
|
+
isSceneActive(sceneName: string): boolean;
|
|
8037
8010
|
/**
|
|
8038
8011
|
* 获取活跃Scene数量
|
|
8039
8012
|
*/
|
|
@@ -8204,15 +8177,15 @@ declare class WorldManager implements IService {
|
|
|
8204
8177
|
/**
|
|
8205
8178
|
* 创建新World
|
|
8206
8179
|
*/
|
|
8207
|
-
createWorld(
|
|
8180
|
+
createWorld(worldName: string, config?: IWorldConfig): World;
|
|
8208
8181
|
/**
|
|
8209
8182
|
* 移除World
|
|
8210
8183
|
*/
|
|
8211
|
-
removeWorld(
|
|
8184
|
+
removeWorld(worldName: string): boolean;
|
|
8212
8185
|
/**
|
|
8213
8186
|
* 获取World
|
|
8214
8187
|
*/
|
|
8215
|
-
getWorld(
|
|
8188
|
+
getWorld(worldName: string): World | null;
|
|
8216
8189
|
/**
|
|
8217
8190
|
* 获取所有World ID
|
|
8218
8191
|
*/
|
|
@@ -8224,11 +8197,11 @@ declare class WorldManager implements IService {
|
|
|
8224
8197
|
/**
|
|
8225
8198
|
* 设置World激活状态
|
|
8226
8199
|
*/
|
|
8227
|
-
setWorldActive(
|
|
8200
|
+
setWorldActive(worldName: string, active: boolean): void;
|
|
8228
8201
|
/**
|
|
8229
8202
|
* 检查World是否激活
|
|
8230
8203
|
*/
|
|
8231
|
-
isWorldActive(
|
|
8204
|
+
isWorldActive(worldName: string): boolean;
|
|
8232
8205
|
/**
|
|
8233
8206
|
* 更新所有活跃的World
|
|
8234
8207
|
*
|
|
@@ -9551,20 +9524,6 @@ declare class WebSocketManager {
|
|
|
9551
9524
|
private handleConnectionFailure;
|
|
9552
9525
|
}
|
|
9553
9526
|
|
|
9554
|
-
/**
|
|
9555
|
-
* 调试配置服务
|
|
9556
|
-
*
|
|
9557
|
-
* 管理调试系统的配置信息
|
|
9558
|
-
*/
|
|
9559
|
-
declare class DebugConfigService implements IService {
|
|
9560
|
-
private _config;
|
|
9561
|
-
constructor();
|
|
9562
|
-
setConfig(config: IECSDebugConfig): void;
|
|
9563
|
-
getConfig(): IECSDebugConfig;
|
|
9564
|
-
isEnabled(): boolean;
|
|
9565
|
-
dispose(): void;
|
|
9566
|
-
}
|
|
9567
|
-
|
|
9568
9527
|
/**
|
|
9569
9528
|
* 调试管理器
|
|
9570
9529
|
*
|
|
@@ -9580,12 +9539,13 @@ declare class DebugManager implements IService, IUpdatable {
|
|
|
9580
9539
|
private sceneCollector;
|
|
9581
9540
|
private sceneManager;
|
|
9582
9541
|
private performanceMonitor;
|
|
9542
|
+
private configService;
|
|
9583
9543
|
private frameCounter;
|
|
9584
9544
|
private lastSendTime;
|
|
9585
9545
|
private sendInterval;
|
|
9586
9546
|
private isRunning;
|
|
9587
9547
|
private originalConsole;
|
|
9588
|
-
|
|
9548
|
+
onInitialize(): void;
|
|
9589
9549
|
/**
|
|
9590
9550
|
* 启动调试管理器
|
|
9591
9551
|
*/
|
|
@@ -9683,6 +9643,20 @@ declare class DebugManager implements IService, IUpdatable {
|
|
|
9683
9643
|
dispose(): void;
|
|
9684
9644
|
}
|
|
9685
9645
|
|
|
9646
|
+
/**
|
|
9647
|
+
* 调试配置服务
|
|
9648
|
+
*
|
|
9649
|
+
* 管理调试系统的配置信息
|
|
9650
|
+
*/
|
|
9651
|
+
declare class DebugConfigService implements IService {
|
|
9652
|
+
private _config;
|
|
9653
|
+
constructor();
|
|
9654
|
+
setConfig(config: IECSDebugConfig): void;
|
|
9655
|
+
getConfig(): IECSDebugConfig;
|
|
9656
|
+
isEnabled(): boolean;
|
|
9657
|
+
dispose(): void;
|
|
9658
|
+
}
|
|
9659
|
+
|
|
9686
9660
|
/**
|
|
9687
9661
|
* 插件状态
|
|
9688
9662
|
*/
|
|
@@ -10434,7 +10408,7 @@ declare class DebugPlugin implements IPlugin, IService {
|
|
|
10434
10408
|
* @param filter - 查询过滤器
|
|
10435
10409
|
*/
|
|
10436
10410
|
queryEntities(filter: {
|
|
10437
|
-
|
|
10411
|
+
sceneName?: string;
|
|
10438
10412
|
tag?: number;
|
|
10439
10413
|
name?: string;
|
|
10440
10414
|
hasComponent?: string;
|
|
@@ -10452,7 +10426,7 @@ declare class DebugPlugin implements IPlugin, IService {
|
|
|
10452
10426
|
/**
|
|
10453
10427
|
* 依赖注入装饰器
|
|
10454
10428
|
*
|
|
10455
|
-
* 提供 @Injectable、@
|
|
10429
|
+
* 提供 @Injectable、@InjectProperty 和 @Updatable 装饰器,用于标记可注入的类和依赖注入点
|
|
10456
10430
|
*/
|
|
10457
10431
|
|
|
10458
10432
|
/**
|
|
@@ -10505,10 +10479,11 @@ interface UpdatableMetadata {
|
|
|
10505
10479
|
*
|
|
10506
10480
|
* @Injectable()
|
|
10507
10481
|
* class PhysicsSystem extends EntitySystem {
|
|
10508
|
-
*
|
|
10509
|
-
*
|
|
10510
|
-
*
|
|
10511
|
-
*
|
|
10482
|
+
* @InjectProperty(TimeService)
|
|
10483
|
+
* private timeService!: TimeService;
|
|
10484
|
+
*
|
|
10485
|
+
* constructor() {
|
|
10486
|
+
* super(Matcher.empty());
|
|
10512
10487
|
* }
|
|
10513
10488
|
* }
|
|
10514
10489
|
* ```
|
|
@@ -10545,13 +10520,43 @@ declare function Injectable(): ClassDecorator;
|
|
|
10545
10520
|
*/
|
|
10546
10521
|
declare function Updatable(priority?: number): ClassDecorator;
|
|
10547
10522
|
/**
|
|
10548
|
-
* @
|
|
10523
|
+
* @InjectProperty() 装饰器
|
|
10549
10524
|
*
|
|
10550
|
-
*
|
|
10525
|
+
* 通过属性装饰器注入依赖
|
|
10551
10526
|
*
|
|
10552
|
-
*
|
|
10527
|
+
* 注入时机:在构造函数执行后、onInitialize() 调用前完成
|
|
10528
|
+
*
|
|
10529
|
+
* @param serviceType 服务类型
|
|
10530
|
+
*
|
|
10531
|
+
* @example
|
|
10532
|
+
* ```typescript
|
|
10533
|
+
* @Injectable()
|
|
10534
|
+
* class PhysicsSystem extends EntitySystem {
|
|
10535
|
+
* @InjectProperty(TimeService)
|
|
10536
|
+
* private timeService!: TimeService;
|
|
10537
|
+
*
|
|
10538
|
+
* @InjectProperty(CollisionService)
|
|
10539
|
+
* private collision!: CollisionService;
|
|
10540
|
+
*
|
|
10541
|
+
* constructor() {
|
|
10542
|
+
* super(Matcher.empty());
|
|
10543
|
+
* }
|
|
10544
|
+
*
|
|
10545
|
+
* public onInitialize(): void {
|
|
10546
|
+
* // 此时属性已注入完成,可以安全使用
|
|
10547
|
+
* console.log(this.timeService.getDeltaTime());
|
|
10548
|
+
* }
|
|
10549
|
+
* }
|
|
10550
|
+
* ```
|
|
10551
|
+
*/
|
|
10552
|
+
declare function InjectProperty(serviceType: ServiceType<IService>): PropertyDecorator;
|
|
10553
|
+
/**
|
|
10554
|
+
* 获取属性注入元数据
|
|
10555
|
+
*
|
|
10556
|
+
* @param target 目标类
|
|
10557
|
+
* @returns 属性名到服务类型的映射
|
|
10553
10558
|
*/
|
|
10554
|
-
declare function
|
|
10559
|
+
declare function getPropertyInjectMetadata(target: Constructor): Map<string | symbol, ServiceType<IService>>;
|
|
10555
10560
|
/**
|
|
10556
10561
|
* 创建实例并自动注入依赖
|
|
10557
10562
|
*
|
|
@@ -10565,6 +10570,13 @@ declare function Inject(serviceType: ServiceType<IService> | string | symbol): P
|
|
|
10565
10570
|
* ```
|
|
10566
10571
|
*/
|
|
10567
10572
|
declare function createInstance<T>(constructor: new (...args: any[]) => T, container: ServiceContainer): T;
|
|
10573
|
+
/**
|
|
10574
|
+
* 为实例注入属性依赖
|
|
10575
|
+
*
|
|
10576
|
+
* @param instance 目标实例
|
|
10577
|
+
* @param container 服务容器
|
|
10578
|
+
*/
|
|
10579
|
+
declare function injectProperties<T extends object>(instance: T, container: ServiceContainer): void;
|
|
10568
10580
|
/**
|
|
10569
10581
|
* 检查类是否标记为可更新
|
|
10570
10582
|
*
|
|
@@ -11253,5 +11265,5 @@ declare function getFullPlatformConfig(): Promise<any>;
|
|
|
11253
11265
|
declare function supportsFeature(feature: 'worker' | 'shared-array-buffer' | 'transferable-objects' | 'module-worker'): boolean;
|
|
11254
11266
|
declare function hasAdapter(): boolean;
|
|
11255
11267
|
|
|
11256
|
-
export {
|
|
11268
|
+
export { BinarySerializer, BitMask64Utils, Bits, COMPONENT_TYPE_NAME, ChangeOperation, Colors, Component, ComponentDataCollector, ComponentPool, ComponentPoolManager, ComponentRegistry, ComponentSerializer, ComponentSparseSet, ComponentStorage, ConsoleLogger, Core, DebugConfigService, DebugManager, DebugPlugin, DeepCopy, ECSComponent, ECSEventType, ECSFluentAPI, ECSSystem, ENTITY_REF_METADATA, EVENT_TYPES, Emitter, EnableSoA, Entity, EntityDataCollector, EntityList, EntityProcessorList, EntityRef, EntitySerializer, EntitySystem, EventBus, EventPriority, EventTypeValidator, Float32, Float64, FuncPack, GlobalEventBus, GlobalManager, IdentifierPool, IgnoreSerialization, IncrementalSerializer, InjectProperty, Injectable, Int16, Int32, Int8, IntervalSystem, LogLevel, Logger, LoggerManager, Matcher, MigrationBuilder, NumberExtension, PassiveSystem, PerformanceDataCollector, PerformanceMonitor, PerformanceWarningType, PlatformDetector, PlatformManager, PluginManager, PluginState, Pool, PoolManager, ProcessingSystem, QuerySystem, ReactiveQuery, ReactiveQueryChangeType, ReferenceTracker, SERIALIZABLE_METADATA, SERIALIZE_FIELD, SERIALIZE_OPTIONS, SYSTEM_TYPE_NAME, Scene, SceneDataCollector, SceneManager, SceneSerializer, Serializable, Serialize, SerializeArray, SerializeAsMap, SerializeAsSet, SerializeMap, SerializeSet, ServiceContainer, ServiceLifetime, SoAStorage, SparseSet, SystemDataCollector, Time, Timer, TimerManager, TypeSafeEventSystem, TypeUtils, TypedEntityBuilder, TypedQueryBuilder, TypedQueryResult, Uint16, Uint32, Uint8, Uint8Clamped, Updatable, VersionMigrationManager, WebSocketManager, WorkerEntitySystem, World, WorldManager, addAndConfigure, buildEntity, createECSAPI, createInstance, createLogger, createQuery, getBasicWorkerConfig, getComponentInstanceTypeName, getComponentTypeName, getComponents, getCurrentAdapter, getEntityRefMetadata, getFullPlatformConfig, getOrAddComponent, getPropertyInjectMetadata, getSceneByEntityId, getSerializationMetadata, getSystemInstanceTypeName, getSystemMetadata, getSystemTypeName, getUpdatableMetadata, hasAdapter, hasAnyComponent, hasComponents, hasEntityRef, injectProperties, isComponentArray, isComponentType, isSerializable, isUpdatable, queryFor, queryForAll, registerInjectable, registerPlatformAdapter, requireComponent, resetLoggerColors, setGlobalLogLevel, setLoggerColors, setLoggerFactory, supportsFeature, tryGetComponent, updateComponent };
|
|
11257
11269
|
export type { AnyComponentConstructor, BitMask64Data, ComponentChange, ComponentConstructor, ComponentDebugInfo, ComponentInstance, ComponentMigrationFunction, ComponentType$1 as ComponentType, ComponentTypeMap, ComponentTypeName, ComponentTypeNames, DataOnly, DeepPartial, DeepReadonly, DeserializationStrategy, ECSDebugStats, EntityChange, EntityDebugInfo, EntityRefMetadata, EntityRefRecord, EntityWithComponents, EventListenerConfig, EventStats, ExtractComponents, FieldSerializeOptions, IComponent, IComponentDebugData, IComponentEventData, ICoreConfig, IECSDebugConfig, IECSDebugData, IEntityDebugData, IEntityEventData, IEntityHierarchyNode, IEventBus, IEventData, IEventListenerConfig, IEventStats, ILogger, IPerformanceDebugData, IPerformanceEventData, IPlatformAdapter, IPlugin, IPluginMetadata, IPoolable, IScene, ISceneConfig, ISceneDebugData, ISceneEventData, ISceneFactory, IService, ISystemBase, ISystemDebugData, ISystemEventData, ITimer, IUpdatable, IWorldConfig, IWorldManagerConfig, IncrementalSerializationFormat, IncrementalSerializationOptions, IncrementalSnapshot, InjectableMetadata, LoggerColorConfig, LoggerConfig, MigrationFunction, PartialComponent, PerformanceData, PerformanceStats, PerformanceThresholds, PerformanceWarning, PlatformConfig, PlatformDetectionResult, PlatformWorker, PoolStats, QueryResult$1 as QueryResult, ReactiveQueryChange, ReactiveQueryConfig, ReactiveQueryListener, ReadonlyComponent, SceneDataChange, SceneDebugInfo, SceneDeserializationOptions, SceneMigrationFunction, SceneSerializationOptions, SerializableComponent, SerializableFields, SerializableOptions, SerializationFormat, SerializationMetadata, SerializedComponent, SerializedEntity, SerializedScene, ServiceType, SharedArrayBufferProcessFunction, SupportedTypedArray, SystemDebugInfo, SystemEntityType, SystemLifecycleHooks, SystemMetadata, TypeSafeBuilder, TypedEventHandler, TypedQueryCondition, UpdatableMetadata, ValidComponent, ValidComponentArray, WorkerCreationOptions, WorkerProcessFunction, WorkerSystemConfig };
|