Merchant.GetBuyBackCount
Declaration#
public Int32 GetBuyBackCount(GDTKItem item)Parameters#
| Name | Description |
|---|---|
| item | Item 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]); }
}