TapLogin-Unity/Runtime/Public/TapTapSdk.cs

20 lines
534 B
C#
Raw Permalink Normal View History

2023-08-18 16:04:57 +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);
}
}
}