Show / Hide Table of Contents

Class StockpileStackRestriction

Inheritance
System.Object
InventoryRestriction
StockpileStackRestriction
Inherited Members
InventoryRestriction.MaxPickup(RestrictionCheckData, Item, Int32)
InventoryRestriction.MaxAccepted(RestrictionCheckData, Item, Int32)
InventoryRestriction.Priority
Namespace: Eco.Gameplay.Components.Storage
Assembly: Eco.Gameplay.dll
Syntax
public class StockpileStackRestriction : InventoryRestriction

Constructors

StockpileStackRestriction(Int32)

Declaration
public StockpileStackRestriction(int maxStackHeight)
Parameters
Type Name Description
System.Int32 maxStackHeight

Properties

Message

Declaration
public override LocString Message { get; }
Property Value
Type Description
LocString
Overrides
InventoryRestriction.Message

SurpassStackSize

Declaration
public override bool SurpassStackSize { get; }
Property Value
Type Description
System.Boolean
Overrides
InventoryRestriction.SurpassStackSize

Type

Declaration
public override RestrictionType Type { get; }
Property Value
Type Description
RestrictionType
Overrides
InventoryRestriction.Type

Methods

MaxAccepted(Item, Int32)

Declaration
public override int MaxAccepted(Item item, int currentQuantity)
Parameters
Type Name Description
Item item
System.Int32 currentQuantity
Returns
Type Description
System.Int32
Overrides
InventoryRestriction.MaxAccepted(Item, Int32)

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
☀
☾