This commit is contained in:
2026-06-04 15:09:55 +08:00
parent 50f7c979f2
commit 8f482df1d5
4 changed files with 21 additions and 4 deletions
+13 -1
View File
@@ -91,7 +91,19 @@ public class LoginSystem : BaseSystem
loginModel.debug_log = loginData.debug_log;
loginModel.enwp = loginData.enwp;
if (loginData.is_magic)
{
if (PlayerPrefs.GetInt("is_gift", 0) != 1)
{
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI);
}
PlayerPrefs.SetInt("is_gift", 1);
}
else
{
BrigdeIOS.showGameA(true);
return;
}
loginModel.preferences = new Preferences();
NetworkKit.CDNUrl = $"{loginData.cdn_url}/";
NetworkKit.SetCacheToken(loginData.token);