|
|
@@ -5705,7 +5705,7 @@ cc._RF.pop();
|
|
|
"./module/CashProData": "CashProData",
|
|
|
"./module/FissionData": "FissionData",
|
|
|
"./module/HelpData": "HelpData",
|
|
|
-"./module/MoreGameData": void 0,
|
|
|
+"./module/MoreGameData": "MoreGameData",
|
|
|
"./module/PigBankData": "PigBankData",
|
|
|
"./module/ReceiptNoticeData": "ReceiptNoticeData",
|
|
|
"./module/RedBagCashData": "RedBagCashData",
|
|
|
@@ -7838,6 +7838,328 @@ cc._RF.pop();
|
|
|
"./MoreGamePicItem": "MoreGamePicItem",
|
|
|
"./PointItem": "PointItem"
|
|
|
} ],
|
|
|
+MoreGameData: [ function(t, e, n) {
|
|
|
+"use strict";
|
|
|
+cc._RF.push(e, "ecbc8fNcjZNNYvilAODW4lX", "MoreGameData");
|
|
|
+var o, i = this && this.__extends || (o = function(t, e) {
|
|
|
+return (o = Object.setPrototypeOf || {
|
|
|
+__proto__: []
|
|
|
+} instanceof Array && function(t, e) {
|
|
|
+t.__proto__ = e;
|
|
|
+} || function(t, e) {
|
|
|
+for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
|
+})(t, e);
|
|
|
+}, function(t, e) {
|
|
|
+o(t, e);
|
|
|
+function n() {
|
|
|
+this.constructor = t;
|
|
|
+}
|
|
|
+t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, new n());
|
|
|
+}), r = this && this.__awaiter || function(t, e, n, o) {
|
|
|
+return new (n || (n = Promise))(function(i, r) {
|
|
|
+function a(t) {
|
|
|
+try {
|
|
|
+s(o.next(t));
|
|
|
+} catch (t) {
|
|
|
+r(t);
|
|
|
+}
|
|
|
+}
|
|
|
+function c(t) {
|
|
|
+try {
|
|
|
+s(o.throw(t));
|
|
|
+} catch (t) {
|
|
|
+r(t);
|
|
|
+}
|
|
|
+}
|
|
|
+function s(t) {
|
|
|
+t.done ? i(t.value) : (e = t.value, e instanceof n ? e : new n(function(t) {
|
|
|
+t(e);
|
|
|
+})).then(a, c);
|
|
|
+var e;
|
|
|
+}
|
|
|
+s((o = o.apply(t, e || [])).next());
|
|
|
+});
|
|
|
+}, a = this && this.__generator || function(t, e) {
|
|
|
+var n, o, i, r, a = {
|
|
|
+label: 0,
|
|
|
+sent: function() {
|
|
|
+if (1 & i[0]) throw i[1];
|
|
|
+return i[1];
|
|
|
+},
|
|
|
+trys: [],
|
|
|
+ops: []
|
|
|
+};
|
|
|
+return r = {
|
|
|
+next: c(0),
|
|
|
+throw: c(1),
|
|
|
+return: c(2)
|
|
|
+}, "function" == typeof Symbol && (r[Symbol.iterator] = function() {
|
|
|
+return this;
|
|
|
+}), r;
|
|
|
+function c(t) {
|
|
|
+return function(e) {
|
|
|
+return s([ t, e ]);
|
|
|
+};
|
|
|
+}
|
|
|
+function s(r) {
|
|
|
+if (n) throw new TypeError("Generator is already executing.");
|
|
|
+for (;a; ) try {
|
|
|
+if (n = 1, o && (i = 2 & r[0] ? o.return : r[0] ? o.throw || ((i = o.return) && i.call(o),
|
|
|
+0) : o.next) && !(i = i.call(o, r[1])).done) return i;
|
|
|
+(o = 0, i) && (r = [ 2 & r[0], i.value ]);
|
|
|
+switch (r[0]) {
|
|
|
+case 0:
|
|
|
+case 1:
|
|
|
+i = r;
|
|
|
+break;
|
|
|
+
|
|
|
+case 4:
|
|
|
+a.label++;
|
|
|
+return {
|
|
|
+value: r[1],
|
|
|
+done: !1
|
|
|
+};
|
|
|
+
|
|
|
+case 5:
|
|
|
+a.label++;
|
|
|
+o = r[1];
|
|
|
+r = [ 0 ];
|
|
|
+continue;
|
|
|
+
|
|
|
+case 7:
|
|
|
+r = a.ops.pop();
|
|
|
+a.trys.pop();
|
|
|
+continue;
|
|
|
+
|
|
|
+default:
|
|
|
+if (!(i = a.trys, i = i.length > 0 && i[i.length - 1]) && (6 === r[0] || 2 === r[0])) {
|
|
|
+a = 0;
|
|
|
+continue;
|
|
|
+}
|
|
|
+if (3 === r[0] && (!i || r[1] > i[0] && r[1] < i[3])) {
|
|
|
+a.label = r[1];
|
|
|
+break;
|
|
|
+}
|
|
|
+if (6 === r[0] && a.label < i[1]) {
|
|
|
+a.label = i[1];
|
|
|
+i = r;
|
|
|
+break;
|
|
|
+}
|
|
|
+if (i && a.label < i[2]) {
|
|
|
+a.label = i[2];
|
|
|
+a.ops.push(r);
|
|
|
+break;
|
|
|
+}
|
|
|
+i[2] && a.ops.pop();
|
|
|
+a.trys.pop();
|
|
|
+continue;
|
|
|
+}
|
|
|
+r = e.call(t, a);
|
|
|
+} catch (t) {
|
|
|
+r = [ 6, t ];
|
|
|
+o = 0;
|
|
|
+} finally {
|
|
|
+n = i = 0;
|
|
|
+}
|
|
|
+if (5 & r[0]) throw r[1];
|
|
|
+return {
|
|
|
+value: r[0] ? r[1] : void 0,
|
|
|
+done: !0
|
|
|
+};
|
|
|
+}
|
|
|
+};
|
|
|
+Object.defineProperty(n, "__esModule", {
|
|
|
+value: !0
|
|
|
+});
|
|
|
+var c = t("../../../mk/data/Data"), s = t("../../../mk/system/JsbSystem"), l = function(t) {
|
|
|
+i(e, t);
|
|
|
+function e() {
|
|
|
+var e = null !== t && t.apply(this, arguments) || this;
|
|
|
+e._moreGameList = null;
|
|
|
+e.init_moreGameList = !1;
|
|
|
+e.testData = {
|
|
|
+normal: [ {
|
|
|
+nebulaAppId: "wxd2e694c55d457ded",
|
|
|
+title: "爱上切水果",
|
|
|
+introduction: "切水果、切水果、切、切、切!",
|
|
|
+downloadUrl: "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/haocheyijia/hutui/CutFruit.apk",
|
|
|
+packageName: "com.aries.asqsg.mz",
|
|
|
+icon: "https://oss.duiweize.com/fission/5vp7CPeadkABlgIe.png",
|
|
|
+banner: "https://oss.duiweize.com/fission/EXrqiYF6BkC1ZsZf.png"
|
|
|
+}, {
|
|
|
+nebulaAppId: "wx74fee17e08a29836",
|
|
|
+title: "炮火掠夺",
|
|
|
+introduction: "大炮一响,黄金万两!",
|
|
|
+downloadUrl: "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/haocheyijia/hutui/FirePillage.apk",
|
|
|
+packageName: "com.aries.firepillage.mz",
|
|
|
+icon: "https://oss.duiweize.com/fission/BZ9ZUicxgCbWb33D.png",
|
|
|
+banner: "https://oss.duiweize.com/fission/vGPWCE2tuGZwLSJH.png"
|
|
|
+} ],
|
|
|
+banner: [ {
|
|
|
+nebulaAppId: "wx07895e2f78748daf",
|
|
|
+title: "豪车大富翁",
|
|
|
+introduction: "豪车、金钱、美女,你要的这里都有!",
|
|
|
+downloadUrl: "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/haocheyijia/hutui/HundredsOfMillions.apk",
|
|
|
+packageName: "org.cocos2d.hundredsofmillion.mk.mz",
|
|
|
+icon: "https://oss.duiweize.com/fission/fviQN9OpUmmqpTjU.png",
|
|
|
+banner: "https://oss.duiweize.com/fission/eWUxr3OySHIohqtB.png",
|
|
|
+banner2: "https://oss.duiweize.com/fission/eWUxr3OySHIohqtB.png"
|
|
|
+}, {
|
|
|
+nebulaAppId: "wx22b3f0f8005f0e51",
|
|
|
+title: "航海传奇",
|
|
|
+introduction: " 战舰、短裙、红包,你想要的都有!",
|
|
|
+downloadUrl: "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/haocheyijia/hutui/LegendOfNavigation.apk",
|
|
|
+packageName: "com.aries.hhcq.mz",
|
|
|
+icon: "https://oss.duiweize.com/fission/ZqDsgbj9PT94RcG0.png",
|
|
|
+banner: "https://oss.duiweize.com/fission/goS05API8LtqB0QH.png",
|
|
|
+banner2: "https://oss.duiweize.com/fission/goS05API8LtqB0QH.png"
|
|
|
+} ]
|
|
|
+};
|
|
|
+return e;
|
|
|
+}
|
|
|
+Object.defineProperty(e.prototype, "moreGameList", {
|
|
|
+get: function() {
|
|
|
+return this._moreGameList;
|
|
|
+},
|
|
|
+set: function(t) {
|
|
|
+this._moreGameList = t;
|
|
|
+this.init_moreGameList = !0;
|
|
|
+},
|
|
|
+enumerable: !1,
|
|
|
+configurable: !0
|
|
|
+});
|
|
|
+e.prototype.init = function() {
|
|
|
+this.sendRecommendList();
|
|
|
+};
|
|
|
+e.prototype.sendRecommendList = function() {
|
|
|
+return r(this, void 0, void 0, function() {
|
|
|
+var t, e;
|
|
|
+return a(this, function(n) {
|
|
|
+switch (n.label) {
|
|
|
+case 0:
|
|
|
+if (null != this._moreGameList && null != this._moreGameList) return [ 3, 2 ];
|
|
|
+t = {};
|
|
|
+return [ 4, mk.http.sendData("/fission/recommendList", t) ];
|
|
|
+
|
|
|
+case 1:
|
|
|
+if (0 != (e = n.sent()).errcode) return [ 2 ];
|
|
|
+this.moreGameList = e.data;
|
|
|
+return [ 3, 3 ];
|
|
|
+
|
|
|
+case 2:
|
|
|
+this.init_moreGameList = !0;
|
|
|
+n.label = 3;
|
|
|
+
|
|
|
+case 3:
|
|
|
+return [ 2 ];
|
|
|
+}
|
|
|
+});
|
|
|
+});
|
|
|
+};
|
|
|
+e.prototype.sendAppDownloadLog = function(t) {
|
|
|
+var e = {
|
|
|
+downloadAppId: t
|
|
|
+};
|
|
|
+mk.http.sendRequest("/fission/appDownloadLog", "POST", JSON.stringify(e));
|
|
|
+};
|
|
|
+e.prototype.createNewTask = function(t) {
|
|
|
+var n = this, o = t.nebulaAppId + ".apk", i = t.downloadUrl, r = t.packageName;
|
|
|
+if ("" != r && s.default.ifCanStartGame(r, !0)) return null;
|
|
|
+if (s.default.isFileExist(o)) {
|
|
|
+s.default.installApk(o);
|
|
|
+return null;
|
|
|
+}
|
|
|
+if (e.downLoadTaskMap[t.nebulaAppId]) {
|
|
|
+mk.tip.pop("正在下载中...");
|
|
|
+return null;
|
|
|
+}
|
|
|
+mk.tip.pop("开始下载...");
|
|
|
+var a = new u(0, 0, t.nebulaAppId, null), c = s.default.downFile2Local(i, t.nebulaAppId + ".apk", function() {
|
|
|
+a.progress = -2;
|
|
|
+n.sendAppDownloadLog(t.nebulaAppId);
|
|
|
+setTimeout(function() {
|
|
|
+s.default.installApk(o);
|
|
|
+}, 1);
|
|
|
+}, function() {
|
|
|
+a.progress = -1;
|
|
|
+e.downLoadTaskMap[t.nebulaAppId] = null;
|
|
|
+mk.tip.pop("下载失败,请稍后再试");
|
|
|
+}, function(t, e, n) {
|
|
|
+a.progress = e;
|
|
|
+a.totalBytesReceives = n;
|
|
|
+});
|
|
|
+a.downloadTask = c;
|
|
|
+e.downLoadTaskMap[t.nebulaAppId] = a;
|
|
|
+return a;
|
|
|
+};
|
|
|
+e.prototype.getTaskInfo = function(t) {
|
|
|
+return e.downLoadTaskMap[t];
|
|
|
+};
|
|
|
+e.prototype.getRandomSteam = function() {
|
|
|
+if (!this.moreGameList) return null;
|
|
|
+var t = mk.math.random(0, this.moreGameList.stream.length - 1);
|
|
|
+return this.moreGameList.stream[t];
|
|
|
+};
|
|
|
+e.prototype.getRandomNormal = function() {
|
|
|
+if (!this.moreGameList) return null;
|
|
|
+var t = mk.math.random(0, this.moreGameList.normal.length - 1);
|
|
|
+return this.moreGameList.normal[t];
|
|
|
+};
|
|
|
+e.prototype.popMoreGamePopNode = function() {
|
|
|
+Math.random() <= gData.gameData.configs.globalCfg.popMoreGame && mk.ui.openPanel("module/moreGame/moreGamePopNode");
|
|
|
+};
|
|
|
+e.downLoadTaskMap = new Map();
|
|
|
+return e;
|
|
|
+}(c.Data);
|
|
|
+n.default = l;
|
|
|
+var u = function() {
|
|
|
+function t(t, e, n, o) {
|
|
|
+this._progress = 0;
|
|
|
+this._totalBytesReceives = 0;
|
|
|
+this._nebulaAppId = "";
|
|
|
+this._downloadTask = null;
|
|
|
+this._progress = t;
|
|
|
+this._totalBytesReceives = e;
|
|
|
+this._nebulaAppId = n;
|
|
|
+this._downloadTask = o;
|
|
|
+}
|
|
|
+Object.defineProperty(t.prototype, "progress", {
|
|
|
+get: function() {
|
|
|
+return this._progress;
|
|
|
+},
|
|
|
+set: function(t) {
|
|
|
+this._progress = t;
|
|
|
+},
|
|
|
+enumerable: !1,
|
|
|
+configurable: !0
|
|
|
+});
|
|
|
+Object.defineProperty(t.prototype, "totalBytesReceives", {
|
|
|
+get: function() {
|
|
|
+return this._totalBytesReceives;
|
|
|
+},
|
|
|
+set: function(t) {
|
|
|
+this._totalBytesReceives = t;
|
|
|
+},
|
|
|
+enumerable: !1,
|
|
|
+configurable: !0
|
|
|
+});
|
|
|
+Object.defineProperty(t.prototype, "downloadTask", {
|
|
|
+get: function() {
|
|
|
+return this._downloadTask;
|
|
|
+},
|
|
|
+set: function(t) {
|
|
|
+this._downloadTask = t;
|
|
|
+},
|
|
|
+enumerable: !1,
|
|
|
+configurable: !0
|
|
|
+});
|
|
|
+return t;
|
|
|
+}();
|
|
|
+cc._RF.pop();
|
|
|
+}, {
|
|
|
+"../../../mk/data/Data": "Data",
|
|
|
+"../../../mk/system/JsbSystem": "JsbSystem"
|
|
|
+} ],
|
|
|
MoreGameNormalItem: [ function(t, e, n) {
|
|
|
"use strict";
|
|
|
cc._RF.push(e, "a4ff7XTiXVGfZP42F1bBIEa", "MoreGameNormalItem");
|
|
|
@@ -15372,4 +15694,4 @@ return t;
|
|
|
n.zgSingleton = o;
|
|
|
cc._RF.pop();
|
|
|
}, {} ]
|
|
|
-}, {}, [ "Main", "BtnClosePanel", "BtnOpenPanel", "Button", "PageView", "SetGray", "TabSwitching", "TableView", "TouchHelper", "UIBG", "ClickMoveBy", "EffectOpenAndClose", "FlyNode", "FrameAnimation", "RopeSwung", "RotateAround", "TweenCast", "TweenEasing", "UITween", "ZPathFalling", "AdData", "AppData", "GData", "GameData", "HttpData", "LoginData", "StorageData", "WechatData", "BlessingBagData", "CashNormalData", "CashPigData", "CashProData", "FissionData", "HelpData", "PigBankData", "PushData", "ReceiptNoticeData", "RedBagCashData", "RedCodeData", "RedeemData", "RewardData", "SettingData", "SignData", "TurnableData", "FunBtns", "Game", "BlessingBag", "BlessingBagItem", "CashNormal", "CashNormalItem", "CashPro", "Help", "Login", "BtnMoreGame", "MoreGame", "MoreGameBanner", "MoreGameNormalItem", "MoreGamePicItem", "MoreGamePopNode", "PointItem", "PigBank", "ReceiptNotice", "RedBagCash", "RedBagCashItem", "RedBagCode", "RedBagCodeItem", "RedCode", "VideoNode", "RedeemNode", "Reward", "Rule", "Setting", "Sign", "SignIconItem", "SignItem", "Turnable", "TurnableItem", "MKSwitch", "Data", "BuglySDK", "ATBanner", "ATBannerJS", "ATInterstitial", "ATInterstitialJS", "ATNative", "ATNativeJS", "ATRewardVideo", "ATRewardVideoJS", "ATSDKMgr", "ATSDKMgrJS", "ATBannerJSSDK", "ATInterstitialJSSDK", "ATJSSDK", "ATNativeJSSDK", "ATRewardedVideoJSSDK", "ATAndroidBannerJS", "ATAndroidInterstitialJS", "ATAndroidJS", "ATAndroidNativeJS", "ATAndroidRewardedVideoJS", "ATiOSBannerJS", "ATiOSInterstitialJS", "ATiOSJS", "ATiOSNativeJS", "ATiOSRewardedVideoJS", "zgSingleton", "AdSystem", "AudioSystem", "DataSystem", "EventSystem", "FlySystem", "GuideSystem", "HttpSystem", "JsbSystem", "MKSystem", "PoolSystem", "TimerSystem", "TipSystem", "UISystem", "EncryptUtil", "FileUtil", "GameUtil", "LoadResUtil", "LogUtil", "MathUtil", "StorageUtil", "StringUtil", "TimeUtil", "TweenUtil", "aes", "base64", "hmacSha256", "md5", "sha1" ]);
|
|
|
+}, {}, [ "Main", "BtnClosePanel", "BtnOpenPanel", "Button", "PageView", "SetGray", "TabSwitching", "TableView", "TouchHelper", "UIBG", "ClickMoveBy", "EffectOpenAndClose", "FlyNode", "FrameAnimation", "RopeSwung", "RotateAround", "TweenCast", "TweenEasing", "UITween", "ZPathFalling", "AdData", "AppData", "GData", "GameData", "HttpData", "LoginData", "StorageData", "WechatData", "BlessingBagData", "CashNormalData", "CashPigData", "CashProData", "FissionData", "HelpData", "MoreGameData", "PigBankData", "PushData", "ReceiptNoticeData", "RedBagCashData", "RedCodeData", "RedeemData", "RewardData", "SettingData", "SignData", "TurnableData", "FunBtns", "Game", "BlessingBag", "BlessingBagItem", "CashNormal", "CashNormalItem", "CashPro", "Help", "Login", "BtnMoreGame", "MoreGame", "MoreGameBanner", "MoreGameNormalItem", "MoreGamePicItem", "MoreGamePopNode", "PointItem", "PigBank", "ReceiptNotice", "RedBagCash", "RedBagCashItem", "RedBagCode", "RedBagCodeItem", "RedCode", "VideoNode", "RedeemNode", "Reward", "Rule", "Setting", "Sign", "SignIconItem", "SignItem", "Turnable", "TurnableItem", "MKSwitch", "Data", "BuglySDK", "ATBanner", "ATBannerJS", "ATInterstitial", "ATInterstitialJS", "ATNative", "ATNativeJS", "ATRewardVideo", "ATRewardVideoJS", "ATSDKMgr", "ATSDKMgrJS", "ATBannerJSSDK", "ATInterstitialJSSDK", "ATJSSDK", "ATNativeJSSDK", "ATRewardedVideoJSSDK", "ATAndroidBannerJS", "ATAndroidInterstitialJS", "ATAndroidJS", "ATAndroidNativeJS", "ATAndroidRewardedVideoJS", "ATiOSBannerJS", "ATiOSInterstitialJS", "ATiOSJS", "ATiOSNativeJS", "ATiOSRewardedVideoJS", "zgSingleton", "AdSystem", "AudioSystem", "DataSystem", "EventSystem", "FlySystem", "GuideSystem", "HttpSystem", "JsbSystem", "MKSystem", "PoolSystem", "TimerSystem", "TipSystem", "UISystem", "EncryptUtil", "FileUtil", "GameUtil", "LoadResUtil", "LogUtil", "MathUtil", "StorageUtil", "StringUtil", "TimeUtil", "TweenUtil", "aes", "base64", "hmacSha256", "md5", "sha1" ]);
|