System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5"], function (_export, _context) { "use strict"; var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, director, UI_Hall, gui, PlayerData, ch, get_new_head_icon, _dec, _class, _class2, _crd, ccclass, property, Hall; function _reportPossibleCrUseOfUI_Hall(extras) { _reporterNs.report("UI_Hall", "../module_game/ui/UI_Hall/UI_Hall", _context.meta, extras); } function _reportPossibleCrUseOfgui(extras) { _reporterNs.report("gui", "../core/ui/ui", _context.meta, extras); } function _reportPossibleCrUseOfPlayerData(extras) { _reporterNs.report("PlayerData", "../module_game/game/PlayerData", _context.meta, extras); } function _reportPossibleCrUseOfch(extras) { _reporterNs.report("ch", "../ch/ch", _context.meta, extras); } function _reportPossibleCrUseOfget_new_head_icon(extras) { _reporterNs.report("get_new_head_icon", "../core/util_class/HeadIcon", _context.meta, extras); } return { setters: [function (_unresolved_) { _reporterNs = _unresolved_; }, function (_cc) { _cclegacy = _cc.cclegacy; __checkObsolete__ = _cc.__checkObsolete__; __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__; _decorator = _cc._decorator; Component = _cc.Component; director = _cc.director; }, function (_unresolved_2) { UI_Hall = _unresolved_2.UI_Hall; }, function (_unresolved_3) { gui = _unresolved_3.gui; }, function (_unresolved_4) { PlayerData = _unresolved_4.default; }, function (_unresolved_5) { ch = _unresolved_5.ch; }, function (_unresolved_6) { get_new_head_icon = _unresolved_6.default; }], execute: function () { _crd = true; _cclegacy._RF.push({}, "7cb62YJXe5LPKnKF0hMl+Rc", "Hall", undefined); __checkObsolete__(['_decorator', 'Component', 'director', 'Node']); ({ ccclass, property } = _decorator); _export("Hall", Hall = (_dec = ccclass('Hall'), _dec(_class = (_class2 = class Hall extends Component { constructor(...args) { super(...args); this.player = void 0; this.head_icon = (_crd && get_new_head_icon === void 0 ? (_reportPossibleCrUseOfget_new_head_icon({ error: Error() }), get_new_head_icon) : get_new_head_icon)(); } static getInstance() { return Hall.instance; } start() { if (!Hall.instance) { Hall.instance = this; } (_crd && gui === void 0 ? (_reportPossibleCrUseOfgui({ error: Error() }), gui) : gui).show(_crd && UI_Hall === void 0 ? (_reportPossibleCrUseOfUI_Hall({ error: Error() }), UI_Hall) : UI_Hall); director.addPersistRootNode(this.node); this.init(); } async init() { this.player = (_crd && PlayerData === void 0 ? (_reportPossibleCrUseOfPlayerData({ error: Error() }), PlayerData) : PlayerData).getInstance((_crd && ch === void 0 ? (_reportPossibleCrUseOfch({ error: Error() }), ch) : ch).sdk.get_gid(), (_crd && ch === void 0 ? (_reportPossibleCrUseOfch({ error: Error() }), ch) : ch).sdk.get_uid().toString()); this.player.init_user_info(); await this.player.load(); } }, _class2.instance = void 0, _class2)) || _class)); _cclegacy._RF.pop(); _crd = false; } }; }); //# sourceMappingURL=24a83a22cc223ec58481e36c4a55a5226e7d02c6.js.map