@esengine/ecs-framework 2.6.1 → 2.7.1
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 +245 -3
- package/index.es5.js +1 -1
- package/index.es5.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/index.umd.js +1 -1
- 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
|
+
* @esengine/ecs-framework v2.7.1
|
|
3
3
|
* TypeScript definitions
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -589,6 +589,11 @@ type IECSDebugConfig = {
|
|
|
589
589
|
scenes: boolean;
|
|
590
590
|
};
|
|
591
591
|
};
|
|
592
|
+
/**
|
|
593
|
+
* @zh 运行时环境类型
|
|
594
|
+
* @en Runtime environment type
|
|
595
|
+
*/
|
|
596
|
+
type RuntimeEnvironment = 'server' | 'client' | 'standalone';
|
|
592
597
|
/**
|
|
593
598
|
* Core配置接口
|
|
594
599
|
*/
|
|
@@ -599,6 +604,16 @@ type ICoreConfig = {
|
|
|
599
604
|
debugConfig?: IECSDebugConfig;
|
|
600
605
|
/** WorldManager配置 */
|
|
601
606
|
worldManagerConfig?: IWorldManagerConfig;
|
|
607
|
+
/**
|
|
608
|
+
* @zh 运行时环境
|
|
609
|
+
* @en Runtime environment
|
|
610
|
+
*
|
|
611
|
+
* @zh 设置后所有 Scene 默认继承此环境。服务端框架应设置为 'server',客户端应用设置为 'client'。
|
|
612
|
+
* @en All Scenes inherit this environment by default. Server frameworks should set 'server', client apps should set 'client'.
|
|
613
|
+
*
|
|
614
|
+
* @default 'standalone'
|
|
615
|
+
*/
|
|
616
|
+
runtimeEnvironment?: RuntimeEnvironment;
|
|
602
617
|
};
|
|
603
618
|
/**
|
|
604
619
|
* ECS调试数据接口
|
|
@@ -5428,6 +5443,24 @@ type IScene = {
|
|
|
5428
5443
|
* until begin() is called to start running the scene.
|
|
5429
5444
|
*/
|
|
5430
5445
|
isEditorMode: boolean;
|
|
5446
|
+
/**
|
|
5447
|
+
* @zh 运行时环境
|
|
5448
|
+
* @en Runtime environment
|
|
5449
|
+
*
|
|
5450
|
+
* @zh 标识场景运行在服务端、客户端还是单机模式
|
|
5451
|
+
* @en Indicates whether scene runs on server, client, or standalone mode
|
|
5452
|
+
*/
|
|
5453
|
+
readonly runtimeEnvironment: RuntimeEnvironment;
|
|
5454
|
+
/**
|
|
5455
|
+
* @zh 是否在服务端运行
|
|
5456
|
+
* @en Whether running on server
|
|
5457
|
+
*/
|
|
5458
|
+
readonly isServer: boolean;
|
|
5459
|
+
/**
|
|
5460
|
+
* @zh 是否在客户端运行
|
|
5461
|
+
* @en Whether running on client
|
|
5462
|
+
*/
|
|
5463
|
+
readonly isClient: boolean;
|
|
5431
5464
|
/**
|
|
5432
5465
|
* 获取系统列表
|
|
5433
5466
|
*/
|
|
@@ -5669,6 +5702,19 @@ type ISceneConfig = {
|
|
|
5669
5702
|
* @default 10
|
|
5670
5703
|
*/
|
|
5671
5704
|
maxSystemErrorCount?: number;
|
|
5705
|
+
/**
|
|
5706
|
+
* @zh 运行时环境
|
|
5707
|
+
* @en Runtime environment
|
|
5708
|
+
*
|
|
5709
|
+
* @zh 用于区分场景运行在服务端、客户端还是单机模式。
|
|
5710
|
+
* 配合 @ServerOnly / @ClientOnly 装饰器使用,可以让系统方法只在特定环境执行。
|
|
5711
|
+
*
|
|
5712
|
+
* @en Used to distinguish whether scene runs on server, client, or standalone mode.
|
|
5713
|
+
* Works with @ServerOnly / @ClientOnly decorators to make system methods execute only in specific environments.
|
|
5714
|
+
*
|
|
5715
|
+
* @default 'standalone'
|
|
5716
|
+
*/
|
|
5717
|
+
runtimeEnvironment?: RuntimeEnvironment;
|
|
5672
5718
|
};
|
|
5673
5719
|
|
|
5674
5720
|
/**
|
|
@@ -6168,6 +6214,32 @@ declare class Scene implements IScene {
|
|
|
6168
6214
|
* until begin() is called to start running the scene.
|
|
6169
6215
|
*/
|
|
6170
6216
|
isEditorMode: boolean;
|
|
6217
|
+
/**
|
|
6218
|
+
* @zh 场景级别的运行时环境覆盖
|
|
6219
|
+
* @en Scene-level runtime environment override
|
|
6220
|
+
*
|
|
6221
|
+
* @zh 如果未设置,则从 Core.runtimeEnvironment 读取
|
|
6222
|
+
* @en If not set, reads from Core.runtimeEnvironment
|
|
6223
|
+
*/
|
|
6224
|
+
private _runtimeEnvironmentOverride;
|
|
6225
|
+
/**
|
|
6226
|
+
* @zh 获取运行时环境
|
|
6227
|
+
* @en Get runtime environment
|
|
6228
|
+
*
|
|
6229
|
+
* @zh 优先返回场景级别设置,否则返回 Core 全局设置
|
|
6230
|
+
* @en Returns scene-level setting if set, otherwise returns Core global setting
|
|
6231
|
+
*/
|
|
6232
|
+
get runtimeEnvironment(): RuntimeEnvironment;
|
|
6233
|
+
/**
|
|
6234
|
+
* @zh 是否在服务端运行
|
|
6235
|
+
* @en Whether running on server
|
|
6236
|
+
*/
|
|
6237
|
+
get isServer(): boolean;
|
|
6238
|
+
/**
|
|
6239
|
+
* @zh 是否在客户端运行
|
|
6240
|
+
* @en Whether running on client
|
|
6241
|
+
*/
|
|
6242
|
+
get isClient(): boolean;
|
|
6171
6243
|
/**
|
|
6172
6244
|
* 延迟的组件生命周期回调队列
|
|
6173
6245
|
*
|
|
@@ -9676,6 +9748,105 @@ declare function getSchedulingMetadata(target: object): SystemSchedulingMetadata
|
|
|
9676
9748
|
*/
|
|
9677
9749
|
declare function hasSchedulingMetadata(target: object): boolean;
|
|
9678
9750
|
|
|
9751
|
+
/**
|
|
9752
|
+
* @zh 运行时环境装饰器
|
|
9753
|
+
* @en Runtime Environment Decorators
|
|
9754
|
+
*
|
|
9755
|
+
* @zh 提供 @ServerOnly 和 @ClientOnly 装饰器,用于标记只在特定环境执行的方法
|
|
9756
|
+
* @en Provides @ServerOnly and @ClientOnly decorators to mark methods that only execute in specific environments
|
|
9757
|
+
*/
|
|
9758
|
+
/**
|
|
9759
|
+
* @zh 服务端专用方法装饰器
|
|
9760
|
+
* @en Server-only method decorator
|
|
9761
|
+
*
|
|
9762
|
+
* @zh 被装饰的方法只会在服务端环境执行(scene.isServer === true)。
|
|
9763
|
+
* 在客户端或单机模式下,方法调用会被静默跳过。
|
|
9764
|
+
*
|
|
9765
|
+
* @en Decorated methods only execute in server environment (scene.isServer === true).
|
|
9766
|
+
* In client or standalone mode, method calls are silently skipped.
|
|
9767
|
+
*
|
|
9768
|
+
* @example
|
|
9769
|
+
* ```typescript
|
|
9770
|
+
* class CollectibleSpawnSystem extends EntitySystem {
|
|
9771
|
+
* @ServerOnly()
|
|
9772
|
+
* private checkCollections(players: readonly Entity[]): void {
|
|
9773
|
+
* // 只在服务端执行收集检测
|
|
9774
|
+
* // Only check collections on server
|
|
9775
|
+
* for (const entity of this.scene.entities.buffer) {
|
|
9776
|
+
* // ...
|
|
9777
|
+
* }
|
|
9778
|
+
* }
|
|
9779
|
+
* }
|
|
9780
|
+
* ```
|
|
9781
|
+
*/
|
|
9782
|
+
declare function ServerOnly(): MethodDecorator;
|
|
9783
|
+
/**
|
|
9784
|
+
* @zh 客户端专用方法装饰器
|
|
9785
|
+
* @en Client-only method decorator
|
|
9786
|
+
*
|
|
9787
|
+
* @zh 被装饰的方法只会在客户端环境执行(scene.isClient === true)。
|
|
9788
|
+
* 在服务端或单机模式下,方法调用会被静默跳过。
|
|
9789
|
+
*
|
|
9790
|
+
* @en Decorated methods only execute in client environment (scene.isClient === true).
|
|
9791
|
+
* In server or standalone mode, method calls are silently skipped.
|
|
9792
|
+
*
|
|
9793
|
+
* @example
|
|
9794
|
+
* ```typescript
|
|
9795
|
+
* class RenderSystem extends EntitySystem {
|
|
9796
|
+
* @ClientOnly()
|
|
9797
|
+
* private updateVisuals(): void {
|
|
9798
|
+
* // 只在客户端执行渲染逻辑
|
|
9799
|
+
* // Only update visuals on client
|
|
9800
|
+
* }
|
|
9801
|
+
* }
|
|
9802
|
+
* ```
|
|
9803
|
+
*/
|
|
9804
|
+
declare function ClientOnly(): MethodDecorator;
|
|
9805
|
+
/**
|
|
9806
|
+
* @zh 非客户端环境方法装饰器
|
|
9807
|
+
* @en Non-client method decorator
|
|
9808
|
+
*
|
|
9809
|
+
* @zh 被装饰的方法在服务端和单机模式下执行,但不在客户端执行。
|
|
9810
|
+
* 用于需要在服务端和单机都运行,但客户端跳过的逻辑。
|
|
9811
|
+
*
|
|
9812
|
+
* @en Decorated methods execute in server and standalone mode, but not on client.
|
|
9813
|
+
* Used for logic that should run on server and standalone, but skip on client.
|
|
9814
|
+
*
|
|
9815
|
+
* @example
|
|
9816
|
+
* ```typescript
|
|
9817
|
+
* class SpawnSystem extends EntitySystem {
|
|
9818
|
+
* @NotClient()
|
|
9819
|
+
* private spawnEntities(): void {
|
|
9820
|
+
* // 服务端和单机模式执行,客户端跳过
|
|
9821
|
+
* // Execute on server and standalone, skip on client
|
|
9822
|
+
* }
|
|
9823
|
+
* }
|
|
9824
|
+
* ```
|
|
9825
|
+
*/
|
|
9826
|
+
declare function NotClient(): MethodDecorator;
|
|
9827
|
+
/**
|
|
9828
|
+
* @zh 非服务端环境方法装饰器
|
|
9829
|
+
* @en Non-server method decorator
|
|
9830
|
+
*
|
|
9831
|
+
* @zh 被装饰的方法在客户端和单机模式下执行,但不在服务端执行。
|
|
9832
|
+
* 用于需要在客户端和单机都运行,但服务端跳过的逻辑(如渲染、音效)。
|
|
9833
|
+
*
|
|
9834
|
+
* @en Decorated methods execute in client and standalone mode, but not on server.
|
|
9835
|
+
* Used for logic that should run on client and standalone, but skip on server (like rendering, audio).
|
|
9836
|
+
*
|
|
9837
|
+
* @example
|
|
9838
|
+
* ```typescript
|
|
9839
|
+
* class AudioSystem extends EntitySystem {
|
|
9840
|
+
* @NotServer()
|
|
9841
|
+
* private playSound(): void {
|
|
9842
|
+
* // 客户端和单机模式执行,服务端跳过
|
|
9843
|
+
* // Execute on client and standalone, skip on server
|
|
9844
|
+
* }
|
|
9845
|
+
* }
|
|
9846
|
+
* ```
|
|
9847
|
+
*/
|
|
9848
|
+
declare function NotServer(): MethodDecorator;
|
|
9849
|
+
|
|
9679
9850
|
/**
|
|
9680
9851
|
* Component Registry Interface.
|
|
9681
9852
|
* 组件注册表接口。
|
|
@@ -14271,6 +14442,41 @@ declare class Core {
|
|
|
14271
14442
|
* @en Game paused state, when set to true, game loop will pause execution
|
|
14272
14443
|
*/
|
|
14273
14444
|
static paused: boolean;
|
|
14445
|
+
/**
|
|
14446
|
+
* @zh 运行时环境
|
|
14447
|
+
* @en Runtime environment
|
|
14448
|
+
*
|
|
14449
|
+
* @zh 全局运行时环境设置。所有 Scene 默认继承此值。
|
|
14450
|
+
* 服务端框架(如 @esengine/server)应在启动时设置为 'server'。
|
|
14451
|
+
* 客户端应用应设置为 'client'。
|
|
14452
|
+
* 单机游戏使用默认值 'standalone'。
|
|
14453
|
+
*
|
|
14454
|
+
* @en Global runtime environment setting. All Scenes inherit this value by default.
|
|
14455
|
+
* Server frameworks (like @esengine/server) should set this to 'server' at startup.
|
|
14456
|
+
* Client apps should set this to 'client'.
|
|
14457
|
+
* Standalone games use the default 'standalone'.
|
|
14458
|
+
*
|
|
14459
|
+
* @example
|
|
14460
|
+
* ```typescript
|
|
14461
|
+
* // @zh 服务端启动时设置 | @en Set at server startup
|
|
14462
|
+
* Core.runtimeEnvironment = 'server';
|
|
14463
|
+
*
|
|
14464
|
+
* // @zh 或在 Core.create 时配置 | @en Or configure in Core.create
|
|
14465
|
+
* Core.create({ runtimeEnvironment: 'server' });
|
|
14466
|
+
* ```
|
|
14467
|
+
*/
|
|
14468
|
+
static get runtimeEnvironment(): RuntimeEnvironment;
|
|
14469
|
+
static set runtimeEnvironment(value: RuntimeEnvironment);
|
|
14470
|
+
/**
|
|
14471
|
+
* @zh 是否在服务端运行
|
|
14472
|
+
* @en Whether running on server
|
|
14473
|
+
*/
|
|
14474
|
+
static get isServer(): boolean;
|
|
14475
|
+
/**
|
|
14476
|
+
* @zh 是否在客户端运行
|
|
14477
|
+
* @en Whether running on client
|
|
14478
|
+
*/
|
|
14479
|
+
static get isClient(): boolean;
|
|
14274
14480
|
/**
|
|
14275
14481
|
* @zh 全局核心实例,可能为null表示Core尚未初始化或已被销毁
|
|
14276
14482
|
* @en Global core instance, null means Core is not initialized or destroyed
|
|
@@ -14660,6 +14866,42 @@ declare class Core {
|
|
|
14660
14866
|
static destroy(): void;
|
|
14661
14867
|
}
|
|
14662
14868
|
|
|
14869
|
+
/**
|
|
14870
|
+
* @zh 全局运行时配置
|
|
14871
|
+
* @en Global runtime configuration
|
|
14872
|
+
*
|
|
14873
|
+
* @zh 独立模块,避免 Core 和 Scene 之间的循环依赖
|
|
14874
|
+
* @en Standalone module to avoid circular dependency between Core and Scene
|
|
14875
|
+
*/
|
|
14876
|
+
declare class RuntimeConfigClass {
|
|
14877
|
+
private _runtimeEnvironment;
|
|
14878
|
+
/**
|
|
14879
|
+
* @zh 获取运行时环境
|
|
14880
|
+
* @en Get runtime environment
|
|
14881
|
+
*/
|
|
14882
|
+
get runtimeEnvironment(): RuntimeEnvironment;
|
|
14883
|
+
/**
|
|
14884
|
+
* @zh 设置运行时环境
|
|
14885
|
+
* @en Set runtime environment
|
|
14886
|
+
*/
|
|
14887
|
+
set runtimeEnvironment(value: RuntimeEnvironment);
|
|
14888
|
+
/**
|
|
14889
|
+
* @zh 是否在服务端运行
|
|
14890
|
+
* @en Whether running on server
|
|
14891
|
+
*/
|
|
14892
|
+
get isServer(): boolean;
|
|
14893
|
+
/**
|
|
14894
|
+
* @zh 是否在客户端运行
|
|
14895
|
+
* @en Whether running on client
|
|
14896
|
+
*/
|
|
14897
|
+
get isClient(): boolean;
|
|
14898
|
+
}
|
|
14899
|
+
/**
|
|
14900
|
+
* @zh 全局运行时配置单例
|
|
14901
|
+
* @en Global runtime configuration singleton
|
|
14902
|
+
*/
|
|
14903
|
+
declare const RuntimeConfig: RuntimeConfigClass;
|
|
14904
|
+
|
|
14663
14905
|
/**
|
|
14664
14906
|
* 插件管理器
|
|
14665
14907
|
*
|
|
@@ -17233,5 +17475,5 @@ declare function getFullPlatformConfig(): Promise<any>;
|
|
|
17233
17475
|
declare function supportsFeature(feature: 'worker' | 'shared-array-buffer' | 'transferable-objects' | 'module-worker'): boolean;
|
|
17234
17476
|
declare function hasAdapter(): boolean;
|
|
17235
17477
|
|
|
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 };
|
|
17478
|
+
export { AdvancedProfilerCollector, After, AutoProfiler, Before, BinaryReader, BinarySerializer, BinaryWriter, BitMask64Utils, Bits, CHANGE_TRACKER, COMPONENT_DEPENDENCIES, COMPONENT_EDITOR_OPTIONS, COMPONENT_TYPE_NAME, ChangeOperation, ChangeTracker, ClientOnly, 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, NotClient, NotServer, 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, RuntimeConfig, 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, ServerOnly, 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 };
|
|
17479
|
+
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, RuntimeEnvironment, 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 };
|