ItemSlot
Class in SurvivEngine.Items namespace
Implements SurvivEngine.Serialization.ISerializeDataParameters
Class in SurvivEngine.Items namespace
Implements SurvivEngine.Serialization.ISerializeDataParameters
Element of an inventory that can hold stacks of items of varying kinds.
Read-Only
The item in this item slot.
Read-Only
The index of this slot inside its parent inventory.
Called when the item assigned to this slot is changed.
Called when the count of the item in this slot is changed. Arguments are the old and the new count respectively.
Called when the durability of the item in this slot is changed. Arguments are the old and the new durability respectively.
Assigns the given item value to this item slot.
newItem The item value to assign.