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

Class NullItemState

Represents the null item state for items that do not have a state.

Inheritance
System.Object
NullItemState
Implements
IItemState
Namespace: OpenMod.Extensions.Games.Abstractions.Items
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public class NullItemState : object, IItemState

Properties

| Improve this Doc View Source

Instance

Declaration
public static NullItemState Instance { get; }
Property Value
Type Description
NullItemState
| Improve this Doc View Source

ItemAmount

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

ItemDurability

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

ItemQuality

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

StateData

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

Implements

IItemState

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)