Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
W
wdlc_mjb_unity
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
wdlc_mjb_unity
Commits
a937c0f0
Commit
a937c0f0
authored
Jun 10, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刷新首页钱数
parent
4b67e5c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
HSRPVM.cs
...s/Game/Main/Scripts/Item/HandSpeedRedPacketItem/HSRPVM.cs
+3
-0
StartControl.cs
Assets/Scripts/StartControl.cs
+2
-0
No files found.
Assets/Game/Main/Scripts/Item/HandSpeedRedPacketItem/HSRPVM.cs
View file @
a937c0f0
...
@@ -39,6 +39,9 @@ public class HSRPVM : MonoBehaviour
...
@@ -39,6 +39,9 @@ public class HSRPVM : MonoBehaviour
// 领取后请求获取奖励接口, 预加载
// 领取后请求获取奖励接口, 预加载
RequestInternetForGetReward
();
RequestInternetForGetReward
();
// 刷新首页钱数
EventCenter
.
Broadcast
(
MyEventType
.
RefreshHomeInfo
);
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
{
Debug
.
unityLogger
.
Log
(
"领取手速红包奖励网络请求失败"
+
code
+
errMsg
);
Debug
.
unityLogger
.
Log
(
"领取手速红包奖励网络请求失败"
+
code
+
errMsg
);
...
...
Assets/Scripts/StartControl.cs
View file @
a937c0f0
...
@@ -258,6 +258,8 @@ public class StartControl : MonoBehaviour
...
@@ -258,6 +258,8 @@ public class StartControl : MonoBehaviour
{
{
EventCenter
.
Broadcast
(
MyEventType
.
FlyHongbao
);
EventCenter
.
Broadcast
(
MyEventType
.
FlyHongbao
);
EventCenter
.
Broadcast
(
MyEventType
.
RefreshHomeInfo
);
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
{
Debug
.
unityLogger
.
Log
(
"热启动看广告加红包请求Error Code"
+
code
+
"msg"
+
errMsg
);
Debug
.
unityLogger
.
Log
(
"热启动看广告加红包请求Error Code"
+
code
+
"msg"
+
errMsg
);
...
...
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