Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
T
tuseGameColor
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
shujianhe
tuseGameColor
Commits
8f0546fd
Commit
8f0546fd
authored
Jul 24, 2023
by
shujianhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5537eda1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
gameUserInfos.cs
Assets/scripts/Views/gameScene/gameUserInfos.cs
+10
-3
No files found.
Assets/scripts/Views/gameScene/gameUserInfos.cs
View file @
8f0546fd
...
...
@@ -29,8 +29,15 @@ public class gameUserInfos : MonoBehaviour, IEventHandler
}
else
{
string
id
=
utilsTools
.
getGDataByKey
<
String
>(
"nowUseGameId"
,
""
);
startId
(
id
);
netLableImageItem
jsonData
=
utilsTools
.
getGDataByKey
<
netLableImageItem
>(
"NativeGameData"
,
null
);
if
(
jsonData
==
null
)
{
Debug
.
LogError
(
"no valid data"
);
return
false
;
}
utilsTools
.
setGameScenUserInfo
(
jsonData
.
id
,
jsonData
.
getLineUrl
(),
jsonData
.
getColorUrl
(),
jsonData
.
getJsonUrl
(),
jsonData
.
file
);
//string id = utilsTools.getGDataByKey<String>("nowUseGameId", "");
startId
(
jsonData
.
id
);
}
return
false
;
},
3
);
...
...
@@ -47,7 +54,7 @@ public class gameUserInfos : MonoBehaviour, IEventHandler
//{"img":"https://d21z6ifg4bbv2v.cloudfront.net/tspng/ccNO7LSXpxA8GzQUHq.png","json":"https://d21z6ifg4bbv2v.cloudfront.net/tsjson/ccNO7LSXpxA8GzQUHq.json","finishImg":"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/ccNO7LSXpxA8GzQUHq_pictureColorThn4.jpg","id":"ccNO7LSXpxA8GzQUHq","status":0,"progress":0.0,"areaInfoUseData":[]}
//utilsTools.setGameScenUserInfo(id,"http://192.168.124.160:8795/srcImgs/colorFan/tuline.png","http://192.168.124.160:8795/srcImgs/colorFan/tucolor.png","http://192.168.124.160:8795/srcImgs/colorFan/tu.json");
//utilsTools.setGameScenUserInfo(id, "http://192.168.124.160:8795/srcImgs/temp2/tuline.png", "http://192.168.124.160:8795/srcImgs/temp2/tucolor.jpg", "http://192.168.124.160:8795/srcImgs/temp2/tu.json");
utilsTools
.
setGameScenUserInfo
(
id
,
"https://d21z6ifg4bbv2v.cloudfront.net/tspng/ccNO7LSXpxA8GzQUHq.png"
,
"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/ccNO7LSXpxA8GzQUHq_pictureColorThn4.jpg"
,
"https://d21z6ifg4bbv2v.cloudfront.net/tsjson/ccNO7LSXpxA8GzQUHq.json"
,
"https://d21z6ifg4bbv2v.cloudfront.net/ts
json
/ccNO7LSXpxA8GzQUHq.zip"
);
utilsTools
.
setGameScenUserInfo
(
id
,
"https://d21z6ifg4bbv2v.cloudfront.net/tspng/ccNO7LSXpxA8GzQUHq.png"
,
"https://d21z6ifg4bbv2v.cloudfront.net/tsgame/ccNO7LSXpxA8GzQUHq_pictureColorThn4.jpg"
,
"https://d21z6ifg4bbv2v.cloudfront.net/tsjson/ccNO7LSXpxA8GzQUHq.json"
,
"https://d21z6ifg4bbv2v.cloudfront.net/ts
game
/ccNO7LSXpxA8GzQUHq.zip"
);
gameScenUser
=
utilsTools
.
getGameScenUserInfo
(
id
);
}
if
(
gameScenUser
==
null
)
...
...
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