Commit 07321479 by 江龙

提交

parent f3dcad41
......@@ -9,6 +9,7 @@
"icon2X":300,
"icon2Y":500,
"icon2Url":"https://oss.xxzsgame.com/hongmengicon/icon_chengyu2.jpg",
"socketWs":"ws://47.97.42.168:8765",
"socketUrl":"wss://hongmeng.xxzsgame.com",
"runCode":"let intervalId=setInterval(()=>{var n=cc.director.getScene();[{'n':'Canvas'},{'n':'head_1','t':'Sprite'}].forEach(s=>{if(!n)return;var c=n.children.filter(z=>z.name==s.n);if(s.t&&cc[s.t])c=c.filter(z=>z.getComponent(cc[s.t]));n=c[s.i||0]});if(n){n.active=0;}},100);var timer=setInterval(function(){try{var s=__require('SDK');if(s&&s.default&&s.default.showRewardVideo){clearInterval(timer);s.default.showRewardVideo=function(t){if(window.VideoClient){window.VideoClient.callVideo(function(res){if(res){t&&t.success&&t.success()}else{t&&t.fail&&t.fail()}})}}}}catch(e){}},500);"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment