dcadec62-2459-406f-99ca-624159b86be8.js 2.19 KB
"use strict";
cc._RF.push(module, 'dcadexiJFlAb5nKYkFZuGvo', 'GameConfig');
// script/GameConfig.ts

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GameConfig = exports.channel = void 0;
const simba_sdk_1 = require("simba-sdk");
const simba_httpclient_1 = require("simba-httpclient");
const simba_sdk_dummy_1 = require("simba-sdk-dummy");
// import SDKImpl from "simba-sdk-wechat";
exports.channel = simba_sdk_dummy_1.default.channel;
var GameConfig;
(function (GameConfig) {
    GameConfig.debug = true;
    GameConfig.showFPS = true;
    GameConfig.showDebugTool = true;
    GameConfig.useLocalTime = false;
    /**是否每次登录都执行清档操作 */
    GameConfig.EMPTY_RECORD_WHEN_LOGIN = false;
    GameConfig.gameId = "yybs";
    GameConfig.gameName = "吸血鬼";
    GameConfig.shareConfigUrl = `https://cdn-yybs.icesimba.com/${GameConfig.debug ? "dev" : "release"}/${exports.channel}/config/share_config_1.json`;
    GameConfig.commonProblemConfigUrl = `https://cdn-yybs.icesimba.com/${GameConfig.debug ? "dev" : "release"}/${exports.channel}/config/common_problem_config.json`;
    GameConfig.iwpServerUrl = new simba_httpclient_1.HttpClient("https://iwppublic.icesimba.cn");
    GameConfig.gameServer = new simba_httpclient_1.HttpClient(GameConfig.debug ? "https://maple-test.icesimba.cn" : "https://maple.icesimba.cn");
    GameConfig.cdnUrl = exports.channel === "dummy" ? `https://cdn-yybs.icesimba.com/${GameConfig.debug ? "dev" : "release"}/${exports.channel}` : `https://cdn-yybs.icesimba.com/${GameConfig.debug ? "dev" : "release"}/${exports.channel}`;
    GameConfig.cdnServer = new simba_httpclient_1.HttpClient(GameConfig.cdnUrl);
    GameConfig.gameVersion = "1.5.5";
    GameConfig.youZanShopAppId = "wx69cf18f68e094c9f";
    GameConfig.showToBeContinue = false;
    GameConfig.isVerb = false;
    GameConfig.channelConfig = {
        wechat: {
            rewaredVideoAdId: "adunit-91af433af89892cd",
            interstitialAdId: "adunit-965d8f03120cb661",
            bannerAdId: "adunit-b2080caaf32d3747"
        },
    };
})(GameConfig = exports.GameConfig || (exports.GameConfig = {}));
simba_sdk_1.setSDKConfig(GameConfig, simba_sdk_dummy_1.default);

cc._RF.pop();