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
af285044
Commit
af285044
authored
Dec 09, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ab71e2bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
HbCutTime.ts
egret/src/panels/HongbaoRain/HbCutTime.ts
+5
-0
HbGame.ts
egret/src/panels/HongbaoRain/HbGame.ts
+5
-0
No files found.
egret/src/panels/HongbaoRain/HbCutTime.ts
View file @
af285044
...
@@ -162,6 +162,11 @@ export default class HbCutTime extends Panel {
...
@@ -162,6 +162,11 @@ export default class HbCutTime extends Panel {
onTouchOK
()
{
onTouchOK
()
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
58
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
58
));
try
{
if
(
window
[
'getRST'
])
window
[
'getRST'
]();
}
catch
(
error
)
{
console
.
warn
(
error
)
}
PanelCtrl
.
instance
.
show
(
'HbGame'
,
{
needScore
:
this
.
data
.
res
.
data
.
currentSession
.
limitScore
});
PanelCtrl
.
instance
.
show
(
'HbGame'
,
{
needScore
:
this
.
data
.
res
.
data
.
currentSession
.
limitScore
});
}
}
...
...
egret/src/panels/HongbaoRain/HbGame.ts
View file @
af285044
...
@@ -81,6 +81,11 @@ export default class HbGame extends Panel {
...
@@ -81,6 +81,11 @@ export default class HbGame extends Panel {
private
hbDoJoin
()
{
private
hbDoJoin
()
{
let
session
=
DataManager
.
ins
.
getData
(
NetName
.
HBRAIN_BASEINFO
).
data
.
currentSession
.
sessionIndex
;
let
session
=
DataManager
.
ins
.
getData
(
NetName
.
HBRAIN_BASEINFO
).
data
.
currentSession
.
sessionIndex
;
try
{
if
(
window
[
'getRST'
])
window
[
'getRST'
]();
}
catch
(
error
)
{
console
.
warn
(
error
)
}
NetManager
.
ins
.
hbRainDoJoin
((
success
,
res
)
=>
{
NetManager
.
ins
.
hbRainDoJoin
((
success
,
res
)
=>
{
NetManager
.
ins
.
hc_home
(()
=>
{
NetManager
.
ins
.
hc_home
(()
=>
{
SceneCtrl
.
instance
.
updateScene
();
SceneCtrl
.
instance
.
updateScene
();
...
...
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