Table of Contents

Class ItemInstance

Namespace
S1API.Items
Assembly
S1API.dll

Represents an item instance in the game world (physical item you own).

public class ItemInstance
Inheritance
ItemInstance
Derived
Inherited Members
Extension Methods

Properties

Definition

The definition (template) this instance was created from.

public ItemDefinition Definition { get; }

Property Value

ItemDefinition

IsStackable

Whether this instance is stackable (based on StackLimit).

public bool IsStackable { get; }

Property Value

bool

Quantity

Current quantity of this item (stacks).

public int Quantity { get; set; }

Property Value

int