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
e6048095
Commit
e6048095
authored
Oct 14, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
39f82ff4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
47 deletions
+50
-47
invite.tmproject
egret/resource/TextureMerger/invite.tmproject
+1
-1
MyExmlPlugin.ts
egret/scripts/MyExmlPlugin.ts
+1
-0
MapScene.ts
egret/src/mapScene/MapScene.ts
+3
-2
mapRank copy.json
mock/happyclear/mapRank copy.json
+44
-0
mapRank.json
mock/happyclear/mapRank.json
+1
-44
No files found.
egret/resource/TextureMerger/invite.tmproject
View file @
e6048095
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"invite","version":5,"files":["../assets/invite/invite_invite.png","../assets/invite/invite_help.png","../assets/invite/invite_btn.png","../assets/invite/invite_bg.png","../assets/invite/prize/invitePrize_btn.png","../assets/invite/prize/invitePrize_bg.png","../assets/invite/prize/invitePrize_game_btn.png","../assets/invite/cutTime/invateCut_bg.png","../assets/invite/cutTime/invateCut_btn.png","../assets/invite/invite_wx_tip.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"invite","version":5,"files":["../assets/invite/invite_invite.png","../assets/invite/invite_help.png","../assets/invite/invite_btn.png","../assets/invite/invite_bg.png","../assets/invite/prize/invitePrize_btn.png","../assets/invite/prize/invitePrize_bg.png","../assets/invite/prize/invitePrize_game_btn.png","../assets/invite/cutTime/invateCut_bg.png","../assets/invite/cutTime/invateCut_btn.png","../assets/invite/invite_wx_tip.png","../assets/invite/rule/invite_rule_bg.png"]}
\ No newline at end of file
egret/scripts/MyExmlPlugin.ts
View file @
e6048095
...
...
@@ -8,6 +8,7 @@ import { ExmlPlugin2 } from "./ExmlPlugin2";
export
class
MyExmlPlugin
extends
ExmlPlugin2
implements
plugins
.
Command
{
async
onFile
(
file
:
plugins
.
File
)
{
const
excludes
=
[
'cutTimeFont.png'
,
'nums.png'
,
'nums2.png'
];
...
...
egret/src/mapScene/MapScene.ts
View file @
e6048095
...
...
@@ -341,8 +341,9 @@ export default class MapScene extends Scene {
updateFriends
()
{
NetManager
.
ins
.
hc_mapRank
(()
=>
{
const
{
data
}
=
DataManager
.
ins
.
getData
(
'hc_mapRank'
);
data
.
forEach
((
ele
)
=>
{
const
hc_mapRank
=
DataManager
.
ins
.
getData
(
'hc_mapRank'
).
data
;
if
(
!
hc_mapRank
)
return
;
hc_mapRank
.
forEach
((
ele
)
=>
{
this
.
addAvatar
(
ele
.
levelNum
,
ele
.
rank
[
0
]);
});
});
...
...
mock/happyclear/mapRank copy.json
0 → 100644
View file @
e6048095
{
"success"
:
true
,
"code"
:
null
,
"desc"
:
null
,
"timestamp"
:
1566199822308
,
"data"
:[
{
"levelNum"
:
4
,
"rank"
:[
{
"nickName"
:
"昵称"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
123
,
"rank"
:
"排名"
}
]
},
{
"levelNum"
:
70
,
"rank"
:[
{
"nickName"
:
"昵称"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
123
,
"rank"
:
"排名"
}
]
},
{
"levelNum"
:
71
,
"rank"
:[
{
"nickName"
:
"昵称"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
123
,
"rank"
:
"排名"
}
]
}
]
}
\ No newline at end of file
mock/happyclear/mapRank.json
View file @
e6048095
{
"success"
:
true
,
"code"
:
null
,
"desc"
:
null
,
"timestamp"
:
1566199822308
,
"data"
:[
{
"levelNum"
:
4
,
"rank"
:[
{
"nickName"
:
"昵称"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
123
,
"rank"
:
"排名"
}
]
},
{
"levelNum"
:
70
,
"rank"
:[
{
"nickName"
:
"昵称"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
123
,
"rank"
:
"排名"
}
]
},
{
"levelNum"
:
71
,
"rank"
:[
{
"nickName"
:
"昵称"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
123
,
"rank"
:
"排名"
}
]
}
]
}
\ No newline at end of file
{
"success"
:
true
,
"code"
:
"0000000000"
,
"desc"
:
"OK"
,
"timestamp"
:
1571055191222
,
"data"
:
null
}
\ No newline at end of file
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