31f21e9610b2e754c9705fb8b4947b7629eba3ec.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  1. System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3"], function (_export, _context) {
  2. "use strict";
  3. var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, director, Enum, Node, ch, loadType, ch_sdk_comp, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _crd, ccclass, property, pack, ch_start_pack;
  4. function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
  5. function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
  6. function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
  7. function _reportPossibleCrUseOfch(extras) {
  8. _reporterNs.report("ch", "../ch", _context.meta, extras);
  9. }
  10. function _reportPossibleCrUseOfloadType(extras) {
  11. _reporterNs.report("loadType", "../audio/audio", _context.meta, extras);
  12. }
  13. function _reportPossibleCrUseOfch_sdk_comp(extras) {
  14. _reporterNs.report("ch_sdk_comp", "./ch_sdk_comp", _context.meta, extras);
  15. }
  16. return {
  17. setters: [function (_unresolved_) {
  18. _reporterNs = _unresolved_;
  19. }, function (_cc) {
  20. _cclegacy = _cc.cclegacy;
  21. __checkObsolete__ = _cc.__checkObsolete__;
  22. __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
  23. _decorator = _cc._decorator;
  24. Component = _cc.Component;
  25. director = _cc.director;
  26. Enum = _cc.Enum;
  27. Node = _cc.Node;
  28. }, function (_unresolved_2) {
  29. ch = _unresolved_2.ch;
  30. }, function (_unresolved_3) {
  31. loadType = _unresolved_3.loadType;
  32. }, function (_unresolved_4) {
  33. ch_sdk_comp = _unresolved_4.ch_sdk_comp;
  34. }],
  35. execute: function () {
  36. _crd = true;
  37. _cclegacy._RF.push({}, "4aa63NubuJJqLakcBFHXiHV", "ch_start_pack", undefined);
  38. __checkObsolete__(['_decorator', 'Component', 'director', 'Enum', 'Node']);
  39. ({
  40. ccclass,
  41. property
  42. } = _decorator);
  43. /**包id*/
  44. _export("pack", pack = /*#__PURE__*/function (pack) {
  45. pack[pack["id0"] = 0] = "id0";
  46. pack[pack["id1"] = 1] = "id1";
  47. pack[pack["id2"] = 2] = "id2";
  48. pack[pack["id3"] = 3] = "id3";
  49. pack[pack["id4"] = 4] = "id4";
  50. pack[pack["id5"] = 5] = "id5";
  51. pack[pack["id6"] = 6] = "id6";
  52. pack[pack["id7"] = 7] = "id7";
  53. pack[pack["id8"] = 8] = "id8";
  54. pack[pack["id9"] = 9] = "id9";
  55. return pack;
  56. }({}));
  57. _export("ch_start_pack", ch_start_pack = (_dec = ccclass('ch_start_pack'), _dec2 = property({
  58. visible: false
  59. }), _dec3 = property({
  60. visible: false
  61. }), _dec4 = property({
  62. visible: false
  63. }), _dec5 = property({
  64. visible: false
  65. }), _dec6 = property({
  66. visible: false
  67. }), _dec7 = property({
  68. visible: false
  69. }), _dec8 = property({
  70. visible: false
  71. }), _dec9 = property({
  72. visible: false
  73. }), _dec10 = property({
  74. visible: false
  75. }), _dec11 = property({
  76. visible: false
  77. }), _dec12 = property({
  78. visible: false
  79. }), _dec13 = property({
  80. visible: false
  81. }), _dec14 = property({
  82. visible: false
  83. }), _dec15 = property({
  84. visible: false
  85. }), _dec16 = property({
  86. type: Enum(pack),
  87. displayName: '包id',
  88. group: {
  89. name: '选包',
  90. id: 'pack',
  91. displayOrder: 0
  92. }
  93. }), _dec17 = property({
  94. displayName: '游戏名',
  95. group: {
  96. name: '选包',
  97. id: 'pack',
  98. displayOrder: 0
  99. }
  100. }), _dec18 = property({
  101. displayName: '游戏id',
  102. group: {
  103. name: '选包',
  104. id: 'pack',
  105. displayOrder: 0
  106. }
  107. }), _dec19 = property({
  108. displayName: '是否单机',
  109. group: {
  110. name: 'ch.sdk模块',
  111. id: 'sdk',
  112. displayOrder: 0
  113. }
  114. }), _dec20 = property({
  115. type: Enum(chsdk.serverType),
  116. displayName: '服务器地址',
  117. visible: function () {
  118. return !this.is_local;
  119. },
  120. group: {
  121. name: 'ch.sdk模块',
  122. id: 'sdk',
  123. displayOrder: 0
  124. },
  125. tooltip: "local 局域网 \n dev 测试服 \n online 正式服"
  126. }), _dec21 = property({
  127. displayName: '本地服测试ip',
  128. visible: function () {
  129. return this.server == chsdk.serverType.test;
  130. },
  131. group: {
  132. name: 'ch.sdk模块',
  133. id: 'sdk',
  134. displayOrder: 0
  135. }
  136. }), _dec22 = property({
  137. type: Enum(chsdk.reportType),
  138. displayName: '上报类型',
  139. group: {
  140. name: '基本参数',
  141. id: 'sdk',
  142. displayOrder: 0
  143. },
  144. tooltip: "off 不上报 \n ch 使用ch服务器(需要在ch后台配置事件) \n platform 使用微信/抖音平台(需要在平台后台设置事件)\nch__platflorm所有平台自定义事件都上报"
  145. }), _dec23 = property({
  146. type: Enum(chsdk.loglevel),
  147. displayName: '日志等级',
  148. group: {
  149. name: '基本参数',
  150. id: 'sdk',
  151. displayOrder: 0
  152. }
  153. }), _dec24 = property({
  154. displayName: '抖音奖励广告id',
  155. group: {
  156. name: '基本参数',
  157. id: 'sdk',
  158. displayOrder: 0
  159. }
  160. }), _dec25 = property({
  161. displayName: '抖音插屏广告id',
  162. group: {
  163. name: '基本参数',
  164. id: 'sdk',
  165. displayOrder: 0
  166. }
  167. }), _dec26 = property({
  168. displayName: '抖音订阅id(,隔开)',
  169. group: {
  170. name: '基本参数',
  171. id: 'sdk',
  172. displayOrder: 0
  173. }
  174. }), _dec27 = property({
  175. displayName: '微信奖励广告id',
  176. group: {
  177. name: '基本参数',
  178. id: 'sdk',
  179. displayOrder: 0
  180. }
  181. }), _dec28 = property({
  182. displayName: '微信插屏广告id',
  183. group: {
  184. name: '基本参数',
  185. id: 'sdk',
  186. displayOrder: 0
  187. }
  188. }), _dec29 = property({
  189. displayName: '微信订阅id(,隔开)',
  190. group: {
  191. name: '基本参数',
  192. id: 'sdk',
  193. displayOrder: 0
  194. }
  195. }), _dec30 = property({
  196. visible: false
  197. }), _dec31 = property({
  198. type: Enum(_crd && loadType === void 0 ? (_reportPossibleCrUseOfloadType({
  199. error: Error()
  200. }), loadType) : loadType),
  201. visible: false
  202. }), _dec32 = property({
  203. displayName: '是否使用ch.audio模块',
  204. group: {
  205. name: 'ch.audio模块',
  206. id: 'audio',
  207. displayOrder: 1
  208. }
  209. }), _dec33 = property({
  210. type: Enum(_crd && loadType === void 0 ? (_reportPossibleCrUseOfloadType({
  211. error: Error()
  212. }), loadType) : loadType),
  213. displayName: '音频资源加载模式',
  214. group: {
  215. name: 'ch.audio模块',
  216. id: 'audio',
  217. displayOrder: 1
  218. },
  219. visible: function () {
  220. return this._use_ch_audio;
  221. }
  222. }), _dec34 = property({
  223. displayName: '音频资源默认bundle名',
  224. group: {
  225. name: 'ch.audio模块',
  226. id: 'audio',
  227. displayOrder: 1
  228. },
  229. visible: function () {
  230. return this._use_ch_audio && this._ch_audio_type == (_crd && loadType === void 0 ? (_reportPossibleCrUseOfloadType({
  231. error: Error()
  232. }), loadType) : loadType).bundle;
  233. }
  234. }), _dec35 = property({
  235. displayName: '音频资源远程地址',
  236. group: {
  237. name: 'ch.audio模块',
  238. id: 'audio',
  239. displayOrder: 1
  240. },
  241. visible: function () {
  242. return this._use_ch_audio && this._ch_audio_type == (_crd && loadType === void 0 ? (_reportPossibleCrUseOfloadType({
  243. error: Error()
  244. }), loadType) : loadType).remote;
  245. }
  246. }), _dec(_class = (_class2 = class ch_start_pack extends Component {
  247. constructor(...args) {
  248. super(...args);
  249. _initializerDefineProperty(this, "_gname", _descriptor, this);
  250. _initializerDefineProperty(this, "_gid", _descriptor2, this);
  251. _initializerDefineProperty(this, "_is_local", _descriptor3, this);
  252. _initializerDefineProperty(this, "_server", _descriptor4, this);
  253. _initializerDefineProperty(this, "_report", _descriptor5, this);
  254. _initializerDefineProperty(this, "_log", _descriptor6, this);
  255. _initializerDefineProperty(this, "_ttad", _descriptor7, this);
  256. _initializerDefineProperty(this, "_ttiad", _descriptor8, this);
  257. _initializerDefineProperty(this, "_tttmpid", _descriptor9, this);
  258. _initializerDefineProperty(this, "_wxad", _descriptor10, this);
  259. _initializerDefineProperty(this, "_wxiad", _descriptor11, this);
  260. _initializerDefineProperty(this, "_wxtmpid", _descriptor12, this);
  261. _initializerDefineProperty(this, "_serverIP", _descriptor13, this);
  262. _initializerDefineProperty(this, "_pid", _descriptor14, this);
  263. //
  264. _initializerDefineProperty(this, "_use_ch_audio", _descriptor15, this);
  265. _initializerDefineProperty(this, "_ch_audio_type", _descriptor16, this);
  266. _initializerDefineProperty(this, "sound_bundle", _descriptor17, this);
  267. _initializerDefineProperty(this, "sound_url", _descriptor18, this);
  268. }
  269. get pid() {
  270. return this._pid;
  271. }
  272. set pid(val) {
  273. this._pid = val;
  274. for (let i = 0; i <= this._pid; i++) {
  275. var _this$_gname, _i, _this$_gname$_i, _this$_is_local, _i2, _this$_is_local$_i, _this$_is_local2, _this$_gid, _i3, _this$_gid$_i, _this$_gid2, _this$_server, _i4, _this$_server$_i, _this$_server2, _this$_report, _i5, _this$_report$_i, _this$_report2, _this$_log, _i6, _this$_log$_i, _this$_log2, _this$_ttad, _i7, _this$_ttad$_i, _this$_ttiad, _i8, _this$_ttiad$_i, _this$_tttmpid, _i9, _this$_tttmpid$_i, _this$_wxad, _i10, _this$_wxad$_i, _this$_wxiad, _i11, _this$_wxiad$_i, _this$_wxtmpid, _i12, _this$_wxtmpid$_i, _this$_serverIP, _i13, _this$_serverIP$_i;
  276. (_this$_gname$_i = (_this$_gname = this._gname)[_i = i]) != null ? _this$_gname$_i : _this$_gname[_i] = '';
  277. (_this$_is_local$_i = (_this$_is_local = this._is_local)[_i2 = i]) != null ? _this$_is_local$_i : _this$_is_local[_i2] = (_this$_is_local2 = this._is_local[i - 1]) != null ? _this$_is_local2 : true;
  278. (_this$_gid$_i = (_this$_gid = this._gid)[_i3 = i]) != null ? _this$_gid$_i : _this$_gid[_i3] = (_this$_gid2 = this._gid[i - 1]) != null ? _this$_gid2 : '0';
  279. (_this$_server$_i = (_this$_server = this._server)[_i4 = i]) != null ? _this$_server$_i : _this$_server[_i4] = (_this$_server2 = this._server[i - 1]) != null ? _this$_server2 : chsdk.serverType.online;
  280. (_this$_report$_i = (_this$_report = this._report)[_i5 = i]) != null ? _this$_report$_i : _this$_report[_i5] = (_this$_report2 = this._report[i - 1]) != null ? _this$_report2 : chsdk.reportType.off;
  281. (_this$_log$_i = (_this$_log = this._log)[_i6 = i]) != null ? _this$_log$_i : _this$_log[_i6] = (_this$_log2 = this._log[i - 1]) != null ? _this$_log2 : chsdk.loglevel.DEBUG;
  282. (_this$_ttad$_i = (_this$_ttad = this._ttad)[_i7 = i]) != null ? _this$_ttad$_i : _this$_ttad[_i7] = '';
  283. (_this$_ttiad$_i = (_this$_ttiad = this._ttiad)[_i8 = i]) != null ? _this$_ttiad$_i : _this$_ttiad[_i8] = '';
  284. (_this$_tttmpid$_i = (_this$_tttmpid = this._tttmpid)[_i9 = i]) != null ? _this$_tttmpid$_i : _this$_tttmpid[_i9] = '';
  285. (_this$_wxad$_i = (_this$_wxad = this._wxad)[_i10 = i]) != null ? _this$_wxad$_i : _this$_wxad[_i10] = '';
  286. (_this$_wxiad$_i = (_this$_wxiad = this._wxiad)[_i11 = i]) != null ? _this$_wxiad$_i : _this$_wxiad[_i11] = '';
  287. (_this$_wxtmpid$_i = (_this$_wxtmpid = this._wxtmpid)[_i12 = i]) != null ? _this$_wxtmpid$_i : _this$_wxtmpid[_i12] = '';
  288. (_this$_serverIP$_i = (_this$_serverIP = this._serverIP)[_i13 = i]) != null ? _this$_serverIP$_i : _this$_serverIP[_i13] = 'http://192.168.1.120:8787/v1';
  289. }
  290. }
  291. get gname() {
  292. var _this$_gname$this$_pi;
  293. return (_this$_gname$this$_pi = this._gname[this._pid]) != null ? _this$_gname$this$_pi : '';
  294. }
  295. set gname(val) {
  296. this._gname[this._pid] = val;
  297. }
  298. get gid() {
  299. return this._gid[this._pid];
  300. }
  301. set gid(val) {
  302. this._gid[this._pid] = val;
  303. } //
  304. get is_local() {
  305. return this._is_local[this._pid];
  306. }
  307. set is_local(val) {
  308. this._is_local[this._pid] = val;
  309. } //
  310. get server() {
  311. return this._server[this._pid];
  312. }
  313. set server(val) {
  314. this._server[this._pid] = val;
  315. }
  316. get serverIP() {
  317. return this._serverIP[this._pid];
  318. }
  319. set serverIP(val) {
  320. this._serverIP[this._pid] = val;
  321. }
  322. get report() {
  323. return this._report[this._pid];
  324. }
  325. set report(val) {
  326. this._report[this._pid] = val;
  327. }
  328. get log() {
  329. return this._log[this._pid];
  330. }
  331. set log(val) {
  332. this._log[this._pid] = val;
  333. } //
  334. get ttad() {
  335. return this._ttad[this._pid];
  336. }
  337. set ttad(val) {
  338. this._ttad[this._pid] = val;
  339. }
  340. get ttiad() {
  341. return this._ttiad[this._pid];
  342. }
  343. set ttiad(val) {
  344. this._ttiad[this._pid] = val;
  345. }
  346. get tttmpid() {
  347. return this._tttmpid[this._pid];
  348. }
  349. set tttmpid(val) {
  350. this._tttmpid[this._pid] = val;
  351. }
  352. get wxad() {
  353. return this._wxad[this._pid];
  354. }
  355. set wxad(val) {
  356. this._wxad[this._pid] = val;
  357. }
  358. get wxiad() {
  359. return this._wxiad[this._pid];
  360. }
  361. set wxiad(val) {
  362. this._wxiad[this._pid] = val;
  363. }
  364. get wxtmpid() {
  365. return this._wxtmpid[this._pid];
  366. }
  367. set wxtmpid(val) {
  368. this._wxtmpid[this._pid] = val;
  369. }
  370. get use_ch_audio() {
  371. return this._use_ch_audio;
  372. }
  373. set use_ch_audio(val) {
  374. this._use_ch_audio = val;
  375. }
  376. get sount_load_type() {
  377. return this._ch_audio_type;
  378. }
  379. set sount_load_type(val) {
  380. this._ch_audio_type = val;
  381. }
  382. onLoad() {
  383. console.log('包Id:' + this.pid, '游戏名:' + this.gname, '游戏Id:' + this.gid, '单机:' + this.is_local, '服务器:' + chsdk.serverType[this.server]);
  384. }
  385. /**初始化*/
  386. async init() {
  387. chsdk.setConf(chsdk.pf.tt, {
  388. adUnitId: this.ttad,
  389. multiton: false,
  390. inster_unitId: this.ttiad,
  391. tmplIds: this.tttmpid ? this.tttmpid.split(',') : null
  392. });
  393. chsdk.setConf(chsdk.pf.wx, {
  394. adUnitId: this.wxad,
  395. multiton: false,
  396. inster_unitId: this.wxiad,
  397. tmplIds: this.wxtmpid ? this.wxtmpid.split(',') : null
  398. });
  399. let ret = await chsdk.init_inside(this.gid, this.log, this.server == chsdk.serverType.test ? this.serverIP : this.server, this.is_local, this.report);
  400. if (ret.code == chsdk.code.success) {
  401. if (this.use_ch_audio) {
  402. (_crd && ch === void 0 ? (_reportPossibleCrUseOfch({
  403. error: Error()
  404. }), ch) : ch).audio.init(this.sount_load_type, this.sound_bundle, this.sound_url);
  405. }
  406. if (chsdk.get_pf() === chsdk.pf.web) {
  407. const sdk = new Node();
  408. sdk.name = '__ch_sdk__';
  409. sdk.addComponent(_crd && ch_sdk_comp === void 0 ? (_reportPossibleCrUseOfch_sdk_comp({
  410. error: Error()
  411. }), ch_sdk_comp) : ch_sdk_comp);
  412. director.getScene().addChild(sdk);
  413. director.addPersistRootNode(sdk);
  414. }
  415. return true;
  416. } else {
  417. chsdk.log.error(ret.err);
  418. return false;
  419. }
  420. }
  421. /**初化始并在遇到问题时以单机模式进入
  422. * @param try_count 重试次数
  423. * @param try_interval 重试间隔时间(MS)
  424. */
  425. async try_init(try_count = 5, try_interval = 2000) {
  426. let ret = await this.init();
  427. if (ret) return;
  428. try_count--;
  429. if (try_count < 0) {
  430. this.is_local = true;
  431. await this.init();
  432. return;
  433. } else {
  434. await new Promise(resolve => setTimeout(resolve, try_interval));
  435. return this.try_init(try_count, try_interval);
  436. }
  437. }
  438. }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "_gname", [_dec2], {
  439. configurable: true,
  440. enumerable: true,
  441. writable: true,
  442. initializer: function () {
  443. return [];
  444. }
  445. }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "_gid", [_dec3], {
  446. configurable: true,
  447. enumerable: true,
  448. writable: true,
  449. initializer: function () {
  450. return [];
  451. }
  452. }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "_is_local", [_dec4], {
  453. configurable: true,
  454. enumerable: true,
  455. writable: true,
  456. initializer: function () {
  457. return [];
  458. }
  459. }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "_server", [_dec5], {
  460. configurable: true,
  461. enumerable: true,
  462. writable: true,
  463. initializer: function () {
  464. return [chsdk.serverType.dev];
  465. }
  466. }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "_report", [_dec6], {
  467. configurable: true,
  468. enumerable: true,
  469. writable: true,
  470. initializer: function () {
  471. return [chsdk.reportType.off];
  472. }
  473. }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "_log", [_dec7], {
  474. configurable: true,
  475. enumerable: true,
  476. writable: true,
  477. initializer: function () {
  478. return [];
  479. }
  480. }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "_ttad", [_dec8], {
  481. configurable: true,
  482. enumerable: true,
  483. writable: true,
  484. initializer: function () {
  485. return [];
  486. }
  487. }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "_ttiad", [_dec9], {
  488. configurable: true,
  489. enumerable: true,
  490. writable: true,
  491. initializer: function () {
  492. return [];
  493. }
  494. }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "_tttmpid", [_dec10], {
  495. configurable: true,
  496. enumerable: true,
  497. writable: true,
  498. initializer: function () {
  499. return [];
  500. }
  501. }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "_wxad", [_dec11], {
  502. configurable: true,
  503. enumerable: true,
  504. writable: true,
  505. initializer: function () {
  506. return [];
  507. }
  508. }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "_wxiad", [_dec12], {
  509. configurable: true,
  510. enumerable: true,
  511. writable: true,
  512. initializer: function () {
  513. return [];
  514. }
  515. }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "_wxtmpid", [_dec13], {
  516. configurable: true,
  517. enumerable: true,
  518. writable: true,
  519. initializer: function () {
  520. return [];
  521. }
  522. }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "_serverIP", [_dec14], {
  523. configurable: true,
  524. enumerable: true,
  525. writable: true,
  526. initializer: function () {
  527. return [];
  528. }
  529. }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "_pid", [_dec15], {
  530. configurable: true,
  531. enumerable: true,
  532. writable: true,
  533. initializer: function () {
  534. return pack.id0;
  535. }
  536. }), _applyDecoratedDescriptor(_class2.prototype, "pid", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, "pid"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "gname", [_dec17], Object.getOwnPropertyDescriptor(_class2.prototype, "gname"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "gid", [_dec18], Object.getOwnPropertyDescriptor(_class2.prototype, "gid"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "is_local", [_dec19], Object.getOwnPropertyDescriptor(_class2.prototype, "is_local"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "server", [_dec20], Object.getOwnPropertyDescriptor(_class2.prototype, "server"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "serverIP", [_dec21], Object.getOwnPropertyDescriptor(_class2.prototype, "serverIP"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "report", [_dec22], Object.getOwnPropertyDescriptor(_class2.prototype, "report"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "log", [_dec23], Object.getOwnPropertyDescriptor(_class2.prototype, "log"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "ttad", [_dec24], Object.getOwnPropertyDescriptor(_class2.prototype, "ttad"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "ttiad", [_dec25], Object.getOwnPropertyDescriptor(_class2.prototype, "ttiad"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "tttmpid", [_dec26], Object.getOwnPropertyDescriptor(_class2.prototype, "tttmpid"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "wxad", [_dec27], Object.getOwnPropertyDescriptor(_class2.prototype, "wxad"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "wxiad", [_dec28], Object.getOwnPropertyDescriptor(_class2.prototype, "wxiad"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "wxtmpid", [_dec29], Object.getOwnPropertyDescriptor(_class2.prototype, "wxtmpid"), _class2.prototype), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "_use_ch_audio", [_dec30], {
  537. configurable: true,
  538. enumerable: true,
  539. writable: true,
  540. initializer: function () {
  541. return false;
  542. }
  543. }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "_ch_audio_type", [_dec31], {
  544. configurable: true,
  545. enumerable: true,
  546. writable: true,
  547. initializer: function () {
  548. return (_crd && loadType === void 0 ? (_reportPossibleCrUseOfloadType({
  549. error: Error()
  550. }), loadType) : loadType).bundle;
  551. }
  552. }), _applyDecoratedDescriptor(_class2.prototype, "use_ch_audio", [_dec32], Object.getOwnPropertyDescriptor(_class2.prototype, "use_ch_audio"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "sount_load_type", [_dec33], Object.getOwnPropertyDescriptor(_class2.prototype, "sount_load_type"), _class2.prototype), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "sound_bundle", [_dec34], {
  553. configurable: true,
  554. enumerable: true,
  555. writable: true,
  556. initializer: function () {
  557. return 'res';
  558. }
  559. }), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "sound_url", [_dec35], {
  560. configurable: true,
  561. enumerable: true,
  562. writable: true,
  563. initializer: function () {
  564. return '';
  565. }
  566. })), _class2)) || _class));
  567. _cclegacy._RF.pop();
  568. _crd = false;
  569. }
  570. };
  571. });
  572. //# sourceMappingURL=31f21e9610b2e754c9705fb8b4947b7629eba3ec.js.map