ee0f22602c2f0e87be35e687a338ab67ed42e953.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
  2. "use strict";
  3. var _reporterNs, _cclegacy, LayerType, _crd, UIID, UIConfigData;
  4. function _reportPossibleCrUseOfLayerType(extras) {
  5. _reporterNs.report("LayerType", "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager", _context.meta, extras);
  6. }
  7. function _reportPossibleCrUseOfUIConfig(extras) {
  8. _reporterNs.report("UIConfig", "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager", _context.meta, extras);
  9. }
  10. return {
  11. setters: [function (_unresolved_) {
  12. _reporterNs = _unresolved_;
  13. }, function (_cc) {
  14. _cclegacy = _cc.cclegacy;
  15. }, function (_unresolved_2) {
  16. LayerType = _unresolved_2.LayerType;
  17. }],
  18. execute: function () {
  19. _crd = true;
  20. _cclegacy._RF.push({}, "14663z2+5JJIYupyDayZnc3", "GameUIConfig", undefined);
  21. /*
  22. * @Date: 2021-08-12 09:33:37
  23. * @LastEditors: mojunshou 1637302775@qq.com
  24. * @LastEditTime: 2025-02-27 16:15:55
  25. */
  26. /** 界面唯一标识(方便服务器通过编号数据触发界面打开) */
  27. _export("UIID", UIID = /*#__PURE__*/function (UIID) {
  28. UIID[UIID["Loading"] = 1] = "Loading";
  29. UIID[UIID["Alert"] = 2] = "Alert";
  30. UIID[UIID["Confirm"] = 3] = "Confirm";
  31. UIID[UIID["Demo"] = 4] = "Demo";
  32. UIID[UIID["Start"] = 5] = "Start";
  33. UIID[UIID["Game"] = 6] = "Game";
  34. return UIID;
  35. }({}));
  36. /** 打开界面方式的配置数据 */
  37. _export("UIConfigData", UIConfigData = {
  38. [UIID.Loading]: {
  39. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  40. error: Error()
  41. }), LayerType) : LayerType).UI,
  42. prefab: "gui/loading/loading"
  43. },
  44. [UIID.Alert]: {
  45. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  46. error: Error()
  47. }), LayerType) : LayerType).Dialog,
  48. prefab: "common/prefab/alert"
  49. },
  50. [UIID.Confirm]: {
  51. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  52. error: Error()
  53. }), LayerType) : LayerType).Dialog,
  54. prefab: "common/prefab/confirm"
  55. },
  56. [UIID.Demo]: {
  57. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  58. error: Error()
  59. }), LayerType) : LayerType).UI,
  60. prefab: "gui/demo/demo"
  61. },
  62. [UIID.Start]: {
  63. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  64. error: Error()
  65. }), LayerType) : LayerType).UI,
  66. prefab: "gui/start/start"
  67. },
  68. [UIID.Game]: {
  69. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  70. error: Error()
  71. }), LayerType) : LayerType).UI,
  72. prefab: "gui/game/game"
  73. }
  74. });
  75. _cclegacy._RF.pop();
  76. _crd = false;
  77. }
  78. };
  79. });
  80. //# sourceMappingURL=ee0f22602c2f0e87be35e687a338ab67ed42e953.js.map