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

Class UnturnedPlayerInventoryPage

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

Constructors

| Improve this Doc View Source

UnturnedPlayerInventoryPage(UnturnedPlayerInventory, Byte, SDG.Unturned.Items)

Declaration
public UnturnedPlayerInventoryPage(UnturnedPlayerInventory inventory, byte pageIndex, SDG.Unturned.Items page)
Parameters
Type Name Description
UnturnedPlayerInventory inventory
System.Byte pageIndex
SDG.Unturned.Items page

Properties

| Improve this Doc View Source

Capacity

Declaration
public int Capacity { get; }
Property Value
Type Description
System.Int32
| 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 UnturnedPlayerInventory Inventory { get; set; }
Property Value
Type Description
UnturnedPlayerInventory
| Improve this Doc View Source

IsFull

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

IsReadOnly

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

Items

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

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Page

Declaration
public SDG.Unturned.Items Page { get; }
Property Value
Type Description
SDG.Unturned.Items
| Improve this Doc View Source

PageIndex

Declaration
public byte PageIndex { get; }
Property Value
Type Description
System.Byte

Methods

| Improve this Doc View Source

GetEnumerator()

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

Explicit Interface Implementations

| Improve this Doc View Source

IInventoryPage.Inventory

Declaration
IInventory IInventoryPage.Inventory { get; }
Returns
Type Description
IInventory

Implements

IInventoryPage
IReadOnlyCollection<>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)