diff options
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r-- | src/net/inventoryhandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index 497a4ecb..8a67a7db 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -22,6 +22,7 @@ #ifndef INVENTORYHANDLER_H #define INVENTORYHANDLER_H +#include "equipment.h" #include "inventory.h" #include "item.h" #include "position.h" @@ -78,6 +79,8 @@ class InventoryHandler virtual unsigned int getVisibleSlotsNumber() const { return 0; } + virtual Equipment::Backend *getEquipmentBackend() = 0; + virtual Position getBoxPosition(unsigned int slotIndex) const { if (slotIndex < (sizeof(fallBackBoxesPosition) |