| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- System.register(["cc", "cc/env"], function (_export, _context) {
- "use strict";
- var _cclegacy, buildTimeConstants, BuildTimeConstants, _crd, keys;
- _export("BuildTimeConstants", void 0);
- return {
- setters: [function (_cc) {
- _cclegacy = _cc.cclegacy;
- }, function (_ccEnv) {
- buildTimeConstants = _ccEnv;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "21a39/4HchJdJkSQKKKkLh9", "BuildTimeConstants", undefined);
- /*
- * @Author: dgflash
- * @Date: 2021-07-03 16:13:17
- * @LastEditors: dgflash
- * @LastEditTime: 2022-08-02 14:25:27
- */
- keys = Object.keys(buildTimeConstants).sort();
- /* 游戏运行环境 */
- _export("BuildTimeConstants", BuildTimeConstants = class BuildTimeConstants {
- constructor() {
- var keyNameMaxLen = keys.reduce((len, key) => Math.max(len, key.length), 0);
- var enviroment = "" + keys.map(key => {
- var value = buildTimeConstants[key];
- var valueRep = typeof value === 'boolean' ? value ? 'true' : 'false' : value;
- return "\n" + key.padStart(keyNameMaxLen, ' ') + " : " + valueRep;
- });
- console.log(enviroment);
- }
- });
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=92eeb16381d62c931237800f400917075801e719.js.map
|