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
74f641fb
Commit
74f641fb
authored
Dec 17, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b2e95b2d
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
37 deletions
+24
-37
turntable.tmproject
design/turntable.tmproject
+0
-20
turnable_icon1.png
design/turntable/turnable_icon1.png
+0
-0
turnable_icon2.png
design/turntable/turnable_icon2.png
+0
-0
turnable_icon3.png
design/turntable/turnable_icon3.png
+0
-0
turntable_bg.png
design/turntable/turntable_bg.png
+0
-0
turntable_panel.png
design/turntable/turntable_panel.png
+0
-0
turntable_rulebtn.png
design/turntable/turntable_rulebtn.png
+0
-0
turntable_startbtn.png
design/turntable/turntable_startbtn.png
+0
-0
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+6
-2
MainScene.ts
egret/src/mainScene/MainScene.ts
+18
-15
No files found.
design/turntable.tmproject
deleted
100644 → 0
View file @
b2e95b2d
{
"version": 5,
"files": [
"./turntable/turntable_rulebtn.png",
"./turntable/turnable_icon2.png",
"./turntable/turnable_icon3.png",
"./turntable/turnable_icon1.png",
"./turntable/turntable_bg.png",
"./turntable/turntable_startbtn.png",
"./turntable/turntable_panel.png"
],
"projectName": "turntable",
"options": {
"layoutMath": "3",
"sizeMode": "free",
"useExtension": 0,
"layoutGap": 1,
"extend": 0
}
}
\ No newline at end of file
design/turntable/turnable_icon1.png
deleted
100644 → 0
View file @
b2e95b2d
18.5 KB
design/turntable/turnable_icon2.png
deleted
100644 → 0
View file @
b2e95b2d
16.7 KB
design/turntable/turnable_icon3.png
deleted
100644 → 0
View file @
b2e95b2d
18.2 KB
design/turntable/turntable_bg.png
deleted
100644 → 0
View file @
b2e95b2d
94.2 KB
design/turntable/turntable_panel.png
deleted
100644 → 0
View file @
b2e95b2d
69.3 KB
design/turntable/turntable_rulebtn.png
deleted
100644 → 0
View file @
b2e95b2d
1.53 KB
design/turntable/turntable_startbtn.png
deleted
100644 → 0
View file @
b2e95b2d
56.9 KB
egret/libs/tw/manager/NetManager.ts
View file @
74f641fb
...
...
@@ -462,8 +462,9 @@ export class NetManager extends ABNetManager {
* @param score 关卡
* @param gameData json带分数和通关元素
* @param submitToken token,来自getNgameStartStatus,,DataManager.ins.getData("getNgameStartStatus").data.submitToken
* @param relatedTaskType 苏宁-消消乐v3.1,关联任务类型:1:鲸喜任务;2:农场任务
*/
hc_submit
(
callback
:
Function
,
orderId
:
number
,
score
:
number
,
gameData
:
string
,
submitToken
:
string
):
void
{
hc_submit
(
callback
:
Function
,
orderId
:
number
,
score
:
number
,
gameData
:
string
,
submitToken
:
string
,
relatedTaskType
):
void
{
const
sign
=
this
.
createSgin
(
orderId
,
score
,
gameData
,
submitToken
);
var
data
=
{
activityId
:
DataManager
.
ins
.
customCfgData
.
actId
,
...
...
@@ -473,7 +474,10 @@ export class NetManager extends ABNetManager {
dynamicData
:
JSON
.
stringify
([]),
detect
:
window
[
'detect'
],
deviceSessionId
:
window
[
'_device_session_id'
],
score
:
score
,
score
:
score
};
if
(
relatedTaskType
)
{
data
[
'relatedTaskType'
]
=
relatedTaskType
;
}
var
sgin
=
this
.
encrypt
(
JSON
.
stringify
(
data
));
const
net
:
INetData
=
{
...
...
egret/src/mainScene/MainScene.ts
View file @
74f641fb
...
...
@@ -67,6 +67,7 @@ import { FestivalTarget } from '../something/uis/FestivalTarget';
import
getRedBombAward
,
{
getRedBombTimes
}
from
'../getRedBombAward'
;
import
{
FesRedBombShowAni
}
from
'../something/anisCall/FesRedBombShowAni'
;
import
{
RectsWaveAni
}
from
'../something/anisCall/RectsWaveAni'
;
import
Utils
from
"../Utils"
;
const
aniClass
=
{
"BoomAni"
:
BoomAni
,
...
...
@@ -2563,6 +2564,7 @@ export default class MainScene extends Scene {
}
catch
(
error
)
{
console
.
warn
(
error
)
}
let
taskType
=
Utils
.
getRequestByKey
(
'taskType'
);
NetManager
.
ins
.
hc_submit
((
s
,
data
)
=>
{
if
(
s
)
{
wait
(
200
).
then
(()
=>
{
...
...
@@ -2605,7 +2607,8 @@ export default class MainScene extends Scene {
DataManager
.
ins
.
getData
(
"hc_doJoin"
).
data
,
this
.
chapter
,
json
,
DataManager
.
ins
.
getData
(
"getNgameStartStatus"
).
data
.
submitToken
)
DataManager
.
ins
.
getData
(
"getNgameStartStatus"
).
data
.
submitToken
,
taskType
)
}
/**
...
...
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