20 lines
534 B
C#
20 lines
534 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|