TapLogin-Unity/Runtime/Public/TapTapSdk.cs

20 lines
534 B
C#
Raw Normal View History

2023-10-24 11:53:04 +08:00
using TapTap.Common;
namespace TapTap.Login.Internal
{
public static class TapTapSdk
{
public const string Version = "1.2.0";
public static string ClientId { get; private set; }
public static Region CurrentRegion { get; private set; }
public static void SDKInitialize(string clientId, bool isCn)
{
ClientId = clientId;
CurrentRegion = isCn ? (Region)new RegionCN() : new RegionIO();
TapLocalizeManager.SetCurrentRegion(isCn);
}
}
}