2025-12-01 22:28:51 +08:00
|
|
|
export {
|
|
|
|
|
RuntimePluginManager,
|
|
|
|
|
runtimePluginManager,
|
|
|
|
|
type SystemContext,
|
2025-12-03 22:15:22 +08:00
|
|
|
type ModuleManifest,
|
2025-12-01 22:28:51 +08:00
|
|
|
type IRuntimeModule,
|
2025-12-13 19:44:08 +08:00
|
|
|
type IRuntimePlugin
|
2025-12-01 22:28:51 +08:00
|
|
|
} from './PluginManager';
|
|
|
|
|
|
2025-12-13 19:44:08 +08:00
|
|
|
/** @deprecated Use IRuntimePlugin instead */
|
|
|
|
|
export type { IRuntimePlugin as IPlugin } from './PluginManager';
|
|
|
|
|
|
2025-12-01 22:28:51 +08:00
|
|
|
export {
|
|
|
|
|
createPlugin,
|
|
|
|
|
registerPlugin,
|
|
|
|
|
initializeRuntime,
|
|
|
|
|
createSystemsForScene,
|
|
|
|
|
resetRuntime,
|
|
|
|
|
type RuntimeConfig
|
|
|
|
|
} from './RuntimeBootstrap';
|
|
|
|
|
|
|
|
|
|
export {
|
|
|
|
|
loadPlugin,
|
|
|
|
|
loadEnabledPlugins,
|
|
|
|
|
registerStaticPlugin,
|
|
|
|
|
getLoadedPlugins,
|
|
|
|
|
resetPluginLoader,
|
|
|
|
|
type PluginPackageInfo,
|
|
|
|
|
type PluginConfig,
|
|
|
|
|
type ProjectPluginConfig
|
|
|
|
|
} from './PluginLoader';
|
|
|
|
|
|
|
|
|
|
export {
|
|
|
|
|
BUILTIN_PLUGIN_PACKAGES,
|
|
|
|
|
createDefaultProjectConfig,
|
|
|
|
|
mergeProjectConfig,
|
|
|
|
|
createProjectConfigFromEnabledList,
|
|
|
|
|
type ProjectConfig
|
|
|
|
|
} from './ProjectConfig';
|
|
|
|
|
|
|
|
|
|
// Platform Adapter
|
|
|
|
|
export {
|
|
|
|
|
DefaultPathResolver,
|
|
|
|
|
type IPlatformAdapter,
|
|
|
|
|
type IPathResolver,
|
|
|
|
|
type PlatformCapabilities,
|
|
|
|
|
type PlatformAdapterConfig
|
|
|
|
|
} from './IPlatformAdapter';
|
|
|
|
|
|
|
|
|
|
// Game Runtime
|
|
|
|
|
export {
|
|
|
|
|
GameRuntime,
|
|
|
|
|
createGameRuntime,
|
|
|
|
|
type GameRuntimeConfig,
|
|
|
|
|
type RuntimeState
|
|
|
|
|
} from './GameRuntime';
|
|
|
|
|
|
|
|
|
|
// Platform Adapters
|
|
|
|
|
export {
|
|
|
|
|
BrowserPlatformAdapter,
|
|
|
|
|
BrowserPathResolver,
|
|
|
|
|
type BrowserPlatformConfig,
|
2025-12-13 19:44:08 +08:00
|
|
|
type BrowserPathResolveMode,
|
2025-12-01 22:28:51 +08:00
|
|
|
EditorPlatformAdapter,
|
|
|
|
|
EditorPathResolver,
|
|
|
|
|
type EditorPlatformConfig
|
|
|
|
|
} from './adapters';
|
|
|
|
|
|
|
|
|
|
// Browser File System Service
|
|
|
|
|
export {
|
|
|
|
|
BrowserFileSystemService,
|
|
|
|
|
createBrowserFileSystem,
|
|
|
|
|
type BrowserFileSystemOptions
|
|
|
|
|
} from './services/BrowserFileSystemService';
|
2025-12-05 18:15:50 +08:00
|
|
|
|
2025-12-10 18:23:29 +08:00
|
|
|
// Re-export catalog types from asset-system (canonical source)
|
|
|
|
|
// 从 asset-system 重新导出目录类型(规范来源)
|
|
|
|
|
export type {
|
|
|
|
|
IAssetCatalog,
|
|
|
|
|
IAssetCatalogEntry,
|
|
|
|
|
IAssetBundleInfo,
|
|
|
|
|
AssetLoadStrategy
|
|
|
|
|
} from '@esengine/asset-system';
|
|
|
|
|
|
2025-12-05 18:15:50 +08:00
|
|
|
// Re-export Input System from engine-core for convenience
|
|
|
|
|
export {
|
|
|
|
|
Input,
|
|
|
|
|
InputManager,
|
|
|
|
|
InputSystem,
|
|
|
|
|
MouseButton,
|
|
|
|
|
type InputSystemConfig,
|
|
|
|
|
type KeyState,
|
|
|
|
|
type MouseButtonState,
|
|
|
|
|
type KeyboardEventInfo,
|
|
|
|
|
type MouseEventInfo,
|
|
|
|
|
type WheelEventInfo,
|
|
|
|
|
type TouchInfo,
|
|
|
|
|
type TouchEvent
|
|
|
|
|
} from '@esengine/engine-core';
|
2025-12-08 21:10:57 +08:00
|
|
|
|
2025-12-13 19:44:08 +08:00
|
|
|
// Re-export vector interfaces from math
|
|
|
|
|
export type { IVector2, IVector3 } from '@esengine/ecs-framework-math';
|
|
|
|
|
|
|
|
|
|
// Re-export Plugin Service Registry from ecs-framework (canonical source)
|
2025-12-08 21:10:57 +08:00
|
|
|
export {
|
|
|
|
|
PluginServiceRegistry,
|
|
|
|
|
createServiceToken,
|
|
|
|
|
type ServiceToken
|
2025-12-13 19:44:08 +08:00
|
|
|
} from '@esengine/ecs-framework';
|
|
|
|
|
|
|
|
|
|
// Re-export engine-specific tokens from engine-core
|
|
|
|
|
export { TransformTypeToken } from '@esengine/engine-core';
|
2025-12-08 21:10:57 +08:00
|
|
|
|
|
|
|
|
// Re-export service tokens from their respective modules
|
|
|
|
|
export {
|
|
|
|
|
EngineBridgeToken,
|
|
|
|
|
RenderSystemToken,
|
|
|
|
|
EngineIntegrationToken,
|
|
|
|
|
type IEngineBridge,
|
|
|
|
|
type IRenderSystem,
|
|
|
|
|
type IRenderDataProvider,
|
|
|
|
|
type IEngineIntegration
|
|
|
|
|
} from '@esengine/ecs-engine-bindgen';
|
|
|
|
|
|
|
|
|
|
export {
|
|
|
|
|
AssetManagerToken,
|
|
|
|
|
type IAssetManager,
|
|
|
|
|
type IAssetLoadResult
|
|
|
|
|
} from '@esengine/asset-system';
|