Пример #1
0
 public VirtualProductInfo(string newProductID, string newLocalizationKey, IapManager.CurrencyType newCurrencyType, int newPrice, Hashtable newRewards)
 {
     this.productID       = newProductID;
     this.localizationKey = newLocalizationKey;
     this.currencyType    = newCurrencyType;
     this.price           = newPrice;
     this.rewards         = newRewards;
 }
Пример #2
0
 private void Start()
 {
     IapManager.CurrencyType currencyType = this.currencyType;
     if (currencyType != IapManager.CurrencyType.SnoutCoin)
     {
         if (currencyType == IapManager.CurrencyType.Scrap)
         {
             this.parentButton = ScrapButton.Instance;
         }
     }
     else
     {
         this.parentButton = SnoutButton.Instance;
     }
     if (this.burstAmount <= 0 || this.parentButton == null || this.parentButton.CurrencyEffect == null)
     {
         this.CheckDestroy();
         return;
     }
 }
Пример #3
0
 public void getBalance(IapManager.CurrencyType currency, Action <int> response)
 {
     response(0);
 }