Files
RedHotRoast-ios/Assets/RedHotRoast/Manager/NetworkManager.cs
T

38 lines
1.1 KiB
C#
Raw Normal View History

2026-04-22 09:52:55 +08:00
using UnityEngine;
namespace RedHotRoast
2026-04-22 09:52:55 +08:00
{
public class NetworkManager : BaseUnityManager<NetworkManager>
{
#if GAME_RELEASE
2026-04-22 09:52:55 +08:00
public static string crazyUrl => true ? DomainReleaseUrl : DomainDebugUrl;
#else
public static string crazyUrl => false ? DomainReleaseUrl : DomainDebugUrl;
#endif
public const string DomainRelease = "frozenarena.top";
2026-04-22 09:52:55 +08:00
//is debug test--------
public const string DomainDebugUrl = @"https://swhitegames.top/api/";
2026-04-22 09:52:55 +08:00
public static readonly string DomainReleaseUrl = $"https://{DomainRelease}/api/";
public const string identifier = "com.dreamyfoxgame.legend";//没用到
2026-04-22 09:52:55 +08:00
private LoginSystem loginSystem;
private ConfigSystem configSystem;
private PlayDataSystem playDataSystem;
public static bool haveSimCard = false;
public override void Init()
{
InitSystem();
}
private void InitSystem()
{
loginSystem = new LoginSystem();
configSystem = new ConfigSystem();
playDataSystem = new PlayDataSystem();
}
}
}