Interface IItemState
Represents the state of an item.
Namespace: OpenMod.Extensions.Games.Abstractions.Items
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IItemState
Properties
| Improve this Doc View SourceItemAmount
Gets the amount of the item.
Declaration
double ItemAmount { get; }
Property Value
Type | Description |
---|---|
System.Double |
ItemDurability
Gets the durability of the item.
Declaration
double ItemDurability { get; }
Property Value
Type | Description |
---|---|
System.Double |
ItemQuality
Gets the quality of the item.
Declaration
double ItemQuality { get; }
Property Value
Type | Description |
---|---|
System.Double |
StateData
Gets the state of the item.
Declaration
byte[] StateData { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |