summaryrefslogtreecommitdiff
path: root/src/net/manaserv/inventoryhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/inventoryhandler.h')
-rw-r--r--src/net/manaserv/inventoryhandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/manaserv/inventoryhandler.h b/src/net/manaserv/inventoryhandler.h
index 446105ee..c9192525 100644
--- a/src/net/manaserv/inventoryhandler.h
+++ b/src/net/manaserv/inventoryhandler.h
@@ -63,6 +63,8 @@ class EquipBackend : public Equipment::Backend, public EventListener
Position getBoxPosition(unsigned int slotIndex) const;
+ const std::string& getBoxBackground(unsigned int slotIndex) const;
+
private:
void readEquipFile();
@@ -114,6 +116,7 @@ class EquipBackend : public Equipment::Backend, public EventListener
typedef std::map<unsigned int, Slot> Slots;
Slots mSlots;
std::vector<Position> mBoxesPositions;
+ std::vector<std::string> mBoxesBackgroundFile;
};
class InventoryHandler : public MessageHandler, Net::InventoryHandler,
@@ -142,6 +145,9 @@ class InventoryHandler : public MessageHandler, Net::InventoryHandler,
Position getBoxPosition(unsigned int slotIndex) const
{ return mEquipBackend.getBoxPosition(slotIndex); }
+ const std::string& getBoxBackground(unsigned int slotIndex) const
+ { return mEquipBackend.getBoxBackground(slotIndex); }
+
private:
EquipBackend mEquipBackend;
};