Files
cocos/assets/scripts/theme/ThemeRegistry.ts
刘宇飞 d393302388 Complete Cocos Creator port with level bundles, themes, and tooling.
Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 15:30:58 +08:00

39 lines
1.1 KiB
TypeScript

export {
loadThemeDatabase,
reloadThemeDatabase,
isThemeDatabaseReady,
getThemeIds,
getThemeConfig,
hasTheme,
getThemeTextureFolder,
getThemeEntities,
getThemeBackground,
getThemeTiles,
getThemeBorderDecorKey,
getThemeTilePath,
getGlobalEntityDisplay,
getGlobalEntityDisplayScales,
getThemeEntityDisplayScales,
getThemeEntityDisplayCellBoxes,
mergeEntityDisplay,
entityDisplayCellBoxes,
ENTITY_DISPLAY_BASE,
DEFAULT_ENTITY_DISPLAY,
DEFAULT_PROP_BLOCK_Y_OFFSET,
DEFAULT_PROP_GROUND_Y_OFFSET,
getThemePropPlacementOffsets,
getThemeHudConfig,
getThemeHudIconPath,
getThemeHudIconScale,
getThemeHudIconCandidates,
getThemePortraitPath,
getThemePortraitFlipX,
getThemePortraitScale,
resolveThemeId,
setTheme,
removeTheme,
exportDatabaseJson,
} from './ThemeDatabase';
export type { ThemeConfig, ThemeEntityConfig, ThemeTileConfig, ThemeHudConfig, ThemeHudIconKey, ThemeDatabaseFile, EntityDisplayGlobalConfig, EntityDisplayCellBox, EntityDisplayScaleConfig, EntityDisplayKind } from './ThemeTypes';