123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
- "use strict";
- var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, TableUtil, _dec, _class, _class2, _crd, ccclass, property, table_idiom_unorder_2_2;
- function _reportPossibleCrUseOfTableUtil(extras) {
- _reporterNs.report("TableUtil", "./TableUtil", _context.meta, extras);
- }
- return {
- setters: [function (_unresolved_) {
- _reporterNs = _unresolved_;
- }, function (_cc) {
- _cclegacy = _cc.cclegacy;
- __checkObsolete__ = _cc.__checkObsolete__;
- __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
- _decorator = _cc._decorator;
- }, function (_unresolved_2) {
- TableUtil = _unresolved_2.TableUtil;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "54823q7ByBEUbgNpRVPsQMe", "table_idiom_unorder_2_3", undefined);
- __checkObsolete__(['_decorator', 'Component', 'Node']);
- ({
- ccclass,
- property
- } = _decorator);
- _export("table_idiom_unorder_2_2", table_idiom_unorder_2_2 = (_dec = ccclass('table_idiom_unorder_2_2'), _dec(_class = (_class2 = class table_idiom_unorder_2_2 {
- constructor() {
- this.data = void 0;
- /** 编号【KEY】 */
- this.id = 0;
- }
- static get(id) {
- return (_crd && TableUtil === void 0 ? (_reportPossibleCrUseOfTableUtil({
- error: Error()
- }), TableUtil) : TableUtil).getTable(table_idiom_unorder_2_2, id);
- }
- static getList() {
- return (_crd && TableUtil === void 0 ? (_reportPossibleCrUseOfTableUtil({
- error: Error()
- }), TableUtil) : TableUtil).getTables(table_idiom_unorder_2_2, 3846);
- }
- init(id) {
- var table = (_crd && TableUtil === void 0 ? (_reportPossibleCrUseOfTableUtil({
- error: Error()
- }), TableUtil) : TableUtil).get(table_idiom_unorder_2_2.TableName);
- this.data = table[id];
- if (!this.data) console.error("配置表" + table_idiom_unorder_2_2.TableName + "没有ID:" + id);
- this.id = id;
- }
- get idiom() {
- return this.data.idiom;
- }
- get idiom_type() {
- return this.data.idiom_type;
- }
- get difficulty() {
- return this.data.difficulty;
- }
- get piece_1_word() {
- return this.data.piece_1_word;
- }
- get piece_2_word() {
- return this.data.piece_2_word;
- }
- }, _class2.TableName = "idiom_order_2+2", _class2)) || _class));
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=d54814bad534b8ad722e75778baacd63a52d9bf8.js.map
|