Skip to main content

ItemCount

A class in Root.Township, Alta.Inventory.

An item and an amount, used for smelting recipe inputs and outputs.

Constructors​

MemberWhat it is
ItemCount()Creates an ItemCount with default values.

Fields​

2 private and internal fields
MemberWhat it is
private int countBacking field for Count.
private Item itemBacking field for Item.

Properties​

MemberWhat it is
int Count { get; }How many of the item.
Item Item { get; }The item.

Used in​

Members of other types that take, return or hold a ItemCount: