|
@@ -5153,6 +5153,7 @@
|
|
|
this.addUIClick(this.ui.closeBtn, this.hideWin);
|
|
|
this.moneyNode = new MoneyNode(this.ui.moneyNode);
|
|
|
this.addUIClick(this.ui.myNode.startBtn, this.startGame);
|
|
|
+ this.addUIClick(this.ui.myNode.n_yd_zzq_btn3, this.startGame);
|
|
|
}
|
|
|
show(level) {
|
|
|
console.log('zh:show.');
|
|
@@ -5165,8 +5166,22 @@
|
|
|
this.moneyNode.ui.c1.selectedIndex = 2;
|
|
|
this.moneyNode.checkPowerTime();
|
|
|
this.moneyNode.powerChange();
|
|
|
+ this.yinDaoForLianxi();
|
|
|
this.setGlobalFont(this.ui);
|
|
|
}
|
|
|
+ yinDaoForLianxi() {
|
|
|
+ let lianXiGuide = DataMgr.getLianXiGuide();
|
|
|
+ console.log('zh:lianXiGuide=', lianXiGuide);
|
|
|
+ if (lianXiGuide === 0) {
|
|
|
+ this.ui.myNode.n_yd_3.visible = true;
|
|
|
+ console.log('zh:yinDaoForLianxi 333 set ok');
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.ui.myNode.n_yd_3.visible = false;
|
|
|
+ console.log('zh:无需引导33');
|
|
|
+ }
|
|
|
+ DataMgr.setLianXiGuide(0);
|
|
|
+ }
|
|
|
showPreView() {
|
|
|
let item;
|
|
|
let data;
|
|
@@ -5374,9 +5389,9 @@
|
|
|
console.log('zh:yinDaoForLianxi 222 set ok');
|
|
|
}
|
|
|
else {
|
|
|
+ this.ui.myNode.n_yd.visible = false;
|
|
|
console.log('zh:无需引导');
|
|
|
}
|
|
|
- DataMgr.setLianXiGuide(1);
|
|
|
}
|
|
|
showLevelTipWindows() {
|
|
|
xGame.soundMgr.playSound(xGame.common.btnClickStr);
|
|
@@ -15166,6 +15181,32 @@
|
|
|
}
|
|
|
ui_Component87_1.URL = "ui://isxx5ak7luq648t";
|
|
|
|
|
|
+ class ui_Component_lc3 extends fgui.GComponent {
|
|
|
+ static createInstance() {
|
|
|
+ return (fgui.UIPackage.createObject("game", "Component_lc3"));
|
|
|
+ }
|
|
|
+ onConstruct() {
|
|
|
+ this.n0 = (this.getChild("n0"));
|
|
|
+ this.n2 = (this.getChild("n2"));
|
|
|
+ this.n1_bai = (this.getChild("n1_bai"));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ui_Component_lc3.URL = "ui://isxx5ak7lvbnv5b1";
|
|
|
+
|
|
|
+ class ui_Component_shou3 extends fgui.GComponent {
|
|
|
+ static createInstance() {
|
|
|
+ return (fgui.UIPackage.createObject("game", "Component_shou3"));
|
|
|
+ }
|
|
|
+ onConstruct() {
|
|
|
+ this.n57 = (this.getChild("n57"));
|
|
|
+ this.n54 = (this.getChild("n54"));
|
|
|
+ this.n55 = (this.getChild("n55"));
|
|
|
+ this.n56 = (this.getChild("n56"));
|
|
|
+ this.t1 = this.getTransition("t1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ui_Component_shou3.URL = "ui://isxx5ak7lvbnv5b2";
|
|
|
+
|
|
|
class ui_sqg1 extends fgui.GComponent {
|
|
|
static createInstance() {
|
|
|
return (fgui.UIPackage.createObject("game", "sqg1"));
|
|
@@ -16688,6 +16729,10 @@
|
|
|
this.startBtn = (this.getChild("startBtn"));
|
|
|
this.n28 = (this.getChild("n28"));
|
|
|
this.displayRoot = (this.getChild("displayRoot"));
|
|
|
+ this.n32 = (this.getChild("n32"));
|
|
|
+ this.n33 = (this.getChild("n33"));
|
|
|
+ this.n_yd_zzq_btn3 = (this.getChild("n_yd_zzq_btn3"));
|
|
|
+ this.n_yd_3 = (this.getChild("n_yd_3"));
|
|
|
this.t0 = this.getTransition("t0");
|
|
|
}
|
|
|
}
|
|
@@ -16935,6 +16980,8 @@
|
|
|
fgui.UIObjectFactory.setExtension(ui_UIInvitation.URL, ui_UIInvitation);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Invitation_com1.URL, ui_Invitation_com1);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Component87_1.URL, ui_Component87_1);
|
|
|
+ fgui.UIObjectFactory.setExtension(ui_Component_lc3.URL, ui_Component_lc3);
|
|
|
+ fgui.UIObjectFactory.setExtension(ui_Component_shou3.URL, ui_Component_shou3);
|
|
|
fgui.UIObjectFactory.setExtension(ui_sqg1.URL, ui_sqg1);
|
|
|
fgui.UIObjectFactory.setExtension(ui_sqg2.URL, ui_sqg2);
|
|
|
fgui.UIObjectFactory.setExtension(ui_sqg3.URL, ui_sqg3);
|
|
@@ -22094,6 +22141,7 @@
|
|
|
this.addUIClick(this.ui.closeBtn, this.hideWin);
|
|
|
this.moneyNode = new MoneyNode$1(this.ui.moneyNode);
|
|
|
this.addUIClick(this.ui.myNode.startBtn, this.startGame);
|
|
|
+ this.addUIClick(this.ui.myNode.n_yd_zzq_btn3, this.startGame);
|
|
|
}
|
|
|
show(level) {
|
|
|
console.log('zh:show.');
|
|
@@ -22106,8 +22154,22 @@
|
|
|
this.moneyNode.ui.c1.selectedIndex = 2;
|
|
|
this.moneyNode.checkPowerTime();
|
|
|
this.moneyNode.powerChange();
|
|
|
+ this.yinDaoForLianxi();
|
|
|
this.setGlobalFont(this.ui);
|
|
|
}
|
|
|
+ yinDaoForLianxi() {
|
|
|
+ let lianXiGuide = DataMgr.getLianXiGuide();
|
|
|
+ console.log('zh:lianXiGuide=', lianXiGuide);
|
|
|
+ if (lianXiGuide === 0) {
|
|
|
+ this.ui.myNode.n_yd_3.visible = true;
|
|
|
+ console.log('zh:yinDaoForLianxi 333 set ok');
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.ui.myNode.n_yd_3.visible = false;
|
|
|
+ console.log('zh:无需引导33');
|
|
|
+ }
|
|
|
+ DataMgr.setLianXiGuide(0);
|
|
|
+ }
|
|
|
showPreView() {
|
|
|
let item;
|
|
|
let data;
|
|
@@ -22315,9 +22377,9 @@
|
|
|
console.log('zh:yinDaoForLianxi 222 set ok');
|
|
|
}
|
|
|
else {
|
|
|
+ this.ui.myNode.n_yd.visible = false;
|
|
|
console.log('zh:无需引导');
|
|
|
}
|
|
|
- DataMgr.setLianXiGuide(1);
|
|
|
}
|
|
|
showLevelTipWindows() {
|
|
|
xGame.soundMgr.playSound(xGame.common.btnClickStr);
|