骑行和设备连接图标&发送tcp带上客户端版本号
This commit is contained in:
1 parent
ae6769e24f
commit
7bd058004d
20 files changed
+524
-388
No files matched your search
@@ -158,6 +158,14 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
/// </summary>
|
||||
public static void SendGizpModel()
|
||||
{
|
||||
var client = App.AppVersion;
|
||||
#if UNITY_ANDROID
|
||||
client = "Unity-Android" + App.AppVersion;
|
||||
#elif UNITY_IOS
|
||||
client = "Unity-ios" + App.AppVersion;
|
||||
#else
|
||||
client = "Unity" + App.AppVersion;
|
||||
#endif
|
||||
try
|
||||
{
|
||||
var model = new GzipMsgModel
|
||||
@@ -165,7 +173,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
CommandType = 2,
|
||||
V = 2,
|
||||
Encoding = "gzip",
|
||||
Client = App.AppVersion,
|
||||
Client = client,
|
||||
MemberId = App.CurrentUser.Id,
|
||||
Competitionid = Competitionid,
|
||||
IsWatch = IsWatch
|
||||
|
||||
Reference in new issue
Block a user