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
bd31a6b1
Commit
bd31a6b1
authored
Nov 05, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c244fd08
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
HbGame.ts
egret/src/panels/HongbaoRain/HbGame.ts
+4
-0
HbPrize.ts
egret/src/panels/HongbaoRain/HbPrize.ts
+0
-3
No files found.
egret/src/panels/HongbaoRain/HbGame.ts
View file @
bd31a6b1
...
@@ -6,6 +6,7 @@ import { NetManager } from "../../../libs/tw/manager/NetManager";
...
@@ -6,6 +6,7 @@ import { NetManager } from "../../../libs/tw/manager/NetManager";
import
{
DataManager
}
from
"../../../libs/tw/manager/DataManager"
;
import
{
DataManager
}
from
"../../../libs/tw/manager/DataManager"
;
import
{
NetName
}
from
"../../../libs/tw/enum/NetName"
;
import
{
NetName
}
from
"../../../libs/tw/enum/NetName"
;
import
PanelCtrl
from
"../../../libs/new_wx/ctrls/panelCtrl"
;
import
PanelCtrl
from
"../../../libs/new_wx/ctrls/panelCtrl"
;
import
SceneCtrl
from
"../../../libs/new_wx/ctrls/sceneCtrl"
;
/**
/**
* 红包雨主游戏
* 红包雨主游戏
...
@@ -66,6 +67,9 @@ export default class HbGame extends Panel {
...
@@ -66,6 +67,9 @@ 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
;
NetManager
.
ins
.
hbRainDoJoin
((
success
,
res
)
=>
{
NetManager
.
ins
.
hbRainDoJoin
((
success
,
res
)
=>
{
NetManager
.
ins
.
hc_home
(()
=>
{
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
const
data
=
res
.
data
;
const
data
=
res
.
data
;
const
code
=
res
.
code
;
const
code
=
res
.
code
;
if
(
!
success
)
{
if
(
!
success
)
{
...
...
egret/src/panels/HongbaoRain/HbPrize.ts
View file @
bd31a6b1
...
@@ -46,9 +46,6 @@ export default class HbPrize extends Panel {
...
@@ -46,9 +46,6 @@ export default class HbPrize extends Panel {
this
[
'numsgroup'
].
visible
=
true
;
this
[
'numsgroup'
].
visible
=
true
;
this
[
'money'
].
visible
=
true
;
this
[
'money'
].
visible
=
true
;
this
[
'propnums'
].
text
=
'x'
+
realValue
;
this
[
'propnums'
].
text
=
'x'
+
realValue
;
NetManager
.
ins
.
hc_home
(()
=>
{
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
break
;
break
;
default
:
default
:
this
[
'img'
].
visible
=
true
;
this
[
'img'
].
visible
=
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