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
29422847
Commit
29422847
authored
Aug 24, 2019
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
6bb6b09e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+1
-1
MainScene.ts
egret/src/mainScene/MainScene.ts
+2
-2
No files found.
egret/libs/tw/manager/NetManager.ts
View file @
29422847
...
@@ -481,7 +481,7 @@ export class NetManager extends ABNetManager {
...
@@ -481,7 +481,7 @@ export class NetManager extends ABNetManager {
// deviceSessionId: window['_device_session_id'],
// deviceSessionId: window['_device_session_id'],
// score: score,
// score: score,
sgin
:
sgin
data
:
sgin
},
},
hideMsg
:
true
,
hideMsg
:
true
,
callback
:
callback
callback
:
callback
...
...
egret/src/mainScene/MainScene.ts
View file @
29422847
...
@@ -198,8 +198,8 @@ export default class MainScene extends Scene {
...
@@ -198,8 +198,8 @@ export default class MainScene extends Scene {
//初始化索引信息
//初始化索引信息
Tool
.
init
();
Tool
.
init
();
//第几关
//第几关
//
this.chapter = (data && data.chapter) ? data.chapter : 1;
this
.
chapter
=
(
data
&&
data
.
chapter
)
?
data
.
chapter
:
1
;
this
.
chapter
=
70
;
//
this.chapter = 70;
this
.
chapterTxt
.
text
=
"第"
+
this
.
chapter
+
"关"
;
this
.
chapterTxt
.
text
=
"第"
+
this
.
chapter
+
"关"
;
//关卡数据,1期定制,70,后面35关地图一致,步数减少
//关卡数据,1期定制,70,后面35关地图一致,步数减少
this
.
chapterData
=
Chapters
[
this
.
chapter
%
35
||
35
];
this
.
chapterData
=
Chapters
[
this
.
chapter
%
35
||
35
];
...
...
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