Inventory.GetPremiumFunds
Declaration#
public Int32 GetPremiumFunds(string id)Parameters#
| Name | Description |
|---|---|
| id | Id to get |
Description#
Get count of premium funds in inventory
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(Inventory target) { foreach (GDTKCurrency currency in InventoryDatabase.instance.currencies) { if (currency.premium) { int result = target.GetPremiumFunds(currency.info.id); } } }
}