Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckyFarm
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
王雪伟
LuckyFarm
Commits
95f6d286
Commit
95f6d286
authored
Nov 21, 2020
by
wangxuewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[提交人]:王雪伟
[提交简述] :多多菜园1.0.3 [实现方案] :回调改为上报
parent
a04188c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
GameActivity.kt
app/src/main/java/com/ym/game/GameActivity.kt
+6
-1
No files found.
app/src/main/java/com/ym/game/GameActivity.kt
View file @
95f6d286
...
@@ -364,7 +364,12 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback {
...
@@ -364,7 +364,12 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback {
override
fun
onSuccess
(
result
:
List
<
LandListEntity
>?)
{
override
fun
onSuccess
(
result
:
List
<
LandListEntity
>?)
{
var
json
=
"{\"landList\":"
+
Utils
.
obj2Str
(
result
)
+
"}"
var
json
=
"{\"landList\":"
+
Utils
.
obj2Str
(
result
)
+
"}"
Log
.
d
(
"Wxw"
,
"初始化地块列表成功$from$json"
)
Log
.
d
(
"Wxw"
,
"初始化地块列表成功$from$json"
)
callUnity
(
"Canvas"
,
"loadLandListSuccess"
,
json
)
if
(
from
==
1
){
callUnity
(
"Canvas"
,
"loadLandListSuccess"
,
json
)
}
if
(
from
==
2
){
callUnity
(
"Form_land"
,
"sycnLandListSuccess"
,
json
)
}
}
}
override
fun
onFailure
(
e
:
Throwable
?,
code
:
String
?,
errorMsg
:
String
?)
{
override
fun
onFailure
(
e
:
Throwable
?,
code
:
String
?,
errorMsg
:
String
?)
{
...
...
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