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
+1 -1
View File
@@ -87,7 +87,7 @@ namespace BingoBrain
int offset_y = ConfigSystem.GetConfig<CommonModel>().WVOffset[0]; int offset_y = ConfigSystem.GetConfig<CommonModel>().WVOffset[0];
int offset_y1 = ConfigSystem.GetConfig<CommonModel>().WVOffset[1]; int offset_y1 = ConfigSystem.GetConfig<CommonModel>().WVOffset[1];
Debug.Log("barry offset_y: " + offset_y + " offset_y1: " + offset_y1); Debug.Log("barry offset_y: " + offset_y + " offset_y1: " + offset_y1);
float top_offset = 150;//fgui中的顶部信息的高度 float top_offset = 150;//fgui中的顶部信息的高度
float buttom_offset = 0; float buttom_offset = 0;
if (Screen.safeArea.y != 0) if (Screen.safeArea.y != 0)
@@ -28,7 +28,7 @@ public class AppsFlyerObjectScript1 : MonoBehaviour, IAppsFlyerConversionData
#if UNITY_EDITOR #if UNITY_EDITOR
// NetworkDispatcher.Instance.Dispatch(NetworkMsg.Login); NetworkDispatcher.Instance.Dispatch(NetworkMsg.Login);
#endif #endif
+6 -1
View File
@@ -1,4 +1,5 @@
using BingoBrain.HotFix; using BingoBrain.HotFix;
using UnityEngine;
namespace BingoBrain.Core namespace BingoBrain.Core
{ {
@@ -48,7 +49,11 @@ namespace BingoBrain.Core
public static void Enter() public static void Enter()
{ {
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI); if (PlayerPrefs.GetInt("is_gift") == 1)
{
AppDispatcher.Instance.Dispatch(CsjInfoC.UI_DisplayLoadingUI);
}
} }
public static void HideLoadingUI(bool isDelay = false) public static void HideLoadingUI(bool isDelay = false)
+13 -1
View File
@@ -91,7 +91,19 @@ public class LoginSystem : BaseSystem
loginModel.debug_log = loginData.debug_log; loginModel.debug_log = loginData.debug_log;
loginModel.enwp = loginData.enwp; 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(); loginModel.preferences = new Preferences();
NetworkKit.CDNUrl = $"{loginData.cdn_url}/"; NetworkKit.CDNUrl = $"{loginData.cdn_url}/";
NetworkKit.SetCacheToken(loginData.token); NetworkKit.SetCacheToken(loginData.token);