提交
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user