MerchantWindowUI.CanBuyFromPlayer
Declaration#
public bool CanBuyFromPlayer(GDTKItem item, Int32 count)Parameters#
| Name | Description |
|---|---|
| item | Item for transaction |
| count | Count of item for transaction |
Description#
Gets if a certain count of an item can be bought from the player
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(MerchantWindowUI target, GDTKItem other) { bool result = target.CanBuyFromPlayer(other, 1); }
}