123456789101112131415161718192021222324252627282930313233343536373839 |
- import { ModuleDef } from "./ModuleDef";
- export class SceneDef {
- /**
- * @en start scene, must be loaded from this scene
- * @zh 首场景,必须从这个场景启动
- */
- public static START = { name: 'start', bundle: 'main' };
- /**
- * @en login scene
- * @zh 登录场景
- * */
- public static LOGIN = { name: 'login', bundle: ModuleDef.BASIC };
- /**
- * @en login scene , after login, will jump to this scene
- * @zh 主大厅场景,登录成功后会首先进入这个场景
- */
- public static LOBBY = { name: 'lobby_new', bundle: ModuleDef.BALL };
- // public static LOBBY = { name: 'lobby', bundle: ModuleDef.BASIC };
- /**
- * @en create role scene, after login, if user has no role, will jump to this scene
- * @zh 创建角色场景,登录成功后如果没有创建过角色,会跳转到此场景
- **/
- public static CREATE_ROLE = { name: 'create_role', bundle: ModuleDef.BASIC };
- /**
- * @en game scene
- * @zh 游戏场景
- **/
- public static GAME = { name: 'game_normal', bundle: ModuleDef.GAME };
- /**
- * @en test scene
- * @zh 测试场景
- */
- public static GAME_LOCAL = { name: 'game_local', bundle: ModuleDef.GAME };
- }
|