Show / Hide Table of Contents

Class StockpileStackRestriction

Inheritance
System.Object
InventoryRestriction
StackLimitRestriction
StockpileStackRestriction
Inherited Members
StackLimitRestriction.MaxAccepted(Item)
StackLimitRestriction.MaxItems
StackLimitRestriction.StaticLimit
StackLimitRestriction.Message
StackLimitRestriction.Enabled
InventoryRestriction.MaxAccepted(Item, Int32)
InventoryRestriction.MaxPickup(RestrictionCheckData, Item, Int32)
InventoryRestriction.MaxAccepted(RestrictionCheckData, Item)
InventoryRestriction.MaxAccepted(RestrictionCheckData, Item, Int32)
InventoryRestriction.Priority
Namespace: Eco.Gameplay.Items
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
Type Description
RestrictionType
Overrides
InventoryRestriction.Type

Methods

GetMaxItemsOverrider(Item)

Declaration
protected override int GetMaxItemsOverrider(Item item)
Parameters
Type Name Description
Item item
Returns
Type Description
System.Int32
Overrides
StackLimitRestriction.GetMaxItemsOverrider(Item)

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾