var SdkHelper; ! function (n) { var e = function () { function n() { } return n.showInterstitial = function (n) { console.log('showInterstitial'); //UPTAP插屏 window['uptap'].ShowScreenVideo("下⼀关", function () { // 回调函数,插屏⼴告关闭后需要继续执⾏的代码 }); n && n(1) }, n.showRewardedVideo = function (n) { console.log('showRewardedVideo'); //UPTAP视频 window.uptap.ShowExcitationVideoAdv((n1) => { switch (n1.type) { case "1": // 暂时没有⼴告 // 这⾥执⾏激励播放失败的代码,不发放奖励 n && n(0) break; case "2": // 想要奖励,必须看完⼴告(⽤户点击跳过按钮) // 这⾥执⾏激励播放失败的代码,不发放奖励 n && n(0) break; case "3": // ⼴告正常播放完毕 // 这⾥执⾏激励播放成功的代码,发放奖励 n && n(1) break; } }) }, n.showBanner = function (n) { }, n.hideBanner = function () { }, n.isInterstitialReady = function () { return true }, n.isRewardVideoReady = function () { return true }, n.onLevelStart = function (n) { void 0 === n && (n = 0) }, n.onLevelFinished = function (n, e, i, o) { void 0 === n && (n = !0), void 0 === e && (e = 0), void 0 === i && (i = -1) }, n }(); n.MiniGameSDKHelper = e }(SdkHelper || (SdkHelper = {}));