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

Class RustItemContainerInventory

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

Constructors

| Improve this Doc View Source

RustItemContainerInventory(ItemContainer)

Declaration
public RustItemContainerInventory(ItemContainer itemContainer)
Parameters
Type Name Description
ItemContainer itemContainer

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

ItemContainer

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

Pages

Declaration
public IReadOnlyCollection<IInventoryPage> Pages { get; }
Property Value
Type Description
IReadOnlyCollection<IInventoryPage>

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)