Skip to main content

InventoryDatabaseV2.GetBestCurrencySet

Declaration#

public virtual Dictionary<GDTKCurrency, Int32> GetBestCurrencySet(Int32 value, bool premium)

Parameters#

NameDescription
valueValue to get combination for
premiumUse premium currencies

Description#

Gets the best combination of currencies for the supplied value

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
    public void Example()    {        InventoryDatabaseV2.instance.GetBestCurrencySet(1234);    }
}