Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
public
/
gameConfig
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
001c2e07
authored
Dec 01, 2025
by
江龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
快来就女王
parent
fbcefa60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
huaweikuailaijiunvwang.json
+12
-3
No files found.
huaweikuailaijiunvwang.json
View file @
001c2e07
{
"active"
:
1
,
"url"
:
"https://qcdn.bdoggame.com/ttgame/kjygy/webVer/index.html"
,
"labelArr"
:[
"快来救女王"
,
"开局一个亿"
,
""
],
"runCode"
:
"let intervalId=setInterval(()=>{var p=[{i:0,t:'_0x1613cb',w:750,h:1334},{i:0,t:'Ae',w:750,h:1334},{i:0,t:'Ae',w:750,h:1334},{i:0,t:'_0x33ab2a',s:'MainScene.scene',w:750,h:1334},{i:0,t:'c',w:750,h:1334},{i:0,t:'_0x44c49b',w:750,h:1334},{i:1,t:'o',s:'pre/image_Btn_Setting.png',w:89,h:112}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))||(c.w&&n.width!=c.w)){n=null;break}}if(n)n.visible=false;var p=[{i:0,t:'_0x1613cb',w:750,h:1334},{i:0,t:'Ae',w:750,h:1334},{i:0,t:'Ae',w:750,h:1334},{i:0,t:'_0x33ab2a',s:'MainScene.scene',w:750,h:1334},{i:0,t:'c',w:750,h:1334},{i:0,t:'_0x236b73',w:750,h:1334},{i:2,t:'_0x30ff74',w:150,h:300}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))||(c.w&&n.width!=c.w)){n=null;break}}if(n)n.visible=false;var p=[{i:0,t:'_0x1613cb',w:750,h:1334},{i:0,t:'Ae',w:750,h:1334},{i:0,t:'Ae',w:750,h:1334},{i:0,t:'_0x33ab2a',s:'MainScene.scene',w:750,h:1334},{i:0,t:'c',w:750,h:1334},{i:0,t:'_0x236b73',w:750,h:1334},{i:3,t:'_0x30ff74',w:150,h:300},{i:0,t:'o',s:'pre/image_Btn_Setting.png',w:89,h:112}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))||(c.w&&n.width!=c.w)){n=null;break}}if(n)n.visible=false;},100)"
"url"
:
"https://oss.xxzsgame.com/webgames/huaweiyingxiongguilai/web-mobile/index.html"
,
"labelArr"
:[
"快来救女王"
,
"魔兽防守"
,
""
],
"defaultTap"
:
1
,
"icon1Url"
:
"https://oss.xxzsgame.com/hongmengicon/nvwangicon1.png"
,
"icon1X"
:
20
,
"icon1Y"
:
300
,
"icon2X"
:
300
,
"icon2Y"
:
500
,
"icon2Url"
:
"https://oss.xxzsgame.com/hongmengicon/nvwangicon2.png"
,
"socketWs"
:
"ws://47.97.42.168:8765"
,
"socketUrl"
:
"wss://hongmeng.xxzsgame.com"
,
"runCode"
:
"let intervalId=setInterval(()=>{var n=cc.director.getScene();[{'n':'Canvas'},{'n':'arge8','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);(function() { var cfg = {'url':'https://oss.xxzsgame.com/hongmengicon/nvwangicon1.png','x':-300,'y':0,'w':150,'h':150,'childName':'__HackImg_6059'}; var path = [{'n':'Canvas','t':'Canvas'},{'n':'mainUIRoot'},{'n':'main'},{'n':'battlePanel'}]; function setSize(node, w, h) { if (window.cc) { if (node.getComponent && cc.UITransform) { node.getComponent(cc.UITransform).setContentSize(w, h); } else { node.width = w; node.height = h; } } else if (window.Laya) { node.size(w, h); } } var timerId = setInterval(function() { try { var parent = null; if (window.cc && window.cc.director) parent = cc.director.getScene(); else if (window.Laya) parent = Laya.stage; if (!parent) return; for (var i = 0; i < path.length; i++) { var s = path[i]; if (window.cc) { if (!parent.children) { parent = null; break; } var candidates = []; var children = parent.children; for(var k=0; k<children.length; k++){ if(children[k].name === s.n) candidates.push(children[k]); } if (s.t && window.cc[s.t]) { var filtered = []; for(var k=0; k<candidates.length; k++){ if(candidates[k].getComponent(window.cc[s.t])) filtered.push(candidates[k]); } candidates = filtered; } parent = candidates[s.i || 0]; } else { if (parent.getChildAt) { var node = parent.getChildAt(s.i); if (node && s.t && node.constructor.name != s.t) node = null; parent = node; } else { parent = null; } } if (!parent) break; } if (!parent) return; var child = parent.getChildByName(cfg.childName); if (child) return; if (window.cc) { var node = new cc.Node(cfg.childName); node.setPosition(cfg.x, cfg.y); setSize(node, cfg.w, cfg.h); var sprite = node.addComponent(cc.Sprite); if (cc.Sprite.SizeMode && cc.Sprite.SizeMode.CUSTOM !== undefined) { sprite.sizeMode = cc.Sprite.SizeMode.CUSTOM; } else if (sprite.sizeMode !== undefined) { sprite.sizeMode = 0; } var loader = (cc.assetManager && cc.assetManager.loadRemote) ? cc.assetManager : cc.loader; loader.loadRemote(cfg.url, function(err, tex) { if (!err && sprite && sprite.isValid) { if (cc.SpriteFrame && tex instanceof cc.Texture2D) { sprite.spriteFrame = new cc.SpriteFrame(tex); } else { sprite.spriteFrame = tex; } setSize(node, cfg.w, cfg.h); } }); var evt = (cc.Node.EventType && cc.Node.EventType.TOUCH_END) ? cc.Node.EventType.TOUCH_END : 'touchend'; node.on(evt, function() { if (window.VideoClient && window.VideoClient.toggleChange) window.VideoClient.toggleChange(); }); parent.addChild(node); } else if (window.Laya) { var img = new Laya.Image(); img.name = cfg.childName; img.skin = cfg.url; img.pos(cfg.x, cfg.y); img.size(cfg.w, cfg.h); img.mouseEnabled = true; img.on(Laya.Event.CLICK, img, function() { if (window.VideoClient && window.VideoClient.toggleChange) window.VideoClient.toggleChange(); }); parent.addChild(img); } } catch(e) { } }, 1000); })();"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment