Interface IInventoryPage
Represents a page of an inventory.
Namespace: OpenMod.Extensions.Games.Abstractions.Items
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IInventoryPage : IReadOnlyCollection<IInventoryItem>Properties
| Improve this Doc View SourceCapacity
Gets the maximum amount of items this page can hold.
Declaration
int Capacity { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Inventory
The inventory this page belongs to.
Declaration
IInventory Inventory { get; }Property Value
| Type | Description | 
|---|---|
| IInventory | 
IsFull
Checks if the page is full.
Declaration
bool IsFull { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
IsReadOnly
Checks if the player can only view the content.
Declaration
bool IsReadOnly { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Items
Gets the items this page holds.
Declaration
IReadOnlyCollection<IInventoryItem> Items { get; }Property Value
| Type | Description | 
|---|---|
| IReadOnlyCollection<IInventoryItem> | 
Name
Gets the name of this page.
Declaration
string Name { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
