Interface IInventory
Interface for a creature that keeps an inventory of IItems in itself, and the properties it imbues the owner ICreature with.
Namespace: Fibula.Creatures.Contracts.Abstractions
Assembly: Fibula.Creatures.Contracts.dll
Syntax
public interface IInventory
Properties
| Improve this Doc View SourceItem[Byte]
Gets the IItem at a given position of this inventory.
Declaration
IItem this[byte position] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Byte | position | The position where to get the item from. |
Property Value
Type | Description |
---|---|
IItem | The IItem, if any was found. |
Owner
Gets a reference to the owner of this inventory.
Declaration
ICreature Owner { get; }
Property Value
Type | Description |
---|---|
ICreature |