|
|
@@ -27291,7 +27291,6 @@ return c(this, function(a) {
|
|
|
switch (a.label) {
|
|
|
case 0:
|
|
|
mk.audio.playEffect("button");
|
|
|
-mk.ui.closePanel(this.name);
|
|
|
if (!this.sp_icon.node.active) return [ 3, 1 ];
|
|
|
this.creatorDownLoadTask();
|
|
|
switch (gData.moreGame.openType) {
|
|
|
@@ -27311,6 +27310,7 @@ case 3:
|
|
|
mk.data.sendDataEvent(d.DataEventId.htRedBag_eject, "关闭农场等级奖励界面-领取");
|
|
|
}
|
|
|
gData.moreGame.openType = -1;
|
|
|
+mk.ui.closePanel(this.name);
|
|
|
return [ 3, 4 ];
|
|
|
|
|
|
case 1:
|
|
|
@@ -27357,7 +27357,9 @@ a.sent();
|
|
|
return [ 3, 3 ];
|
|
|
|
|
|
case 2:
|
|
|
+gData.adData.curRedBagAdFun == u.AdFun.settlement && s.default.Inst.nextLevel();
|
|
|
gData.adData.curRedBagAdFun = null;
|
|
|
+mk.ui.closePanel(this.node.name);
|
|
|
a.label = 3;
|
|
|
|
|
|
case 3:
|
|
|
@@ -27378,6 +27380,7 @@ e.prototype.clickCloseBtn = function() {
|
|
|
gData.adData.checkShowFullInter(1, d.InterFullAdType.interstitial2_init_1);
|
|
|
gData.adData.curRedBagAdFun == u.AdFun.settlement && s.default.Inst.nextLevel();
|
|
|
gData.adData.curRedBagAdFun = null;
|
|
|
+mk.ui.closePanel(this.node.name);
|
|
|
};
|
|
|
e.prototype.creatorDownLoadTask = function() {
|
|
|
if (!this.cool) {
|
|
|
@@ -29108,11 +29111,11 @@ if ("0" == gData.gameData.funOpenData[4]) return [ 2 ];
|
|
|
gData.plantData.init_ani = !0;
|
|
|
e = this.nameIcon.node.parent.convertToWorldSpaceAR(this.nameIcon.node.getPosition());
|
|
|
gData.gameData.gameStyle.dpFlyRedAni(e);
|
|
|
-}
|
|
|
null == (a = gData.gameData.getProp(l.GameProp.orderPlantTimes))[this.data.id] ? a[this.data.id] = 1 : a[this.data.id]++;
|
|
|
-mk.data.sendDataEvent("Plant", this.data.name);
|
|
|
gData.gameData.setProp(l.GameProp.orderPlantTimes, a);
|
|
|
this.checkOrder();
|
|
|
+mk.data.sendDataEvent("Plant", this.data.name);
|
|
|
+}
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|