Class FractionalItemStack
Inheritance
System.Object
FractionalItemStack
Assembly: Eco.Gameplay.dll
Syntax
public class FractionalItemStack : Object
Constructors
FractionalItemStack(Item, Single)
Declaration
public FractionalItemStack(Item item, float quantity)
Parameters
Type |
Name |
Description |
Item |
item |
|
System.Single |
quantity |
|
Fields
Item
Declaration
Field Value
Quantity
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
ItemType
Declaration
public Type ItemType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
AddQuantity(Single)
Declaration
public void AddQuantity(float quantity)
Parameters
Type |
Name |
Description |
System.Single |
quantity |
|
Merge(Item, Single, Boolean)
Declaration
public void Merge(Item item, float quantity, bool splittingStack)
Parameters
Type |
Name |
Description |
Item |
item |
|
System.Single |
quantity |
|
System.Boolean |
splittingStack |
|
Extension Methods