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

Class UnturnedPlayerInventory

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

Constructors

| Improve this Doc View Source

UnturnedPlayerInventory(Player)

Declaration
public UnturnedPlayerInventory(Player player)
Parameters
Type Name Description
Player player

Properties

| Improve this Doc View Source

Count

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

Inventory

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

Player

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

Methods

| Improve this Doc View Source

Clear()

Declaration
public void Clear()
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetEnumerator()

Declaration
public IEnumerator<IInventoryPage> GetEnumerator()
Returns
Type Description
IEnumerator<IInventoryPage>
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Implements

IInventory
IReadOnlyCollection<>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)