[M] upgrade Unity 2022.3.62 and fix link parsing
Upgraded Unity editor to 2022.3.62f2c1 with related package updates. Fixed LinkAccoutResult JSON parsing to properly handle bindInfo as dictionary. Added Android namespace configuration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
"com.github.skistua.unity-vimeditor": "https://gitee.com/b166er/unity-vimeditor.git",
|
||||
"com.neuecc.unirx": "file:../LocalPackages/com.neuecc.unirx",
|
||||
"com.unity.addressables": "1.22.3",
|
||||
"com.unity.collab-proxy": "2.5.2",
|
||||
"com.unity.ide.rider": "3.0.34",
|
||||
"com.unity.collab-proxy": "2.7.1",
|
||||
"com.unity.ide.rider": "3.0.36",
|
||||
"com.unity.ide.visualstudio": "2.0.22",
|
||||
"com.unity.ide.vscode": "1.2.5",
|
||||
"com.unity.mobile.android-logcat": "1.4.3",
|
||||
"com.unity.mobile.android-logcat": "1.4.5",
|
||||
"com.unity.nuget.newtonsoft-json": "3.2.1",
|
||||
"com.unity.render-pipelines.universal": "14.0.11",
|
||||
"com.unity.render-pipelines.universal": "14.0.12",
|
||||
"com.unity.test-framework": "1.1.33",
|
||||
"com.unity.textmeshpro": "3.0.7",
|
||||
"com.unity.timeline": "1.7.6",
|
||||
"com.unity.timeline": "1.7.7",
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"com.unity.visualscripting": "1.9.4",
|
||||
"com.unity.modules.ai": "1.0.0",
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.burst": {
|
||||
"version": "1.8.18",
|
||||
"version": "1.8.21",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
@@ -44,7 +44,7 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.collab-proxy": {
|
||||
"version": "2.5.2",
|
||||
"version": "2.7.1",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
@@ -58,7 +58,7 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.ide.rider": {
|
||||
"version": "3.0.34",
|
||||
"version": "3.0.36",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
@@ -90,7 +90,7 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.mobile.android-logcat": {
|
||||
"version": "1.4.3",
|
||||
"version": "1.4.5",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
@@ -104,7 +104,7 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.render-pipelines.core": {
|
||||
"version": "14.0.11",
|
||||
"version": "14.0.12",
|
||||
"depth": 1,
|
||||
"source": "builtin",
|
||||
"dependencies": {
|
||||
@@ -115,14 +115,14 @@
|
||||
}
|
||||
},
|
||||
"com.unity.render-pipelines.universal": {
|
||||
"version": "14.0.11",
|
||||
"version": "14.0.12",
|
||||
"depth": 0,
|
||||
"source": "builtin",
|
||||
"dependencies": {
|
||||
"com.unity.mathematics": "1.2.1",
|
||||
"com.unity.burst": "1.8.9",
|
||||
"com.unity.render-pipelines.core": "14.0.11",
|
||||
"com.unity.shadergraph": "14.0.11",
|
||||
"com.unity.render-pipelines.core": "14.0.12",
|
||||
"com.unity.shadergraph": "14.0.12",
|
||||
"com.unity.render-pipelines.universal-config": "14.0.9"
|
||||
}
|
||||
},
|
||||
@@ -149,11 +149,11 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.shadergraph": {
|
||||
"version": "14.0.11",
|
||||
"version": "14.0.12",
|
||||
"depth": 1,
|
||||
"source": "builtin",
|
||||
"dependencies": {
|
||||
"com.unity.render-pipelines.core": "14.0.11",
|
||||
"com.unity.render-pipelines.core": "14.0.12",
|
||||
"com.unity.searcher": "4.9.2"
|
||||
}
|
||||
},
|
||||
@@ -178,13 +178,13 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.timeline": {
|
||||
"version": "1.7.6",
|
||||
"version": "1.7.7",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.modules.audio": "1.0.0",
|
||||
"com.unity.modules.director": "1.0.0",
|
||||
"com.unity.modules.animation": "1.0.0",
|
||||
"com.unity.modules.audio": "1.0.0",
|
||||
"com.unity.modules.particlesystem": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.cn"
|
||||
|
||||
@@ -5,6 +5,7 @@ using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using asap.core;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -312,13 +313,18 @@ namespace tysdk
|
||||
|
||||
public void LinkAccoutResult(string message)
|
||||
{
|
||||
JObject data = new JObject(message);
|
||||
JObject data = JObject.Parse(message);
|
||||
var result = new LinkResult()
|
||||
{
|
||||
code = data["code"].Value<int>(),
|
||||
userId = data["userId"].Value<int>()
|
||||
userId = data["userId"].Value<int>(),
|
||||
};
|
||||
|
||||
if (data.ContainsKey("bindInfo"))
|
||||
{
|
||||
result.bindInfo = JsonConvert.DeserializeObject<Dictionary<string, string>>(data.GetValue(@"bindInfo").ToString());
|
||||
}
|
||||
|
||||
TYSDKCallbackManager.Instance.TryTriggerCallback(result);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace tysdk
|
||||
// when exists userId is 0
|
||||
public int userId;
|
||||
// not none when exists
|
||||
public string bindInfo;
|
||||
public Dictionary<string, string> bindInfo;
|
||||
}
|
||||
|
||||
public class LinkCheckInfo
|
||||
|
||||
Reference in New Issue
Block a user