Class StockpileStackRestriction
Inheritance
System.Object
StockpileStackRestriction
Assembly: Eco.Gameplay.dll
Syntax
public class StockpileStackRestriction : StackLimitRestriction
Constructors
StockpileStackRestriction(Int32, Boolean)
Declaration
public StockpileStackRestriction(int maxStackHeight, bool staticLimit = false)
Parameters
| Type |
Name |
Description |
| System.Int32 |
maxStackHeight |
|
| System.Boolean |
staticLimit |
|
Properties
Type
Declaration
public override RestrictionType Type { get; }
Property Value
Overrides
Methods
GetMaxItemsOverrider(Item)
Declaration
protected override int GetMaxItemsOverrider(Item item)
Parameters
| Type |
Name |
Description |
| Item |
item |
|
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
Extension Methods