OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

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 Source

ItemAmount

Gets the amount of the item.

Declaration
double ItemAmount { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

ItemDurability

Gets the durability of the item.

Declaration
double ItemDurability { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

ItemQuality

Gets the quality of the item.

Declaration
double ItemQuality { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

StateData

Gets the state of the item.

Declaration
byte[] StateData { get; }
Property Value
Type Description
System.Byte[]

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)