Class ItemSlotInstance
Represents an item slot within the game. These are present within storage, the hot bar, etc.
public class ItemSlotInstance
- Inheritance
-
ItemSlotInstance
- Inherited Members
- Extension Methods
Properties
ItemInstance
The item instance the slot contains.
public ItemInstance? ItemInstance { get; }
Property Value
Quantity
The quantity of item in this slot.
public int Quantity { get; }
Property Value
Methods
AddQuantity(int)
Adds a quantity to the item in this slot. NOTE: Negative numbers are supported and allowed.
public void AddQuantity(int amount)
Parameters
amountint