浏览代码

Merge branch 'master' of http://git.mokasz.com/zouyong/mk_framework

# Conflicts:
#	build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/caches/build_file_checksums.ser
#	build/jsb-link/frameworks/runtime-src/proj.android-studio/app/release/EasyEliminate-release.apk
#	packages-hot-update/cfg.json
kaka 5 年之前
父节点
当前提交
ac6124a01f
共有 42 个文件被更改,包括 1383 次插入916 次删除
  1. 5 3
      assets/resources/game/prefab/gameplay.prefab
  2. 202 17
      assets/resources/game/prefab/nodepool/CellItem.prefab
  3. 二进制
      assets/resources/module/agreementTip/fuli_list_1.png
  4. 0 36
      assets/resources/module/agreementTip/fuli_list_1.png.meta
  5. 4 4
      assets/resources/module/cashNormal/cashNormal.prefab
  6. 1 1
      assets/resources/module/hotUpdate/perfab.meta
  7. 35 20
      assets/resources/module/redBagCode/redBagCode.prefab
  8. 11 1
      assets/script/before/GamePlay.ts
  9. 1 1
      assets/script/before/view/PauseUI.ts
  10. 7 7
      assets/script/before/view/uiItem/CellItem.ts
  11. 2 0
      assets/script/game/data/AppData.ts
  12. 1 1
      assets/script/game/module/help/Help.ts
  13. 25 14
      assets/script/game/module/login/Login.ts
  14. 7 1
      assets/script/game/module/redBagCode/RedBagCode.ts
  15. 1 1
      assets/script/game/module/redCode/RedCode.ts
  16. 2 2
      assets/script/game/module/reward/Reward.ts
  17. 1 1
      assets/script/game/module/setting/Setting.ts
  18. 2 1
      assets/script/game/module/sign/Sign.ts
  19. 16 12
      assets/script/mk/sdk/ad/IADSDKMgr.ts
  20. 76 11
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATBanner.ts
  21. 5 13
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATBannerJS.js
  22. 88 22
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitial.ts
  23. 16 42
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitialJS.js
  24. 173 15
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATNative.ts
  25. 29 118
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATNativeJS.js
  26. 28 23
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideo.ts
  27. 8 8
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideoJS.js
  28. 37 17
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr.ts
  29. 0 2
      assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgrJS.js
  30. 17 12
      assets/script/mk/system/AdSystem.ts
  31. 5 3
      assets/script/mk/system/JsbSystem.ts
  32. 二进制
      build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/caches/build_file_checksums.ser
  33. 1 1
      build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/gradle.xml
  34. 1 1
      build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/modules.xml
  35. 99 0
      build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/modules/-1746423203/libcocos2dx.iml
  36. 0 99
      build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/modules/1786486690/android-libcocos2dx.iml
  37. 153 153
      build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/modules/app/EasyEliminate.iml
  38. 二进制
      build/jsb-link/frameworks/runtime-src/proj.android-studio/app/release/EasyEliminate-release.apk
  39. 8 1
      build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/org/cocos2dx/javascript/thirdSdk/ThirdSdkMgr.java
  40. 3 3
      build/jsb-link/frameworks/runtime-src/proj.android-studio/gradle.properties
  41. 311 247
      build/jsb-link/js backups (useful for debugging)/main.index.js
  42. 2 2
      packages-hot-update/cfg.json

+ 5 - 3
assets/resources/game/prefab/gameplay.prefab

@@ -2885,7 +2885,7 @@
     "_srcBlendFactor": 770,
     "_dstBlendFactor": 771,
     "_spriteFrame": {
-      "__uuid__": "c4431030-4432-406f-a5e5-715b3bf622a5"
+      "__uuid__": "eab4a3e2-1348-4a4a-b624-155f21f77e04"
     },
     "_type": 3,
     "_sizeMode": 0,
@@ -7096,9 +7096,11 @@
   },
   {
     "__type__": "cc.ClickEvent",
-    "target": null,
+    "target": {
+      "__id__": 1
+    },
     "component": "",
-    "_componentId": "8760dQYasROwLaLe1idTS07",
+    "_componentId": "a2b96K4aRpIurudLqdatOeW",
     "handler": "onClickShare",
     "customEventData": ""
   },

+ 202 - 17
assets/resources/game/prefab/nodepool/CellItem.prefab

@@ -27,11 +27,11 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 9
+        "__id__": 14
       }
     ],
     "_prefab": {
-      "__id__": 10
+      "__id__": 15
     },
     "_opacity": 255,
     "_color": {
@@ -224,20 +224,87 @@
   },
   {
     "__type__": "cc.Node",
-    "_name": "spr_redPacketIcon",
+    "_name": "node_redPacket",
     "_objFlags": 0,
     "_parent": {
       "__id__": 1
     },
-    "_children": [],
+    "_children": [
+      {
+        "__id__": 7
+      },
+      {
+        "__id__": 10
+      }
+    ],
     "_active": false,
+    "_components": [],
+    "_prefab": {
+      "__id__": 13
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        16.384,
+        -14.534,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0.4,
+        0.4,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 6
+    },
+    "_children": [],
+    "_active": true,
     "_components": [
       {
-        "__id__": 7
+        "__id__": 8
       }
     ],
     "_prefab": {
-      "__id__": 8
+      "__id__": 9
     },
     "_opacity": 255,
     "_color": {
@@ -249,8 +316,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 83,
-      "height": 78
+      "width": 115,
+      "height": 108
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -261,15 +328,15 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        15,
-        -15,
         0,
         0,
         0,
         0,
+        0,
+        0,
+        1,
+        1,
         1,
-        -0.5,
-        0.5,
         1
       ]
     },
@@ -291,8 +358,115 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
+      "__id__": 7
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "dc5d4911-076d-4863-a00f-faeea29ceb86"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "43529976-dd3c-4e7d-9c15-28537bac2f0b"
+    },
+    "fileId": "8fJhVI6JhIQLmL71+CsfX0",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao_hb",
+    "_objFlags": 0,
+    "_parent": {
       "__id__": 6
     },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 11
+      }
+    ],
+    "_prefab": {
+      "__id__": 12
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 61,
+      "height": 79
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 10
+    },
     "_enabled": true,
     "_materials": [
       {
@@ -302,10 +476,10 @@
     "_srcBlendFactor": 770,
     "_dstBlendFactor": 771,
     "_spriteFrame": {
-      "__uuid__": "9c7771f6-3761-476c-a467-e8b449080e65"
+      "__uuid__": "c4431030-4432-406f-a5e5-715b3bf622a5"
     },
     "_type": 0,
-    "_sizeMode": 0,
+    "_sizeMode": 1,
     "_fillType": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
@@ -326,7 +500,18 @@
     "asset": {
       "__uuid__": "43529976-dd3c-4e7d-9c15-28537bac2f0b"
     },
-    "fileId": "10MDEwKB1Aros1Lqj95VzI",
+    "fileId": "62/Aa2eLlOaJLjfbXSW4Hn",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "43529976-dd3c-4e7d-9c15-28537bac2f0b"
+    },
+    "fileId": "3efWeTNLhEarDHBaWKdVQN",
     "sync": false
   },
   {
@@ -343,8 +528,8 @@
     "spr_cellItemIcon": {
       "__id__": 3
     },
-    "spr_redPackIcon": {
-      "__id__": 7
+    "node_redPackIcon": {
+      "__id__": 6
     },
     "_id": ""
   },

二进制
assets/resources/module/agreementTip/fuli_list_1.png


+ 0 - 36
assets/resources/module/agreementTip/fuli_list_1.png.meta

@@ -1,36 +0,0 @@
-{
-  "ver": "2.3.5",
-  "uuid": "a4edb8a4-873a-4cbd-a738-4a5516d97243",
-  "type": "sprite",
-  "wrapMode": "clamp",
-  "filterMode": "bilinear",
-  "premultiplyAlpha": false,
-  "genMipmaps": false,
-  "packable": true,
-  "width": 671,
-  "height": 381,
-  "platformSettings": {},
-  "subMetas": {
-    "fuli_list_1": {
-      "ver": "1.0.4",
-      "uuid": "429a1d4b-5117-4390-af51-840edb26f400",
-      "rawTextureUuid": "a4edb8a4-873a-4cbd-a738-4a5516d97243",
-      "trimType": "auto",
-      "trimThreshold": 1,
-      "rotated": false,
-      "offsetX": 0,
-      "offsetY": -2,
-      "trimX": 0,
-      "trimY": 4,
-      "width": 671,
-      "height": 377,
-      "rawWidth": 671,
-      "rawHeight": 381,
-      "borderTop": 0,
-      "borderBottom": 0,
-      "borderLeft": 0,
-      "borderRight": 0,
-      "subMetas": {}
-    }
-  }
-}

+ 4 - 4
assets/resources/module/cashNormal/cashNormal.prefab

@@ -1483,13 +1483,13 @@
     "_enabled": true,
     "alignMode": 1,
     "_target": {
-      "__id__": 1
+      "__id__": 33
     },
     "_alignFlags": 5,
     "_left": 0,
     "_right": 0,
-    "_top": 151.99699999999996,
-    "_bottom": 32.00300000000004,
+    "_top": 0,
+    "_bottom": 0,
     "_verticalCenter": 0,
     "_horizontalCenter": 0,
     "_isAbsLeft": true,
@@ -1570,7 +1570,7 @@
     "_target": {
       "__id__": 2
     },
-    "_alignFlags": 5,
+    "_alignFlags": 1,
     "_left": 0,
     "_right": 0,
     "_top": 151.99699999999996,

+ 1 - 1
assets/resources/module/agreementTip.meta → assets/resources/module/hotUpdate/perfab.meta

@@ -1,6 +1,6 @@
 {
   "ver": "1.1.2",
-  "uuid": "e55211fa-1d57-49c2-8c75-cb32a8109085",
+  "uuid": "efa349c9-0e27-4ce0-8e74-85e06375fc64",
   "isBundle": false,
   "bundleName": "",
   "priority": 1,

+ 35 - 20
assets/resources/module/redBagCode/redBagCode.prefab

@@ -24,9 +24,6 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 34
-      },
-      {
         "__id__": 35
       },
       {
@@ -34,10 +31,13 @@
       },
       {
         "__id__": 37
+      },
+      {
+        "__id__": 38
       }
     ],
     "_prefab": {
-      "__id__": 38
+      "__id__": 39
     },
     "_opacity": 255,
     "_color": {
@@ -107,20 +107,20 @@
         "__id__": 18
       },
       {
-        "__id__": 24
+        "__id__": 25
       },
       {
-        "__id__": 27
+        "__id__": 28
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 32
+        "__id__": 33
       }
     ],
     "_prefab": {
-      "__id__": 33
+      "__id__": 34
     },
     "_opacity": 255,
     "_color": {
@@ -699,7 +699,7 @@
       }
     ],
     "_prefab": {
-      "__id__": 23
+      "__id__": 24
     },
     "_opacity": 255,
     "_color": {
@@ -867,10 +867,24 @@
       "__id__": 1
     },
     "transition_type": 3,
-    "onComplete": [],
+    "onComplete": [
+      {
+        "__id__": 23
+      }
+    ],
     "_id": ""
   },
   {
+    "__type__": "cc.ClickEvent",
+    "target": {
+      "__id__": 1
+    },
+    "component": "",
+    "_componentId": "f7616rh8MtO1ZZziaU2Xf1w",
+    "handler": "onClickClose",
+    "customEventData": ""
+  },
+  {
     "__type__": "cc.PrefabInfo",
     "root": {
       "__id__": 1
@@ -892,11 +906,11 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 25
+        "__id__": 26
       }
     ],
     "_prefab": {
-      "__id__": 26
+      "__id__": 27
     },
     "_opacity": 255,
     "_color": {
@@ -950,7 +964,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 24
+      "__id__": 25
     },
     "_enabled": true,
     "_materials": [
@@ -1002,14 +1016,14 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 28
+        "__id__": 29
       },
       {
-        "__id__": 29
+        "__id__": 30
       }
     ],
     "_prefab": {
-      "__id__": 31
+      "__id__": 32
     },
     "_opacity": 255,
     "_color": {
@@ -1063,7 +1077,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 27
+      "__id__": 28
     },
     "_enabled": true,
     "_materials": [
@@ -1095,7 +1109,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 27
+      "__id__": 28
     },
     "_enabled": true,
     "_normalMaterial": {
@@ -1106,7 +1120,7 @@
     "zoomScale": 1.2,
     "clickEvents": [
       {
-        "__id__": 30
+        "__id__": 31
       }
     ],
     "_N$interactable": true,
@@ -1235,7 +1249,7 @@
       "__id__": 15
     },
     "lbl_none": {
-      "__id__": 25
+      "__id__": 26
     },
     "videoPre": {
       "__uuid__": "33e934e4-3ffd-4bc1-bd4d-58a9b515f7f5"
@@ -1288,6 +1302,7 @@
       "__id__": 3
     },
     "bClickClose": true,
+    "onComplete": [],
     "_id": ""
   },
   {

+ 11 - 1
assets/script/before/GamePlay.ts

@@ -8,6 +8,7 @@ import DataMgr from "./mgr/DataMgr";
 import EffectMgr, { TIP_SPRITEITEM_TYPE } from "./mgr/EffectMgr";
 import GameMgr, { UI_NAME } from "./mgr/GameMgr";
 import { AUDIO_TYPE, EVENT_TYPE, GameProp } from "../game/data/GameData";
+import JsbSystem from "../mk/system/JsbSystem";
 
 const { ccclass, property } = cc._decorator;
 
@@ -184,7 +185,7 @@ export default class GamePlay extends cc.Component {
             this.cellItemDic[0][3] && this.cellItemDic[0][3].onClick();
             this.cellItemDic[0][4] && this.cellItemDic[0][4].onClick();
         }
-        else if (data == "1_6") {//再点击一次增加大量进度哦
+        else if (data == "1_7") {//再点击一次增加大量进度哦
             this.cellItemDic[1][1] && this.cellItemDic[1][1].onClick();
             this.cellItemDic[1][2] && this.cellItemDic[1][2].onClick();
         }
@@ -463,6 +464,15 @@ export default class GamePlay extends cc.Component {
         mk.ui.openPanel("game/prefab/uiPanel/PauseUI")
     }
 
+    /**点击分享 */
+    public onClickShare() {
+        if (!gData.loginData.isAuth) {
+            // mk.tip.pop("请先点击头像,在设置界面授权");
+            JsbSystem.WxAuth();
+            return;
+        }
+        JsbSystem.sharePic();
+    }
 
     /**点击重置按钮 */
     onClickResetBtn() {

+ 1 - 1
assets/script/before/view/PauseUI.ts

@@ -47,7 +47,7 @@ export default class PauseUI extends cc.Component {
     }
 
     start() {
-        mk.ad.showNativeAd(4);
+        mk.ad.showNative(4);
 
         this.node_bg.setContentSize(cc.winSize.width, cc.winSize.height);
         this.initEvent();

+ 7 - 7
assets/script/before/view/uiItem/CellItem.ts

@@ -20,8 +20,8 @@ export default class CellItem extends cc.Component {
     @property(cc.Sprite)
     spr_cellItemIcon: cc.Sprite = null;
     /**cellItem的Icon图 */
-    @property(cc.Sprite)
-    spr_redPackIcon: cc.Sprite = null;
+    @property(cc.Node)
+    node_redPackIcon: cc.Node = null;
 
     /**纵列数 */
     public x: number = 0;
@@ -294,7 +294,7 @@ export default class CellItem extends cc.Component {
 
     /** */
     showRedPacket() {
-        this.spr_redPackIcon.node.active = true;
+        this.node_redPackIcon.active = true;
     }
 
     /**
@@ -338,7 +338,7 @@ export default class CellItem extends cc.Component {
             //LogUtil.log("10 + Game.Inst.cleanedVecArr.length * 5", 10 + Game.Inst.cleanedVecArr.length * 5);
 
             //得分
-            let score = 2 + GamePlay.Inst.cleanedVecArr.length * 2;
+            let score = 2 + (GamePlay.Inst.cleanedVecArr.length - 2) * 2;
             //得分特效
             let node_score = PoolMgr.Inst.getPoolPrefab(NODEPOOLPREFABTYPE.EliminateScore);
             //LogUtil.log("node_score", node_score);
@@ -357,7 +357,7 @@ export default class CellItem extends cc.Component {
                 node_scoreEnergy.getComponent(ScoreEnergy).init(x, y, score);
                 GamePlay.Inst.node_effectUI.addChild(node_scoreEnergy);
 
-                if (this.spr_redPackIcon.node.active) {
+                if (this.node_redPackIcon.active) {
                     this.scheduleOnce(() => {
                         if (GamePlay.Inst.finalGetScore < GamePlay.Inst.targetScore) {
                             gData.reward.subType = 2;
@@ -367,8 +367,8 @@ export default class CellItem extends cc.Component {
                 }
             }
         }
-        if (this.spr_redPackIcon.node.active) {
-            this.spr_redPackIcon.node.active = false;
+        if (this.node_redPackIcon.active) {
+            this.node_redPackIcon.active = false;
         }
         //回收
         PoolMgr.Inst.recyclePoolPrefab(NODEPOOLPREFABTYPE.CellItem, this.node);

+ 2 - 0
assets/script/game/data/AppData.ts

@@ -67,6 +67,8 @@ export class AppData {
         this.androidVersion = arr[10];
 
         this.getDeviceInfoCompelete = true;
+        console.log("===[this.tfChannel",this.tfChannel);
+        console.log("===[this.appVersion",this.appVersion);
     }
 
     public init() {

+ 1 - 1
assets/script/game/module/help/Help.ts

@@ -12,7 +12,7 @@ export default class Help extends cc.Component {
     lbl_desc: cc.Label = null;
 
     start() {
-        mk.ad.showNativeAd(4);
+        mk.ad.showNative(4);
     }
 
     update() {

+ 25 - 14
assets/script/game/module/login/Login.ts

@@ -102,24 +102,35 @@ export default class Login extends cc.Component {
 
     //发送请求整包更新
     public async getForceVersionInfo() {
+
         console.log("===[Login] getForceVersionInfo发送请求整包更新")
-        mk.console.log("===[Login] getForceVersionInfo", gData.loginData.uin,gData.loginData.sessionKey);
+        mk.console.log("===[Login] getForceVersionInfo", gData.loginData.uin, gData.loginData.sessionKey);
         let data: any = {
+            "appId": gData.appData.appId,
+            'channel': gData.appData.tfChannel,
             'version': gData.appData.appVersion,
-            'channel': gData.appData.tfChannel
-        }
-
-        data.timestamp = Math.floor(new Date().getTime() * 0.001)
-        data.appVersion = gData.appData.appVersion;
-        data.tfChannel = gData.appData.tfChannel;
-        data.versioncfg = gData.appData.version;
-
-        let encode = mk.encrypt.encrypt(JSON.stringify(data), gData.loginData.sessionKey, gData.loginData.sessionKey);
-        let bodyData = {
-            "uin": gData.loginData.uin,
-            "encrypt": encode
         }
-        let response = await mk.http.sendRequest("getForceVersionInfo", 'POST', JSON.stringify(bodyData), false, false)
+        mk.console.log("===[Login] getForceVersionInfo appId", gData.appData.appId);
+        mk.console.log("===[Login] getForceVersionInfo channel", gData.appData.tfChannel);
+        mk.console.log("===[Login] getForceVersionInfo version", gData.appData.appVersion);
+        // let data :any = {
+        //     "appId": "wxcf31f0e54f7fefda",
+        //     "channel": "1",
+        //     "version": "1.0.1"
+        // }
+     
+
+        // data.timestamp = Math.floor(new Date().getTime() * 0.001)
+        // data.appVersion = gData.appData.appVersion;
+        // data.tfChannel = gData.appData.tfChannel;
+        // data.versioncfg = gData.appData.version;
+
+        // let encode = mk.encrypt.encrypt(JSON.stringify(data), gData.loginData.sessionKey, gData.loginData.sessionKey);
+        // let bodyData = {
+        //     "uin": gData.loginData.uin,
+        //     "encrypt": data
+        // }
+        let response = await mk.http.sendRequest("getForceVersionInfo", 'POST', JSON.stringify(data), false, false)
         mk.console.logSingle("===[Login] getForceVersionInfo response", response);
         gData.appData.needForceUpdate = response.isForceUpdate;
         gData.appData.installVersion = response.version;

+ 7 - 1
assets/script/game/module/redBagCode/RedBagCode.ts

@@ -1,3 +1,4 @@
+import MKSwitch from "../../../mk/MKSwitch";
 
 const { ccclass, property } = cc._decorator;
 /**
@@ -16,9 +17,10 @@ export default class RedBagCode extends cc.Component {
 
     start() {
         this.initList();
+        mk.ad.showNative(4);
     }
 
-    
+
     /**
      * 初始化滚动列表
      */
@@ -64,4 +66,8 @@ export default class RedBagCode extends cc.Component {
         mk.audio.setResumeMusic();
         this.coolTime = false
     }
+
+    onClickClose() {
+        mk.ad.destroyNativeAd();
+    }
 }

+ 1 - 1
assets/script/game/module/redCode/RedCode.ts

@@ -36,7 +36,7 @@ export default class RedCode extends cc.Component {
     coolTime = false
 
     start() {
-        mk.ad.showNativeAd(4);
+        mk.ad.showNative(4);
 
         this.coolTime = false
         this.labOfficial.string = `“${this.officialStr}”`

+ 2 - 2
assets/script/game/module/reward/Reward.ts

@@ -68,7 +68,7 @@ export default class Reward extends cc.Component {
     }
 
     start() {
-        mk.ad.showBannerAd();
+        mk.ad.showBanner();
         mk.ad.checkShowInterByChance();
 
         /** 盖子 */
@@ -273,7 +273,7 @@ export default class Reward extends cc.Component {
     }
 
     onClickClose() {
-        mk.ad.destroyNativeAd();
+        mk.ad.destoryBanner();
         mk.ad.checkShowInterByChance();
     }
 }

+ 1 - 1
assets/script/game/module/setting/Setting.ts

@@ -30,7 +30,7 @@ export default class Setting extends cc.Component {
     }
 
     start() {
-        mk.ad.showNativeAd(4);
+        mk.ad.showNative(4);
     }
 
     private async initData() {

+ 2 - 1
assets/script/game/module/sign/Sign.ts

@@ -27,7 +27,7 @@ export default class Sign extends cc.Component {
     }
 
     start() {
-        mk.ad.showNativeAd(4);
+        mk.ad.showNative(4);
         // gData.sign.sign_can = gData.gameData.getProp(GameProp.sign_can);
         gData.sign.initListData();
         gData.sign.init_data = true;
@@ -82,6 +82,7 @@ export default class Sign extends cc.Component {
             mk.console.log("watchAD:" + success);
             if (success) {
                 gData.adData.watchVideo(AdFun.sign);
+                mk.ad.destroyNativeAd();
             }
         });
     }

+ 16 - 12
assets/script/mk/sdk/ad/IADSDKMgr.ts

@@ -4,22 +4,26 @@ export interface IADSDKMgr {
     initSDK();
 
     /** 观看视频 */
-    showVideoAd();
-    
+    showVideo();
+
     /** 显示插屏 */
-    showInterAd();
-    
+    showInter(type: number);
+
     /** 加载原生 */
-    loadNativeAd(type: number, show: boolean);
-    
+    loadNative(type: number, ifLoadShow: boolean);
+
+    /** 显示原生 */
+    showNative(type: number);
+
     /** 销毁原生 */
-    destroyNativeAd();
-    
+    destroyNative();
+
+    /** 加载banner */
+    loadBanner(ifLoadShow: boolean);
+
     /** 显示banner */
-    showBannerAd();
-    
+    showBanner();
+
     /** 销毁banner */
     destoryBanner();
-
-    showInter();
 }

+ 76 - 11
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATBanner.ts

@@ -8,12 +8,25 @@ import ATSDKMgr from "./ATSDKMgr";
  */
 export default class ATBanner extends zgSingleton {
 
+    /**  */
+    private ATBannerJS: any;
+
+    /** 激励视频状态 */
+    public bannerAdState: BannerAdState = 0;
+    /** 是否加载完显示 */
+    public ifLoadShow: boolean = false;
+    /**是否观看完毕 */
+    public ifWatchEnd: boolean = false;
+
     init() {
-        cc["ATBannerJS"].proxy = this;
-        console.log("cc[ATBannerJS]", cc["ATBannerJS"]);
-        console.log("window[ATBannerJS]", window["ATBannerJS"]);
-        cc["ATBannerJS"].init();
-        this.loadBanner();
+
+        this.ATBannerJS = cc["ATBannerJS"];
+        this.ATBannerJS.proxy = this;
+        this.ATBannerJS.init();
+
+        if (this.bannerAdState == BannerAdState.Unload) {
+            this.loadBanner();
+        }
     }
 
     /** 广告位id */
@@ -25,18 +38,52 @@ export default class ATBanner extends zgSingleton {
         }
     }
 
-    /* *加载banner */
-    loadBanner() {
-        cc["ATBannerJS"].loadBanner();
+    //广告逻辑部分------------------------------------------------------------------------
+    /**
+    * 检测banner是否准备就绪
+    * @returns 
+    */
+    hasAdReady() {
+        return this.ATBannerJS.hasAdReady();
+    }
+
+    /** 加载banner
+     * @param ifLoadShow 是否显示 默认为false
+     */
+    loadBanner(ifLoadShow: boolean = false) {
+        this.ifLoadShow = ifLoadShow;
+        this.bannerAdState = BannerAdState.Loading;
+
+        this.ATBannerJS.loadBanner();
     }
 
     /** 显示banner */
     showBanner() {
-        cc["ATBannerJS"].showBanner();
+        if (this.bannerAdState == BannerAdState.Show) {
+
+        }
+        else {
+            if (this.hasAdReady()) {
+                this.bannerAdState = BannerAdState.Show;
+                this.ATBannerJS.showBanner();
+            }
+            else {
+                if (this.bannerAdState == BannerAdState.Loading) {
+                    this.ifLoadShow = true;
+                }
+                else {
+                    this.loadBanner(true);
+                }
+            }
+        }
     }
 
+    /** 销毁banner */
     destroyBanner() {
-        cc["ATBannerJS"].destroyBanner()
+        this.bannerAdState = BannerAdState.Close;
+
+        this.ATBannerJS.destroyBanner()
+        this.loadBanner();
     }
 
     //广告回调部分------------------------------------------------------------------------
@@ -46,7 +93,7 @@ export default class ATBanner extends zgSingleton {
      * @returns 
      */
     onBannerAdLoaded(placementId) {
-        // ATJSSDK.printLog("AnyThinkBannerDemo::onBannerAdLoaded(" + placementId + ")");
+        this.bannerAdState = BannerAdState.LoadSuccess;
     }
 
     /**
@@ -56,6 +103,7 @@ export default class ATBanner extends zgSingleton {
      * @returns 
      */
     onBannerAdLoadFail(placementId, errorInfo) {
+        this.bannerAdState = BannerAdState.LoadFail;
         // ATJSSDK.printLog("AnyThinkBannerDemo::onBannerAdLoadFail(" + placementId + ", " + errorInfo + ")");
     }
 
@@ -66,6 +114,7 @@ export default class ATBanner extends zgSingleton {
      * @returns 
      */
     onBannerAdShow(placementId, callbackInfo) {
+        this.bannerAdState = BannerAdState.Show;
         // ATJSSDK.printLog("AnyThinkBannerDemo::onBannerAdShow(" + placementId + ", " + callbackInfo + ")");
     }
 
@@ -105,3 +154,19 @@ export default class ATBanner extends zgSingleton {
 
     }
 }
+
+/** banner广告加载状态 */
+export enum BannerAdState {
+    /** 未加载 */
+    Unload = 0,
+    /** 加载中 */
+    Loading = 1,
+    /** 加载成功 */
+    LoadSuccess = 2,
+    /** 加载失败 */
+    LoadFail = 3,
+    /** 显示状态 */
+    Show = 4,
+    /** 关闭状态 */
+    Close = 5
+}

+ 5 - 13
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATBannerJS.js

@@ -46,7 +46,7 @@ var ATBannerJS = cc.Class({
      * 检测banner是否准备就绪
      * @returns 
      */
-    checkBannerReady: function () {
+    hasAdReady: function () {
         return ATBannerJSSDK.hasAdReady(this.placementID()) ? true : false
     },
 
@@ -55,9 +55,6 @@ var ATBannerJS = cc.Class({
      * @returns 
      */
     showBanner: function () {
-        if (this.bannerIsShow) {
-            return
-        }
         ATBannerJSSDK.showAdInPosition(this.placementID(), ATBannerJSSDK.kATBannerAdShowingPositionBottom);
     },
 
@@ -65,11 +62,7 @@ var ATBannerJS = cc.Class({
      * 销毁banner
      */
     destroyBanner: function () {
-        if (this.bannerIsShow) {
-            ATBannerJSSDK.removeAd(this.placementID());
-            this.bannerIsShow = false
-            this.loadBanner()
-        }
+        ATBannerJSSDK.removeAd(this.placementID());
     },
 
     /**
@@ -90,7 +83,7 @@ var ATBannerJS = cc.Class({
      * @returns 
      */
     onBannerAdLoadFail: function (placementId, errorInfo) {
-        // ATJSSDK.printLog("AnyThinkBannerDemo::onBannerAdLoadFail(" + placementId + ", " + errorInfo + ")");
+        ATJSSDK.printLog("===[ AnyThinkBannerDemo::onBannerAdLoadFail(" + placementId + ", " + errorInfo + ")");
         if (this.proxy == null) return;
         this.proxy.onBannerAdLoadFail(placementId, errorInfo);
     },
@@ -103,7 +96,6 @@ var ATBannerJS = cc.Class({
      */
     onBannerAdShow: function (placementId, callbackInfo) {
         // ATJSSDK.printLog("AnyThinkBannerDemo::onBannerAdShow(" + placementId + ", " + callbackInfo + ")");
-        this.bannerIsShow = true
         if (this.proxy == null) return;
         this.proxy.onBannerAdShow(placementId, callbackInfo);
     },
@@ -129,7 +121,7 @@ var ATBannerJS = cc.Class({
     /**
      * banner自动刷新失败
      * @param {*} placementId 广告位id
-     * @param {*} errorInfo   错误信息
+     * @param {*} errorInfo   回调信息
      * @returns 
      */
     onBannerAdAutoRefreshFail: function (placementId, errorInfo) {
@@ -140,7 +132,7 @@ var ATBannerJS = cc.Class({
     /**
      * banner关闭按钮被点击
      * @param {*} placementId  广告位id
-     * @param {*} callbackInfo 错误信息
+     * @param {*} callbackInfo 回调信息
      * @returns 
      */
     onBannerAdCloseButtonTapped: function (placementId, callbackInfo) {

+ 88 - 22
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitial.ts

@@ -9,19 +9,32 @@ import ATSDKMgr from "./ATSDKMgr";
  */
 export default class ATInterstitial extends zgSingleton {
 
+    /** */
     private ATInterstitialJS: any;
-    private interType:number ;
 
+    /** 插屏广告类型 0 插屏 1全屏 */
+    private interAdType: number = 0;
+    /** 插屏广告状态 */
+    private interAdState: InterAdState = 0;
+    /** 是否加载完显示 */
+    private ifLoadShow: boolean = false;
+
+    /** 初始化 */
     init() {
         this.ATInterstitialJS = cc["ATInterstitialJS"];
         this.ATInterstitialJS.proxy = this;;
         this.ATInterstitialJS.init();
-        this.loadInter(0);
+
+        if (this.interAdState == InterAdState.Unload) {
+            this.loadInter(0);
+        }
     }
 
-    /** 广告位id */
-    placementID(type: number) {
-        if (type == 0) {
+    /** 广告位id 
+     * @param 0 插屏 1 全屏
+     */
+    placementID() {
+        if (this.interAdType == 0) {
             if (cc.sys.os === cc.sys.OS_IOS) {
                 return ATSDKMgr.topon_inter_placementId;
             } else if (cc.sys.os === cc.sys.OS_ANDROID) {
@@ -37,16 +50,28 @@ export default class ATInterstitial extends zgSingleton {
         }
     }
 
-    /** 插屏广告
-     * @param type 0 普通插屏 1 全屏视频插屏
+    //广告逻辑部分------------------------------------------------------------------------
+    /** 检测是否插屏预备好了 */
+    hasAdReady() {
+        return this.ATInterstitialJS.hasAdReady();
+    }
+
+    /** 
+     * 加载插屏广告
+     * @param type 0 插屏 1 全屏
      */
-    loadInter(type) {
-        this.interType = type;
+    loadInter(type: number, ifLoadShow: boolean = false) {
+
+        this.interAdType = type;
+        this.ifLoadShow = ifLoadShow;
+
+        this.interAdState = InterAdState.Loading;
+        this.ATInterstitialJS.loadInter(type);
+
         // // console.log('99999999   loadInterPre  ', type)
         // if (!this.onloadInter) {
         //     this.onloadInter = true
         //     // console.log('99999999   loadInter  ', type)
-        this.ATInterstitialJS.loadInter(type);
         //     //FC:UROI事件
         //     if (GameM.commonData.ifUROI) {
         //         let eventID = EncryptUtil.randomString(32);
@@ -55,21 +80,44 @@ export default class ATInterstitial extends zgSingleton {
         // }
     }
 
-    showInter(type) {
-        this.interType = type
-        if (this.ATInterstitialJS.checkInterReady(type)) {
-            this.ATInterstitialJS.showInter(type);
+    /**
+     * 显示插屏广告
+     * @param type 0 插屏 1 全屏
+     */
+    showInter(type: number) {
+
+        this.interAdType = type;
+
+        if (this.interAdState == InterAdState.Show) {
+            //正在显示不重复弹出
         }
         else {
-            this.loadInter(type)
+            if (this.hasAdReady()) {
+                this.interAdState = InterAdState.Show;
+                this.ATInterstitialJS.showInter(type);
+            }
+            else {
+                //如果正在加载中,则不处理
+                if (this.interAdState == InterAdState.Loading) {
+                    //正在加载不重复加载
+                    this.ifLoadShow = true;
+                }
+                else {
+                    this.loadInter(type, true)
+                }
+            }
         }
-        // this.ATInterstitialJS.showInter(0);
     }
 
     //广告回调部分------------------------------------------------------------------------
     onInterstitialAdLoaded(placementId) {
-        // this.onloadInter = false
-        // // console.log('99999999   onInterstitialAdLoaded  ')
+
+        this.interAdState = InterAdState.LoadSuccess;
+
+        if (this.ifLoadShow) {
+            this.showInter(this.interAdType);
+        }
+
         // if (GameM.commonData.ifUROI) {
         //     let eventID = EncryptUtil.randomString(32);
         //     AdM.sendUROIEvent(eventID, '', placementId, "ad_fill", "interstitial", 'other', '')
@@ -77,8 +125,7 @@ export default class ATInterstitial extends zgSingleton {
     }
 
     onInterstitialAdLoadFail(placementId, errorInfo) {
-        // this.onloadInter = false
-        // // console.log('99999999   onInterstitialAdLoadFail')
+        this.interAdState = InterAdState.LoadFail;
 
         // if (placementId == GameM.commonData.fullInterPlaceId) {
         //     EffectNode.instance.PlayTip('拉取全屏视频失败,请稍后再试')
@@ -91,6 +138,8 @@ export default class ATInterstitial extends zgSingleton {
 
     //广告展示成功
     onInterstitialAdShow(placementId, callbackInfo) {
+        this.interAdState = InterAdState.Show;
+
         // // console.log('99999999   onInterstitialAdShow')
         // let data = JSON.parse(callbackInfo)
         // let id = 2
@@ -125,6 +174,9 @@ export default class ATInterstitial extends zgSingleton {
 
     //插屏广告关闭
     onInterstitialAdClose(placementId, callbackInfo) {
+        this.interAdState = InterAdState.Close;
+        this.loadInter(this.interAdType)
+
         // //给奖励
         // // console.log('AnyThinkInterstitialDemo  ', this.interType)
         // if (placementId == GameM.commonData.fullInterPlaceId) {
@@ -138,8 +190,22 @@ export default class ATInterstitial extends zgSingleton {
         //         data.network_firm_id, data.adsource_id, data.adsource_index, data.adsource_price,
         //         data.adsource_isheaderbidding, data.publisher_revenue, data.precision, data.ecpm_level)
         // }
-
-        this.loadInter(this.interType)
     }
+}
+
 
+/** 插屏广告加载状态 */
+export enum InterAdState {
+    /** 未加载 */
+    Unload = 0,
+    /** 加载中 */
+    Loading = 1,
+    /** 加载成功 */
+    LoadSuccess = 2,
+    /** 加载失败 */
+    LoadFail = 3,
+    /** 显示状态 */
+    Show = 4,
+    /** 关闭状态 */
+    Close = 5
 }

+ 16 - 42
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitialJS.js

@@ -8,69 +8,43 @@ var ATInterstitialJS = cc.Class({
     /** 代理脚本(TS) */
     proxy: null,
 
-    /** 插屏类型 */
-    interType: 0,
-
     ctor: function () {
         // console.log("ATNativeJS created! ");
     },
 
     init: function () {
-        ATBannerJSSDK.setAdListener(this);
+        ATInterstitialJSSDK.setAdListener(this);
     },
 
     /** 广告位id */
     placementID: function () {
-        return this.proxy.placementID(this.interType);
+        return this.proxy.placementID();
     },
 
     /**
-     * 插屏广告加载
-     * @param {*} type 0 插屏 1 全屏
+     * 检查插屏是否加载成功
+     * @returns 
      */
-    loadInter: function (type) {
-        //v5.6.8新增,只针对Sigmob平台,Sigmob的激励视频广告源当做插屏使用
-        var setting = {};
-        setting[ATInterstitialJSSDK.UseRewardedVideoAsInterstitial] = false;
-        this.interType = type
-        ATInterstitialJSSDK.setAdListener(this);
-        //setting[ATInterstitialJSSDK.UseRewardedVideoAsInterstitial] = true;
-        if (this.interType == 0) {
-            ATInterstitialJSSDK.loadInterstitial(this.placementID(), setting);
-            // ATInterstitialJSSDK.showAd(this.interPlacementId);
-        }
-        else if (this.interType == 1) {
-            ATInterstitialJSSDK.loadInterstitial(this.placementID(), setting);
-            // ATInterstitialJSSDK.showAd(this.fullInterPlacementId);
-        }
+    hasAdReady: function () {
+        if (this.proxy == null) return;
+        return ATInterstitialJSSDK.hasAdReady(this.placementID()) ? true : false;
     },
 
     /**
-     * 检查插屏是否加载成功
-     * @param {*} type 0 插屏 1 全屏
-     * @returns 
+     * 插屏广告加载
      */
-    checkInterReady: function (type) {
-        if (this.proxy == null) return;
-        if (type == 0) {
-            return ATInterstitialJSSDK.hasAdReady(this.placementID()) ? true : false;
-        }
-        else if (type == 1) {
-            return ATInterstitialJSSDK.hasAdReady(this.placementID()) ? true : false;
-        }
+    loadInter: function () {
+        //v5.6.8新增,只针对Sigmob平台,Sigmob的激励视频广告源当做插屏使用
+        var setting = {};
+        setting[ATInterstitialJSSDK.UseRewardedVideoAsInterstitial] = false;
+        ATInterstitialJSSDK.loadInterstitial(this.placementID(), setting);
     },
 
     /**
      * 显示插屏
-     * @param {*} type 0 插屏 1 全屏
      */
-    showInter: function (type) {
-        if (type == 0) {
-            ATInterstitialJSSDK.showAd(this.placementID());
-        }
-        else if (type == 1) {
-            ATInterstitialJSSDK.showAd(this.placementID());
-        }
+    showInter: function () {
+        ATInterstitialJSSDK.showAd(this.placementID());
     },
 
     /**
@@ -91,7 +65,7 @@ var ATInterstitialJS = cc.Class({
      * @returns 
      */
     onInterstitialAdLoadFail: function (placementId, errorInfo) {
-        //ATJSSDK.printLog("AnyThinkInterstitialDemo::onInterstitialAdLoadFail(" + placementId + ", " + errorInfo + ")");   
+        ATJSSDK.printLog("===[AnyThinkInterstitialDemo::onInterstitialAdLoadFail(" + placementId + ", " + errorInfo + ")");   
         if (this.proxy == null) return;
         this.proxy.onInterstitialAdLoadFail(placementId, errorInfo);
     },

+ 173 - 15
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATNative.ts

@@ -9,12 +9,23 @@ import ATSDKMgr from "./ATSDKMgr";
 export class ATNative extends zgSingleton {
 
     private ATNativeJS: any;
+
+    /** 信息流广告类型 0 弹窗里  1 最底部 2 新车奖励 3 底部小窗口 */
+    private nativeAdType: number = 4;
+    /** 信息流广告状态 */
+    private nativeAdState: NativeAdState = 0;
+    /** 是否加载显示 */
+    private ifLoadShow: boolean = false;
+
     /** 初始化 */
     init() {
         this.ATNativeJS = cc["ATNativeJS"];
         this.ATNativeJS.proxy = this;;
         this.ATNativeJS.init();
-        this.loadNative();
+
+        if (this.nativeAdState == NativeAdState.Unload) {
+            this.loadNative(4);
+        }
     }
 
     /** 广告位id */
@@ -26,21 +37,151 @@ export class ATNative extends zgSingleton {
         }
     }
 
+    //广告逻辑部分------------------------------------------------------------------------
+    /** 检测是否插屏预备好*/
+    hasAdReady() {
+        return this.ATNativeJS.hasAdReady();
+    }
+
     /**
      * 加载信息流广告
      * @param type 类型对应不同位置
-     * @param show 是否加载完显示显示
+     * @param ifLoadshow 是否加载完显示显示
      */
-    loadNative(type = 4, show = false) {
-        this.ATNativeJS.loadNative(type, show);
+    loadNative(type = 4, ifLoadshow = false) {
+
+        this.nativeAdType = type;
+        this.ifLoadShow = ifLoadshow;
+
+        this.nativeAdState = NativeAdState.Loading;
+
+        //加载原生广告时需要传入广告展示的宽高
+        var frameSize = cc.view.getFrameSize();
+        let frameWidth = frameSize.width;
+        let frameHeight = frameSize.height;
+        var per = frameWidth / 750
+        var sw = per * 656;
+        var sh = per * 440;
+
+        if (this.nativeAdType == 2) {
+            sw *= 0.9
+            sh *= 0.8
+        }
+        else if (this.nativeAdType == 3) {
+            sw *= 0.9
+            sh *= 0.75
+        }
+        else {
+            sw *= 0.9
+            sh *= 0.75
+        }
+        this.ATNativeJS.loadNative(sw, sh);
     }
 
     /** 
      * 显示原生广告 
-     * @param type 0 弹窗里  1 最底部 2 新车奖励 3 底部小窗口
+     * @param type 0 弹窗里  1 最底部 2 新车奖励 3 底部小窗口 4 最底部
+     */
+    showNative(type: number) {
+
+        if (this.nativeAdState == NativeAdState.Show) {
+            //如果已经显示则不调用显示
+        }
+        else {
+
+            if (this.hasAdReady()) {
+                if (this.nativeAdType != type) {
+                    this.destroyNative();
+                    this.loadNative(type, true);
+                }
+                else {
+                    console.log("===[ShowNative", type);
+                    //加载原生广告时需要传入广告展示的宽高
+                    let frameSize = cc.view.getFrameSize();
+                    let frameWidth = frameSize.width;
+                    let frameHeight = frameSize.height;
+
+                    //获取基本的宽高
+                    let per = frameWidth / 750
+                    let width = per * 656
+                    let height = per * 440
+                    let fontSize = 12
+
+                    //设置位置宽高
+                    let pos_y = 0
+                    if (type == 0) {
+                        // posy = this.frameHeight * 0.5 - 100
+                        pos_y = frameHeight * 0.45
+                    }
+                    else if (type == 1) {
+                        // posy = this.frameHeight * 0.5 + 280
+                        pos_y = frameHeight * 0.625
+                    }
+                    else if (type == 2) {
+                        // posy = this.frameHeight * 0.5 + 210
+                        pos_y = frameHeight * 0.595
+                        width *= 0.9
+                        height *= 0.8
+                        fontSize = 8
+                    }
+                    else if (type == 3) {
+                        // posy = this.frameHeight * 0.5 + 420
+                        pos_y = frameHeight * 0.69
+                        width *= 0.9
+                        height *= 0.75
+                        fontSize = 8
+                    }
+                    else if (type == 4) {
+                        pos_y = frameHeight * 0.75;
+                        width *= 1.1;
+                    }
+
+                    let pos_x = (frameWidth - width) * 0.5
+                    this.ATNativeJS.showNative(pos_x, pos_y, width, height);
+                }
+            }
+            else {
+                //如果正在加载中,则不处理
+                if (this.nativeAdState == NativeAdState.Loading) {
+                    //正在加载不重复加载
+                    this.ifLoadShow = true;
+                }
+                else {
+                    this.loadNative(type, true)
+                }
+            }
+        }
+    }
+
+    /** 销毁baaner */
+    destroyNative() {
+
+        this.nativeAdState = NativeAdState.Close;
+
+        this.ATNativeJS.destroyNative();
+        this.loadNative(this.nativeAdType);
+    }
+
+    //广告回调部分------------------------------------------------------------------------
+    /**
+     * 原生广告加载成功
+     * @param {*} placementId 
+     */
+    onNativeAdLoaded(placementId) {
+        this.nativeAdState = NativeAdState.LoadSuccess;
+        if (this.ifLoadShow) {
+            this.showNative(this.nativeAdType);
+        }
+    }
+
+    /**
+     * 原生广告加载失败
+     * @param {*} placementId 广告位id
+     * @param {*} errorInfo   错误信息
      */
-    showNative(type) {
-        this.ATNativeJS.showNative(type);
+    onNativeAdLoadFail(placementId, errorInfo) {
+        this.nativeAdState = NativeAdState.LoadFail;
+        // ATJSSDK.printLog("AnyThinkNativeDemo::onNativeAdLoadFail(" + placementId + ", " + errorInfo + ")");
     }
 
     /**
@@ -49,6 +190,9 @@ export class ATNative extends zgSingleton {
      * @param callbackInfo 
      */
     onNativeAdShow(placementId, callbackInfo) {
+
+        this.nativeAdState = NativeAdState.Show;
+
         // 2021/06/03(勿删)此处为星云埋点,先注释,待接口调通,恢复
         // let data = JSON.parse(callbackInfo)
         // HttpMgr.Inst.updateADLog(3, placementId, data.adunit_format, data.network_type, data.network_placement_id,
@@ -56,14 +200,28 @@ export class ATNative extends zgSingleton {
         //     data.adsource_isheaderbidding, data.publisher_revenue, data.precision, data.ecpm_level);
     }
 
-    /** 销毁baaner */
-    destroyNative() {
-        this.ATNativeJS.destroyNative();
-        this.loadNative();
+    /**
+     * 原生广告被点击
+     * @param placementId  广告位Id
+     * @param callbackInfo 回调信息
+     */
+    onNativeAdClick(placementId, callbackInfo) {
+        // ATJSSDK.printLog("AnyThinkNativeDemo::onNativeAdClick(" + placementId + ", " + callbackInfo + ")");
     }
+}
 
-    /** 当前是否有banner显示 */
-    getIsNativeShow() {
-        return this.ATNativeJS.nativeShow
-    }
+/** 原生信息流广告状态 */
+export enum NativeAdState {
+    /** 未加载 */
+    Unload = 0,
+    /** 加载中 */
+    Loading = 1,
+    /** 加载成功 */
+    LoadSuccess = 2,
+    /** 加载失败 */
+    LoadFail = 3,
+    /** 显示状态 */
+    Show = 4,
+    /** 关闭状态 */
+    Close = 5
 }

+ 29 - 118
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATNativeJS.js

@@ -10,14 +10,6 @@ var ATNativeJS = cc.Class({
     /** 代理脚本(TS) */
     proxy: null,
 
-    frameWidth: 0,
-    frameHeight: 0,
-
-    nativeIsShow: false,
-    nativeType: 0,
-    nativeShow: false,
-    nativeIsLoad: false,
-    nativeIsLoading: false,
     // timeID: 0,
 
     ctor: function () {
@@ -33,130 +25,49 @@ var ATNativeJS = cc.Class({
         return this.proxy.placementID();
     },
 
-    /**
-     * 加载原生广告
-     * @param {*} type 类型 
-     * @param {*} show 是否显示
-     */
-    loadNative: function (type = 0, show = false) {
-
-        this.nativeType = type;
-        this.nativeShow = show;
-        this.nativeIsLoading = true;
-
-        //加载原生广告时需要传入广告展示的宽高
-        var frameSize = cc.view.getFrameSize();
-        this.frameWidth = frameSize.width;
-        this.frameHeight = frameSize.height;
-        var per = this.frameWidth / 750
-        var sw = per * 656
-        var sh = per * 440
-
-        if (this.nativeType == 2) {
-            this.destroyNative(false)
-            sw *= 0.9
-            sh *= 0.8
-        }
-        else if (this.nativeType == 3) {
-            this.destroyNative(false)
-            sw *= 0.9
-            sh *= 0.75
-        }
-        else {
-            sw *= 0.9
-            sh *= 0.75
-        }
-
-        ATNativeJSSDK.loadNative(this.placementID(), ATNativeJSSDK.createLoadAdSize(sw, sh));
+    /** 检测是否插屏预备好*/
+    hasAdReady() {
+        return ATNativeJSSDK.hasAdReady(this.placementID()) ? true : false;
     },
 
     /**
-     * 销毁原生广告
-     * @param {*} ifPreloadNext 是否预加载下一个 
+     * 加载原生广告
+     * @param {*} width 类型 
+     * @param {*} height 是否显示
      */
-    destroyNative: function (ifPreloadNext = true) {
-        ATNativeJSSDK.removeAd(this.placementID());
-        this.nativeIsLoad = false
-        this.nativeIsShow = false
-        if (ifPreloadNext) {
-            this.loadNative()
-        }
+    loadNative: function (width, height) {
+        ATNativeJSSDK.loadNative(this.placementID(), ATNativeJSSDK.createLoadAdSize(width, height));
     },
 
     /** 信息流位置 
-     *  @param {*} type 0 弹窗里  1 最底部 2 新车奖励 3 底部小窗口
+     *  @param {*} posX     x位置
+     *  @param {*} posY     y位置
+     *  @param {*} width    宽度
+     *  @param {*} height   高度
+     *  @param {*} fontSize 字体大小
      */
-    showNative: function (type) {
-
-        if (this.nativeIsLoading) {
-            this.nativeType = type
-            this.nativeShow = true
-            return
-        }
-
-        if (!this.nativeIsLoad) {
-            this.loadNative(type, true)
-            return
-        }
-
-        if (this.nativeIsShow) {
-            return
-        }
-
-        this.nativeIsShow = true
-        var per = this.frameWidth / 750
-        var sw = per * 656
-        var sh = per * 440
-        var fontSize = 12
-
-        var nativeAdViewProperty = new ATNativeJSSDK.AdViewProperty();
-        var posy = 0
-        if (type == 0) {
-            // posy = this.frameHeight * 0.5 - 100
-            posy = this.frameHeight * 0.45
-        }
-        else if (type == 1) {
-            // posy = this.frameHeight * 0.5 + 280
-            posy = this.frameHeight * 0.625
-        }
-        else if (type == 2) {
-            // posy = this.frameHeight * 0.5 + 210
-            posy = this.frameHeight * 0.595
-            sw *= 0.9
-            sh *= 0.8
-            fontSize = 8
-        }
-        else if (type == 3) {
-            // posy = this.frameHeight * 0.5 + 420
-            posy = this.frameHeight * 0.69
-            sw *= 0.9
-            sh *= 0.75
-            fontSize = 8
-        }
-        else if (type == 4) {
-            posy = this.frameHeight * 0.75;
-            sw *= 1.1;
-        }
-
-        var parx = (this.frameWidth - sw) * 0.5
-
-        nativeAdViewProperty.parent = nativeAdViewProperty.createItemViewProperty(parx, posy, sw, sh, "#ffffff", "", 0);
-        nativeAdViewProperty.mainImage = nativeAdViewProperty.createItemViewProperty(0, 0, sw, sh, "#ffffff", "#ffffff", fontSize);
+    showNative: function (posX, posY, width, height, fontSize) {
+        let nativeAdViewProperty = new ATNativeJSSDK.AdViewProperty();
+        nativeAdViewProperty.parent = nativeAdViewProperty.createItemViewProperty(posX, posY, width, height, "#ffffff", "", 0);
+        nativeAdViewProperty.mainImage = nativeAdViewProperty.createItemViewProperty(0, 0, width, height, "#ffffff", "#ffffff", fontSize);
         ATNativeJSSDK.showAd(this.placementID(), nativeAdViewProperty);
     },
 
+    /**
+     * 销毁原生广告
+     */
+    destroyNative: function () {
+        ATNativeJSSDK.removeAd(this.placementID());
+    },
+
     //广告回调部分------------------------------------------------------------------------
     /**
      * 原生广告加载成功
      * @param {*} placementId 
      */
     onNativeAdLoaded: function (placementId) {
-        this.nativeIsLoad = true
-        this.nativeIsLoading = false
-        if (this.nativeShow) {
-            this.nativeIsShow = false
-            this.showNative(this.nativeType)
-        }
+        if (this.proxy == null) return;
+        this.proxy.onNativeAdLoaded(placementId);
     },
 
     /**
@@ -165,9 +76,9 @@ var ATNativeJS = cc.Class({
      * @param {*} errorInfo   错误信息
      */
     onNativeAdLoadFail: function (placementId, errorInfo) {
-        // ATJSSDK.printLog("AnyThinkNativeDemo::onNativeAdLoadFail(" + placementId + ", " + errorInfo + ")");
-        this.nativeIsLoading = false
-        this.nativeIsLoad = false
+        ATJSSDK.printLog("===[AnyThinkNativeDemo::onNativeAdLoadFail(" + placementId + ", " + errorInfo + ")");
+        if (this.proxy == null) return;
+        this.proxy.onNativeAdLoadFail(placementId, errorInfo);
     },
 
     /**

+ 28 - 23
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideo.ts

@@ -8,8 +8,11 @@ import ATSDKMgr, { AdPlayStateType } from "./ATSDKMgr";
  */
 export class ATRewardVideo extends zgSingleton {
 
+    /**  */
+    private ATRewardVideoJS: any;
+
     /** 激励视频状态 */
-    public reawardAdState: RewardAdLoadState = 0;
+    public reawardAdState: RewardAdState = 0;
     /** 是否加载完显示 */
     public ifLoadShow: boolean = false;
     /**是否观看完毕 */
@@ -17,11 +20,12 @@ export class ATRewardVideo extends zgSingleton {
 
     init() {
 
-        cc["ATRewardVideoJS"].proxy = this;
-        cc["ATRewardVideoJS"].init();
+        this.ATRewardVideoJS = cc["ATRewardVideoJS"];
+        this.ATRewardVideoJS.proxy = this;
+        this.ATRewardVideoJS.init();
 
         this.ifWatchEnd = false;
-        if (this.reawardAdState == RewardAdLoadState.Unload) {
+        if (this.reawardAdState == RewardAdState.Unload) {
             this.loadAd();
         }
     }
@@ -35,32 +39,33 @@ export class ATRewardVideo extends zgSingleton {
         }
     }
 
+    //广告逻辑部分------------------------------------------------------------------------
+    /** 检测是否准备完毕 */
+    hasAdReady() {
+        return this.ATRewardVideoJS.hasAdReady();
+    }
+
     /** 加载广告 */
     loadAd() {
-        console.log("anythink === 加载激励视频广告", RewardAdLoadState[this.reawardAdState]);
-        if (this.reawardAdState == RewardAdLoadState.Loading) {
+        console.log("anythink === 加载激励视频广告", RewardAdState[this.reawardAdState]);
+        if (this.reawardAdState == RewardAdState.Loading) {
             return;
         }
-        this.reawardAdState = RewardAdLoadState.Loading;
-        cc["ATRewardVideoJS"].loadAd("userIdKey", "userDataKey");
+        this.reawardAdState = RewardAdState.Loading;
+        this.ATRewardVideoJS.loadAd("userIdKey", "userDataKey");
     }
 
     /** 显示广告 */
     showAd() {
-        if (this.reawardAdState != RewardAdLoadState.LoadSuccess) {
+        if (this.reawardAdState != RewardAdState.LoadSuccess) {
             this.loadAd();
             this.ifLoadShow = true;
             return;
         }
-
-        cc["ATRewardVideoJS"].showAd();
-    }
-
-    /** 检测是否准备完毕 */
-    checkReady() {
-        return cc["ATRewardVideoJS"].checkReady();
+        this.ATRewardVideoJS.showAd();
     }
 
+    //广告回调部分------------------------------------------------------------------------
     /**
      * 激励视频加载完毕
      * @param placementId 广告位id
@@ -68,8 +73,8 @@ export class ATRewardVideo extends zgSingleton {
     onRewardedVideoAdLoaded(placementId: string) {
         // ATJSSDK.printLog("AnyThinkRewardedVideoDemo::onRewardedVideoAdLoaded(" + placementId + ")");
         // ATRewardVideo.getInstance().showAd()
-        console.log("anythink === 加载激励视频广告成功", this.checkReady(), RewardAdLoadState[this.reawardAdState])
-        this.reawardAdState = RewardAdLoadState.LoadSuccess;
+        console.log("anythink === 加载激励视频广告成功", this.hasAdReady(), RewardAdState[this.reawardAdState])
+        this.reawardAdState = RewardAdState.LoadSuccess;
         if (this.ifLoadShow) {
             this.showAd();
             this.ifLoadShow = false;
@@ -83,8 +88,8 @@ export class ATRewardVideo extends zgSingleton {
      */
     onRewardedVideoAdFailed(placementId, errorInfo) {
         // ATJSSDK.printLog("AnyThinkRewardedVideoDemo::onRewardedVideoAdFailed(" + placementId + ", " + errorInfo + ")");
-        console.log("anythink === 加载激励视频广告失败", RewardAdLoadState[this.reawardAdState]);
-        this.reawardAdState = RewardAdLoadState.LoadFail;
+        console.log("anythink === 加载激励视频广告失败", RewardAdState[this.reawardAdState]);
+        this.reawardAdState = RewardAdState.LoadFail;
     }
 
     /**
@@ -103,7 +108,7 @@ export class ATRewardVideo extends zgSingleton {
         //     data.adsource_isheaderbidding, data.publisher_revenue, data.precision, data.ecpm_level);
         gData.adData.updateData(placementId, data);
 
-        this.reawardAdState = RewardAdLoadState.Unload;
+        this.reawardAdState = RewardAdState.Unload;
         //点击关闭的时候重新加载(亲测,即使在start这边 加载 也是在点击关闭时候才返回成功)
         //this.loadAd();
     }
@@ -161,7 +166,7 @@ export class ATRewardVideo extends zgSingleton {
         }
 
         this.ifWatchEnd = false;
-        
+
         this.loadAd();
     }
 
@@ -187,7 +192,7 @@ export class ATRewardVideo extends zgSingleton {
 }
 
 /** 激励视频广告加载状态 */
-export enum RewardAdLoadState {
+export enum RewardAdState {
     /** 未加载 */
     Unload = 0,
     /** 加载中 */

+ 8 - 8
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideoJS.js

@@ -36,8 +36,8 @@ var ATRewardVideoJS = cc.Class({
 
     //广告回调部分------------------------------------------------------------------------
     /** 检测广告是否加载好 */
-    checkReady: function () {
-        ATJSSDK.printLog("AnyThinkRewardedVideo::checkReady()   " + (ATRewardedVideoJSSDK.hasAdReady(this.placementID()) ? "Ready" : "No"));
+    hasAdReady: function () {
+        // ATJSSDK.printLog("AnyThinkRewardedVideo::checkReady()   " + (ATRewardedVideoJSSDK.hasAdReady(this.placementID()) ? "Ready" : "No"));
         if (this.proxy == null) return;
         return ATRewardedVideoJSSDK.hasAdReady(this.placementID()) ? true : false;
     },
@@ -47,7 +47,7 @@ var ATRewardVideoJS = cc.Class({
      * @param {*} placementId 广告位id
      */
     onRewardedVideoAdLoaded: function (placementId) {
-        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdLoaded(" + placementId + ")");
+        // ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdLoaded(" + placementId + ")");
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdLoaded(placementId);
     },
@@ -59,7 +59,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      */
     onRewardedVideoAdFailed: function (placementId, errorInfo) {
-        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdFailed(" + placementId + ", " + errorInfo + ")");
+        ATJSSDK.printLog("===[AnyThinkRewardedVideo::onRewardedVideoAdFailed(" + placementId + ", " + errorInfo + ")");
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdFailed(placementId, errorInfo);
     },
@@ -71,7 +71,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      */
     onRewardedVideoAdPlayStart: function (placementId, callbackInfo) {
-        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayStart(" + placementId + ", " + callbackInfo + ")");
+        // ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayStart(" + placementId + ", " + callbackInfo + ")");
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdPlayStart(placementId, callbackInfo);
     },
@@ -83,7 +83,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      */
     onRewardedVideoAdPlayEnd: function (placementId, callbackInfo) {
-        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayEnd(" + placementId + ", " + callbackInfo + ")");
+        // ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayEnd(" + placementId + ", " + callbackInfo + ")");
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdPlayEnd(placementId, callbackInfo);
     },
@@ -96,7 +96,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      */
     onRewardedVideoAdPlayFailed: function (placementId, errorInfo, callbackInfo) {
-        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayFailed(" + placementId + ", " + errorInfo + ", " + callbackInfo + ")");
+        // ATJSSDK.printLog("===[AnyThinkRewardedVideo::onRewardedVideoAdPlayFailed(" + placementId + ", " + errorInfo + ", " + callbackInfo + ")");
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdPlayFailed(placementId, errorInfo, callbackInfo);
     },
@@ -108,7 +108,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      */
     onRewardedVideoAdClosed: function (placementId, callbackInfo) {
-        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdClosed(" + placementId + ", " + callbackInfo + ")");
+        // ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdClosed(" + placementId + ", " + callbackInfo + ")");
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdClosed(placementId, callbackInfo);
     },

+ 37 - 17
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr.ts

@@ -38,7 +38,7 @@ export default class ATSDKMgr extends zgSingleton implements IADSDKMgr {
 
         //初始化激励视频广告
         ATRewardVideo.getInstance().init();
-        console.log("===[AdSystem checkReady()",ATRewardVideo.getInstance().checkReady());
+        // console.log("===[AdSystem  ATRewardVideo hasAdReady()", ATRewardVideo.getInstance().hasAdReady());
         //初始化原生广告
         ATNative.getInstance().init();
         // //初始化插屏广告
@@ -75,11 +75,12 @@ export default class ATSDKMgr extends zgSingleton implements IADSDKMgr {
         ATSDKMgr.topon_banner_placementId = arr[7];
     }
 
+    //激励视频广告------------------------------------------------------------------------------
     /**显示视频广告 */
-    showVideoAd() {
-        console.log("===[ShowVideoAd] ",ATRewardVideo.getInstance().checkReady());
-        if (!ATRewardVideo.getInstance().checkReady()) {
-          mk.tip.pop("广告加载中,请稍后");
+    showVideo() {
+        console.log("===[ShowVideoAd] ", ATRewardVideo.getInstance().hasAdReady());
+        if (!ATRewardVideo.getInstance().hasAdReady()) {
+            mk.tip.pop("广告加载中,请稍后");
         }
         ATRewardVideo.getInstance().showAd();
     }
@@ -102,36 +103,55 @@ export default class ATSDKMgr extends zgSingleton implements IADSDKMgr {
         }
     }
 
-    /**显示插屏广告 */
-    showInterAd() {
+    //插屏广告------------------------------------------------------------------------------
+    /**
+     * 显示插屏广告
+     * @param type 0 插屏 1 全屏
+     */
+    showInter(type: number = 0) {
+        ATInterstitial.getInstance().showInter(type);
+    }
+
+    //原生广告------------------------------------------------------------------------------
 
+    /**
+     * 加载原生广告
+     * @param type       广告类型
+     * @param ifLoadShow 是否显示广告
+     */
+    loadNative(type: number, ifLoadShow: boolean) {
+        ATNative.getInstance().loadNative(type, ifLoadShow);
     }
 
     /** 
      * 加载原生广告
-     * @param type 0 是插屏 1 是全屏
-     * @param show 是否显示
+     * @param type 0 弹窗里  1 最底部 2 新车奖励 3 底部小窗口 
+     * @param ifLoadShow 是否显示
      */
-    loadNativeAd(type: number, show: boolean) {
-        ATNative.getInstance().loadNative(type, show);
+    showNative(type: number) {
+        ATNative.getInstance().showNative(type);
     }
 
     /** 销毁原生广告 */
-    destroyNativeAd() {
+    destroyNative() {
         ATNative.getInstance().destroyNative();
     }
 
-    showBannerAd() {
+    //banner广告------------------------------------------------------------------------------
+    /** 加载banner */
+    loadBanner(ifLoadShow: boolean = false) {
+        ATBanner.getInstance().loadBanner(ifLoadShow);
+    }
+
+    /** 显示banner广告 */
+    showBanner() {
         ATBanner.getInstance().showBanner();
     }
 
+    /** 销毁banner广告 */
     destoryBanner() {
         ATBanner.getInstance().destroyBanner();
     }
-
-    showInter() {
-        ATInterstitial.getInstance().showInter(0);
-    }
 }
 
 /** 广告播放状态类型 */

+ 0 - 2
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgrJS.js

@@ -53,8 +53,6 @@ var ATSDKMgrJS = cc.Class({
     },
 
     placementID() {
-        console.log("this.proxy", this);
-        console.log("this.proxy", this.proxy);
         return this.proxy.placementID();
     }
 });

+ 17 - 12
assets/script/mk/system/AdSystem.ts

@@ -45,7 +45,9 @@ export default class AdSystem {
      * @param callBack 广告相关的回调
      */
     public watchAd(callBack: Function) {
-        if (this.isAdCooling()) return;
+        if (this.isAdCooling()) {
+            return;
+        }
 
         this.videoAdcallBack = callBack;
 
@@ -56,7 +58,7 @@ export default class AdSystem {
             if (cc.sys.platform != cc.sys.WECHAT_GAME) {
                 if (cc.sys.os == cc.sys.OS_ANDROID) {
                     // jsb.reflection.callStaticMethod("org/cocos2dx/javascript/config/TTAdManagerHolder", "showVideo", "(I)V", pop);
-                    this.adSdk.showVideoAd();
+                    this.adSdk.showVideo();
                 }
                 else if (cc.sys.os == cc.sys.OS_IOS) {
                     jsb.reflection.callStaticMethod("AppController", "showVideo", "");
@@ -91,11 +93,11 @@ export default class AdSystem {
     }
 
     /** 显示原生广告 */
-    public showNativeAd(type = 0, show = true) {
+    public showNative(type = 4) {
         if (cc.sys.platform != cc.sys.WECHAT_GAME) {
             if (cc.sys.os == cc.sys.OS_ANDROID) {
                 // jsb.reflection.callStaticMethod("org/cocos2dx/javascript/config/TTAdManagerHolder", "showVideo", "(I)V", pop);
-                this.adSdk.loadNativeAd(type, show);
+                this.adSdk.showNative(type);
             }
             else if (cc.sys.os == cc.sys.OS_IOS) {
 
@@ -111,7 +113,7 @@ export default class AdSystem {
         if (cc.sys.platform != cc.sys.WECHAT_GAME) {
             if (cc.sys.os == cc.sys.OS_ANDROID) {
                 // jsb.reflection.callStaticMethod("org/cocos2dx/javascript/config/TTAdManagerHolder", "showVideo", "(I)V", pop);
-                this.adSdk.destroyNativeAd();
+                this.adSdk.destroyNative();
             }
             else if (cc.sys.os == cc.sys.OS_IOS) {
 
@@ -145,26 +147,29 @@ export default class AdSystem {
         return false;
     }
 
-    public showBannerAd() {
+    public showBanner() {
         if (!this.ifShowAd) {
             return;
         }
+        // console.log("===[AdSystem gameData.adShowConfig", gData.gameData.adShowConfig.is_show_banner);
+        // if (gData.gameData.adShowConfig && gData.gameData.adShowConfig.is_show_banner == 1) {
+        this.adSdk.showBanner();
+        //}
+    }
 
-        if (gData.gameData.adShowConfig && gData.gameData.adShowConfig.is_show_banner == 1) {
-            this.adSdk.showBannerAd();
-        }
+    public destoryBanner() {
+        this.adSdk.destoryBanner();
     }
 
     /**
      * showInterAd
-     * @param type
+     * @param type 0 插屏 1 全屏
      */
     public showInterAd(type: number) {
         if (!this.ifShowAd) {
             return;
         }
-
-        this.adSdk.showInter();
+        this.adSdk.showInter(type);
     }
 
     /**

+ 5 - 3
assets/script/mk/system/JsbSystem.ts

@@ -59,7 +59,7 @@ export default class JsbSystem {
      * @param info  info(Java返回)
      */
     public static updateDeviceInfo(info) {
-        mk.console.log("updateDeviceInfo" + cc.sys.os, info)
+        mk.console.log("===[JsbSystem] updateDeviceInfo" + cc.sys.os, info)
         if (cc.sys.os == cc.sys.OS_ANDROID) {
             gData.appData.updateDeviceInfo(info);
         }
@@ -73,9 +73,11 @@ export default class JsbSystem {
      * @description 自定义功能 CocosToJava
      */
     public static getDeviceInfo() {
-        mk.console.log("getDeviceInfo", cc.sys.os)
+        let deviceInfo = "";
         if (cc.sys.os == cc.sys.OS_ANDROID) {
-            this.callStaticMethod(this._JSB_ANDROID_PATH, "getDeviceInfo", "()V");
+          deviceInfo =  this.callStaticMethod(this._JSB_ANDROID_PATH, "getDeviceInfo", "()Ljava/lang/String;");
+          console.log("===[JsbSystem] getDeviceInfo ",deviceInfo);
+          return deviceInfo;
         }
         else if (cc.sys.os == cc.sys.OS_IOS) {
             this.callStaticMethod(this._JSB_IOS_PATH, "getDeviceInfo", "");

二进制
build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/caches/build_file_checksums.ser


+ 1 - 1
build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/gradle.xml

@@ -10,9 +10,9 @@
         <option name="gradleJvm" value="1.8" />
         <option name="modules">
           <set>
-            <option value="D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx" />
             <option value="$PROJECT_DIR$" />
             <option value="$PROJECT_DIR$/app" />
+            <option value="D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx" />
           </set>
         </option>
         <option name="resolveModulePerSourceSet" value="false" />

+ 1 - 1
build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/modules.xml

@@ -3,7 +3,7 @@
   <component name="ProjectModuleManager">
     <modules>
       <module fileurl="file://$PROJECT_DIR$/.idea/modules/app/EasyEliminate.iml" filepath="$PROJECT_DIR$/.idea/modules/app/EasyEliminate.iml" group="proj.android-studio/EasyEliminate" />
-      <module fileurl="file://$PROJECT_DIR$/.idea/modules/1786486690/android-libcocos2dx.iml" filepath="$PROJECT_DIR$/.idea/modules/1786486690/android-libcocos2dx.iml" group="proj.android-studio/libcocos2dx" />
+      <module fileurl="file://$PROJECT_DIR$/.idea/modules/-1746423203/libcocos2dx.iml" filepath="$PROJECT_DIR$/.idea/modules/-1746423203/libcocos2dx.iml" group="proj.android-studio/libcocos2dx" />
       <module fileurl="file://$PROJECT_DIR$/.idea/modules/proj.android-studio.iml" filepath="$PROJECT_DIR$/.idea/modules/proj.android-studio.iml" group="proj.android-studio" />
       <module fileurl="file://$PROJECT_DIR$/.idea/modules/-52358525/proj.android-studio-libcocos2dx.iml" filepath="$PROJECT_DIR$/.idea/modules/-52358525/proj.android-studio-libcocos2dx.iml" group="proj.android-studio/libcocos2dx" />
     </modules>

+ 99 - 0
build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/modules/-1746423203/libcocos2dx.iml

@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module external.linked.project.id=":libcocos2dx" external.linked.project.path="D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx" external.root.project.path="$MODULE_DIR$/../../.." external.system.id="GRADLE" external.system.module.group="proj.android-studio" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
+  <component name="FacetManager">
+    <facet type="android-gradle" name="Android-Gradle">
+      <configuration>
+        <option name="GRADLE_PROJECT_PATH" value=":libcocos2dx" />
+        <option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" value="3.3.3" />
+        <option name="LAST_KNOWN_AGP_VERSION" value="3.3.3" />
+      </configuration>
+    </facet>
+    <facet type="android" name="Android">
+      <configuration>
+        <option name="SELECTED_BUILD_VARIANT" value="debug" />
+        <option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
+        <option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
+        <afterSyncTasks>
+          <task>generateDebugSources</task>
+        </afterSyncTasks>
+        <option name="ALLOW_USER_CONFIGURATION" value="false" />
+        <option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
+        <option name="RES_FOLDERS_RELATIVE_PATH" value="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/res;file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/res;file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/rs/debug;file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/resValues/debug" />
+        <option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/res;file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/res;file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/res;file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/res;file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/rs/androidTest/debug;file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/resValues/androidTest/debug" />
+        <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
+        <option name="PROJECT_TYPE" value="1" />
+      </configuration>
+    </facet>
+  </component>
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
+    <output url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes" />
+    <output-test url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/intermediates/javac/debugUnitTest/compileDebugUnitTestJavaWithJavac/classes" />
+    <exclude-output />
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/src">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/src" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/apt/debug" isTestSource="false" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out" isTestSource="false" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out" isTestSource="false" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/rs/debug" type="java-resource" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/resValues/debug" type="java-resource" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/apt/androidTest/debug" isTestSource="true" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/aidl_source_output_dir/debugAndroidTest/compileDebugAndroidTestAidl/out" isTestSource="true" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/renderscript_source_output_dir/debugAndroidTest/compileDebugAndroidTestRenderscript/out" isTestSource="true" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/resValues/androidTest/debug" type="java-test-resource" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/apt/test/debug" isTestSource="true" generated="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/res" type="java-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/resources" type="java-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/assets" type="java-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/aidl" isTestSource="false" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/java" isTestSource="false" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/rs" isTestSource="false" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/shaders" isTestSource="false" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/res" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/resources" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/assets" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/aidl" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/java" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/rs" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/shaders" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/res" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/resources" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/assets" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/aidl" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/java" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/rs" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/shaders" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/res" type="java-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/resources" type="java-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/assets" type="java-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/aidl" isTestSource="false" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/java" isTestSource="false" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/rs" isTestSource="false" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/shaders" isTestSource="false" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/res" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/resources" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/assets" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/aidl" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/java" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/rs" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/shaders" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/res" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/resources" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/assets" type="java-test-resource" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/aidl" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/java" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/rs" isTestSource="true" />
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/shaders" isTestSource="true" />
+      <excludeFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build" />
+    </content>
+    <orderEntry type="jdk" jdkName="Android API 29 Platform" jdkType="Android SDK" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="Gradle: ./../../../../../../../Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/com.android.vending.expansion.zipfile.jar" level="project" />
+    <orderEntry type="library" name="Gradle: ./../../../../../../../Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/okhttp-3.12.7.jar" level="project" />
+    <orderEntry type="library" name="Gradle: ./../../../../../../../Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/okio-1.15.0.jar" level="project" />
+  </component>
+</module>

+ 0 - 99
build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/modules/1786486690/android-libcocos2dx.iml

@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module external.linked.project.id=":libcocos2dx" external.linked.project.path="D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx" external.root.project.path="$MODULE_DIR$/../../.." external.system.id="GRADLE" external.system.module.group="proj.android-studio" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
-  <component name="FacetManager">
-    <facet type="android-gradle" name="Android-Gradle">
-      <configuration>
-        <option name="GRADLE_PROJECT_PATH" value=":libcocos2dx" />
-        <option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" value="3.3.3" />
-        <option name="LAST_KNOWN_AGP_VERSION" value="3.3.3" />
-      </configuration>
-    </facet>
-    <facet type="android" name="Android">
-      <configuration>
-        <option name="SELECTED_BUILD_VARIANT" value="debug" />
-        <option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
-        <option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
-        <afterSyncTasks>
-          <task>generateDebugSources</task>
-        </afterSyncTasks>
-        <option name="ALLOW_USER_CONFIGURATION" value="false" />
-        <option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
-        <option name="RES_FOLDERS_RELATIVE_PATH" value="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/res;file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/res;file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/rs/debug;file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/resValues/debug" />
-        <option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/res;file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/res;file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/res;file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/res;file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/rs/androidTest/debug;file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/resValues/androidTest/debug" />
-        <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
-        <option name="PROJECT_TYPE" value="1" />
-      </configuration>
-    </facet>
-  </component>
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
-    <output url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes" />
-    <output-test url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/intermediates/javac/debugUnitTest/compileDebugUnitTestJavaWithJavac/classes" />
-    <exclude-output />
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/src">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/src" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/apt/debug" isTestSource="false" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out" isTestSource="false" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out" isTestSource="false" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/rs/debug" type="java-resource" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/resValues/debug" type="java-resource" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/apt/androidTest/debug" isTestSource="true" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/aidl_source_output_dir/debugAndroidTest/compileDebugAndroidTestAidl/out" isTestSource="true" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/renderscript_source_output_dir/debugAndroidTest/compileDebugAndroidTestRenderscript/out" isTestSource="true" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/res/resValues/androidTest/debug" type="java-test-resource" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build/generated/source/apt/test/debug" isTestSource="true" generated="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/res" type="java-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/resources" type="java-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/assets" type="java-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/aidl" isTestSource="false" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/java" isTestSource="false" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/rs" isTestSource="false" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/debug/shaders" isTestSource="false" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/res" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/resources" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/assets" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/aidl" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/java" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/rs" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTestDebug/shaders" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/res" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/resources" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/assets" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/aidl" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/java" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/rs" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/testDebug/shaders" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/res" type="java-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/resources" type="java-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/assets" type="java-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/aidl" isTestSource="false" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/rs" isTestSource="false" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/main/shaders" isTestSource="false" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/res" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/resources" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/assets" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/aidl" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/java" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/rs" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/androidTest/shaders" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/res" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/resources" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/assets" type="java-test-resource" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/aidl" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/java" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/rs" isTestSource="true" />
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/src/test/shaders" isTestSource="true" />
-      <excludeFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/libcocos2dx/build" />
-    </content>
-    <orderEntry type="jdk" jdkName="Android API 29 Platform" jdkType="Android SDK" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="library" name="Gradle: ./../../../../../../../CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/com.android.vending.expansion.zipfile.jar" level="project" />
-    <orderEntry type="library" name="Gradle: ./../../../../../../../CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/okhttp-3.12.7.jar" level="project" />
-    <orderEntry type="library" name="Gradle: ./../../../../../../../CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/okio-1.15.0.jar" level="project" />
-  </component>
-</module>

+ 153 - 153
build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/modules/app/EasyEliminate.iml

@@ -33,155 +33,8 @@
     <output url="file://$MODULE_DIR$/../../../app/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes" />
     <output-test url="file://$MODULE_DIR$/../../../app/build/intermediates/javac/debugUnitTest/compileDebugUnitTestJavaWithJavac/classes" />
     <exclude-output />
-    <content url="file://$USER_HOME$/AppData/Local/Android/Sdk/ndk/20.0.5594570/sources/android/cpufeatures">
-      <sourceFolder url="file://$USER_HOME$/AppData/Local/Android/Sdk/ndk/20.0.5594570/sources/android/cpufeatures" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/2d">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/2d" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android/audio_utils">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android/audio_utils" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android/utils">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android/utils" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/base">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/base" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones-creator-support">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones-creator-support" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/animation">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/animation" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/armature">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/armature" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/core">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/core" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/event">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/event" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/factory">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/factory" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/geom">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/geom" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/model">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/model" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/parser">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/parser" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/particle">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/particle" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/spine">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/spine" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/spine-creator-support">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/spine-creator-support" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/math">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/math" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/network">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/network" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/jni">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/jni" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/gfx">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/gfx" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/renderer">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/renderer" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/scene">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/scene" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/scene/assembler">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/scene/assembler" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/auto">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/auto" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/event">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/event" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8/debugger">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8/debugger" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/manual">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/manual" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/storage/local-storage">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/storage/local-storage" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/edit-box">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/edit-box" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/videoplayer">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/videoplayer" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/webview">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/webview" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/extensions/assets-manager">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/extensions/assets-manager" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/ConvertUTF">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/ConvertUTF" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/edtaa3func">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/edtaa3func" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/pvmp3dec/src">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/pvmp3dec/src" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/pvmp3dec/src/asm">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/pvmp3dec/src/asm" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/tinyxml2">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/tinyxml2" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/tremolo/Tremolo">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/tremolo/Tremolo" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/unzip">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/unzip" isTestSource="false" />
-    </content>
-    <content url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/xxtea">
-      <sourceFolder url="file://D:/CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/xxtea" isTestSource="false" />
+    <content url="file://D:/Android/SDK/ndk/21.3.6528147/sources/android/cpufeatures">
+      <sourceFolder url="file://D:/Android/SDK/ndk/21.3.6528147/sources/android/cpufeatures" isTestSource="false" />
     </content>
     <content url="file://$MODULE_DIR$/../../../../Classes">
       <sourceFolder url="file://$MODULE_DIR$/../../../../Classes" isTestSource="false" />
@@ -264,6 +117,153 @@
     <content url="file://$MODULE_DIR$/../../../src">
       <sourceFolder url="file://$MODULE_DIR$/../../../src" isTestSource="false" />
     </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/2d">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/2d" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android/audio_utils">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android/audio_utils" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android/utils">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/audio/android/utils" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/base">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/base" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones-creator-support">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones-creator-support" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/animation">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/animation" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/armature">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/armature" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/core">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/core" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/event">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/event" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/factory">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/factory" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/geom">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/geom" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/model">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/model" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/parser">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/dragonbones/parser" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/particle">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/particle" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/spine">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/spine" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/spine-creator-support">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/editor-support/spine-creator-support" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/math">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/math" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/network">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/network" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/jni">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/jni" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/gfx">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/gfx" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/renderer">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/renderer" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/scene">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/scene" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/scene/assembler">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/renderer/scene/assembler" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/auto">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/auto" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/event">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/event" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8/debugger">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8/debugger" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/manual">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/scripting/js-bindings/manual" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/storage/local-storage">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/storage/local-storage" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/edit-box">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/edit-box" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/videoplayer">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/videoplayer" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/webview">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/ui/webview" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/extensions/assets-manager">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/extensions/assets-manager" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/ConvertUTF">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/ConvertUTF" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/edtaa3func">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/edtaa3func" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/pvmp3dec/src">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/pvmp3dec/src" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/pvmp3dec/src/asm">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/pvmp3dec/src/asm" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/tinyxml2">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/tinyxml2" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/tremolo/Tremolo">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/tremolo/Tremolo" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/unzip">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/unzip" isTestSource="false" />
+    </content>
+    <content url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/xxtea">
+      <sourceFolder url="file://D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/external/sources/xxtea" isTestSource="false" />
+    </content>
     <orderEntry type="jdk" jdkName="Android API 29 Platform" jdkType="Android SDK" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="library" scope="TEST" name="Gradle: androidx.multidex:multidex-instrumentation:2.0.0@aar" level="project" />
@@ -271,9 +271,9 @@
     <orderEntry type="library" name="Gradle: ./app/libs/umeng/umeng-common-9.4.0.jar" level="project" />
     <orderEntry type="library" name="Gradle: ./app/libs/umeng/umeng-game-9.2.0+G.jar" level="project" />
     <orderEntry type="library" name="Gradle: ./app/libs/umeng/utdid4all-1.5.2.1-proguard.jar" level="project" />
-    <orderEntry type="library" name="Gradle: ./../../../../../../../CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/com.android.vending.expansion.zipfile.jar" level="project" />
-    <orderEntry type="library" name="Gradle: ./../../../../../../../CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/okhttp-3.12.7.jar" level="project" />
-    <orderEntry type="library" name="Gradle: ./../../../../../../../CocosCreatorIDE/CocosDashboard/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/okio-1.15.0.jar" level="project" />
+    <orderEntry type="library" name="Gradle: ./../../../../../../../Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/com.android.vending.expansion.zipfile.jar" level="project" />
+    <orderEntry type="library" name="Gradle: ./../../../../../../../Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/okhttp-3.12.7.jar" level="project" />
+    <orderEntry type="library" name="Gradle: ./../../../../../../../Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/cocos2d-x/cocos/platform/android/java/libs/okio-1.15.0.jar" level="project" />
     <orderEntry type="library" name="Gradle: androidx.collection:collection:1.0.0@jar" level="project" />
     <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-common:2.0.0@jar" level="project" />
     <orderEntry type="library" name="Gradle: androidx.arch.core:core-common:2.0.0@jar" level="project" />
@@ -333,6 +333,6 @@
     <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-livedata:2.0.0@aar" level="project" />
     <orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-livedata-core:2.0.0@aar" level="project" />
     <orderEntry type="library" name="Gradle: androidx.arch.core:core-runtime:2.0.0@aar" level="project" />
-    <orderEntry type="module" module-name="android-libcocos2dx" />
+    <orderEntry type="module" module-name="libcocos2dx" />
   </component>
 </module>

二进制
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/release/EasyEliminate-release.apk


+ 8 - 1
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/org/cocos2dx/javascript/thirdSdk/ThirdSdkMgr.java

@@ -65,7 +65,7 @@ public class ThirdSdkMgr {
 
     //设备信息相关------------------------------------------------------------------------------------
     /** 获取设备信息 */
-    public static void getDeviceInfo() {
+    public static String getDeviceInfo() {
         Log.d("[ThirdSdkMgr] ","getDeviceInfo");
         //获取安卓id
         String ANDROID_ID = DevicesUtil.getAndroidId(appActivity);
@@ -85,6 +85,13 @@ public class ThirdSdkMgr {
         String androidVersion = DevicesUtil.getSystemModel();
 
         updateDeviceInfo(ANDROID_ID, "", imei1, mac, mOAID, BuildConfig.UM_AID, versionName, umengChannel, deviceType, androidVersion);
+
+        String param =  ANDROID_ID + "#" + "" + "#" + imei1 + "#" + mac + "#" + mOAID + "#" + BuildConfig.UM_AID + "#" + BuildConfig.TF_CHANNEL +
+                "#" + versionName + "#" + umengChannel + "#" + deviceType + "#" + androidVersion ;
+        Log.d("===[ThridSdkMgr ",param);
+//        return param;
+
+        return  BuildConfig.UM_AID + "#" + BuildConfig.TF_CHANNEL;
     }
 
     /** 更新设备信息 */

+ 3 - 3
build/jsb-link/frameworks/runtime-src/proj.android-studio/gradle.properties

@@ -36,9 +36,9 @@ PROP_BUILD_TOOLS_VERSION=28.0.3
 PROP_APP_ABI=armeabi-v7a
 
 # fill in sign information for release mode
-#RELEASE_STORE_FILE=D:/mokaszProjects/mk_framework/keystore/eliminate.keystore
-RELEASE_STORE_PASSWORD=666888
-RELEASE_KEY_ALIAS=eliminate_1
+#RELEASE_STORE_FILE=D:/Develop/CocosDashboard_1.0.9/resources/.editors/Creator/2.4.5/resources/static/build-templates/native/debug.keystore
+RELEASE_STORE_PASSWORD=123456
+RELEASE_KEY_ALIAS=debug_keystore
 RELEASE_KEY_PASSWORD=123456
 
 android.injected.testOnly=false

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

@@ -352,27 +352,23 @@ e[ATBannerJSSDK.kATBannerAdInlineAdaptiveOrientation] = ATBannerJSSDK.kATBannerA
 ATBannerJSSDK.loadBanner(this.placementID(), e);
 }
 },
-checkBannerReady: function() {
+hasAdReady: function() {
 return !!ATBannerJSSDK.hasAdReady(this.placementID());
 },
 showBanner: function() {
-this.bannerIsShow || ATBannerJSSDK.showAdInPosition(this.placementID(), ATBannerJSSDK.kATBannerAdShowingPositionBottom);
+ATBannerJSSDK.showAdInPosition(this.placementID(), ATBannerJSSDK.kATBannerAdShowingPositionBottom);
 },
 destroyBanner: function() {
-if (this.bannerIsShow) {
 ATBannerJSSDK.removeAd(this.placementID());
-this.bannerIsShow = !1;
-this.loadBanner();
-}
 },
 onBannerAdLoaded: function(t) {
 null != this.proxy && this.proxy.onBannerAdLoaded(t);
 },
 onBannerAdLoadFail: function(t, e) {
+ATJSSDK.printLog("===[ AnyThinkBannerDemo::onBannerAdLoadFail(" + t + ", " + e + ")");
 null != this.proxy && this.proxy.onBannerAdLoadFail(t, e);
 },
 onBannerAdShow: function(t, e) {
-this.bannerIsShow = !0;
 null != this.proxy && this.proxy.onBannerAdShow(t, e);
 },
 onBannerAdClick: function(t, e) {
@@ -416,40 +412,69 @@ t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, new n(
 Object.defineProperty(n, "__esModule", {
 value: !0
 });
-var a = t("../../zgSingleton"), r = t("./ATSDKMgr"), c = function(t) {
+n.BannerAdState = void 0;
+var a, r = t("../../zgSingleton"), c = t("./ATSDKMgr"), s = function(t) {
 i(e, t);
 function e() {
-return null !== t && t.apply(this, arguments) || this;
+var e = null !== t && t.apply(this, arguments) || this;
+e.bannerAdState = 0;
+e.ifLoadShow = !1;
+e.ifWatchEnd = !1;
+return e;
 }
 e.prototype.init = function() {
-cc.ATBannerJS.proxy = this;
-console.log("cc[ATBannerJS]", cc.ATBannerJS);
-console.log("window[ATBannerJS]", window.ATBannerJS);
-cc.ATBannerJS.init();
-this.loadBanner();
+this.ATBannerJS = cc.ATBannerJS;
+this.ATBannerJS.proxy = this;
+this.ATBannerJS.init();
+this.bannerAdState == a.Unload && this.loadBanner();
 };
 e.prototype.placementID = function() {
-return cc.sys.os === cc.sys.OS_IOS ? r.default.topon_banner_placementId : cc.sys.os === cc.sys.OS_ANDROID ? r.default.topon_banner_placementId : void 0;
+return cc.sys.os === cc.sys.OS_IOS ? c.default.topon_banner_placementId : cc.sys.os === cc.sys.OS_ANDROID ? c.default.topon_banner_placementId : void 0;
+};
+e.prototype.hasAdReady = function() {
+return this.ATBannerJS.hasAdReady();
 };
-e.prototype.loadBanner = function() {
-cc.ATBannerJS.loadBanner();
+e.prototype.loadBanner = function(t) {
+void 0 === t && (t = !1);
+this.ifLoadShow = t;
+this.bannerAdState = a.Loading;
+this.ATBannerJS.loadBanner();
 };
 e.prototype.showBanner = function() {
-cc.ATBannerJS.showBanner();
+if (this.bannerAdState == a.Show) ; else if (this.hasAdReady()) {
+this.bannerAdState = a.Show;
+this.ATBannerJS.showBanner();
+} else this.bannerAdState == a.Loading ? this.ifLoadShow = !0 : this.loadBanner(!0);
 };
 e.prototype.destroyBanner = function() {
-cc.ATBannerJS.destroyBanner();
+this.bannerAdState = a.Close;
+this.ATBannerJS.destroyBanner();
+this.loadBanner();
+};
+e.prototype.onBannerAdLoaded = function() {
+this.bannerAdState = a.LoadSuccess;
+};
+e.prototype.onBannerAdLoadFail = function() {
+this.bannerAdState = a.LoadFail;
+};
+e.prototype.onBannerAdShow = function() {
+this.bannerAdState = a.Show;
 };
-e.prototype.onBannerAdLoaded = function() {};
-e.prototype.onBannerAdLoadFail = function() {};
-e.prototype.onBannerAdShow = function() {};
 e.prototype.onBannerAdClick = function() {};
 e.prototype.onBannerAdAutoRefresh = function() {};
 e.prototype.onBannerAdAutoRefreshFail = function() {};
 e.prototype.onBannerAdCloseButtonTapped = function() {};
 return e;
-}(a.zgSingleton);
-n.default = c;
+}(r.zgSingleton);
+n.default = s;
+(function(t) {
+t[t.Unload = 0] = "Unload";
+t[t.Loading = 1] = "Loading";
+t[t.LoadSuccess = 2] = "LoadSuccess";
+t[t.LoadFail = 3] = "LoadFail";
+t[t.Show = 4] = "Show";
+t[t.Close = 5] = "Close";
+})(a = n.BannerAdState || (n.BannerAdState = {}));
 cc._RF.pop();
 }, {
 "../../zgSingleton": "zgSingleton",
@@ -537,31 +562,29 @@ t("./AnyThinkAds/ATJSSDK");
 var n = cc.Class({
 name: "ATInterstitialJS",
 proxy: null,
-interType: 0,
 ctor: function() {},
 init: function() {
-ATBannerJSSDK.setAdListener(this);
+ATInterstitialJSSDK.setAdListener(this);
 },
 placementID: function() {
-return this.proxy.placementID(this.interType);
+return this.proxy.placementID();
 },
-loadInter: function(t) {
-var e = {};
-e[ATInterstitialJSSDK.UseRewardedVideoAsInterstitial] = !1;
-this.interType = t;
-ATInterstitialJSSDK.setAdListener(this);
-0 == this.interType ? ATInterstitialJSSDK.loadInterstitial(this.placementID(), e) : 1 == this.interType && ATInterstitialJSSDK.loadInterstitial(this.placementID(), e);
+hasAdReady: function() {
+if (null != this.proxy) return !!ATInterstitialJSSDK.hasAdReady(this.placementID());
 },
-checkInterReady: function(t) {
-if (null != this.proxy) return 0 == t ? !!ATInterstitialJSSDK.hasAdReady(this.placementID()) : 1 == t ? !!ATInterstitialJSSDK.hasAdReady(this.placementID()) : void 0;
+loadInter: function() {
+var t = {};
+t[ATInterstitialJSSDK.UseRewardedVideoAsInterstitial] = !1;
+ATInterstitialJSSDK.loadInterstitial(this.placementID(), t);
 },
-showInter: function(t) {
-0 == t ? ATInterstitialJSSDK.showAd(this.placementID()) : 1 == t && ATInterstitialJSSDK.showAd(this.placementID());
+showInter: function() {
+ATInterstitialJSSDK.showAd(this.placementID());
 },
 onInterstitialAdLoaded: function(t) {
 null != this.proxy && this.proxy.onInterstitialAdLoaded(t);
 },
 onInterstitialAdLoadFail: function(t, e) {
+ATJSSDK.printLog("===[AnyThinkInterstitialDemo::onInterstitialAdLoadFail(" + t + ", " + e + ")");
 null != this.proxy && this.proxy.onInterstitialAdLoadFail(t, e);
 },
 onInterstitialAdShow: function(t, e) {
@@ -606,44 +629,74 @@ t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, new n(
 Object.defineProperty(n, "__esModule", {
 value: !0
 });
-var a = t("../../zgSingleton"), r = t("./ATSDKMgr"), c = function(t) {
+n.InterAdState = void 0;
+var a, r = t("../../zgSingleton"), c = t("./ATSDKMgr"), s = function(t) {
 i(e, t);
 function e() {
-return null !== t && t.apply(this, arguments) || this;
+var e = null !== t && t.apply(this, arguments) || this;
+e.interAdType = 0;
+e.interAdState = 0;
+e.ifLoadShow = !1;
+return e;
 }
 e.prototype.init = function() {
 this.ATInterstitialJS = cc.ATInterstitialJS;
 this.ATInterstitialJS.proxy = this;
 this.ATInterstitialJS.init();
-this.loadInter(0);
+this.interAdState == a.Unload && this.loadInter(0);
 };
-e.prototype.placementID = function(t) {
-if (0 == t) {
-if (cc.sys.os === cc.sys.OS_IOS) return r.default.topon_inter_placementId;
-if (cc.sys.os === cc.sys.OS_ANDROID) return r.default.topon_inter_placementId;
+e.prototype.placementID = function() {
+if (0 == this.interAdType) {
+if (cc.sys.os === cc.sys.OS_IOS) return c.default.topon_inter_placementId;
+if (cc.sys.os === cc.sys.OS_ANDROID) return c.default.topon_inter_placementId;
 } else {
-if (cc.sys.os === cc.sys.OS_IOS) return r.default.topon_fullinter_placementId;
-if (cc.sys.os === cc.sys.OS_ANDROID) return r.default.topon_fullinter_placementId;
+if (cc.sys.os === cc.sys.OS_IOS) return c.default.topon_fullinter_placementId;
+if (cc.sys.os === cc.sys.OS_ANDROID) return c.default.topon_fullinter_placementId;
 }
 };
-e.prototype.loadInter = function(t) {
-this.interType = t;
+e.prototype.hasAdReady = function() {
+return this.ATInterstitialJS.hasAdReady();
+};
+e.prototype.loadInter = function(t, e) {
+void 0 === e && (e = !1);
+this.interAdType = t;
+this.ifLoadShow = e;
+this.interAdState = a.Loading;
 this.ATInterstitialJS.loadInter(t);
 };
 e.prototype.showInter = function(t) {
-this.interType = t;
-this.ATInterstitialJS.checkInterReady(t) ? this.ATInterstitialJS.showInter(t) : this.loadInter(t);
+this.interAdType = t;
+if (this.interAdState == a.Show) ; else if (this.hasAdReady()) {
+this.interAdState = a.Show;
+this.ATInterstitialJS.showInter(t);
+} else this.interAdState == a.Loading ? this.ifLoadShow = !0 : this.loadInter(t, !0);
+};
+e.prototype.onInterstitialAdLoaded = function() {
+this.interAdState = a.LoadSuccess;
+this.ifLoadShow && this.showInter(this.interAdType);
+};
+e.prototype.onInterstitialAdLoadFail = function() {
+this.interAdState = a.LoadFail;
+};
+e.prototype.onInterstitialAdShow = function() {
+this.interAdState = a.Show;
 };
-e.prototype.onInterstitialAdLoaded = function() {};
-e.prototype.onInterstitialAdLoadFail = function() {};
-e.prototype.onInterstitialAdShow = function() {};
 e.prototype.onInterstitialAdClick = function() {};
 e.prototype.onInterstitialAdClose = function() {
-this.loadInter(this.interType);
+this.interAdState = a.Close;
+this.loadInter(this.interAdType);
 };
 return e;
-}(a.zgSingleton);
-n.default = c;
+}(r.zgSingleton);
+n.default = s;
+(function(t) {
+t[t.Unload = 0] = "Unload";
+t[t.Loading = 1] = "Loading";
+t[t.LoadSuccess = 2] = "LoadSuccess";
+t[t.LoadFail = 3] = "LoadFail";
+t[t.Show = 4] = "Show";
+t[t.Close = 5] = "Close";
+})(a = n.InterAdState || (n.InterAdState = {}));
 cc._RF.pop();
 }, {
 "../../zgSingleton": "zgSingleton",
@@ -859,13 +912,6 @@ t("./AnyThinkAds/ATNativeJSSDK");
 var n = cc.Class({
 name: "ATNativeJS",
 proxy: null,
-frameWidth: 0,
-frameHeight: 0,
-nativeIsShow: !1,
-nativeType: 0,
-nativeShow: !1,
-nativeIsLoad: !1,
-nativeIsLoading: !1,
 ctor: function() {},
 init: function() {
 ATNativeJSSDK.setAdListener(this);
@@ -873,77 +919,27 @@ ATNativeJSSDK.setAdListener(this);
 placementID: function() {
 return this.proxy.placementID();
 },
+hasAdReady: function() {
+return !!ATNativeJSSDK.hasAdReady(this.placementID());
+},
 loadNative: function(t, e) {
-void 0 === t && (t = 0);
-void 0 === e && (e = !1);
-this.nativeType = t;
-this.nativeShow = e;
-this.nativeIsLoading = !0;
-var n = cc.view.getFrameSize();
-this.frameWidth = n.width;
-this.frameHeight = n.height;
-var o = this.frameWidth / 750, i = 656 * o, a = 440 * o;
-if (2 == this.nativeType) {
-this.destroyNative(!1);
-i *= .9;
-a *= .8;
-} else if (3 == this.nativeType) {
-this.destroyNative(!1);
-i *= .9;
-a *= .75;
-} else {
-i *= .9;
-a *= .75;
-}
-ATNativeJSSDK.loadNative(this.placementID(), ATNativeJSSDK.createLoadAdSize(i, a));
+ATNativeJSSDK.loadNative(this.placementID(), ATNativeJSSDK.createLoadAdSize(t, e));
 },
-destroyNative: function(t) {
-void 0 === t && (t = !0);
-ATNativeJSSDK.removeAd(this.placementID());
-this.nativeIsLoad = !1;
-this.nativeIsShow = !1;
-t && this.loadNative();
-},
-showNative: function(t) {
-if (this.nativeIsLoading) {
-this.nativeType = t;
-this.nativeShow = !0;
-} else if (this.nativeIsLoad) {
-if (!this.nativeIsShow) {
-this.nativeIsShow = !0;
-var e = this.frameWidth / 750, n = 656 * e, o = 440 * e, i = 12, a = new ATNativeJSSDK.AdViewProperty(), r = 0;
-if (0 == t) r = .45 * this.frameHeight; else if (1 == t) r = .625 * this.frameHeight; else if (2 == t) {
-r = .595 * this.frameHeight;
-n *= .9;
-o *= .8;
-i = 8;
-} else if (3 == t) {
-r = .69 * this.frameHeight;
-n *= .9;
-o *= .75;
-i = 8;
-} else if (4 == t) {
-r = .75 * this.frameHeight;
-n *= 1.1;
-}
-var c = .5 * (this.frameWidth - n);
-a.parent = a.createItemViewProperty(c, r, n, o, "#ffffff", "", 0);
+showNative: function(t, e, n, o, i) {
+var a = new ATNativeJSSDK.AdViewProperty();
+a.parent = a.createItemViewProperty(t, e, n, o, "#ffffff", "", 0);
 a.mainImage = a.createItemViewProperty(0, 0, n, o, "#ffffff", "#ffffff", i);
 ATNativeJSSDK.showAd(this.placementID(), a);
-}
-} else this.loadNative(t, !0);
 },
-onNativeAdLoaded: function() {
-this.nativeIsLoad = !0;
-this.nativeIsLoading = !1;
-if (this.nativeShow) {
-this.nativeIsShow = !1;
-this.showNative(this.nativeType);
-}
+destroyNative: function() {
+ATNativeJSSDK.removeAd(this.placementID());
+},
+onNativeAdLoaded: function(t) {
+null != this.proxy && this.proxy.onNativeAdLoaded(t);
 },
-onNativeAdLoadFail: function() {
-this.nativeIsLoading = !1;
-this.nativeIsLoad = !1;
+onNativeAdLoadFail: function(t, e) {
+ATJSSDK.printLog("===[AnyThinkNativeDemo::onNativeAdLoadFail(" + t + ", " + e + ")");
+null != this.proxy && this.proxy.onNativeAdLoadFail(t, e);
 },
 onNativeAdShow: function(t, e) {
 null != this.proxy && this.proxy.onNativeAdShow(t, e);
@@ -983,40 +979,97 @@ t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, new n(
 Object.defineProperty(n, "__esModule", {
 value: !0
 });
-n.ATNative = void 0;
-var a = t("../../zgSingleton"), r = t("./ATSDKMgr"), c = function(t) {
+n.NativeAdState = n.ATNative = void 0;
+var a, r = t("../../zgSingleton"), c = t("./ATSDKMgr"), s = function(t) {
 i(e, t);
 function e() {
-return null !== t && t.apply(this, arguments) || this;
+var e = null !== t && t.apply(this, arguments) || this;
+e.nativeAdType = 4;
+e.nativeAdState = 0;
+e.ifLoadShow = !1;
+return e;
 }
 e.prototype.init = function() {
 this.ATNativeJS = cc.ATNativeJS;
 this.ATNativeJS.proxy = this;
 this.ATNativeJS.init();
-this.loadNative();
+this.nativeAdState == a.Unload && this.loadNative(4);
 };
 e.prototype.placementID = function() {
-return cc.sys.os === cc.sys.OS_IOS ? r.default.topon_native_placementId : cc.sys.os === cc.sys.OS_ANDROID ? r.default.topon_native_placementId : void 0;
+return cc.sys.os === cc.sys.OS_IOS ? c.default.topon_native_placementId : cc.sys.os === cc.sys.OS_ANDROID ? c.default.topon_native_placementId : void 0;
+};
+e.prototype.hasAdReady = function() {
+return this.ATNativeJS.hasAdReady();
 };
 e.prototype.loadNative = function(t, e) {
 void 0 === t && (t = 4);
 void 0 === e && (e = !1);
-this.ATNativeJS.loadNative(t, e);
+this.nativeAdType = t;
+this.ifLoadShow = e;
+this.nativeAdState = a.Loading;
+var n = cc.view.getFrameSize(), o = n.width, i = (n.height, o / 750), r = 656 * i, c = 440 * i;
+if (2 == this.nativeAdType) {
+r *= .9;
+c *= .8;
+} else if (3 == this.nativeAdType) {
+r *= .9;
+c *= .75;
+} else {
+r *= .9;
+c *= .75;
+}
+this.ATNativeJS.loadNative(r, c);
 };
 e.prototype.showNative = function(t) {
-this.ATNativeJS.showNative(t);
+if (this.nativeAdState == a.Show) ; else if (this.hasAdReady()) if (this.nativeAdType != t) {
+this.destroyNative();
+this.loadNative(t, !0);
+} else {
+console.log("===[ShowNative", t);
+var e = cc.view.getFrameSize(), n = e.width, o = e.height, i = n / 750, r = 656 * i, c = 440 * i, s = 0;
+if (0 == t) s = .45 * o; else if (1 == t) s = .625 * o; else if (2 == t) {
+s = .595 * o;
+r *= .9;
+c *= .8;
+} else if (3 == t) {
+s = .69 * o;
+r *= .9;
+c *= .75;
+} else if (4 == t) {
+s = .75 * o;
+r *= 1.1;
+}
+var l = .5 * (n - r);
+this.ATNativeJS.showNative(l, s, r, c);
+} else this.nativeAdState == a.Loading ? this.ifLoadShow = !0 : this.loadNative(t, !0);
 };
-e.prototype.onNativeAdShow = function() {};
 e.prototype.destroyNative = function() {
+this.nativeAdState = a.Close;
 this.ATNativeJS.destroyNative();
-this.loadNative();
+this.loadNative(this.nativeAdType);
+};
+e.prototype.onNativeAdLoaded = function() {
+this.nativeAdState = a.LoadSuccess;
+this.ifLoadShow && this.showNative(this.nativeAdType);
+};
+e.prototype.onNativeAdLoadFail = function() {
+this.nativeAdState = a.LoadFail;
 };
-e.prototype.getIsNativeShow = function() {
-return this.ATNativeJS.nativeShow;
+e.prototype.onNativeAdShow = function() {
+this.nativeAdState = a.Show;
 };
+e.prototype.onNativeAdClick = function() {};
 return e;
-}(a.zgSingleton);
-n.ATNative = c;
+}(r.zgSingleton);
+n.ATNative = s;
+(function(t) {
+t[t.Unload = 0] = "Unload";
+t[t.Loading = 1] = "Loading";
+t[t.LoadSuccess = 2] = "LoadSuccess";
+t[t.LoadFail = 3] = "LoadFail";
+t[t.Show = 4] = "Show";
+t[t.Close = 5] = "Close";
+})(a = n.NativeAdState || (n.NativeAdState = {}));
 cc._RF.pop();
 }, {
 "../../zgSingleton": "zgSingleton",
@@ -1048,32 +1101,26 @@ ATRewardedVideoJSSDK.loadRewardedVideo(this.placementID(), n);
 showAd: function() {
 ATRewardedVideoJSSDK.showAdInScenario(this.placementID(), "");
 },
-checkReady: function() {
-ATJSSDK.printLog("AnyThinkRewardedVideo::checkReady()   " + (ATRewardedVideoJSSDK.hasAdReady(this.placementID()) ? "Ready" : "No"));
+hasAdReady: function() {
 if (null != this.proxy) return !!ATRewardedVideoJSSDK.hasAdReady(this.placementID());
 },
 onRewardedVideoAdLoaded: function(t) {
-ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdLoaded(" + t + ")");
 null != this.proxy && this.proxy.onRewardedVideoAdLoaded(t);
 },
 onRewardedVideoAdFailed: function(t, e) {
-ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdFailed(" + t + ", " + e + ")");
+ATJSSDK.printLog("===[AnyThinkRewardedVideo::onRewardedVideoAdFailed(" + t + ", " + e + ")");
 null != this.proxy && this.proxy.onRewardedVideoAdFailed(t, e);
 },
 onRewardedVideoAdPlayStart: function(t, e) {
-ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayStart(" + t + ", " + e + ")");
 null != this.proxy && this.proxy.onRewardedVideoAdPlayStart(t, e);
 },
 onRewardedVideoAdPlayEnd: function(t, e) {
-ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayEnd(" + t + ", " + e + ")");
 null != this.proxy && this.proxy.onRewardedVideoAdPlayEnd(t, e);
 },
 onRewardedVideoAdPlayFailed: function(t, e, n) {
-ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayFailed(" + t + ", " + e + ", " + n + ")");
 null != this.proxy && this.proxy.onRewardedVideoAdPlayFailed(t, e, n);
 },
 onRewardedVideoAdClosed: function(t, e) {
-ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdClosed(" + t + ", " + e + ")");
 null != this.proxy && this.proxy.onRewardedVideoAdClosed(t, e);
 },
 onRewardedVideoAdPlayClicked: function(t, e) {
@@ -1111,7 +1158,7 @@ t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, new n(
 Object.defineProperty(n, "__esModule", {
 value: !0
 });
-n.RewardAdLoadState = n.ATRewardVideo = void 0;
+n.RewardAdState = n.ATRewardVideo = void 0;
 var a, r = t("../../zgSingleton"), c = t("./ATSDKMgr"), s = function(t) {
 i(e, t);
 function e() {
@@ -1122,32 +1169,33 @@ e.ifWatchEnd = !1;
 return e;
 }
 e.prototype.init = function() {
-cc.ATRewardVideoJS.proxy = this;
-cc.ATRewardVideoJS.init();
+this.ATRewardVideoJS = cc.ATRewardVideoJS;
+this.ATRewardVideoJS.proxy = this;
+this.ATRewardVideoJS.init();
 this.ifWatchEnd = !1;
 this.reawardAdState == a.Unload && this.loadAd();
 };
 e.prototype.placementID = function() {
 return cc.sys.os === cc.sys.OS_IOS ? c.default.topon_rewardVideo_placementId : cc.sys.os === cc.sys.OS_ANDROID ? c.default.topon_rewardVideo_placementId : void 0;
 };
+e.prototype.hasAdReady = function() {
+return this.ATRewardVideoJS.hasAdReady();
+};
 e.prototype.loadAd = function() {
 console.log("anythink === 加载激励视频广告", a[this.reawardAdState]);
 if (this.reawardAdState != a.Loading) {
 this.reawardAdState = a.Loading;
-cc.ATRewardVideoJS.loadAd("userIdKey", "userDataKey");
+this.ATRewardVideoJS.loadAd("userIdKey", "userDataKey");
 }
 };
 e.prototype.showAd = function() {
-if (this.reawardAdState == a.LoadSuccess) cc.ATRewardVideoJS.showAd(); else {
+if (this.reawardAdState == a.LoadSuccess) this.ATRewardVideoJS.showAd(); else {
 this.loadAd();
 this.ifLoadShow = !0;
 }
 };
-e.prototype.checkReady = function() {
-return cc.ATRewardVideoJS.checkReady();
-};
 e.prototype.onRewardedVideoAdLoaded = function() {
-console.log("anythink === 加载激励视频广告成功", this.checkReady(), a[this.reawardAdState]);
+console.log("anythink === 加载激励视频广告成功", this.hasAdReady(), a[this.reawardAdState]);
 this.reawardAdState = a.LoadSuccess;
 if (this.ifLoadShow) {
 this.showAd();
@@ -1187,7 +1235,7 @@ t[t.Loading = 1] = "Loading";
 t[t.LoadSuccess = 2] = "LoadSuccess";
 t[t.LoadFail = 3] = "LoadFail";
 t[t.PlayEnd = 4] = "PlayEnd";
-})(a = n.RewardAdLoadState || (n.RewardAdLoadState = {}));
+})(a = n.RewardAdState || (n.RewardAdState = {}));
 cc._RF.pop();
 }, {
 "../../zgSingleton": "zgSingleton",
@@ -1300,8 +1348,6 @@ t === ATJSSDK.kATUserLocationInEU && ATJSSDK.getGDPRLevel() === ATJSSDK.UNKNOWN
 });
 },
 placementID: function() {
-console.log("this.proxy", this);
-console.log("this.proxy", this.proxy);
 return this.proxy.placementID();
 }
 });
@@ -1350,7 +1396,6 @@ this.getAdvertiseChannel();
 cc.ATSDKMgrJS.proxy = this;
 cc.ATSDKMgrJS.initATJSSDK(n.topon_android_appId, n.topon_android_appSecret);
 d.ATRewardVideo.getInstance().init();
-console.log("===[AdSystem checkReady()", d.ATRewardVideo.getInstance().checkReady());
 p.ATNative.getInstance().init();
 u.default.getInstance().init();
 l.default.getInstance().init();
@@ -1373,9 +1418,9 @@ n.topon_native_placementId = e[5];
 n.topon_fullinter_placementId = e[6];
 n.topon_banner_placementId = e[7];
 };
-e.prototype.showVideoAd = function() {
-console.log("===[ShowVideoAd] ", d.ATRewardVideo.getInstance().checkReady());
-d.ATRewardVideo.getInstance().checkReady() || mk.tip.pop("广告加载中,请稍后");
+e.prototype.showVideo = function() {
+console.log("===[ShowVideoAd] ", d.ATRewardVideo.getInstance().hasAdReady());
+d.ATRewardVideo.getInstance().hasAdReady() || mk.tip.pop("广告加载中,请稍后");
 d.ATRewardVideo.getInstance().showAd();
 };
 e.prototype.watchVideoAdCallBack = function(t) {
@@ -1389,22 +1434,29 @@ case r.Cancel:
 mk.ad.watchAdFail();
 }
 };
-e.prototype.showInterAd = function() {};
-e.prototype.loadNativeAd = function(t, e) {
+e.prototype.showInter = function(t) {
+void 0 === t && (t = 0);
+u.default.getInstance().showInter(t);
+};
+e.prototype.loadNative = function(t, e) {
 p.ATNative.getInstance().loadNative(t, e);
 };
-e.prototype.destroyNativeAd = function() {
+e.prototype.showNative = function(t) {
+p.ATNative.getInstance().showNative(t);
+};
+e.prototype.destroyNative = function() {
 p.ATNative.getInstance().destroyNative();
 };
-e.prototype.showBannerAd = function() {
+e.prototype.loadBanner = function(t) {
+void 0 === t && (t = !1);
+l.default.getInstance().loadBanner(t);
+};
+e.prototype.showBanner = function() {
 l.default.getInstance().showBanner();
 };
 e.prototype.destoryBanner = function() {
 l.default.getInstance().destroyBanner();
 };
-e.prototype.showInter = function() {
-u.default.getInstance().showInter(0);
-};
 var n;
 e.topon_android_appId = "a5f8fa5f10c661";
 e.topon_android_appSecret = "66b742dd0e502b64d783d9c66a9d30c4";
@@ -1873,7 +1925,7 @@ this.adSdk.initSDK();
 t.prototype.watchAd = function(t) {
 if (!this.isAdCooling()) {
 this.videoAdcallBack = t;
-this.ifShowAd ? cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? this.adSdk.showVideoAd() : cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("AppController", "showVideo", "")) : this.wacthAdSuccess();
+this.ifShowAd ? cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? this.adSdk.showVideo() : cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("AppController", "showVideo", "")) : this.wacthAdSuccess();
 }
 };
 t.prototype.watchAdFail = function() {
@@ -1890,14 +1942,13 @@ mk.console.log("=== wacthAdSuccess");
 this.videoAdcallBack(!0);
 this.initLastTimeStamp();
 };
-t.prototype.showNativeAd = function(t, e) {
-void 0 === t && (t = 0);
-void 0 === e && (e = !0);
-cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? this.adSdk.loadNativeAd(t, e) : (cc.sys.os, 
+t.prototype.showNative = function(t) {
+void 0 === t && (t = 4);
+cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? this.adSdk.showNative(t) : (cc.sys.os, 
 cc.sys.OS_IOS));
 };
 t.prototype.destroyNativeAd = function() {
-cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? this.adSdk.destroyNativeAd() : (cc.sys.os, 
+cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? this.adSdk.destroyNative() : (cc.sys.os, 
 cc.sys.OS_IOS));
 };
 t.prototype.initLastTimeStamp = function() {
@@ -1913,11 +1964,14 @@ return !0;
 }
 return !1;
 };
-t.prototype.showBannerAd = function() {
-this.ifShowAd && gData.gameData.adShowConfig && 1 == gData.gameData.adShowConfig.is_show_banner && this.adSdk.showBannerAd();
+t.prototype.showBanner = function() {
+this.ifShowAd && this.adSdk.showBanner();
+};
+t.prototype.destoryBanner = function() {
+this.adSdk.destoryBanner();
 };
-t.prototype.showInterAd = function() {
-this.ifShowAd && this.adSdk.showInter();
+t.prototype.showInterAd = function(t) {
+this.ifShowAd && this.adSdk.showInter(t);
 };
 t.prototype.checkShowInterByChance = function() {
 gData.gameData.adShowConfig && (Math.random() <= gData.gameData.adShowConfig.insert_probability ? this.showInterAd(0) : gData.moreGame.popMoreGamePopNode());
@@ -2074,6 +2128,8 @@ this.umengChannel = e[8];
 this.deviceType = e[9];
 this.androidVersion = e[10];
 this.getDeviceInfoCompelete = !0;
+console.log("===[this.tfChannel", this.tfChannel);
+console.log("===[this.appVersion", this.appVersion);
 };
 t.prototype.init = function() {};
 return t;
@@ -4969,7 +5025,7 @@ function e() {
 var e = null !== t && t.apply(this, arguments) || this;
 e.ani_cellItem = null;
 e.spr_cellItemIcon = null;
-e.spr_redPackIcon = null;
+e.node_redPackIcon = null;
 e.x = 0;
 e.y = 0;
 e.type = 0;
@@ -5099,7 +5155,7 @@ this.node.opacity = 255;
 this.ani_cellItem.play();
 };
 e.prototype.showRedPacket = function() {
-this.spr_redPackIcon.node.active = !0;
+this.node_redPackIcon.active = !0;
 };
 e.prototype.recycle = function(t, e, n) {
 void 0 === t && (t = !1);
@@ -5122,7 +5178,7 @@ s.x = o;
 s.y = i;
 r.default.Inst.node_effectUI.addChild(s);
 s.getComponent(p.default).init();
-var u = 2 + 2 * r.default.Inst.cleanedVecArr.length, f = l.default.Inst.getPoolPrefab(l.NODEPOOLPREFABTYPE.EliminateScore), y = this.node.x + r.default.Inst.node_content.x, g = this.node.y + r.default.Inst.node_content.y + 30;
+var u = 2 + 2 * (r.default.Inst.cleanedVecArr.length - 2), f = l.default.Inst.getPoolPrefab(l.NODEPOOLPREFABTYPE.EliminateScore), y = this.node.x + r.default.Inst.node_content.x, g = this.node.y + r.default.Inst.node_content.y + 30;
 f.getComponent(d.default).init(new cc.Vec2(y, g), u);
 r.default.Inst.node_effectUI.addChild(f);
 if (t) {
@@ -5133,7 +5189,7 @@ r.default.Inst.initScore();
 var _ = l.default.Inst.getPoolPrefab(l.NODEPOOLPREFABTYPE.ScoreEnergy);
 _.getComponent(h.default).init(y, g, u);
 r.default.Inst.node_effectUI.addChild(_);
-this.spr_redPackIcon.node.active && this.scheduleOnce(function() {
+this.node_redPackIcon.active && this.scheduleOnce(function() {
 if (r.default.Inst.finalGetScore < r.default.Inst.targetScore) {
 gData.reward.subType = 2;
 mk.ui.openPanel("module/reward/rewardLuck");
@@ -5141,12 +5197,12 @@ mk.ui.openPanel("module/reward/rewardLuck");
 });
 }
 }
-this.spr_redPackIcon.node.active && (this.spr_redPackIcon.node.active = !1);
+this.node_redPackIcon.active && (this.node_redPackIcon.active = !1);
 l.default.Inst.recyclePoolPrefab(l.NODEPOOLPREFABTYPE.CellItem, this.node);
 };
 a([ _(cc.Animation) ], e.prototype, "ani_cellItem", void 0);
 a([ _(cc.Sprite) ], e.prototype, "spr_cellItemIcon", void 0);
-a([ _(cc.Sprite) ], e.prototype, "spr_redPackIcon", void 0);
+a([ _(cc.Node) ], e.prototype, "node_redPackIcon", void 0);
 return a([ g ], e);
 }(cc.Component);
 n.default = m;
@@ -6811,7 +6867,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"), _ = t("./module/CashNormalData"), m = t("./module/ReceiptNoticeData"), v = t("./module/BlessingBagData"), b = t("./module/CashProData"), S = t("./module/RedBagCashData"), w = t("./module/RedCodeData"), A = t("./module/RedeemData"), D = 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"), _ = t("./module/CashNormalData"), m = t("./module/ReceiptNoticeData"), v = t("./module/BlessingBagData"), b = t("./module/CashProData"), S = t("./module/RedBagCashData"), A = t("./module/RedCodeData"), w = t("./module/RedeemData"), D = t("./module/MoreGameData"), P = t("./module/SettingData"), O = t("./module/GuideData"), I = t("./module/GuideWeakData"), k = function() {
 function t() {
 this.init();
 }
@@ -6838,8 +6894,8 @@ this.setting = new P.SettingData();
 this.moreGame = new D.MoreGameData();
 this.blessingBag = new v.BlessingBagData();
 this.cashPro = new b.default();
-this.redCodeData = new w.default();
-this.redeem = new A.default();
+this.redCodeData = new A.default();
+this.redeem = new w.default();
 this.moduleData = new Map();
 this.moduleData.set(o.moreGame, this.moreGame);
 this.moduleData.set(o.turnable, this.turnable);
@@ -9962,7 +10018,7 @@ e.lbl_desc = null;
 return e;
 }
 e.prototype.start = function() {
-mk.ad.showNativeAd(4);
+mk.ad.showNative(4);
 };
 e.prototype.update = function() {
 gData.help.init_desc_name && (this.lbl_desc.string = gData.help.des);
@@ -10507,13 +10563,18 @@ return c;
 };
 t.backTest = function() {};
 t.updateDeviceInfo = function(t) {
-mk.console.log("updateDeviceInfo" + cc.sys.os, t);
+mk.console.log("===[JsbSystem] updateDeviceInfo" + cc.sys.os, t);
 cc.sys.os == cc.sys.OS_ANDROID ? gData.appData.updateDeviceInfo(t) : (cc.sys.os, 
 cc.sys.OS_IOS);
 };
 t.getDeviceInfo = function() {
-mk.console.log("getDeviceInfo", cc.sys.os);
-cc.sys.os == cc.sys.OS_ANDROID ? this.callStaticMethod(this._JSB_ANDROID_PATH, "getDeviceInfo", "()V") : cc.sys.os == cc.sys.OS_IOS ? this.callStaticMethod(this._JSB_IOS_PATH, "getDeviceInfo", "") : gData.appData.getDeviceInfoCompelete = !0;
+var t = "";
+if (cc.sys.os == cc.sys.OS_ANDROID) {
+t = this.callStaticMethod(this._JSB_ANDROID_PATH, "getDeviceInfo", "()Ljava/lang/String;");
+console.log("===[JsbSystem] getDeviceInfo ", t);
+return t;
+}
+cc.sys.os == cc.sys.OS_IOS ? this.callStaticMethod(this._JSB_IOS_PATH, "getDeviceInfo", "") : gData.appData.getDeviceInfoCompelete = !0;
 };
 t.getPackageName = function() {
 var t = "";
@@ -11426,34 +11487,30 @@ return [ 2 ];
 };
 e.prototype.getForceVersionInfo = function() {
 return r(this, void 0, void 0, function() {
-var t, e, n, o;
-return c(this, function(i) {
-switch (i.label) {
+var t, e;
+return c(this, function(n) {
+switch (n.label) {
 case 0:
 console.log("===[Login] getForceVersionInfo发送请求整包更新");
 mk.console.log("===[Login] getForceVersionInfo", gData.loginData.uin, gData.loginData.sessionKey);
-(t = {
-version: gData.appData.appVersion,
-channel: gData.appData.tfChannel
-}).timestamp = Math.floor(.001 * new Date().getTime());
-t.appVersion = gData.appData.appVersion;
-t.tfChannel = gData.appData.tfChannel;
-t.versioncfg = gData.appData.version;
-e = mk.encrypt.encrypt(JSON.stringify(t), gData.loginData.sessionKey, gData.loginData.sessionKey);
-n = {
-uin: gData.loginData.uin,
-encrypt: e
+t = {
+appId: gData.appData.appId,
+channel: gData.appData.tfChannel,
+version: gData.appData.appVersion
 };
-return [ 4, mk.http.sendRequest("getForceVersionInfo", "POST", JSON.stringify(n), !1, !1) ];
+mk.console.log("===[Login] getForceVersionInfo appId", gData.appData.appId);
+mk.console.log("===[Login] getForceVersionInfo channel", gData.appData.tfChannel);
+mk.console.log("===[Login] getForceVersionInfo version", gData.appData.appVersion);
+return [ 4, mk.http.sendRequest("getForceVersionInfo", "POST", JSON.stringify(t), !1, !1) ];
 
 case 1:
-o = i.sent();
-mk.console.logSingle("===[Login] getForceVersionInfo response", o);
-gData.appData.needForceUpdate = o.isForceUpdate;
-gData.appData.installVersion = o.version;
-gData.appData.installUrl = o.downloadAddress;
-gData.appData.updateDes = o.versionRemark;
-gData.appData.fixDes = o.bugRestoreRemark;
+e = n.sent();
+mk.console.logSingle("===[Login] getForceVersionInfo response", e);
+gData.appData.needForceUpdate = e.isForceUpdate;
+gData.appData.installVersion = e.version;
+gData.appData.installUrl = e.downloadAddress;
+gData.appData.updateDes = e.versionRemark;
+gData.appData.fixDes = e.bugRestoreRemark;
 return [ 2 ];
 }
 });
@@ -11559,7 +11616,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"), _ = t("./JsbSystem"), m = t("../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr"), v = t("./AudioSystem"), b = t("./PoolSystem"), S = t("../utils/TweenUtil"), w = t("./GuideSystem"), A = t("../utils/StringUtil"), D = 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"), _ = t("./JsbSystem"), m = t("../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr"), v = t("./AudioSystem"), b = t("./PoolSystem"), S = t("../utils/TweenUtil"), A = t("./GuideSystem"), w = t("../utils/StringUtil"), D = function() {
 function t() {}
 Object.defineProperty(t.prototype, "time", {
 get: function() {
@@ -11619,7 +11676,7 @@ configurable: !0
 });
 Object.defineProperty(t.prototype, "string", {
 get: function() {
-return this._string || (this._string = new A.default());
+return this._string || (this._string = new w.default());
 },
 enumerable: !1,
 configurable: !0
@@ -11696,7 +11753,7 @@ configurable: !0
 });
 Object.defineProperty(t.prototype, "guide", {
 get: function() {
-return this._guide || (this._guide = new w.default());
+return this._guide || (this._guide = new A.default());
 },
 enumerable: !1,
 configurable: !0
@@ -13276,7 +13333,7 @@ return e;
 }
 e.prototype.onLoad = function() {};
 e.prototype.start = function() {
-mk.ad.showNativeAd(4);
+mk.ad.showNative(4);
 this.node_bg.setContentSize(cc.winSize.width, cc.winSize.height);
 this.initEvent();
 };
@@ -15150,6 +15207,7 @@ return e;
 }
 e.prototype.start = function() {
 this.initList();
+mk.ad.showNative(4);
 };
 e.prototype.initList = function() {
 var t = gData.cashNormal.getListDataHavCode();
@@ -15177,6 +15235,9 @@ this.videoNode.destroy();
 mk.audio.setResumeMusic();
 this.coolTime = !1;
 };
+e.prototype.onClickClose = function() {
+mk.ad.destroyNativeAd();
+};
 a([ s({
 type: cc.ScrollView,
 displayName: "滚动视图"
@@ -15281,7 +15342,7 @@ e.coolTime = !1;
 return e;
 }
 e.prototype.start = function() {
-mk.ad.showNativeAd(4);
+mk.ad.showNative(4);
 this.coolTime = !1;
 this.labOfficial.string = "“" + this.officialStr + "”";
 this.labRed.string = "“" + this.redCodeStr + "”";
@@ -16058,7 +16119,7 @@ this.hb_star.active = !1;
 this.lbl_reward_value.string = "0";
 };
 e.prototype.start = function() {
-mk.ad.showBannerAd();
+mk.ad.showBanner();
 mk.ad.checkShowInterByChance();
 this.initLid();
 this.initCashOutStyle(gData.gameData.gameData.redMoney);
@@ -16214,7 +16275,7 @@ e.prototype.onDestroy = function() {
 this.cur_stage === s.none && mk.audio.playEffect("rewardClose");
 };
 e.prototype.onClickClose = function() {
-mk.ad.destroyNativeAd();
+mk.ad.destoryBanner();
 mk.ad.checkShowInterByChance();
 };
 a([ f({
@@ -17034,7 +17095,7 @@ e.prototype.onLoad = function() {
 this.initData();
 };
 e.prototype.start = function() {
-mk.ad.showNativeAd(4);
+mk.ad.showNative(4);
 };
 e.prototype.initData = function() {
 return r(this, void 0, void 0, function() {
@@ -17860,7 +17921,7 @@ return e;
 }
 e.prototype.onLoad = function() {};
 e.prototype.start = function() {
-mk.ad.showNativeAd(4);
+mk.ad.showNative(4);
 gData.sign.initListData();
 gData.sign.init_data = !0;
 this.initScollView();
@@ -17884,7 +17945,10 @@ if (1 != gData.gameData.gameData.isSignInToday && gData.sign.haveSignDay()) {
 var t = gData.sign.getItemIndexByCanSign();
 gData.sign.c_sign[t].rewardType !== s.RewardType.rmb || gData.loginData.isAuth ? mk.ad.watchAd(function(t) {
 mk.console.log("watchAD:" + t);
-t && gData.adData.watchVideo(c.AdFun.sign);
+if (t) {
+gData.adData.watchVideo(c.AdFun.sign);
+mk.ad.destroyNativeAd();
+}
 }) : r.default.WxAuth();
 }
 };
@@ -21010,24 +21074,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], _ = t[i + 9], m = t[i + 10], v = t[i + 11], b = t[i + 12], S = t[i + 13], w = t[i + 14], A = t[i + 15], D = e(D = r[0], I = r[1], O = r[2], P = r[3], s, 7, u[0]), P = e(P, D, I, O, c, 12, u[1]), O = e(O, P, D, I, l, 17, u[2]), I = e(I, O, P, D, 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], _ = t[i + 9], m = t[i + 10], v = t[i + 11], b = t[i + 12], S = t[i + 13], A = t[i + 14], w = t[i + 15], D = e(D = r[0], I = r[1], O = r[2], P = r[3], s, 7, u[0]), P = e(P, D, I, O, c, 12, u[1]), O = e(O, P, D, I, l, 17, u[2]), I = e(I, O, P, D, p, 22, u[3]);
 D = e(D, I, O, P, d, 7, u[4]), P = e(P, D, I, O, h, 12, u[5]), O = e(O, P, D, I, f, 17, u[6]), 
 I = e(I, O, P, D, y, 22, u[7]), D = e(D, I, O, P, g, 7, u[8]), P = e(P, D, I, O, _, 12, u[9]), 
 O = e(O, P, D, I, m, 17, u[10]), I = e(I, O, P, D, v, 22, u[11]), D = e(D, I, O, P, b, 7, u[12]), 
-P = e(P, D, I, O, S, 12, u[13]), O = e(O, P, D, I, w, 17, u[14]), D = n(D, I = e(I, O, P, D, A, 22, u[15]), O, P, c, 5, u[16]), 
+P = e(P, D, I, O, S, 12, u[13]), O = e(O, P, D, I, A, 17, u[14]), D = n(D, I = e(I, O, P, D, w, 22, u[15]), O, P, c, 5, u[16]), 
 P = n(P, D, I, O, f, 9, u[17]), O = n(O, P, D, I, v, 14, u[18]), I = n(I, O, P, D, s, 20, u[19]), 
-D = n(D, I, O, P, h, 5, u[20]), P = n(P, D, I, O, m, 9, u[21]), O = n(O, P, D, I, A, 14, u[22]), 
-I = n(I, O, P, D, d, 20, u[23]), D = n(D, I, O, P, _, 5, u[24]), P = n(P, D, I, O, w, 9, u[25]), 
+D = n(D, I, O, P, h, 5, u[20]), P = n(P, D, I, O, m, 9, u[21]), O = n(O, P, D, I, w, 14, u[22]), 
+I = n(I, O, P, D, d, 20, u[23]), D = n(D, I, O, P, _, 5, u[24]), P = n(P, D, I, O, A, 9, u[25]), 
 O = n(O, P, D, I, p, 14, u[26]), I = n(I, O, P, D, g, 20, u[27]), D = n(D, I, O, P, S, 5, u[28]), 
 P = n(P, D, I, O, l, 9, u[29]), O = n(O, P, D, I, y, 14, u[30]), D = o(D, I = n(I, O, P, D, b, 20, u[31]), O, P, h, 4, u[32]), 
-P = o(P, D, I, O, g, 11, u[33]), O = o(O, P, D, I, v, 16, u[34]), I = o(I, O, P, D, w, 23, u[35]), 
+P = o(P, D, I, O, g, 11, u[33]), O = o(O, P, D, I, v, 16, u[34]), I = o(I, O, P, D, A, 23, u[35]), 
 D = o(D, I, O, P, c, 4, u[36]), P = o(P, D, I, O, d, 11, u[37]), O = o(O, P, D, I, y, 16, u[38]), 
 I = o(I, O, P, D, m, 23, u[39]), D = o(D, I, O, P, S, 4, u[40]), P = o(P, D, I, O, s, 11, u[41]), 
 O = o(O, P, D, I, p, 16, u[42]), I = o(I, O, P, D, f, 23, u[43]), D = o(D, I, O, P, _, 4, u[44]), 
-P = o(P, D, I, O, b, 11, u[45]), O = o(O, P, D, I, A, 16, u[46]), D = a(D, I = o(I, O, P, D, l, 23, u[47]), O, P, s, 6, u[48]), 
-P = a(P, D, I, O, y, 10, u[49]), O = a(O, P, D, I, w, 15, u[50]), I = a(I, O, P, D, h, 21, u[51]), 
+P = o(P, D, I, O, b, 11, u[45]), O = o(O, P, D, I, w, 16, u[46]), D = a(D, I = o(I, O, P, D, l, 23, u[47]), O, P, s, 6, u[48]), 
+P = a(P, D, I, O, y, 10, u[49]), O = a(O, P, D, I, A, 15, u[50]), I = a(I, O, P, D, h, 21, u[51]), 
 D = a(D, I, O, P, b, 6, u[52]), P = a(P, D, I, O, p, 10, u[53]), O = a(O, P, D, I, m, 15, u[54]), 
-I = a(I, O, P, D, c, 21, u[55]), D = a(D, I, O, P, g, 6, u[56]), P = a(P, D, I, O, A, 10, u[57]), 
+I = a(I, O, P, D, c, 21, u[55]), D = a(D, I, O, P, g, 6, u[56]), P = a(P, D, I, O, w, 10, u[57]), 
 O = a(O, P, D, I, f, 15, u[58]), I = a(I, O, P, D, S, 21, u[59]), D = a(D, I, O, P, d, 6, u[60]), 
 P = a(P, D, I, O, v, 10, u[61]), O = a(O, P, D, I, l, 15, u[62]), I = a(I, O, P, D, _, 21, u[63]);
 r[0] = r[0] + D | 0;
@@ -21290,25 +21354,25 @@ for (y = 0; 256 > y; y++) {
 var m = (m = _ ^ _ << 1 ^ _ << 2 ^ _ << 3 ^ _ << 4) >>> 8 ^ 255 & m ^ 99;
 o[g] = m;
 a[m] = g;
-var v = f[g], b = f[v], S = f[b], w = 257 * f[m] ^ 16843008 * m;
-r[g] = w << 24 | w >>> 8;
-c[g] = w << 16 | w >>> 16;
-s[g] = w << 8 | w >>> 24;
-l[g] = w;
-w = 16843009 * S ^ 65537 * b ^ 257 * v ^ 16843008 * g;
-u[m] = w << 24 | w >>> 8;
-p[m] = w << 16 | w >>> 16;
-d[m] = w << 8 | w >>> 24;
-h[m] = w;
+var v = f[g], b = f[v], S = f[b], A = 257 * f[m] ^ 16843008 * m;
+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[m] = A << 24 | A >>> 8;
+p[m] = A << 16 | A >>> 16;
+d[m] = A << 8 | A >>> 24;
+h[m] = A;
 g ? (g = v ^ f[f[f[S ^ v]]], _ ^= f[f[_]]) : g = _ = 1;
 }
-var A = [ 0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54 ];
+var w = [ 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 ^= A[a / e | 0] << 24);
+r ^= w[a / e | 0] << 24);
 i[a] = i[a - e] ^ r;
 }
 t = this._invKeySchedule = [];

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

@@ -7,7 +7,7 @@
         "http://",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminateTest/baseRemote/"
     ],
-    "buildTime": 1624931170603,
-    "genTime": 1624931170603,
+    "buildTime": 1624887911852,
+    "genTime": 1624887911852,
     "genVersion": null
 }