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

Class RustPlayerInventory

Inheritance
System.Object
RustPlayerInventory
Implements
IInventory
IReadOnlyCollection<IInventoryPage>
Namespace: OpenMod.Rust.Items
Assembly: OpenMod.Rust.dll
Syntax
public class RustPlayerInventory : object, IInventory, IReadOnlyCollection<IInventoryPage>

Constructors

| Improve this Doc View Source

RustPlayerInventory(PlayerInventory)

Declaration
public RustPlayerInventory(PlayerInventory playerInventory)
Parameters
Type Name Description
PlayerInventory playerInventory

Properties

| Improve this Doc View Source

Count

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IsFull

Declaration
public bool IsFull { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Pages

Declaration
public IReadOnlyCollection<IInventoryPage> Pages { get; }
Property Value
Type Description
IReadOnlyCollection<IInventoryPage>
| Improve this Doc View Source

PlayerInventory

Declaration
public PlayerInventory PlayerInventory { get; }
Property Value
Type Description
PlayerInventory

Methods

| Improve this Doc View Source

GetEnumerator()

Declaration
public IEnumerator<IInventoryPage> GetEnumerator()
Returns
Type Description
IEnumerator<IInventoryPage>

Implements

IInventory
IReadOnlyCollection<>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)