| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
- "use strict";
- var _reporterNs, _cclegacy, LayerType, _crd, UIID, UIConfigData;
- function _reportPossibleCrUseOfLayerType(extras) {
- _reporterNs.report("LayerType", "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager", _context.meta, extras);
- }
- function _reportPossibleCrUseOfUIConfig(extras) {
- _reporterNs.report("UIConfig", "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager", _context.meta, extras);
- }
- return {
- setters: [function (_unresolved_) {
- _reporterNs = _unresolved_;
- }, function (_cc) {
- _cclegacy = _cc.cclegacy;
- }, function (_unresolved_2) {
- LayerType = _unresolved_2.LayerType;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "14663z2+5JJIYupyDayZnc3", "GameUIConfig", undefined);
- /*
- * @Date: 2021-08-12 09:33:37
- * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-03-14 18:16:14
- * @desc:游戏界面场景控制
- */
- /** 界面唯一标识(方便服务器通过编号数据触发界面打开) */
- _export("UIID", UIID = /*#__PURE__*/function (UIID) {
- UIID[UIID["Loading"] = 1] = "Loading";
- UIID[UIID["Alert"] = 2] = "Alert";
- UIID[UIID["Confirm"] = 3] = "Confirm";
- UIID[UIID["Demo"] = 4] = "Demo";
- UIID[UIID["Start"] = 5] = "Start";
- UIID[UIID["Game"] = 6] = "Game";
- UIID[UIID["Setting"] = 7] = "Setting";
- UIID[UIID["GameOver"] = 8] = "GameOver";
- return UIID;
- }({}));
- /** 打开界面方式的配置数据 */
- _export("UIConfigData", UIConfigData = {
- [UIID.Loading]: {
- layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
- error: Error()
- }), LayerType) : LayerType).UI,
- prefab: "gui/loading/loading"
- },
- [UIID.Alert]: {
- layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
- error: Error()
- }), LayerType) : LayerType).Dialog,
- prefab: "common/prefab/alert"
- },
- [UIID.Confirm]: {
- layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
- error: Error()
- }), LayerType) : LayerType).Dialog,
- prefab: "common/prefab/confirm"
- },
- [UIID.Demo]: {
- layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
- error: Error()
- }), LayerType) : LayerType).UI,
- prefab: "gui/demo/demo"
- },
- [UIID.Start]: {
- layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
- error: Error()
- }), LayerType) : LayerType).UI,
- prefab: "gui/start/start"
- },
- [UIID.Game]: {
- layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
- error: Error()
- }), LayerType) : LayerType).UI,
- prefab: "gui/eliminate/eliminate"
- },
- [UIID.Setting]: {
- layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
- error: Error()
- }), LayerType) : LayerType).PopUp,
- prefab: "common/prefab/setting"
- },
- [UIID.GameOver]: {
- layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
- error: Error()
- }), LayerType) : LayerType).UI,
- prefab: "gui/eliminate/prefabs/GameOver"
- }
- });
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=ee0f22602c2f0e87be35e687a338ab67ed42e953.js.map
|