Show / Hide Table of Contents

Interface IStack

A general interface that works for both tags and items.

Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public interface IStack

Properties

Quantity

Declaration
int Quantity { get; set; }
Property Value
Type Description
System.Int32

StackObject

Declaration
ItemRepresentation StackObject { get; }
Property Value
Type Description
ItemRepresentation

Methods

NumberToTake(Item, Int32)

Declaration
int NumberToTake(Item item, int quantity)
Parameters
Type Name Description
Item item
System.Int32 quantity
Returns
Type Description
System.Int32

NumberToTake(ItemStack)

Declaration
virtual int NumberToTake(ItemStack stack)
Parameters
Type Name Description
ItemStack stack
Returns
Type Description
System.Int32

Extension Methods

IStackExtensions.Empty(IStack)
IStackExtensions.DisplayName(IStack)
IStackExtensions.UILink(IStack)
IStackExtensions.UILink(IStack, Int32)
IStackExtensions.UILink(IStack, Single, Int32)
StackFac.Modify(IStack, Int32)
StackFac.AddQuantity(IStack, Int32)
TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
StackExtensions.ClampActionDelta(IStack, IItemTransferGameAction)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾