public static PaypalException GenerateException(Encore.PayPal.Nvp.NvpApiBase details)
 {
     String errorMessage = "";
     if (details.ErrorList.Count > 0)
     {
         NvpError error = details.ErrorList[0];
         errorMessage = error.LongMessage;
     }
     return new PaypalException(errorMessage);
 }
Beispiel #2
0
    public void OutOfCombatSystem()
    {
        OOCtimer += Time.deltaTime;


        if (OOCtimer >= 5f) // 5s
        {
            if (m_PrestigeSystem.GetList().ContainsKey("Encore"))
            {
                Encore encoreprestige = (Encore)m_PrestigeSystem.GetPrestige(Encore.prestigename);
                if (encoreprestige.isActive)
                {
                    UIScript.AddHealth(m_PlayerStats.HP, 1f * Time.deltaTime);
                }
            }
            else
            {
                UIScript.AddHealth(m_PlayerStats.HP, 0.5f * Time.deltaTime);
            }
        }
    }
 public PaypalProfileInfo(Encore.PayPal.Nvp.NvpGetRecurringPaymentsProfileDetails action)
 {
     this.action = action;
 }