@esengine/ecs-framework 2.1.13 → 2.1.15
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/.npmignore +0 -6
- package/README.md +1 -1
- package/index.d.ts +21 -232
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.umd.js +1 -1
- package/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/COCOS_USAGE.md +0 -287
package/.npmignore
CHANGED
package/README.md
CHANGED
|
@@ -151,7 +151,7 @@ eventBus.emit('player:levelup', { playerId: 123, newLevel: 5 });
|
|
|
151
151
|
| **TypeScript 支持** | ✅ 原生支持 | ✅ 完整支持 | ⚠️ 部分支持 | ✅ 原生支持 |
|
|
152
152
|
| **事件系统** | ✅ 类型安全+装饰器 | ❌ 无内置事件系统 | ⚠️ 基础事件 | ✅ 响应式事件 |
|
|
153
153
|
| **查询系统** | ✅ 智能查询+流式API | ✅ 高性能 | ✅ 基础查询 | ✅ 响应式查询 |
|
|
154
|
-
| **性能优化** | ✅ 多层优化系统 | ✅
|
|
154
|
+
| **性能优化** | ✅ 多层优化系统 | ✅ 高性能优化 | ⚠️ 基础优化 | ✅ React集成优化 |
|
|
155
155
|
| **实体管理器** | ✅ 统一管理接口 | ❌ 无统一接口 | ✅ 基础管理 | ✅ 响应式管理 |
|
|
156
156
|
| **组件索引** | ✅ 哈希+位图索引 | ✅ 原生支持 | ❌ 无索引系统 | ✅ 自动索引 |
|
|
157
157
|
| **Archetype系统** | ✅ 内置支持 | ✅ 内置支持 | ❌ 无Archetype | ❌ 无Archetype |
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @esengine/ecs-framework v2.1.
|
|
2
|
+
* @esengine/ecs-framework v2.1.15
|
|
3
3
|
* TypeScript definitions
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -306,7 +306,7 @@ interface PerformanceData {
|
|
|
306
306
|
/**
|
|
307
307
|
* 性能统计信息
|
|
308
308
|
*/
|
|
309
|
-
interface PerformanceStats
|
|
309
|
+
interface PerformanceStats {
|
|
310
310
|
/** 总执行时间 */
|
|
311
311
|
totalTime: number;
|
|
312
312
|
/** 平均执行时间 */
|
|
@@ -457,7 +457,7 @@ declare class PerformanceMonitor {
|
|
|
457
457
|
* @param systemName 系统名称
|
|
458
458
|
* @returns 统计信息或undefined
|
|
459
459
|
*/
|
|
460
|
-
getSystemStats(systemName: string): PerformanceStats
|
|
460
|
+
getSystemStats(systemName: string): PerformanceStats | undefined;
|
|
461
461
|
/**
|
|
462
462
|
* 获取所有系统的性能数据
|
|
463
463
|
* @returns 所有系统的性能数据
|
|
@@ -467,7 +467,7 @@ declare class PerformanceMonitor {
|
|
|
467
467
|
* 获取所有系统的统计信息
|
|
468
468
|
* @returns 所有系统的统计信息
|
|
469
469
|
*/
|
|
470
|
-
getAllSystemStats(): Map<string, PerformanceStats
|
|
470
|
+
getAllSystemStats(): Map<string, PerformanceStats>;
|
|
471
471
|
/**
|
|
472
472
|
* 获取性能报告
|
|
473
473
|
* @returns 格式化的性能报告字符串
|
|
@@ -2683,7 +2683,7 @@ declare abstract class EntitySystem implements ISystemBase {
|
|
|
2683
2683
|
*
|
|
2684
2684
|
* @returns 性能统计或undefined
|
|
2685
2685
|
*/
|
|
2686
|
-
getPerformanceStats(): PerformanceStats
|
|
2686
|
+
getPerformanceStats(): PerformanceStats | undefined;
|
|
2687
2687
|
/**
|
|
2688
2688
|
* 重置系统的性能数据
|
|
2689
2689
|
*/
|
|
@@ -3014,7 +3014,7 @@ declare class ArchetypeSystem {
|
|
|
3014
3014
|
/**
|
|
3015
3015
|
* 实体查询结果接口
|
|
3016
3016
|
*/
|
|
3017
|
-
interface QueryResult
|
|
3017
|
+
interface QueryResult {
|
|
3018
3018
|
entities: Entity[];
|
|
3019
3019
|
count: number;
|
|
3020
3020
|
/** 查询执行时间(毫秒) */
|
|
@@ -3045,7 +3045,6 @@ interface QueryResult$1 {
|
|
|
3045
3045
|
*/
|
|
3046
3046
|
declare class QuerySystem {
|
|
3047
3047
|
private entities;
|
|
3048
|
-
private wasmAvailable;
|
|
3049
3048
|
private entityIndex;
|
|
3050
3049
|
private indexDirty;
|
|
3051
3050
|
private queryCache;
|
|
@@ -3059,13 +3058,6 @@ declare class QuerySystem {
|
|
|
3059
3058
|
private dirtyTrackingSystem;
|
|
3060
3059
|
private queryStats;
|
|
3061
3060
|
constructor();
|
|
3062
|
-
/**
|
|
3063
|
-
* 初始化WebAssembly支持
|
|
3064
|
-
*
|
|
3065
|
-
* 自动检测运行环境并启用WebAssembly计算加速。
|
|
3066
|
-
* 如果WebAssembly不可用,系统将自动回退到JavaScript实现。
|
|
3067
|
-
*/
|
|
3068
|
-
private initializeWasm;
|
|
3069
3061
|
/**
|
|
3070
3062
|
* 设置实体列表并重建索引
|
|
3071
3063
|
*
|
|
@@ -3142,7 +3134,7 @@ declare class QuerySystem {
|
|
|
3142
3134
|
* console.log(`找到 ${result.count} 个移动实体`);
|
|
3143
3135
|
* ```
|
|
3144
3136
|
*/
|
|
3145
|
-
queryAll(...componentTypes: ComponentType[]): QueryResult
|
|
3137
|
+
queryAll(...componentTypes: ComponentType[]): QueryResult;
|
|
3146
3138
|
/**
|
|
3147
3139
|
* 多组件查询算法
|
|
3148
3140
|
*
|
|
@@ -3179,7 +3171,7 @@ declare class QuerySystem {
|
|
|
3179
3171
|
* console.log(`找到 ${result.count} 个装备实体`);
|
|
3180
3172
|
* ```
|
|
3181
3173
|
*/
|
|
3182
|
-
queryAny(...componentTypes: ComponentType[]): QueryResult
|
|
3174
|
+
queryAny(...componentTypes: ComponentType[]): QueryResult;
|
|
3183
3175
|
/**
|
|
3184
3176
|
* 查询不包含任何指定组件的实体
|
|
3185
3177
|
*
|
|
@@ -3196,7 +3188,7 @@ declare class QuerySystem {
|
|
|
3196
3188
|
* console.log(`找到 ${result.count} 个静态实体`);
|
|
3197
3189
|
* ```
|
|
3198
3190
|
*/
|
|
3199
|
-
queryNone(...componentTypes: ComponentType[]): QueryResult
|
|
3191
|
+
queryNone(...componentTypes: ComponentType[]): QueryResult;
|
|
3200
3192
|
/**
|
|
3201
3193
|
* 按标签查询实体
|
|
3202
3194
|
*
|
|
@@ -3212,7 +3204,7 @@ declare class QuerySystem {
|
|
|
3212
3204
|
* const players = querySystem.queryByTag(PLAYER_TAG);
|
|
3213
3205
|
* ```
|
|
3214
3206
|
*/
|
|
3215
|
-
queryByTag(tag: number): QueryResult
|
|
3207
|
+
queryByTag(tag: number): QueryResult;
|
|
3216
3208
|
/**
|
|
3217
3209
|
* 按名称查询实体
|
|
3218
3210
|
*
|
|
@@ -3228,7 +3220,7 @@ declare class QuerySystem {
|
|
|
3228
3220
|
* const player = querySystem.queryByName("Player");
|
|
3229
3221
|
* ```
|
|
3230
3222
|
*/
|
|
3231
|
-
queryByName(name: string): QueryResult
|
|
3223
|
+
queryByName(name: string): QueryResult;
|
|
3232
3224
|
/**
|
|
3233
3225
|
* 按单个组件类型查询实体
|
|
3234
3226
|
*
|
|
@@ -3244,7 +3236,7 @@ declare class QuerySystem {
|
|
|
3244
3236
|
* const entitiesWithPosition = querySystem.queryByComponent(PositionComponent);
|
|
3245
3237
|
* ```
|
|
3246
3238
|
*/
|
|
3247
|
-
queryByComponent<T extends Component>(componentType: ComponentType<T>): QueryResult
|
|
3239
|
+
queryByComponent<T extends Component>(componentType: ComponentType<T>): QueryResult;
|
|
3248
3240
|
/**
|
|
3249
3241
|
* 从缓存获取查询结果
|
|
3250
3242
|
*/
|
|
@@ -3271,7 +3263,6 @@ declare class QuerySystem {
|
|
|
3271
3263
|
* 批量更新实体组件
|
|
3272
3264
|
*
|
|
3273
3265
|
* 对大量实体进行批量组件更新操作。
|
|
3274
|
-
* 当更新数量超过阈值时,系统会自动使用WebAssembly加速。
|
|
3275
3266
|
*
|
|
3276
3267
|
* @param updates 更新操作列表,包含实体ID和新的组件掩码
|
|
3277
3268
|
*
|
|
@@ -3289,34 +3280,6 @@ declare class QuerySystem {
|
|
|
3289
3280
|
entityId: number;
|
|
3290
3281
|
componentMask: bigint;
|
|
3291
3282
|
}>): void;
|
|
3292
|
-
/**
|
|
3293
|
-
* JavaScript实现的批量更新
|
|
3294
|
-
*/
|
|
3295
|
-
private batchUpdateComponentsJS;
|
|
3296
|
-
/**
|
|
3297
|
-
* 获取加速状态信息
|
|
3298
|
-
*
|
|
3299
|
-
* 返回当前查询系统的加速状态和性能信息。
|
|
3300
|
-
* 包括WebAssembly可用性、缓存统计等详细信息。
|
|
3301
|
-
*
|
|
3302
|
-
* @returns 加速状态信息对象
|
|
3303
|
-
*/
|
|
3304
|
-
getAccelerationStatus(): {
|
|
3305
|
-
wasmEnabled: boolean;
|
|
3306
|
-
currentProvider: string;
|
|
3307
|
-
availableProviders: string[];
|
|
3308
|
-
performanceInfo?: any;
|
|
3309
|
-
};
|
|
3310
|
-
/**
|
|
3311
|
-
* 切换加速提供者
|
|
3312
|
-
*
|
|
3313
|
-
* 兼容性接口,保持向后兼容。
|
|
3314
|
-
* 系统会自动选择最佳的实现方式。
|
|
3315
|
-
*
|
|
3316
|
-
* @param providerName 提供者名称
|
|
3317
|
-
* @returns 是否切换成功
|
|
3318
|
-
*/
|
|
3319
|
-
switchAccelerationProvider(providerName: string): Promise<boolean>;
|
|
3320
3283
|
/**
|
|
3321
3284
|
* 创建组件掩码
|
|
3322
3285
|
*
|
|
@@ -3343,7 +3306,6 @@ declare class QuerySystem {
|
|
|
3343
3306
|
tagIndexSize: number;
|
|
3344
3307
|
nameIndexSize: number;
|
|
3345
3308
|
};
|
|
3346
|
-
accelerationStatus: ReturnType<QuerySystem['getAccelerationStatus']>;
|
|
3347
3309
|
queryStats: {
|
|
3348
3310
|
totalQueries: number;
|
|
3349
3311
|
cacheHits: number;
|
|
@@ -3358,6 +3320,10 @@ declare class QuerySystem {
|
|
|
3358
3320
|
archetypeSystem: any;
|
|
3359
3321
|
dirtyTracking: any;
|
|
3360
3322
|
};
|
|
3323
|
+
cacheStats: {
|
|
3324
|
+
size: number;
|
|
3325
|
+
hitRate: string;
|
|
3326
|
+
};
|
|
3361
3327
|
};
|
|
3362
3328
|
/**
|
|
3363
3329
|
* 切换组件索引类型
|
|
@@ -3444,7 +3410,7 @@ declare class QueryBuilder {
|
|
|
3444
3410
|
*
|
|
3445
3411
|
* @returns 查询结果,包含匹配的实体和性能信息
|
|
3446
3412
|
*/
|
|
3447
|
-
execute(): QueryResult
|
|
3413
|
+
execute(): QueryResult;
|
|
3448
3414
|
/**
|
|
3449
3415
|
* 创建组件掩码
|
|
3450
3416
|
*/
|
|
@@ -3751,9 +3717,8 @@ declare class Scene {
|
|
|
3751
3717
|
get systems(): EntitySystem[];
|
|
3752
3718
|
/**
|
|
3753
3719
|
* 创建场景实例
|
|
3754
|
-
* @param enableWasmAcceleration 是否启用WebAssembly加速,默认为true
|
|
3755
3720
|
*/
|
|
3756
|
-
constructor(
|
|
3721
|
+
constructor();
|
|
3757
3722
|
/**
|
|
3758
3723
|
* 初始化场景
|
|
3759
3724
|
*
|
|
@@ -4377,16 +4342,7 @@ declare class Core {
|
|
|
4377
4342
|
* @param options - 额外的配置选项
|
|
4378
4343
|
* @returns Core实例
|
|
4379
4344
|
*/
|
|
4380
|
-
static create(debug?: boolean
|
|
4381
|
-
disableWasm?: boolean;
|
|
4382
|
-
}): Core;
|
|
4383
|
-
/**
|
|
4384
|
-
* 禁用WASM支持
|
|
4385
|
-
*
|
|
4386
|
-
* 当WASM加载失败或在不支持的环境中使用时调用。
|
|
4387
|
-
* 这将使ECS系统使用JavaScript回退实现。
|
|
4388
|
-
*/
|
|
4389
|
-
static disableWasm(): void;
|
|
4345
|
+
static create(debug?: boolean): Core;
|
|
4390
4346
|
/**
|
|
4391
4347
|
* 注册全局管理器
|
|
4392
4348
|
*
|
|
@@ -5412,172 +5368,5 @@ declare class Time {
|
|
|
5412
5368
|
static checkEvery(interval: number, lastTime: number): boolean;
|
|
5413
5369
|
}
|
|
5414
5370
|
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
*/
|
|
5418
|
-
type EntityId = number;
|
|
5419
|
-
type ComponentMask = bigint;
|
|
5420
|
-
interface QueryResult {
|
|
5421
|
-
entities: Uint32Array;
|
|
5422
|
-
count: number;
|
|
5423
|
-
}
|
|
5424
|
-
interface PerformanceStats {
|
|
5425
|
-
entityCount: number;
|
|
5426
|
-
indexCount: number;
|
|
5427
|
-
queryCount: number;
|
|
5428
|
-
updateCount: number;
|
|
5429
|
-
wasmEnabled: boolean;
|
|
5430
|
-
}
|
|
5431
|
-
interface WasmEcsCoreInstance {
|
|
5432
|
-
create_entity(): number;
|
|
5433
|
-
destroy_entity(entity_id: number): boolean;
|
|
5434
|
-
update_entity_mask(entity_id: number, mask: bigint): void;
|
|
5435
|
-
batch_update_masks(entity_ids: Uint32Array, masks: BigUint64Array): void;
|
|
5436
|
-
query_entities(mask: bigint, max_results: number): number;
|
|
5437
|
-
get_query_result_count(): number;
|
|
5438
|
-
query_cached(mask: bigint): number;
|
|
5439
|
-
get_cached_query_count(mask: bigint): number;
|
|
5440
|
-
query_multiple_components(masks: BigUint64Array, max_results: number): number;
|
|
5441
|
-
query_with_exclusion(include_mask: bigint, exclude_mask: bigint, max_results: number): number;
|
|
5442
|
-
get_entity_mask(entity_id: number): bigint;
|
|
5443
|
-
entity_exists(entity_id: number): boolean;
|
|
5444
|
-
get_entity_count(): number;
|
|
5445
|
-
get_performance_stats(): Array<any>;
|
|
5446
|
-
clear(): void;
|
|
5447
|
-
rebuild_query_cache(): void;
|
|
5448
|
-
free?(): void;
|
|
5449
|
-
}
|
|
5450
|
-
interface WasmModule {
|
|
5451
|
-
EcsCore: new () => WasmEcsCoreInstance;
|
|
5452
|
-
create_component_mask: (componentIds: Uint32Array) => ComponentMask;
|
|
5453
|
-
mask_contains_component: (mask: ComponentMask, componentId: number) => boolean;
|
|
5454
|
-
default: (input?: any) => Promise<any>;
|
|
5455
|
-
initSync?: (input: any) => any;
|
|
5456
|
-
memory?: WebAssembly.Memory;
|
|
5457
|
-
}
|
|
5458
|
-
|
|
5459
|
-
/**
|
|
5460
|
-
* WASM模块加载器
|
|
5461
|
-
*/
|
|
5462
|
-
|
|
5463
|
-
declare class WasmLoader {
|
|
5464
|
-
private wasmModule;
|
|
5465
|
-
private wasmCore;
|
|
5466
|
-
private silent;
|
|
5467
|
-
setSilent(silent: boolean): void;
|
|
5468
|
-
/**
|
|
5469
|
-
* 手动初始化WASM模块
|
|
5470
|
-
*
|
|
5471
|
-
* @param wasmFactory WASM工厂函数(从.js文件导入的default)
|
|
5472
|
-
* @param wasmFile WASM文件数据
|
|
5473
|
-
* @returns 是否初始化成功
|
|
5474
|
-
*
|
|
5475
|
-
* @example
|
|
5476
|
-
* ```typescript
|
|
5477
|
-
* import { ecsCore } from '@esengine/ecs-framework';
|
|
5478
|
-
*
|
|
5479
|
-
* // 1. 导入WASM的JS文件
|
|
5480
|
-
* import('./ecs_wasm_core.js').then(({ default: wasmFactory }) => {
|
|
5481
|
-
* // 2. 加载WASM文件(具体方式根据引擎而定)
|
|
5482
|
-
* // Cocos Creator: this.loadWasmOrAsm("wasmFiles", "ecs_wasm_core", "uuid")
|
|
5483
|
-
* // 其他环境: fetch('./ecs_wasm_core_bg.wasm')
|
|
5484
|
-
* loadWasmFile().then((wasmFile) => {
|
|
5485
|
-
* // 3. 手动初始化ECS的WASM支持
|
|
5486
|
-
* ecsCore.initializeWasm(wasmFactory, wasmFile).then((success) => {
|
|
5487
|
-
* if (success) {
|
|
5488
|
-
* console.log("ECS WASM初始化成功");
|
|
5489
|
-
* } else {
|
|
5490
|
-
* console.log("ECS WASM初始化失败,使用JavaScript回退");
|
|
5491
|
-
* }
|
|
5492
|
-
* });
|
|
5493
|
-
* });
|
|
5494
|
-
* });
|
|
5495
|
-
* ```
|
|
5496
|
-
*/
|
|
5497
|
-
initializeWasm(wasmFactory: any, wasmFile: any): Promise<boolean>;
|
|
5498
|
-
/**
|
|
5499
|
-
* 通用WASM初始化方法
|
|
5500
|
-
*/
|
|
5501
|
-
private initWasmInstance;
|
|
5502
|
-
loadWasmModule(): Promise<boolean>;
|
|
5503
|
-
private initializeWasmModule;
|
|
5504
|
-
getWasmCore(): WasmEcsCoreInstance | null;
|
|
5505
|
-
getWasmModule(): WasmModule | null;
|
|
5506
|
-
cleanup(): void;
|
|
5507
|
-
}
|
|
5508
|
-
|
|
5509
|
-
/**
|
|
5510
|
-
* JavaScript回退实现
|
|
5511
|
-
*/
|
|
5512
|
-
|
|
5513
|
-
declare class JavaScriptFallback {
|
|
5514
|
-
private jsEntityMasks;
|
|
5515
|
-
private jsNextEntityId;
|
|
5516
|
-
private jsQueryCount;
|
|
5517
|
-
private jsUpdateCount;
|
|
5518
|
-
createEntity(): EntityId;
|
|
5519
|
-
destroyEntity(entityId: EntityId): boolean;
|
|
5520
|
-
updateEntityMask(entityId: EntityId, mask: ComponentMask): void;
|
|
5521
|
-
batchUpdateMasks(entityIds: EntityId[], masks: ComponentMask[]): void;
|
|
5522
|
-
queryEntities(mask: ComponentMask, maxResults?: number): QueryResult;
|
|
5523
|
-
queryCached(mask: ComponentMask): QueryResult;
|
|
5524
|
-
queryMultipleComponents(masks: ComponentMask[], maxResults?: number): QueryResult;
|
|
5525
|
-
queryWithExclusion(includeMask: ComponentMask, excludeMask: ComponentMask, maxResults?: number): QueryResult;
|
|
5526
|
-
getEntityMask(entityId: EntityId): ComponentMask | null;
|
|
5527
|
-
entityExists(entityId: EntityId): boolean;
|
|
5528
|
-
createComponentMask(componentIds: number[]): ComponentMask;
|
|
5529
|
-
maskContainsComponent(mask: ComponentMask, componentId: number): boolean;
|
|
5530
|
-
getPerformanceStats(): PerformanceStats;
|
|
5531
|
-
clear(): void;
|
|
5532
|
-
getEntityCount(): number;
|
|
5533
|
-
}
|
|
5534
|
-
|
|
5535
|
-
/**
|
|
5536
|
-
* WASM ECS核心模块
|
|
5537
|
-
*/
|
|
5538
|
-
|
|
5539
|
-
declare class WasmEcsCore {
|
|
5540
|
-
private wasmLoader;
|
|
5541
|
-
private jsFallback;
|
|
5542
|
-
private initialized;
|
|
5543
|
-
private usingWasm;
|
|
5544
|
-
constructor();
|
|
5545
|
-
setSilent(silent: boolean): void;
|
|
5546
|
-
/**
|
|
5547
|
-
* 手动初始化WASM模块
|
|
5548
|
-
*
|
|
5549
|
-
* @param wasmFactory WASM工厂函数(从.js文件导入的default)
|
|
5550
|
-
* @param wasmFile WASM文件数据
|
|
5551
|
-
* @returns 是否初始化成功
|
|
5552
|
-
*/
|
|
5553
|
-
initializeWasm(wasmFactory: any, wasmFile: any): Promise<boolean>;
|
|
5554
|
-
initialize(): Promise<boolean>;
|
|
5555
|
-
createEntity(): EntityId;
|
|
5556
|
-
destroyEntity(entityId: EntityId): boolean;
|
|
5557
|
-
updateEntityMask(entityId: EntityId, mask: ComponentMask): void;
|
|
5558
|
-
batchUpdateMasks(entityIds: EntityId[], masks: ComponentMask[]): void;
|
|
5559
|
-
queryEntities(mask: ComponentMask, maxResults?: number): QueryResult;
|
|
5560
|
-
queryCached(mask: ComponentMask): QueryResult;
|
|
5561
|
-
queryMultipleComponents(masks: ComponentMask[], maxResults?: number): QueryResult;
|
|
5562
|
-
queryWithExclusion(includeMask: ComponentMask, excludeMask: ComponentMask, maxResults?: number): QueryResult;
|
|
5563
|
-
getEntityMask(entityId: EntityId): ComponentMask | null;
|
|
5564
|
-
entityExists(entityId: EntityId): boolean;
|
|
5565
|
-
createComponentMask(componentIds: number[]): ComponentMask;
|
|
5566
|
-
maskContainsComponent(mask: ComponentMask, componentId: number): boolean;
|
|
5567
|
-
getPerformanceStats(): PerformanceStats;
|
|
5568
|
-
clear(): void;
|
|
5569
|
-
isUsingWasm(): boolean;
|
|
5570
|
-
isInitialized(): boolean;
|
|
5571
|
-
private ensureInitialized;
|
|
5572
|
-
cleanup(): void;
|
|
5573
|
-
}
|
|
5574
|
-
|
|
5575
|
-
/**
|
|
5576
|
-
* WASM ECS核心全局实例
|
|
5577
|
-
*/
|
|
5578
|
-
|
|
5579
|
-
declare const ecsCore: WasmEcsCore;
|
|
5580
|
-
declare function initializeEcs(silent?: boolean): Promise<boolean>;
|
|
5581
|
-
|
|
5582
|
-
export { ArchetypeSystem, AsyncEventHandler$1 as AsyncEventHandler, BitMaskOptimizer, BitmapComponentIndex, Bits, Component, ComponentIndexManager, ComponentPool, ComponentStorage, ComponentTransform, ComponentTypeManager, Core, CoreEvents, DirtyFlag, DirtyTrackingSystem, ECSEventType, ECSFluentAPI, EVENT_TYPES, Emitter, Entity, EntityList, EntityManager, EntityProcessorList, EntityQueryBuilder, EntitySystem, EventBus, EventHandler$1 as EventHandler, EventPriority, EventTypeValidator, FuncPack, GlobalEventBus, GlobalManager, HashComponentIndex, IdentifierPool, IndexType, IndexUpdateBatcher, IntervalSystem, JavaScriptFallback, LogType, Matcher, NumberExtension, PassiveSystem, PerformanceMonitor, PerformanceWarningType, Pool, PoolManager, ProcessingSystem, QuerySystem, Scene, TieredObjectPool, Time, Timer, TimerManager, TypeSafeEventSystem, TypeUtils, WasmEcsCore, WasmLoader, createECSAPI, ecsCore, initializeEcs };
|
|
5583
|
-
export type { Archetype, ArchetypeQueryResult, ComponentClass, ComponentMask, ComponentType$1 as ComponentType, DirtyData, DirtyListener, EntityId, EventListenerConfig, EventStats, IComponent, IComponentEventData, IEntity, IEntityBase, IEntityEventData, IEntityManager, IEntityQueryBuilder, IEventBus, IEventData, IEventListenerConfig, IEventStats, ILifecycle, IMatcher, IPerformanceData, IPerformanceEventData, IPoolable, IScene, ISceneEventData, ISystem, ISystemBase, ISystemEventData, ITimer, IUpdateOrderComparable, PerformanceData, PerformanceStats$1 as PerformanceStats, PerformanceThresholds, PerformanceWarning, PoolStats, QueryResult, PerformanceStats as WasmPerformanceStats };
|
|
5371
|
+
export { ArchetypeSystem, AsyncEventHandler$1 as AsyncEventHandler, BitMaskOptimizer, BitmapComponentIndex, Bits, Component, ComponentIndexManager, ComponentPool, ComponentStorage, ComponentTransform, ComponentTypeManager, Core, CoreEvents, DirtyFlag, DirtyTrackingSystem, ECSEventType, ECSFluentAPI, EVENT_TYPES, Emitter, Entity, EntityList, EntityManager, EntityProcessorList, EntityQueryBuilder, EntitySystem, EventBus, EventHandler$1 as EventHandler, EventPriority, EventTypeValidator, FuncPack, GlobalEventBus, GlobalManager, HashComponentIndex, IdentifierPool, IndexType, IndexUpdateBatcher, IntervalSystem, LogType, Matcher, NumberExtension, PassiveSystem, PerformanceMonitor, PerformanceWarningType, Pool, PoolManager, ProcessingSystem, QuerySystem, Scene, TieredObjectPool, Time, Timer, TimerManager, TypeSafeEventSystem, TypeUtils, createECSAPI };
|
|
5372
|
+
export type { Archetype, ArchetypeQueryResult, ComponentClass, ComponentType$1 as ComponentType, DirtyData, DirtyListener, EventListenerConfig, EventStats, IComponent, IComponentEventData, IEntity, IEntityBase, IEntityEventData, IEntityManager, IEntityQueryBuilder, IEventBus, IEventData, IEventListenerConfig, IEventStats, ILifecycle, IMatcher, IPerformanceData, IPerformanceEventData, IPoolable, IScene, ISceneEventData, ISystem, ISystemBase, ISystemEventData, ITimer, IUpdateOrderComparable, PerformanceData, PerformanceStats, PerformanceThresholds, PerformanceWarning, PoolStats };
|