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

Class UnturnedItemState

Inheritance
System.Object
UnturnedItemState
Implements
IItemState
Namespace: OpenMod.Unturned.Items
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedItemState : object, IItemState

Constructors

| Improve this Doc View Source

UnturnedItemState(Item)

Declaration
public UnturnedItemState(Item item)
Parameters
Type Name Description
Item item

Properties

| Improve this Doc View Source

Item

Declaration
public Item Item { get; }
Property Value
Type Description
Item
| 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)