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
8b0530b7
Commit
8b0530b7
authored
Jun 22, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改实物奖励排行榜逻辑,使兑换和翻一翻都能用
parent
40783c30
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
36 deletions
+31
-36
AdSDK.meta
Assets/AdSDK.meta
+0
-8
DialogControl.cs
Assets/Game/Main/Scripts/View/DialogControl.cs
+1
-0
RARankList.cs
Assets/Game/Main/Scripts/dialog/RealAwards/RARankList.cs
+1
-1
RealAwardsVM.cs
Assets/Game/Main/Scripts/dialog/RealAwards/RealAwardsVM.cs
+16
-14
packages-lock.json
Packages/packages-lock.json
+13
-13
No files found.
Assets/AdSDK.meta
deleted
100644 → 0
View file @
40783c30
fileFormatVersion: 2
guid: b9b263a922fc04fb18572f38d7307beb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Game/Main/Scripts/View/DialogControl.cs
View file @
8b0530b7
...
...
@@ -57,6 +57,7 @@ public class DialogControl : MonoBehaviour
EventCenter
.
AddListener
<
WithDrawDialogBean
>(
MyEventType
.
WITHDRAW_DIALOG
,
OnWithDrawDialog
);
// 提前请求弹窗数据
RealAwardsVM
.
isFanYiFan
=
true
;
RealAwardsVM
.
RequestInternetForData
();
}
...
...
Assets/Game/Main/Scripts/dialog/RealAwards/RARankList.cs
View file @
8b0530b7
...
...
@@ -64,7 +64,7 @@ public class RARankList : MonoBehaviour
CurrentRankText
.
text
=
"当前排名:"
+
RealAwardsVM
.
dataModel
.
my
.
number
;
StartCoroutine
(
LoadRawImage
(
AwardImage
,
RealAwardsVM
.
awardModel
.
img
));
StartCoroutine
(
LoadRawImage
(
AwardImage
,
RealAwardsVM
.
dataModel
.
award
.
img
));
for
(
int
i
=
0
;
i
<
RealAwardsVM
.
dataModel
.
list
.
Count
;
i
++)
{
...
...
Assets/Game/Main/Scripts/dialog/RealAwards/RealAwardsVM.cs
View file @
8b0530b7
...
...
@@ -72,13 +72,15 @@ public class RealAwardsVM : SingletonMono<RealAwardsVM>
}
else
{
parameters
[
no
]
=
no
;
parameters
[
"no"
]
=
no
;
}
HttpTool
.
Instance
.
_Get
(
urlString
,
parameters
,
new
Action
<
RealAwardsDataModel
>((
bean
)
=>
{
dataModel
=
bean
;
if
(
isFanYiFan
)
{
if
(
dataModel
.
award
!=
null
)
{
awardModel
=
dataModel
.
award
;
...
...
@@ -97,7 +99,7 @@ public class RealAwardsVM : SingletonMono<RealAwardsVM>
}
}
}
}
EventCenter
.
Broadcast
(
MyEventType
.
RefreshRealAwardsData
);
...
...
@@ -148,7 +150,7 @@ public class RealAwardsVM : SingletonMono<RealAwardsVM>
}
else
{
parameters
[
no
]
=
no
;
parameters
[
"no"
]
=
no
;
}
HttpTool
.
Instance
.
_Get
(
urlString
,
parameters
,
new
Action
<
List
<
RealAwardsRankModel
>>((
bean
)
=>
...
...
@@ -185,7 +187,7 @@ public class RealAwardsVM : SingletonMono<RealAwardsVM>
}
else
{
parameters
[
no
]
=
no
;
parameters
[
"no"
]
=
no
;
}
HttpTool
.
Instance
.
_Post
(
urlString
,
parameters
,
new
Action
<
EmptyModel
>((
bean
)
=>
...
...
Packages/packages-lock.json
View file @
8b0530b7
...
...
@@ -19,7 +19,7 @@
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.analytics"
:
{
"version"
:
"3.3.5"
,
...
...
@@ -28,21 +28,21 @@
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.collab-proxy"
:
{
"version"
:
"1.2.16"
,
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.ext.nunit"
:
{
"version"
:
"1.0.6"
,
"depth"
:
1
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.ide.rider"
:
{
"version"
:
"1.1.4"
,
...
...
@@ -51,14 +51,14 @@
"dependencies"
:
{
"com.unity.test-framework"
:
"1.1.1"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.ide.vscode"
:
{
"version"
:
"1.2.3"
,
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.multiplayer-hlapi"
:
{
"version"
:
"1.0.8"
,
...
...
@@ -67,7 +67,7 @@
"dependencies"
:
{
"nuget.mono-cecil"
:
"0.1.6-preview"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.purchasing"
:
{
"version"
:
"2.2.1"
,
...
...
@@ -76,7 +76,7 @@
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.test-framework"
:
{
"version"
:
"1.1.20"
,
...
...
@@ -87,7 +87,7 @@
"com.unity.modules.imgui"
:
"1.0.0"
,
"com.unity.modules.jsonserialize"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.textmeshpro"
:
{
"version"
:
"2.1.1"
,
...
...
@@ -96,14 +96,14 @@
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.timeline"
:
{
"version"
:
"1.2.17"
,
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.ugui"
:
{
"version"
:
"1.0.0"
,
...
...
@@ -122,14 +122,14 @@
"com.unity.modules.vr"
:
"1.0.0"
,
"com.unity.modules.xr"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"nuget.mono-cecil"
:
{
"version"
:
"0.1.6-preview"
,
"depth"
:
1
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.modules.ai"
:
{
"version"
:
"1.0.0"
,
...
...
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