private static void InitBillingType()
    {
        eSERVICE_AREA currentServiceArea = NrTSingleton <NrGlobalReference> .Instance.GetCurrentServiceArea();

        if (currentServiceArea.ToString().Contains("GOOGLE") || currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_KORKAKAO || currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_KORQA || currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_USQA || currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_USGOOGLE)
        {
            BillingManager.g_eBillingType = BillingManager.eBillingManager_Type.BillingManager_Google;
        }
        else if (currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_KORTSTORE || currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_KAKAOTSTORE)
        {
            BillingManager.g_eBillingType = BillingManager.eBillingManager_Type.BillingManager_TStore;
        }
        else if (currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_KORNAVER || currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_BANDNAVER)
        {
            BillingManager.g_eBillingType = BillingManager.eBillingManager_Type.BillingManager_NStore;
        }
    }
Beispiel #2
0
 public static bool IsServiceArea(eSERVICE_AREA servicearea)
 {
     return(NrGlobalReference.strServiceCode.Equals(servicearea.ToString()));
 }