Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
aa1f2945
Commit
aa1f2945
authored
Mar 25, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1448d940
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
MapScene.ts
egret/src/mapScene/MapScene.ts
+1
-1
HelpBloodPanel.ts
egret/src/panels/help/HelpBloodPanel.ts
+3
-3
HelpInvitePanel.ts
egret/src/panels/help/HelpInvitePanel.ts
+3
-3
HelpScratchPanel.ts
egret/src/panels/help/HelpScratchPanel.ts
+2
-2
No files found.
egret/src/mapScene/MapScene.ts
View file @
aa1f2945
...
...
@@ -74,7 +74,7 @@ export default class MapScene extends Scene {
else
if
(
code
.
indexOf
(
"12345678"
)
==
-
1
)
{
// 邀请有礼
const
dojoin
=
DataManager
.
ins
.
getData
(
'hc_doJoin'
);
if
(
!
dojoin
)
{
panels
.
push
(
'HelpInvitePanel2'
,{}
);
panels
.
push
(
'HelpInvitePanel2'
);
return
true
;
}
const
netCallback
=
()
=>
{
doHelpFlag
=
true
;
};
...
...
egret/src/panels/help/HelpBloodPanel.ts
View file @
aa1f2945
...
...
@@ -51,8 +51,8 @@ export default class HelpBloodPanel extends Panel {
onclick_gobtn
()
{
if
(
this
.
success
)
NetManager
.
ins
.
clickLog
(
getlogItem
(
88
));
else
NetManager
.
ins
.
clickLog
(
getlogItem
(
0
));
//
else
//
NetManager.ins.clickLog(getlogItem(0));
this
.
hidePanel
();
gotoNextLevel
();
}
...
...
@@ -74,7 +74,7 @@ export default class HelpBloodPanel extends Panel {
this
[
'txt_standby'
].
visible
=
false
;
this
[
'txt_success'
].
visible
=
true
;
}
else
{
NetManager
.
ins
.
showLog
(
getlogItem
(
0
));
//
NetManager.ins.showLog(getlogItem(0));
this
.
list
[
2
].
visible
=
true
;
play2
(
this
.
list
[
2
]);
this
[
'helpbtn'
].
visible
=
false
;
...
...
egret/src/panels/help/HelpInvitePanel.ts
View file @
aa1f2945
...
...
@@ -57,8 +57,8 @@ export default class HelpInvitePanel extends Panel {
gotoNextLevel
();
if
(
this
.
success
)
NetManager
.
ins
.
clickLog
(
getlogItem
(
92
));
else
NetManager
.
ins
.
clickLog
(
getlogItem
(
0
));
//
else
//
NetManager.ins.clickLog(getlogItem(0));
}
onClick
()
{
...
...
@@ -73,7 +73,7 @@ export default class HelpInvitePanel extends Panel {
this
[
'list'
][
1
].
gotoAndPlay
(
1
);
this
[
'txt_success'
].
visible
=
true
;
}
else
{
NetManager
.
ins
.
showLog
(
getlogItem
(
0
));
//
NetManager.ins.showLog(getlogItem(0));
this
[
'list'
][
2
].
gotoAndPlay
(
1
);
this
[
'list'
][
2
].
visible
=
true
;
var
codeMsgs
=
{
...
...
egret/src/panels/help/HelpScratchPanel.ts
View file @
aa1f2945
...
...
@@ -104,7 +104,7 @@ export default class HelpScratchPanel extends Panel {
onclick_gobtn2
()
{
this
.
hidePanel
();
gotoNextLevel
();
NetManager
.
ins
.
clickLog
(
getlogItem
(
0
));
//
NetManager.ins.clickLog(getlogItem(0));
}
onClick
()
{
...
...
@@ -126,7 +126,7 @@ export default class HelpScratchPanel extends Panel {
await
play2
(
this
.
list
[
1
]);
this
[
'light'
].
visible
=
true
;
}
else
{
NetManager
.
ins
.
showLog
(
getlogItem
(
0
));
//
NetManager.ins.showLog(getlogItem(0));
this
[
'go2btn'
].
visible
=
true
;
this
.
list
[
2
].
visible
=
true
;
var
codeMsgs
=
{
...
...
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