Show / Hide Table of Contents

Class FractionalItemStack

Inheritance
System.Object
FractionalItemStack
Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public class FractionalItemStack : Object

Constructors

FractionalItemStack(Item, Single)

Declaration
public FractionalItemStack(Item item, float quantity)
Parameters
Type Name Description
Item item
System.Single quantity

Fields

Item

Declaration
public Item Item
Field Value
Type Description
Item

Quantity

Declaration
public float Quantity
Field Value
Type Description
System.Single

Properties

ItemType

Declaration
public Type ItemType { get; }
Property Value
Type Description
System.Type

Methods

AddQuantity(Single)

Declaration
public void AddQuantity(float quantity)
Parameters
Type Name Description
System.Single quantity

Merge(Item, Single, Boolean)

Declaration
public void Merge(Item item, float quantity, bool splittingStack)
Parameters
Type Name Description
Item item
System.Single quantity
System.Boolean splittingStack

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