Przeglądaj źródła

每日广告最大次数log

kaka 4 lat temu
rodzic
commit
494942bdb3

+ 12 - 0
assets/resources/animation/Main.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.2",
+  "uuid": "f7bacbfe-36b6-4d58-a67c-2bd784f014d1",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

+ 4 - 1
assets/script/game/data/AdData.ts

@@ -71,8 +71,11 @@ export class AdData {
     public checkAdMax() {
         this.watchNumToday++;
         let max = parseInt(gData.gameData.configs.ServerConfig.VideoTimesMax);
+
+        mk.console.logSingle('checkAdMax  watchNumToday ', this.watchNumToday);
+        mk.console.logSingle('checkAdMax  max ', max);
         if (this.watchNumToday > max) {
-            mk.tip.pop("今日看广告获得奖励的次数已用完", 1);
+            mk.tip.pop("今日看广告获得奖励的次数已用完");
             mk.ui.closeAllUI();
             return true;
         }

BIN
build/jsb-link/assets/main/index.jsc


Plik diff jest za duży
+ 0 - 0
build/jsb-link/assets/resources/config.json


+ 12 - 6
build/jsb-link/js backups (useful for debugging)/main.index.js

@@ -2494,8 +2494,9 @@ this.adMap.set(i.cashOutAddCash, gData.walletCashOutData);
 t.prototype.checkAdMax = function() {
 this.watchNumToday++;
 var t = parseInt(gData.gameData.configs.ServerConfig.VideoTimesMax);
+mk.console.logSingle("checkAdMax  ", t);
 if (this.watchNumToday > t) {
-mk.tip.pop("今日看广告获得奖励的次数已用完", 1);
+mk.tip.pop("今日看广告获得奖励的次数已用完");
 mk.ui.closeAllUI();
 return !0;
 }
@@ -14058,7 +14059,7 @@ this.setGuideID(this.crtGuideID++);
 }
 };
 t.prototype.setGuideID = function(t) {
-if (4 == t) {
+if (5 == t) {
 t = 9999;
 mk.data.sendXYEvent("guide_end", "新手引导结束");
 }
@@ -29272,9 +29273,9 @@ return [ 2 ];
 };
 e.prototype.HttpCashOut2 = function(t) {
 return i(this, void 0, void 0, function() {
-var e, o;
-return r(this, function(n) {
-switch (n.label) {
+var e, o, n;
+return r(this, function(a) {
+switch (a.label) {
 case 0:
 e = {
 index: t
@@ -29282,7 +29283,7 @@ index: t
 return [ 4, mk.http.sendData("redMoney/cashPay", e) ];
 
 case 1:
-o = n.sent();
+o = a.sent();
 mk.console.logSingle("wallet2=>", o);
 if (0 != o.errcode) {
 if (o.data.count > 0) {
@@ -29293,6 +29294,11 @@ return [ 2 ];
 }
 gData.gameData.gameData.redMoneyCashPayRecordList = o.data.redMoneyCashPayRecordList;
 this.init_cashOut = !0;
+if (n = gData.gameData.configs.CashCfg) {
+gData.gameData.gameData.redMoney -= n[t - 1].redMoney;
+gData.receiptNotice.receip_rmb = n[t - 1].money;
+mk.ui.openPanel("module/newNotice/newNotice");
+}
 return [ 2 ];
 }
 });

+ 2 - 2
packages-hot-update/cfg.json

@@ -9,7 +9,7 @@
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/kxnlyTest/baseRemote/"
     ],
-    "buildTime": 1631174292417,
-    "genTime": 1631174292417,
+    "buildTime": 1631176714224,
+    "genTime": 1631176714224,
     "genVersion": null
 }

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików