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
383c0769
Commit
383c0769
authored
Oct 30, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
694371b9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
main2.tmproject
egret/resource/TextureMerger/main2.tmproject
+1
-1
scratch.tmproject
egret/resource/TextureMerger/scratch.tmproject
+1
-1
MapScene.ts
egret/src/mapScene/MapScene.ts
+3
-2
No files found.
egret/resource/TextureMerger/main2.tmproject
View file @
383c0769
This diff is collapsed.
Click to expand it.
egret/resource/TextureMerger/scratch.tmproject
View file @
383c0769
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"scratch","version":5,"files":["../assets/scratch/scratch_bg.png","../assets/scratch/scratch_hongbao.png","../assets/scratch/scratch_help.png","../assets/scratch/scratch_progress_bg.png","../assets/scratch/scratch_wx_tip.png","../assets/scratch/scratchbg2.png","../assets/scratch/scratch_invite.png","../assets/scratch/scratch_card_90.png","../assets/scratch/scratch_card_96.png","../assets/scratch/scratch_card_94.png","../assets/scratch/scratch_card_98.png","../assets/scratch/scratch_user1.png","../assets/scratch/scratch_card_bg.png","../assets/scratch/scratch_card_92.png","../assets/scratch/scratch_user2.png"]}
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"scratch","version":5,"files":["../assets/scratch/scratch_bg.png","../assets/scratch/scratch_hongbao.png","../assets/scratch/scratch_help.png","../assets/scratch/scratch_progress_bg.png","../assets/scratch/scratch_wx_tip.png","../assets/scratch/scratchbg2.png","../assets/scratch/scratch_invite.png","../assets/scratch/scratch_card_90.png","../assets/scratch/scratch_card_96.png","../assets/scratch/scratch_card_94.png","../assets/scratch/scratch_card_98.png","../assets/scratch/scratch_user1.png","../assets/scratch/scratch_card_bg.png","../assets/scratch/scratch_card_92.png","../assets/scratch/scratch_user2.png","../assets/scratch/scratch_mask.png"]}
\ No newline at end of file
\ No newline at end of file
egret/src/mapScene/MapScene.ts
View file @
383c0769
...
@@ -26,6 +26,7 @@ import ScratchIcon from "./icon/ScratchIcon";
...
@@ -26,6 +26,7 @@ import ScratchIcon from "./icon/ScratchIcon";
import
TurntableIcon
from
"./icon/TurntableIcon"
;
import
TurntableIcon
from
"./icon/TurntableIcon"
;
let
doHelpFlag
=
false
;
let
doHelpFlag
=
false
;
let
doScratchHelpFlag
=
false
;
// let adTag = false;
// let adTag = false;
export
default
class
MapScene
extends
Scene
{
export
default
class
MapScene
extends
Scene
{
static
adData
;
static
adData
;
...
@@ -43,12 +44,12 @@ export default class MapScene extends Scene {
...
@@ -43,12 +44,12 @@ export default class MapScene extends Scene {
sendInvite
()
{
sendInvite
()
{
const
code
=
Utils
.
getRequestByKey
(
'shareCode'
);
const
code
=
Utils
.
getRequestByKey
(
'shareCode'
);
if
(
!
code
)
return
;
if
(
!
code
)
return
;
const
dojoin
=
DataManager
.
ins
.
getData
(
'hc_doJoin'
);
if
(
!
dojoin
)
return
;
if
(
doHelpFlag
)
{
if
(
doHelpFlag
)
{
return
;
return
;
}
}
if
(
code
.
indexOf
(
"12345678"
)
==
-
1
){
// 邀请有礼
if
(
code
.
indexOf
(
"12345678"
)
==
-
1
){
// 邀请有礼
const
dojoin
=
DataManager
.
ins
.
getData
(
'hc_doJoin'
);
if
(
!
dojoin
)
return
;
NetManager
.
ins
.
doHelp
((
success
,
res
)
=>
{
NetManager
.
ins
.
doHelp
((
success
,
res
)
=>
{
doHelpFlag
=
true
;
doHelpFlag
=
true
;
switch
(
true
)
{
switch
(
true
)
{
...
...
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