Interface IStack
A general interface that works for both tags and items.
Assembly: Eco.Gameplay.dll
Syntax
Properties
Quantity
Declaration
int Quantity { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
StackObject
Declaration
ItemRepresentation StackObject { get; }
Property Value
Methods
NumberToTake(Item, Int32)
Declaration
int NumberToTake(Item item, int quantity)
Parameters
| Type |
Name |
Description |
| Item |
item |
|
| System.Int32 |
quantity |
|
Returns
| Type |
Description |
| System.Int32 |
|
NumberToTake(ItemStack)
Declaration
virtual int NumberToTake(ItemStack stack)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
Extension Methods