|
|
@@ -1831,10 +1831,31 @@ this.publisher_revenue = "";
|
|
|
this.precision = "";
|
|
|
this.ecpm_level = "";
|
|
|
this.adType = 1;
|
|
|
+this._watchNumToday = 0;
|
|
|
}
|
|
|
+Object.defineProperty(t.prototype, "watchNumToday", {
|
|
|
+get: function() {
|
|
|
+return this._watchNumToday;
|
|
|
+},
|
|
|
+set: function(t) {
|
|
|
+this._watchNumToday = t;
|
|
|
+},
|
|
|
+enumerable: !1,
|
|
|
+configurable: !0
|
|
|
+});
|
|
|
t.prototype.init = function() {
|
|
|
this.datas = [ , gData.reward, gData.reward, gData.reward, gData.turnable, gData.sign, gData.blessingBag ];
|
|
|
};
|
|
|
+t.prototype.checkAdMax = function() {
|
|
|
+this.watchNumToday++;
|
|
|
+var t = parseInt(gData.gameData.configs.ServerConfig.VideoTimesMax);
|
|
|
+if (this.watchNumToday > t) {
|
|
|
+mk.tip.pop("今日看广告获得奖励的次数已用完", 1);
|
|
|
+mk.ui.closeAllUI();
|
|
|
+return !0;
|
|
|
+}
|
|
|
+return !1;
|
|
|
+};
|
|
|
t.prototype.updateData = function(t, e) {
|
|
|
mk.console.logSingle("updateADData:" + t, e);
|
|
|
this.placementId = t;
|
|
|
@@ -1939,10 +1960,13 @@ mk.console.log("=== watchAdCancel");
|
|
|
this.videoAdcallBack(!1);
|
|
|
};
|
|
|
t.prototype.wacthAdSuccess = function(t) {
|
|
|
+var e = this;
|
|
|
void 0 === t && (t = "");
|
|
|
mk.console.log("=== wacthAdSuccess");
|
|
|
-this.videoAdcallBack(!0);
|
|
|
-this.initLastTimeStamp();
|
|
|
+mk.ui.scheduleOnce(function() {
|
|
|
+gData.adData.checkAdMax() || e.videoAdcallBack(!0);
|
|
|
+e.initLastTimeStamp();
|
|
|
+}, 0);
|
|
|
};
|
|
|
t.prototype.showNative = function(t) {
|
|
|
void 0 === t && (t = 4);
|
|
|
@@ -3992,6 +4016,7 @@ var t, e;
|
|
|
return c(this, function(n) {
|
|
|
switch (n.label) {
|
|
|
case 0:
|
|
|
+if (!mk.game.checkContinuousClick(this.node)) return [ 2 ];
|
|
|
mk.audio.playEffect("button");
|
|
|
if (this.bool_Auth && !gData.loginData.isAuth) {
|
|
|
p.default.WxAuth();
|
|
|
@@ -7002,7 +7027,7 @@ Object.defineProperty(n, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
n.Fun = void 0;
|
|
|
-var o, i = t("./AppData"), a = t("./GameData"), r = t("./HttpData"), c = t("./LoginData"), s = t("./StorageData"), l = t("./WechatData"), u = t("./module/HelpData"), p = t("./module/PigBankData"), d = t("./module/TurnableData"), h = t("./module/SignData"), f = t("./module/FissionData"), y = t("./AdData"), g = t("./module/RewardData"), m = t("./module/CashNormalData"), _ = t("./module/ReceiptNoticeData"), v = t("./module/BlessingBagData"), b = t("./module/CashProData"), S = t("./module/RedBagCashData"), A = t("./module/RedCodeData"), D = t("./module/RedeemData"), w = t("./module/MoreGameData"), P = t("./module/SettingData"), O = t("./module/GuideData"), I = t("./module/GuideWeakData"), k = function() {
|
|
|
+var o, i = t("./AppData"), a = t("./GameData"), r = t("./HttpData"), c = t("./LoginData"), s = t("./StorageData"), l = t("./WechatData"), u = t("./module/HelpData"), p = t("./module/PigBankData"), d = t("./module/TurnableData"), h = t("./module/SignData"), f = t("./module/FissionData"), y = t("./AdData"), g = t("./module/RewardData"), m = t("./module/CashNormalData"), _ = t("./module/ReceiptNoticeData"), v = t("./module/BlessingBagData"), b = t("./module/CashProData"), S = t("./module/RedBagCashData"), D = t("./module/RedCodeData"), A = t("./module/RedeemData"), w = t("./module/MoreGameData"), P = t("./module/SettingData"), O = t("./module/GuideData"), I = t("./module/GuideWeakData"), k = function() {
|
|
|
function t() {
|
|
|
this.init();
|
|
|
}
|
|
|
@@ -7029,8 +7054,8 @@ this.setting = new P.SettingData();
|
|
|
this.moreGame = new w.MoreGameData();
|
|
|
this.blessingBag = new v.BlessingBagData();
|
|
|
this.cashPro = new b.default();
|
|
|
-this.redCodeData = new A.default();
|
|
|
-this.redeem = new D.default();
|
|
|
+this.redCodeData = new D.default();
|
|
|
+this.redeem = new A.default();
|
|
|
this.moduleData = new Map();
|
|
|
this.moduleData.set(o.moreGame, this.moreGame);
|
|
|
this.moduleData.set(o.turnable, this.turnable);
|
|
|
@@ -7335,6 +7360,7 @@ this.configs = {};
|
|
|
this.funOpenData = [];
|
|
|
this.gameData = null;
|
|
|
this.init_coin = !1;
|
|
|
+this.updatePiggyBankValue = !1;
|
|
|
this.init_head = !1;
|
|
|
this.init_red_point = !0;
|
|
|
this.props = new Map();
|
|
|
@@ -7414,6 +7440,7 @@ this.gameData.turntableTimes = t.turntableTimes;
|
|
|
this.gameData.userTuCaoInfo = t.userTuCaoInfo;
|
|
|
this.gameData.versioncfg = t.versioncfg;
|
|
|
this.gameData.isFirstRedMoney = t.isFirstRedMoney;
|
|
|
+gData.adData.watchNumToday = null == t.dayVideoTimesForRedMoney ? 0 : t.dayVideoTimesForRedMoney;
|
|
|
};
|
|
|
t.prototype.setProp = function(t, e) {
|
|
|
return o(this, void 0, void 0, function() {
|
|
|
@@ -8753,6 +8780,13 @@ t.prototype.debugDrawPhysicsFlag = function(t) {
|
|
|
void 0 === t && (t = !1);
|
|
|
cc.director.getPhysicsManager().debugDrawFlags = t ? cc.PhysicsManager.DrawBits.e_aabbBit | cc.PhysicsManager.DrawBits.e_jointBit | cc.PhysicsManager.DrawBits.e_shapeBit : 0;
|
|
|
};
|
|
|
+t.prototype.checkContinuousClick = function(t, e) {
|
|
|
+void 0 === e && (e = 1);
|
|
|
+null == this.btnTimeDic && (this.btnTimeDic = {});
|
|
|
+var n = t._id, o = this.btnTimeDic[n], i = new Date().getTime(), a = null == o || i - o > 1e3 * e;
|
|
|
+a && (this.btnTimeDic[n] = i);
|
|
|
+return a;
|
|
|
+};
|
|
|
t.prototype.getWorldPos = function(t) {
|
|
|
for (var e = t.x, n = t.y, o = t; o.parent; ) {
|
|
|
var i = o.parent;
|
|
|
@@ -8983,6 +9017,10 @@ this.runGuideWeak();
|
|
|
mk.guide.open(1);
|
|
|
};
|
|
|
e.prototype.update = function() {
|
|
|
+if (gData.gameData.updatePiggyBankValue) {
|
|
|
+this.updatePiggyBankValue();
|
|
|
+gData.gameData.updatePiggyBankValue = !1;
|
|
|
+}
|
|
|
gData.gameData.init_coin && this.changeInfo();
|
|
|
gData.gameData.init_head && this.initHead();
|
|
|
gData.gameData.init_red_point && this.initRedPoint();
|
|
|
@@ -9056,6 +9094,10 @@ return [ 2 ];
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
+e.prototype.updatePiggyBankValue = function() {
|
|
|
+this.lbl_rmb.string = (gData.gameData.gameData.piggyBank / 100).toFixed(2);
|
|
|
+gData.gameData.updatePiggyBankValue = !1;
|
|
|
+};
|
|
|
e.prototype.initRedPoint = function() {
|
|
|
this.nodeRedPoint.node_sign.active = gData.sign.redPoint();
|
|
|
this.nodeRedPoint.node_pigbank.active = gData.pigbank.redPoint();
|
|
|
@@ -9065,7 +9107,7 @@ this.nodeRedPoint.node_blessingBag.active = gData.blessingBag.redPoint();
|
|
|
this.nodeRedPoint.node_redeem.active = gData.redeem.redPoint();
|
|
|
gData.gameData.init_red_point = !1;
|
|
|
if (this.nodeRedPoint.node_redbagCash.active) {
|
|
|
-mk.ui.closeAllUI([ "game", "guide" ]);
|
|
|
+mk.ui.closeAllUI();
|
|
|
mk.guide.open(2);
|
|
|
}
|
|
|
};
|
|
|
@@ -10928,6 +10970,9 @@ cc.sys.os == cc.sys.OS_ANDROID ? this.callStaticMethod(this._JSB_ANDROID_PATH, "
|
|
|
t.sharePic = function() {
|
|
|
cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod(this._JSB_ANDROID_PATH, "sharePic", "()V") : cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("GameConfig", "sharePic:", ""));
|
|
|
};
|
|
|
+t.openWx = function() {
|
|
|
+cc.sys.os == cc.sys.OS_ANDROID ? this.callStaticMethod(this._JSB_ANDROID_PATH, "openWx", "()V") : cc.sys.os == cc.sys.OS_IOS && this.callStaticMethod("AppController", "openWx", "");
|
|
|
+};
|
|
|
t.downFile2Local = function(t, e, n, o, i) {
|
|
|
var a = jsb.fileUtils.getWritablePath() + e;
|
|
|
if (jsb) {
|
|
|
@@ -11909,7 +11954,7 @@ cc._RF.push(e, "f0038hKHC9Nf5+ipaUV9rc5", "MKSystem");
|
|
|
Object.defineProperty(n, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
-var o = t("../sdk/BuglySDK"), i = t("../utils/FileUtil"), a = t("../utils/TimeUtil"), r = t("./DataSystem"), c = t("./HttpSystem"), s = t("../utils/LoadResUtil"), l = t("../utils/LogUtil"), u = t("../utils/EncryptUtil"), p = t("../utils/GameUtil"), d = t("../utils/StorageUtil"), h = t("./TimerSystem"), f = t("./EventSystem"), y = t("../utils/MathUtil"), g = t("./AdSystem"), m = t("./JsbSystem"), _ = t("../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr"), v = t("./AudioSystem"), b = t("./PoolSystem"), S = t("../utils/TweenUtil"), A = t("./GuideSystem"), D = t("../utils/StringUtil"), w = t("../../game/component/SetGray"), P = t("../../game/component/NumberAnim"), O = function() {
|
|
|
+var o = t("../sdk/BuglySDK"), i = t("../utils/FileUtil"), a = t("../utils/TimeUtil"), r = t("./DataSystem"), c = t("./HttpSystem"), s = t("../utils/LoadResUtil"), l = t("../utils/LogUtil"), u = t("../utils/EncryptUtil"), p = t("../utils/GameUtil"), d = t("../utils/StorageUtil"), h = t("./TimerSystem"), f = t("./EventSystem"), y = t("../utils/MathUtil"), g = t("./AdSystem"), m = t("./JsbSystem"), _ = t("../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr"), v = t("./AudioSystem"), b = t("./PoolSystem"), S = t("../utils/TweenUtil"), D = t("./GuideSystem"), A = t("../utils/StringUtil"), w = t("../../game/component/SetGray"), P = t("../../game/component/NumberAnim"), O = function() {
|
|
|
function t() {}
|
|
|
Object.defineProperty(t.prototype, "time", {
|
|
|
get: function() {
|
|
|
@@ -11969,7 +12014,7 @@ configurable: !0
|
|
|
});
|
|
|
Object.defineProperty(t.prototype, "string", {
|
|
|
get: function() {
|
|
|
-return this._string || (this._string = new D.default());
|
|
|
+return this._string || (this._string = new A.default());
|
|
|
},
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
@@ -12046,7 +12091,7 @@ configurable: !0
|
|
|
});
|
|
|
Object.defineProperty(t.prototype, "guide", {
|
|
|
get: function() {
|
|
|
-return this._guide || (this._guide = new A.default());
|
|
|
+return this._guide || (this._guide = new D.default());
|
|
|
},
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
@@ -13910,6 +13955,7 @@ gData.cashNormal.receip_total_rmb += gData.receiptNotice.receip_rmb;
|
|
|
mk.ui.openPanel("module/receiptNotice/receiptNotice");
|
|
|
gData.gameData.gameData.piggyBank = 0;
|
|
|
gData.gameData.gameData.isWithdrawable = 0;
|
|
|
+gData.gameData.updatePiggyBankValue = !0;
|
|
|
gData.cashNormal.getRecord();
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
@@ -14909,7 +14955,7 @@ configurable: !0
|
|
|
});
|
|
|
e.prototype.cashOP = function() {
|
|
|
return a(this, void 0, void 0, function() {
|
|
|
-var t, e, n, o, i, a, c;
|
|
|
+var t, e, n, o, i, a, c, l, u;
|
|
|
return r(this, function(r) {
|
|
|
switch (r.label) {
|
|
|
case 0:
|
|
|
@@ -14931,7 +14977,7 @@ mk.console.logSingle("提现错误内容:", n);
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
cc.log("红包提现成功");
|
|
|
-0 == (o = n.data).CashMode || o.CashMode;
|
|
|
+o = n.data;
|
|
|
this.cash_bar++;
|
|
|
this.update_list = !0;
|
|
|
gData.gameData.gameData.cashIndex++;
|
|
|
@@ -14942,9 +14988,15 @@ for (c = 0; c < o.CashStatusList.length; c++) if (o.CashStatusList[c].index == t
|
|
|
a = o.CashStatusList[c].amount;
|
|
|
break;
|
|
|
}
|
|
|
+if (1 == o.CashMode) {
|
|
|
gData.receiptNotice.receip_rmb = a;
|
|
|
gData.cashNormal.receip_total_rmb += gData.receiptNotice.receip_rmb;
|
|
|
mk.ui.openPanel("module/receiptNotice/receiptNotice");
|
|
|
+} else if (2 == o.CashMode) {
|
|
|
+l = o.CashStatusList;
|
|
|
+u = l[l.length - 1];
|
|
|
+gData.redCodeData.openRedCode(u.amount / 100, u.withdrawalCode);
|
|
|
+}
|
|
|
this.sortList();
|
|
|
this.initState();
|
|
|
gData.cashNormal.getRecord();
|
|
|
@@ -15570,7 +15622,7 @@ e.videoNode = null;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.start = function() {
|
|
|
-this.initList();
|
|
|
+gData.cashNormal.getRecord();
|
|
|
mk.ad.showNative(4);
|
|
|
};
|
|
|
e.prototype.initList = function() {
|
|
|
@@ -15602,6 +15654,12 @@ this.coolTime = !1;
|
|
|
e.prototype.onClickClose = function() {
|
|
|
mk.ad.destroyNativeAd();
|
|
|
};
|
|
|
+e.prototype.update = function() {
|
|
|
+gData.cashNormal.update_list && this.initList();
|
|
|
+};
|
|
|
+e.prototype.lateUpdate = function() {
|
|
|
+gData.cashNormal.update_list = !1;
|
|
|
+};
|
|
|
a([ s({
|
|
|
type: cc.ScrollView,
|
|
|
displayName: "滚动视图"
|
|
|
@@ -15652,6 +15710,7 @@ e.teachVideoType = 1;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.openRedCode = function(t, e) {
|
|
|
+mk.ui.openPanel("module/redCode/redCode");
|
|
|
this.money = t;
|
|
|
this.code = e;
|
|
|
this.init_data = !0;
|
|
|
@@ -15751,7 +15810,8 @@ e.prototype.closeCallBack = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
mk.audio.setResumeMusic();
|
|
|
};
|
|
|
-e.prototype.onClickClose = function() {
|
|
|
+e.prototype.onClickClose = function() {};
|
|
|
+e.prototype.onDisable = function() {
|
|
|
mk.ad.destroyNativeAd();
|
|
|
};
|
|
|
a([ l(cc.Label) ], e.prototype, "labOfficial", void 0);
|
|
|
@@ -16107,7 +16167,7 @@ done: !0
|
|
|
Object.defineProperty(n, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
-var s = t("../../../mk/system/JsbSystem"), l = cc._decorator, u = l.ccclass, p = l.property, d = function(t) {
|
|
|
+var s = t("../../../mk/system/JsbSystem"), l = t("../../data/GameData"), u = cc._decorator, p = u.ccclass, d = u.property, h = function(t) {
|
|
|
i(e, t);
|
|
|
function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
@@ -16216,42 +16276,54 @@ s.default.setClipboard("白羊游戏社");
|
|
|
};
|
|
|
e.prototype.Click_GetBtn = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
-var t;
|
|
|
-return c(this, function(e) {
|
|
|
-switch (e.label) {
|
|
|
+var t, e, n, o;
|
|
|
+return c(this, function(i) {
|
|
|
+switch (i.label) {
|
|
|
case 0:
|
|
|
this.suc_node.active = !1;
|
|
|
for (t = 0; t < this.rewardData.length; t++) {
|
|
|
mk.audio.playEffect("rewardClose");
|
|
|
-mk.fly.PlayCoinAnim(this.rewardData[t].type, 5, cc.v2(0, -300));
|
|
|
+e = this.rewardData[t];
|
|
|
+n = parseInt(e.type);
|
|
|
+o = parseInt(e.count);
|
|
|
+mk.fly.PlayCoinAnim(n, 5, cc.v2(0, -300));
|
|
|
+switch (n) {
|
|
|
+case l.RewardType.redBag:
|
|
|
+gData.gameData.gameData.redMoney += o;
|
|
|
+break;
|
|
|
+
|
|
|
+case l.RewardType.pigRmb:
|
|
|
+gData.gameData.gameData.piggyBank += o;
|
|
|
+}
|
|
|
}
|
|
|
return [ 4, gData.redeem.redeemGetRedemption() ];
|
|
|
|
|
|
case 1:
|
|
|
-e.sent();
|
|
|
+i.sent();
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
-a([ p(cc.Label) ], e.prototype, "lab_title", void 0);
|
|
|
-a([ p(cc.Label) ], e.prototype, "txtGiftName", void 0);
|
|
|
-a([ p(cc.Prefab) ], e.prototype, "videoPre", void 0);
|
|
|
-a([ p(cc.Node) ], e.prototype, "rds", void 0);
|
|
|
-a([ p(cc.Sprite) ], e.prototype, "rd_imgs", void 0);
|
|
|
-a([ p(cc.Label) ], e.prototype, "rd_txts", void 0);
|
|
|
-a([ p(cc.EditBox) ], e.prototype, "inputBox", void 0);
|
|
|
-a([ p(cc.Node) ], e.prototype, "suc_node", void 0);
|
|
|
-a([ p(cc.Node) ], e.prototype, "suc_node_panel", void 0);
|
|
|
-a([ p(cc.Node) ], e.prototype, "suc_rds", void 0);
|
|
|
-a([ p(cc.Sprite) ], e.prototype, "suc_rd_imgs", void 0);
|
|
|
-a([ p(cc.Label) ], e.prototype, "suc_rd_txts", void 0);
|
|
|
-return a([ u ], e);
|
|
|
+a([ d(cc.Label) ], e.prototype, "lab_title", void 0);
|
|
|
+a([ d(cc.Label) ], e.prototype, "txtGiftName", void 0);
|
|
|
+a([ d(cc.Prefab) ], e.prototype, "videoPre", void 0);
|
|
|
+a([ d(cc.Node) ], e.prototype, "rds", void 0);
|
|
|
+a([ d(cc.Sprite) ], e.prototype, "rd_imgs", void 0);
|
|
|
+a([ d(cc.Label) ], e.prototype, "rd_txts", void 0);
|
|
|
+a([ d(cc.EditBox) ], e.prototype, "inputBox", void 0);
|
|
|
+a([ d(cc.Node) ], e.prototype, "suc_node", void 0);
|
|
|
+a([ d(cc.Node) ], e.prototype, "suc_node_panel", void 0);
|
|
|
+a([ d(cc.Node) ], e.prototype, "suc_rds", void 0);
|
|
|
+a([ d(cc.Sprite) ], e.prototype, "suc_rd_imgs", void 0);
|
|
|
+a([ d(cc.Label) ], e.prototype, "suc_rd_txts", void 0);
|
|
|
+return a([ p ], e);
|
|
|
}(cc.Component);
|
|
|
-n.default = d;
|
|
|
+n.default = h;
|
|
|
cc._RF.pop();
|
|
|
}, {
|
|
|
-"../../../mk/system/JsbSystem": "JsbSystem"
|
|
|
+"../../../mk/system/JsbSystem": "JsbSystem",
|
|
|
+"../../data/GameData": "GameData"
|
|
|
} ],
|
|
|
RewardData: [ function(t, e, n) {
|
|
|
"use strict";
|
|
|
@@ -16640,7 +16712,6 @@ this.cur_stage === s.none && mk.audio.playEffect("rewardClose");
|
|
|
};
|
|
|
e.prototype.onClickClose = function() {
|
|
|
mk.ad.destoryBanner();
|
|
|
-console.log("清除积分啦啦啦啦啦阿拉拉拉啦--------------------------------", l.default.Inst.ifPass);
|
|
|
if (2 == gData.reward.subType) {
|
|
|
console.log("清除积分啦啦啦啦啦阿拉拉拉啦--------------------------------", l.default.Inst.ifPass);
|
|
|
gData.gameData.setProp(p.GameProp.curTotalScore, 0);
|
|
|
@@ -19474,32 +19545,43 @@ e.prototype.onLoad = function() {
|
|
|
mk.tip = this;
|
|
|
};
|
|
|
e.prototype.start = function() {};
|
|
|
-e.prototype.pop = function(t) {
|
|
|
+e.prototype.pop = function(t, e) {
|
|
|
+void 0 === e && (e = 0);
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
-var e, n, o, i;
|
|
|
-return c(this, function(a) {
|
|
|
-switch (a.label) {
|
|
|
+var n, o, i, a;
|
|
|
+return c(this, function(r) {
|
|
|
+switch (r.label) {
|
|
|
case 0:
|
|
|
return [ 4, mk.pool.getPrefab("game/prefab/tips") ];
|
|
|
|
|
|
case 1:
|
|
|
-e = a.sent();
|
|
|
-n = e.getChildByName("bg");
|
|
|
-o = e.getChildByName("lbl");
|
|
|
-(i = o.getComponent(cc.Label)).fontSize = this.tip_size;
|
|
|
-i.string = t;
|
|
|
-n.width = o.width + 20 < 200 ? 200 : o.width + 20;
|
|
|
-e.width = n.width;
|
|
|
-n.height = o.height + 2;
|
|
|
-e.parent = this.node;
|
|
|
-e.x = this.src_x;
|
|
|
-e.y = this.src_y;
|
|
|
-cc.tween(e).to(this.tween_time, {
|
|
|
+n = r.sent();
|
|
|
+o = n.getChildByName("bg");
|
|
|
+i = n.getChildByName("lbl");
|
|
|
+(a = i.getComponent(cc.Label)).fontSize = this.tip_size;
|
|
|
+a.string = t;
|
|
|
+o.width = i.width + 20 < 200 ? 200 : i.width + 20;
|
|
|
+n.width = o.width;
|
|
|
+o.height = i.height + 2;
|
|
|
+n.parent = this.node;
|
|
|
+n.x = this.src_x;
|
|
|
+n.y = this.src_y;
|
|
|
+if (0 == e) cc.tween(n).to(this.tween_time, {
|
|
|
x: this.tar_x,
|
|
|
y: this.tar_y
|
|
|
}).call(function() {
|
|
|
-mk.pool.return("tips", e);
|
|
|
+mk.pool.return("tips", n);
|
|
|
+}, this).start(); else {
|
|
|
+this.tween_time = 1;
|
|
|
+n.y = 400;
|
|
|
+this.tar_y = 520;
|
|
|
+cc.tween(n).to(this.tween_time, {
|
|
|
+x: this.tar_x,
|
|
|
+y: this.tar_y
|
|
|
+}).delay(2).call(function() {
|
|
|
+mk.pool.return("tips", n);
|
|
|
}, this).start();
|
|
|
+}
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
@@ -20712,7 +20794,7 @@ this.isPanelClosing = !1;
|
|
|
n && n();
|
|
|
};
|
|
|
e.prototype.closeAllUI = function(t) {
|
|
|
-void 0 === t && (t = null);
|
|
|
+void 0 === t && (t = [ "game", "guide" ]);
|
|
|
for (var e in this.curOnPanelDic) if (!(t && t.length > 0 && -1 != t.indexOf(e))) {
|
|
|
var n = this.getCurOnPanel(e), o = n.getComponent("EffectOpenAndClose");
|
|
|
o ? o.hideEffect(this.destroyNode.bind(this, n, e)) : this.destroyNode(n, e);
|
|
|
@@ -21442,24 +21524,24 @@ var c = t[s = i + r];
|
|
|
t[s] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8);
|
|
|
}
|
|
|
r = this._hash.words;
|
|
|
-var s = t[i + 0], l = (c = t[i + 1], t[i + 2]), p = t[i + 3], d = t[i + 4], h = t[i + 5], f = t[i + 6], y = t[i + 7], g = t[i + 8], m = t[i + 9], _ = t[i + 10], v = t[i + 11], b = t[i + 12], S = t[i + 13], A = t[i + 14], D = t[i + 15], w = e(w = r[0], I = r[1], O = r[2], P = r[3], s, 7, u[0]), P = e(P, w, I, O, c, 12, u[1]), O = e(O, P, w, I, l, 17, u[2]), I = e(I, O, P, w, p, 22, u[3]);
|
|
|
+var s = t[i + 0], l = (c = t[i + 1], t[i + 2]), p = t[i + 3], d = t[i + 4], h = t[i + 5], f = t[i + 6], y = t[i + 7], g = t[i + 8], m = t[i + 9], _ = t[i + 10], v = t[i + 11], b = t[i + 12], S = t[i + 13], D = t[i + 14], A = t[i + 15], w = e(w = r[0], I = r[1], O = r[2], P = r[3], s, 7, u[0]), P = e(P, w, I, O, c, 12, u[1]), O = e(O, P, w, I, l, 17, u[2]), I = e(I, O, P, w, p, 22, u[3]);
|
|
|
w = e(w, I, O, P, d, 7, u[4]), P = e(P, w, I, O, h, 12, u[5]), O = e(O, P, w, I, f, 17, u[6]),
|
|
|
I = e(I, O, P, w, y, 22, u[7]), w = e(w, I, O, P, g, 7, u[8]), P = e(P, w, I, O, m, 12, u[9]),
|
|
|
O = e(O, P, w, I, _, 17, u[10]), I = e(I, O, P, w, v, 22, u[11]), w = e(w, I, O, P, b, 7, u[12]),
|
|
|
-P = e(P, w, I, O, S, 12, u[13]), O = e(O, P, w, I, A, 17, u[14]), w = n(w, I = e(I, O, P, w, D, 22, u[15]), O, P, c, 5, u[16]),
|
|
|
+P = e(P, w, I, O, S, 12, u[13]), O = e(O, P, w, I, D, 17, u[14]), w = n(w, I = e(I, O, P, w, A, 22, u[15]), O, P, c, 5, u[16]),
|
|
|
P = n(P, w, I, O, f, 9, u[17]), O = n(O, P, w, I, v, 14, u[18]), I = n(I, O, P, w, s, 20, u[19]),
|
|
|
-w = n(w, I, O, P, h, 5, u[20]), P = n(P, w, I, O, _, 9, u[21]), O = n(O, P, w, I, D, 14, u[22]),
|
|
|
-I = n(I, O, P, w, d, 20, u[23]), w = n(w, I, O, P, m, 5, u[24]), P = n(P, w, I, O, A, 9, u[25]),
|
|
|
+w = n(w, I, O, P, h, 5, u[20]), P = n(P, w, I, O, _, 9, u[21]), O = n(O, P, w, I, A, 14, u[22]),
|
|
|
+I = n(I, O, P, w, d, 20, u[23]), w = n(w, I, O, P, m, 5, u[24]), P = n(P, w, I, O, D, 9, u[25]),
|
|
|
O = n(O, P, w, I, p, 14, u[26]), I = n(I, O, P, w, g, 20, u[27]), w = n(w, I, O, P, S, 5, u[28]),
|
|
|
P = n(P, w, I, O, l, 9, u[29]), O = n(O, P, w, I, y, 14, u[30]), w = o(w, I = n(I, O, P, w, b, 20, u[31]), O, P, h, 4, u[32]),
|
|
|
-P = o(P, w, I, O, g, 11, u[33]), O = o(O, P, w, I, v, 16, u[34]), I = o(I, O, P, w, A, 23, u[35]),
|
|
|
+P = o(P, w, I, O, g, 11, u[33]), O = o(O, P, w, I, v, 16, u[34]), I = o(I, O, P, w, D, 23, u[35]),
|
|
|
w = o(w, I, O, P, c, 4, u[36]), P = o(P, w, I, O, d, 11, u[37]), O = o(O, P, w, I, y, 16, u[38]),
|
|
|
I = o(I, O, P, w, _, 23, u[39]), w = o(w, I, O, P, S, 4, u[40]), P = o(P, w, I, O, s, 11, u[41]),
|
|
|
O = o(O, P, w, I, p, 16, u[42]), I = o(I, O, P, w, f, 23, u[43]), w = o(w, I, O, P, m, 4, u[44]),
|
|
|
-P = o(P, w, I, O, b, 11, u[45]), O = o(O, P, w, I, D, 16, u[46]), w = a(w, I = o(I, O, P, w, l, 23, u[47]), O, P, s, 6, u[48]),
|
|
|
-P = a(P, w, I, O, y, 10, u[49]), O = a(O, P, w, I, A, 15, u[50]), I = a(I, O, P, w, h, 21, u[51]),
|
|
|
+P = o(P, w, I, O, b, 11, u[45]), O = o(O, P, w, I, A, 16, u[46]), w = a(w, I = o(I, O, P, w, l, 23, u[47]), O, P, s, 6, u[48]),
|
|
|
+P = a(P, w, I, O, y, 10, u[49]), O = a(O, P, w, I, D, 15, u[50]), I = a(I, O, P, w, h, 21, u[51]),
|
|
|
w = a(w, I, O, P, b, 6, u[52]), P = a(P, w, I, O, p, 10, u[53]), O = a(O, P, w, I, _, 15, u[54]),
|
|
|
-I = a(I, O, P, w, c, 21, u[55]), w = a(w, I, O, P, g, 6, u[56]), P = a(P, w, I, O, D, 10, u[57]),
|
|
|
+I = a(I, O, P, w, c, 21, u[55]), w = a(w, I, O, P, g, 6, u[56]), P = a(P, w, I, O, A, 10, u[57]),
|
|
|
O = a(O, P, w, I, f, 15, u[58]), I = a(I, O, P, w, S, 21, u[59]), w = a(w, I, O, P, d, 6, u[60]),
|
|
|
P = a(P, w, I, O, v, 10, u[61]), O = a(O, P, w, I, l, 15, u[62]), I = a(I, O, P, w, m, 21, u[63]);
|
|
|
r[0] = r[0] + w | 0;
|
|
|
@@ -21722,25 +21804,25 @@ for (y = 0; 256 > y; y++) {
|
|
|
var _ = (_ = m ^ m << 1 ^ m << 2 ^ m << 3 ^ m << 4) >>> 8 ^ 255 & _ ^ 99;
|
|
|
o[g] = _;
|
|
|
a[_] = g;
|
|
|
-var v = f[g], b = f[v], S = f[b], A = 257 * f[_] ^ 16843008 * _;
|
|
|
-r[g] = A << 24 | A >>> 8;
|
|
|
-c[g] = A << 16 | A >>> 16;
|
|
|
-s[g] = A << 8 | A >>> 24;
|
|
|
-l[g] = A;
|
|
|
-A = 16843009 * S ^ 65537 * b ^ 257 * v ^ 16843008 * g;
|
|
|
-u[_] = A << 24 | A >>> 8;
|
|
|
-p[_] = A << 16 | A >>> 16;
|
|
|
-d[_] = A << 8 | A >>> 24;
|
|
|
-h[_] = A;
|
|
|
+var v = f[g], b = f[v], S = f[b], D = 257 * f[_] ^ 16843008 * _;
|
|
|
+r[g] = D << 24 | D >>> 8;
|
|
|
+c[g] = D << 16 | D >>> 16;
|
|
|
+s[g] = D << 8 | D >>> 24;
|
|
|
+l[g] = D;
|
|
|
+D = 16843009 * S ^ 65537 * b ^ 257 * v ^ 16843008 * g;
|
|
|
+u[_] = D << 24 | D >>> 8;
|
|
|
+p[_] = D << 16 | D >>> 16;
|
|
|
+d[_] = D << 8 | D >>> 24;
|
|
|
+h[_] = D;
|
|
|
g ? (g = v ^ f[f[f[S ^ v]]], m ^= f[f[m]]) : g = m = 1;
|
|
|
}
|
|
|
-var D = [ 0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54 ];
|
|
|
+var A = [ 0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54 ];
|
|
|
n = n.AES = e.extend({
|
|
|
_doReset: function() {
|
|
|
for (var t = (n = this._key).words, e = n.sigBytes / 4, n = 4 * ((this._nRounds = e + 6) + 1), i = this._keySchedule = [], a = 0; a < n; a++) if (a < e) i[a] = t[a]; else {
|
|
|
var r = i[a - 1];
|
|
|
a % e ? 6 < e && 4 == a % e && (r = o[r >>> 24] << 24 | o[r >>> 16 & 255] << 16 | o[r >>> 8 & 255] << 8 | o[255 & r]) : (r = o[(r = r << 8 | r >>> 24) >>> 24] << 24 | o[r >>> 16 & 255] << 16 | o[r >>> 8 & 255] << 8 | o[255 & r],
|
|
|
-r ^= D[a / e | 0] << 24);
|
|
|
+r ^= A[a / e | 0] << 24);
|
|
|
i[a] = i[a - e] ^ r;
|
|
|
}
|
|
|
t = this._invKeySchedule = [];
|