OpenEnroth 52af553
|
#include <Inventory.h>
Public Member Functions | |
InventoryEntry ()=default | |
Item * | operator-> () const |
Item & | operator* () const |
Item * | get () const |
InventoryEntry & | operator= (std::nullptr_t) |
![]() | |
InventoryConstEntry ()=default | |
operator bool () const | |
const Item * | operator-> () const |
const Item & | operator* () const |
const Item * | get () const |
InventoryZone | zone () const |
Recti | geometry () const |
ItemSlot | slot () const |
int | index () const |
bool | operator! () const |
InventoryConstEntry & | operator= (std::nullptr_t) |
Protected Member Functions | |
InventoryEntry (Inventory *inventory, int index) | |
![]() | |
InventoryConstEntry (const Inventory *inventory, int index) | |
Friends | |
class | Inventory |
Mutable counterpart to InventoryConstEntry
, allowing modification of the referenced Item
.
|
default |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |