Files
esengine/packages/runtime-core/src/index.ts

73 lines
1.5 KiB
TypeScript
Raw Normal View History

export {
RuntimePluginManager,
runtimePluginManager,
type SystemContext,
type PluginDescriptor,
type IRuntimeModule,
type IPlugin
} from './PluginManager';
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,
EditorPlatformAdapter,
EditorPathResolver,
type EditorPlatformConfig
} from './adapters';
// Browser File System Service
export {
BrowserFileSystemService,
createBrowserFileSystem,
type AssetCatalog,
type AssetCatalogEntry,
type BrowserFileSystemOptions
} from './services/BrowserFileSystemService';