MerchantWindowUI.CanSellToPlayer
Declaration#
public bool CanSellToPlayer(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 sold to the player
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(MerchantWindowUI target, GDTKItem other) { bool result = target.CanSellToPlayer(other, 1); }
}