Skip to main content

Merchant.GetBuyBackCount

Declaration#

public Int32 GetBuyBackCount(GDTKItem item)

Parameters#

NameDescription
itemItem to check

Description#

Gets the number of an item that can be bought back by player

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(Merchant target)    {        int result = target.GetBuyBackCount(InventoryDatabase.instance.items[0]);    }
}