Interface IInventory
Namespace: OblivionMp.Sdk.Common.Archetypes.Mixins
Assembly: OblivionMp.Sdk.Common.dll
The item list of an entity, so one set of transfer rules serves a corpse and a chest.
public interface IInventory
Properties
ItemsCount
How many entries the inventory holds.
int ItemsCount { get; }
Property Value
Methods
AddItems(in InventoryEntry)
Adds value to the end of the inventory.
void AddItems(in InventoryEntry value)
Parameters
value InventoryEntry
GetItems(int)
The entry at index.
InventoryEntry GetItems(int index)
Parameters
index int
Returns
InventoryEntry
InsertItems(int, in InventoryEntry)
Inserts value at index.
void InsertItems(int index, in InventoryEntry value)
Parameters
index int
value InventoryEntry
RemoveAtItems(int)
Removes the entry at index and returns it.
InventoryEntry RemoveAtItems(int index)
Parameters
index int
Returns
InventoryEntry