同步主站 Cocos 当前工程:关卡资源、运行脚本与打包工具。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-12 14:40:34 +08:00
parent ae75fce80b
commit fac515a669
5609 changed files with 27744634 additions and 5653 deletions

View File

@@ -5,3 +5,14 @@ export const LEVEL_ID_BASE = 91601;
export function isGameLevelId(levelID: number): boolean {
return Number.isFinite(levelID) && levelID >= LEVEL_ID_BASE;
}
/**
* 主站练习题批次主题(只覆盖 9160194000
* LA/LB 9160192200 siluLC/LD 9220192800 chineseLE/LF 9280194000 numMan
*/
export function themeForLevelId(levelID: number): string | undefined {
if (levelID >= 91601 && levelID <= 92200) return 'silu';
if (levelID >= 92201 && levelID <= 92800) return 'chinese';
if (levelID >= 92801 && levelID <= 94000) return 'numMan';
return undefined;
}