Show / Hide Table of Contents

Class PartsInventoryRestriction

Inheritance
System.Object
InventoryRestriction
PartsInventoryRestriction
Inherited Members
InventoryRestriction.MaxAccepted(Item, Int32)
InventoryRestriction.SurpassStackSize
InventoryRestriction.Priority
InventoryRestriction.Type
Namespace: Eco.Gameplay.Components
Assembly: Eco.Gameplay.dll
Syntax
public class PartsInventoryRestriction : InventoryRestriction

Constructors

PartsInventoryRestriction()

Declaration
public PartsInventoryRestriction()

Fields

PartsComponent

Declaration
public PartsComponent PartsComponent
Field Value
Type Description
PartsComponent

Properties

Message

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

Methods

MaxAccepted(RestrictionCheckData, Item, Int32)

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

MaxPickup(RestrictionCheckData, Item, Int32)

Declaration
public override int MaxPickup(RestrictionCheckData checkData, Item item, int currentQuantity)
Parameters
Type Name Description
RestrictionCheckData checkData
Item item
System.Int32 currentQuantity
Returns
Type Description
System.Int32
Overrides
InventoryRestriction.MaxPickup(RestrictionCheckData, 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
☀
☾