123456789101112131415161718192021222324252627282930313233343536 |
- "use strict";
- cc._RF.push(module, '82170GQVj9Px4eVsOADiKWr', 'ServerInfo');
- // Script/Framework/Config/ServerInfo.ts
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.ServerInfo = exports.EBuildVersion = exports.EPlatform = void 0;
- var EPlatform;
- (function (EPlatform) {
- EPlatform[EPlatform["Web"] = 0] = "Web";
- })(EPlatform = exports.EPlatform || (exports.EPlatform = {}));
- var EBuildVersion;
- (function (EBuildVersion) {
- EBuildVersion[EBuildVersion["Debug"] = 0] = "Debug";
- EBuildVersion[EBuildVersion["Release"] = 1] = "Release";
- })(EBuildVersion = exports.EBuildVersion || (exports.EBuildVersion = {}));
- var ServerInfo = /** @class */ (function () {
- function ServerInfo() {
- this.platform = EPlatform.Web;
- this.buildVersion = EBuildVersion.Debug;
- }
- Object.defineProperty(ServerInfo.prototype, "isRelease", {
- get: function () {
- if (this.buildVersion == EBuildVersion.Release)
- return true;
- else
- return false;
- },
- enumerable: false,
- configurable: true
- });
- return ServerInfo;
- }());
- exports.ServerInfo = ServerInfo;
- cc._RF.pop();
|