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

Class RustItemState

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

Constructors

| Improve this Doc View Source

RustItemState(Item)

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

Properties

| 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)