|
|
@@ -18676,7 +18676,7 @@ value: !0
|
|
|
var s = t("./GameM"), r = t("../utils/Utils"), c = t("../datas/CommonData"), l = t("./AdM"), d = t("./UiM"), u = t("../ui/CashOut"), h = t("../datas/GlobalStorage"), f = t("../Main"), p = t("../ui/Setting"), m = t("../utils/LogUtil"), y = t("../prefabs/NetDetaileNode"), g = t("../ui/CashPro"), v = t("./SwitchM"), b = cc._decorator, D = b.ccclass, C = (b.property,
|
|
|
function() {
|
|
|
function t() {
|
|
|
-this.serverUrl = "https://tcsg.duiweize.com/";
|
|
|
+this.serverUrl = "https://tcsg-test.duiweize.com/";
|
|
|
this.isTry = "";
|
|
|
this.netDetaileNode = null;
|
|
|
}
|
|
|
@@ -20245,7 +20245,7 @@ case 2:
|
|
|
console.error(e);
|
|
|
}
|
|
|
};
|
|
|
-t.openLog = !1;
|
|
|
+t.openLog = !0;
|
|
|
t.Tag = "TCSG ";
|
|
|
return t;
|
|
|
}();
|
|
|
@@ -41741,12 +41741,16 @@ this.loadInter(this.interType);
|
|
|
e.prototype.loadNative = function(t, e) {
|
|
|
void 0 === t && (t = 0);
|
|
|
void 0 === e && (e = !1);
|
|
|
+console.log("AnyThinkNativeDemo loadNative ");
|
|
|
cc.thirdVideo.loadNative(t, e);
|
|
|
var a = r.Utils.randomString(32);
|
|
|
c.default.sendUROIEvent(a, "", l.default.commonData.nativePlaceId, "ad_request", "flow", "other", "");
|
|
|
};
|
|
|
e.prototype.showNative = function(t) {
|
|
|
-l.default.commonData.toponLoaded && cc.thirdVideo.showNative(t);
|
|
|
+if (l.default.commonData.toponLoaded) {
|
|
|
+console.log("AnyThinkNativeDemo showNative ");
|
|
|
+cc.thirdVideo.showNative(t);
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.onNativeAdLoaded = function(t) {
|
|
|
var e = r.Utils.randomString(32);
|
|
|
@@ -41999,10 +42003,13 @@ this.nativeIsShow = !1;
|
|
|
this.nativeShow = !1;
|
|
|
},
|
|
|
showNative: function(t) {
|
|
|
+console.log("AnyThinkNativeDemo 111111111 ");
|
|
|
if (!this.nativeIsShow) if (this.nativeIsLoading) {
|
|
|
this.nativeType = t;
|
|
|
this.nativeShow = !0;
|
|
|
} else if (this.nativeIsLoad) {
|
|
|
+console.log("AnyThinkNativeDemo 2222222222 ");
|
|
|
+console.log("AnyThinkNativeDemo 333333333333 ");
|
|
|
this.nativeIsShow = !0;
|
|
|
var e = this.frameWidth / 750, a = 656 * e, o = 440 * e, n = 12, i = new ATNativeJSSDK.AdViewProperty(), s = 0;
|
|
|
if (0 == t) {
|
|
|
@@ -42027,13 +42034,16 @@ ATNativeJSSDK.showAd(this.curNativeId, i);
|
|
|
onNativeAdLoaded: function(t) {
|
|
|
this.nativeIsLoad = !0;
|
|
|
this.nativeIsLoading = !1;
|
|
|
+console.log("AnyThinkNativeDemo::onNativeAdLoaded(" + t + ")");
|
|
|
if (this.nativeShow) {
|
|
|
+console.log("AnyThinkNativeDemo aaaaaaaaaa ");
|
|
|
this.nativeIsShow = !1;
|
|
|
this.showNative(this.nativeType);
|
|
|
}
|
|
|
null != this.proxy && this.proxy.onNativeAdLoaded(t);
|
|
|
},
|
|
|
onNativeAdLoadFail: function(t, e) {
|
|
|
+console.log("AnyThinkNativeDemo::onNativeAdLoadFail(" + t + ", " + e + ")");
|
|
|
this.nativeIsLoading = !1;
|
|
|
this.nativeIsLoad = !1;
|
|
|
null != this.proxy && this.proxy.onNativeAdLoadFail(t, e);
|