|
|
@@ -1440,7 +1440,7 @@ n.topon_rewardVideo_placementId = e[3];
|
|
|
n.topon_inter_placementId = e[4];
|
|
|
n.topon_native_placementId = e[5];
|
|
|
n.topon_banner_placementId = e[7];
|
|
|
-n.topon_fullinter_placementId = e[8];
|
|
|
+e[8] && (n.topon_fullinter_placementId = e[8]);
|
|
|
};
|
|
|
e.prototype.showVideo = function() {
|
|
|
console.log("===[ShowVideoAd] ", d.ATRewardVideo.getInstance().hasAdReady());
|
|
|
@@ -1487,7 +1487,7 @@ e.topon_android_appSecret = "66b742dd0e502b64d783d9c66a9d30c4";
|
|
|
e.topon_rewardVideo_placementId = "b5f8fa6673e180";
|
|
|
e.topon_inter_placementId = "b5f8fa77aa5262";
|
|
|
e.topon_native_placementId = "b5f8fa77aa5262";
|
|
|
-e.topon_fullinter_placementId = "b5f8fa77aa5262";
|
|
|
+e.topon_fullinter_placementId = "b6113813b876a1";
|
|
|
e.topon_banner_placementId = "b5f8fa77aa5262";
|
|
|
return n = a([ f ], e);
|
|
|
}(s.zgSingleton));
|
|
|
@@ -2003,7 +2003,12 @@ var e = mk.storage.getStorage("popFullIndex");
|
|
|
null == e ? e = 0 : e++;
|
|
|
mk.storage.setStorage("popFullIndex", e);
|
|
|
var n = e % this.fullInterShowStr.length;
|
|
|
-"1" == this.fullInterShowStr[n] && mk.ad.showInterAd(1);
|
|
|
+console.log("this.fullInterShowStr ", this.fullInterShowStr);
|
|
|
+console.log("checkShowFullInter ", n);
|
|
|
+if ("1" == this.fullInterShowStr[n]) {
|
|
|
+console.log("showInterAd ");
|
|
|
+mk.ad.showInterAd(1);
|
|
|
+}
|
|
|
}
|
|
|
};
|
|
|
return t;
|
|
|
@@ -2058,6 +2063,7 @@ t.prototype.wacthAdSuccess = function(t) {
|
|
|
var e = this;
|
|
|
void 0 === t && (t = "");
|
|
|
mk.console.log("=== wacthAdSuccess");
|
|
|
+mk.data.setTAEventUser(1, "video_time", 1);
|
|
|
mk.ui.scheduleOnce(function() {
|
|
|
gData.adData.checkAdMax() || e.videoAdcallBack(!0);
|
|
|
e.initLastTimeStamp();
|
|
|
@@ -2097,7 +2103,6 @@ this.ifShowAd && this.adSdk.showInter(t);
|
|
|
t.prototype.checkShowInterByChance = function() {
|
|
|
if (this.ifShowAd && gData.gameData.adShowConfig) {
|
|
|
var t = gData.gameData.configs.ServerConfig.interOpenChance;
|
|
|
-t || (t = .4);
|
|
|
Math.random() <= t ? this.showInterAd(0) : gData.moreGame.popMoreGamePopNode();
|
|
|
}
|
|
|
};
|
|
|
@@ -5148,6 +5153,8 @@ this.cashPro.active = !0;
|
|
|
mk.tween.move(this.cashPro, .3, cc.v2(1e3, 0), cc.v2(0, 0), function() {
|
|
|
gData.adData.checkShowFullInter(1);
|
|
|
}, "elasticIn");
|
|
|
+mk.data.setTAEventUser(1, "cash_time", 1);
|
|
|
+mk.data.setTAEventUser(1, "cash_total", this.money);
|
|
|
this.labMoney.string = "¥" + this.money;
|
|
|
};
|
|
|
e.prototype.tixianFail = function() {
|
|
|
@@ -5665,6 +5672,12 @@ t.prototype.sendDataEvent = function(t, e) {
|
|
|
console.log("===[DataSystem", t, e);
|
|
|
t && e && o.default.sendEvent(t, e);
|
|
|
};
|
|
|
+t.prototype.setTAEventUser = function(t, e, n) {
|
|
|
+o.default.setTAEventUser(t, e, n);
|
|
|
+};
|
|
|
+t.prototype.setTAEventUserStr = function(t, e, n) {
|
|
|
+o.default.setTAEventUserStr(t, e, n);
|
|
|
+};
|
|
|
t.prototype.sendXYEvent = function(t, e) {
|
|
|
if (t && e) {
|
|
|
var n = {
|
|
|
@@ -7531,7 +7544,17 @@ this.gameData.turntableTimes = t.turntableTimes;
|
|
|
this.gameData.userTuCaoInfo = t.userTuCaoInfo;
|
|
|
this.gameData.versioncfg = t.versioncfg;
|
|
|
this.gameData.isFirstRedMoney = t.isFirstRedMoney;
|
|
|
+t.groupCode && (this.gameData.groupCode = t.groupCode);
|
|
|
+console.log("ABTest ", t.groupCode);
|
|
|
gData.adData.watchNumToday = null == t.dayVideoTimesForRedMoney ? 0 : t.dayVideoTimesForRedMoney;
|
|
|
+if (gData.loginData.isFirstIn) {
|
|
|
+gData.loginData.isFirstIn = !1;
|
|
|
+mk.data.sendDataEvent("ABTest", "触发" + this.gameData.groupCode + "方案");
|
|
|
+mk.data.setTAEventUserStr(0, "xy_uid", gData.loginData.uin);
|
|
|
+mk.data.setTAEventUserStr(0, "regtime_app_id", gData.appData.appVersion);
|
|
|
+}
|
|
|
+mk.data.setTAEventUserStr(0, "now_app_id", gData.appData.appVersion);
|
|
|
+mk.data.setTAEventUserStr(0, "channel_id", gData.appData.tfChannel);
|
|
|
};
|
|
|
t.prototype.setProp = function(t, e) {
|
|
|
return o(this, void 0, void 0, function() {
|
|
|
@@ -7662,6 +7685,7 @@ this.hammerPropNum = 0;
|
|
|
this.resetPropNum = 0;
|
|
|
this.changePropNum = 0;
|
|
|
this.isFirstRedMoney = 0;
|
|
|
+this.groupCode = 0;
|
|
|
}
|
|
|
Object.defineProperty(t.prototype, "isSignInToday", {
|
|
|
get: function() {
|
|
|
@@ -7715,6 +7739,7 @@ set: function(t) {
|
|
|
this._redMoney = t;
|
|
|
gData.gameData.init_coin = !0;
|
|
|
gData.gameData.init_red_point = !0;
|
|
|
+mk.data.setTAEventUser(0, "red_money_num", this._redMoney);
|
|
|
},
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
@@ -8644,6 +8669,7 @@ mk.ui.getCurOnPanel("GetPropUI") && mk.ui.closePanel("GetPropUI");
|
|
|
this.gameOver();
|
|
|
};
|
|
|
e.prototype.gameOver = function() {
|
|
|
+mk.data.setTAEventUser(1, "video_play_time", 1);
|
|
|
mk.ui.openPanel("game/prefab/uiPanel/GameOverUI");
|
|
|
};
|
|
|
e.prototype.checkBonusNum = function(t) {
|
|
|
@@ -10972,6 +10998,14 @@ t.sendEvent = function(t, e) {
|
|
|
cc.sys.os == cc.sys.OS_ANDROID ? this.callStaticMethod(this._JSB_ANDROID_PATH, "sendEvent", "(Ljava/lang/String;Ljava/lang/String;)V", t, e) : (cc.sys.os,
|
|
|
cc.sys.OS_IOS);
|
|
|
};
|
|
|
+t.setTAEventUser = function(t, e, n) {
|
|
|
+cc.sys.os == cc.sys.OS_ANDROID ? this.callStaticMethod(this._JSB_ANDROID_PATH, "setTAEventUser", "(ILjava/lang/String;F)V", t, e, n) : (cc.sys.os,
|
|
|
+cc.sys.OS_IOS);
|
|
|
+};
|
|
|
+t.setTAEventUserStr = function(t, e, n) {
|
|
|
+cc.sys.os == cc.sys.OS_ANDROID ? this.callStaticMethod(this._JSB_ANDROID_PATH, "setTAEventUserStr", "(ILjava/lang/String;Ljava/lang/String;)V", t, e, n) : (cc.sys.os,
|
|
|
+cc.sys.OS_IOS);
|
|
|
+};
|
|
|
t.WxAuth = function() {
|
|
|
cc.sys.os == cc.sys.OS_ANDROID ? this.callStaticMethod(this._JSB_ANDROID_PATH, "WxAuth", "()V") : cc.sys.os == cc.sys.OS_IOS && this.callStaticMethod("AppController", "WxAuth", "");
|
|
|
};
|
|
|
@@ -11167,7 +11201,7 @@ value: !0
|
|
|
n.LogTagColor = void 0;
|
|
|
var i, a = function() {
|
|
|
function t() {
|
|
|
-this.ifShowLog = !1;
|
|
|
+this.ifShowLog = !0;
|
|
|
this._tagChar = "...";
|
|
|
this._frontChar = " ";
|
|
|
this._keyValueChar = " = ";
|
|
|
@@ -11378,6 +11412,7 @@ this.randomKey = "abcdefghijklopqrstuvwxyzabcdefgh";
|
|
|
this.uin = "";
|
|
|
this.tempUin = "";
|
|
|
this.loginTicket = "";
|
|
|
+this.isFirstIn = !1;
|
|
|
}
|
|
|
t.prototype.loadLocalRes = function() {
|
|
|
return o(this, void 0, void 0, function() {
|
|
|
@@ -13027,7 +13062,7 @@ var t = mk.math.random(0, this.moreGameList.normal.length - 1);
|
|
|
return this.moreGameList.normal[t];
|
|
|
};
|
|
|
e.prototype.popMoreGamePopNode = function() {
|
|
|
-mk.guide.isGuiding || mk.ui.getCurOnPanel("reward") || Math.random() <= gData.gameData.configs.ServerConfig.popMoreGame && mk.ui.openPanel("module/moreGame/moreGamePopNode");
|
|
|
+mk.guide.isGuiding() || mk.ui.getCurOnPanel("reward") || Math.random() <= gData.gameData.configs.ServerConfig.popMoreGame && mk.ui.openPanel("module/moreGame/moreGamePopNode");
|
|
|
};
|
|
|
e.prototype.popNodeGetRedBag = function() {
|
|
|
return a(this, void 0, void 0, function() {
|
|
|
@@ -14807,6 +14842,8 @@ e.prototype.initStyle = function() {
|
|
|
this.lbl_receipt_rmb.string = "¥" + (gData.receiptNotice.receip_rmb / 100).toFixed(2) + "元";
|
|
|
this.lbl_rmb_total.string = "¥" + (gData.cashNormal.receip_total_rmb / 100).toFixed(2) + "元";
|
|
|
this.lbl_user_name.string = gData.wechatData.nickName || "";
|
|
|
+mk.data.setTAEventUser(1, "cash_time", 1);
|
|
|
+mk.data.setTAEventUser(1, "cash_total", gData.receiptNotice.receip_rmb / 100);
|
|
|
};
|
|
|
a([ s({
|
|
|
displayName: "lbl收款金额",
|
|
|
@@ -15867,6 +15904,8 @@ e.prototype.init = function(t, e) {
|
|
|
this.labMoney.string = t.toFixed(2) + "元";
|
|
|
this.code = e;
|
|
|
this.labRedCode.string = "提现红包码:" + this.code;
|
|
|
+mk.data.setTAEventUser(1, "cash_time", 1);
|
|
|
+mk.data.setTAEventUser(1, "cash_total", t);
|
|
|
};
|
|
|
e.prototype.clickCopyOfficial = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
@@ -16804,7 +16843,6 @@ e.prototype.onDestroy = function() {
|
|
|
this.cur_stage === s.none && mk.audio.playEffect("rewardClose");
|
|
|
};
|
|
|
e.prototype.onClickClose = function() {
|
|
|
-mk.ad.destoryBanner();
|
|
|
if (2 == gData.reward.subType) {
|
|
|
console.log("清除积分啦啦啦啦啦阿拉拉拉啦--------------------------------", l.default.Inst.ifPass);
|
|
|
gData.gameData.setProp(p.GameProp.curTotalScore, 0);
|
|
|
@@ -16815,6 +16853,7 @@ l.default.Inst.initScore();
|
|
|
}
|
|
|
l.default.Inst && l.default.Inst.ifPass ? l.default.Inst.gameCount() : mk.ad.checkShowInterByChance();
|
|
|
this.hasWatchVideo || gData.adData.checkShowFullInter(2);
|
|
|
+mk.ad.destoryBanner();
|
|
|
};
|
|
|
a([ f({
|
|
|
displayName: "红包类型",
|
|
|
@@ -17625,6 +17664,7 @@ e.lbl_id = null;
|
|
|
e.img_music = null;
|
|
|
e.img_effect = null;
|
|
|
e.lbl_version = null;
|
|
|
+e.lbl_group = null;
|
|
|
e.node_rule = null;
|
|
|
return e;
|
|
|
}
|
|
|
@@ -17664,6 +17704,8 @@ case 3:
|
|
|
i = a.sent();
|
|
|
this.img_head.spriteFrame = new cc.SpriteFrame(i);
|
|
|
console.log("=== loadHead:", i);
|
|
|
+mk.console.ifShowLog ? this.lbl_group.string = "分组号:" + gData.gameData.gameData.groupCode : this.lbl_group.string = "";
|
|
|
+"1" != gData.gameData.funOpenData[6] && (this.lbl_nickname.string = "");
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
@@ -17762,6 +17804,10 @@ a([ d({
|
|
|
type: cc.Label,
|
|
|
displayName: "版本号"
|
|
|
}) ], e.prototype, "lbl_version", void 0);
|
|
|
+a([ d({
|
|
|
+type: cc.Label,
|
|
|
+displayName: "分组号"
|
|
|
+}) ], e.prototype, "lbl_group", void 0);
|
|
|
return a([ p ], e);
|
|
|
}(cc.Component);
|
|
|
n.default = h;
|