43 std::string
getSlotName(
int slotIndex)
const override;
44 void clear()
override;
46 void equip(
int inventorySlot,
int equipmentSlot);
47 void unequip(
int inventorySlot);
64 const std::string &
getBoxIcon(
unsigned int slotIndex)
const;
114 size_t getSize(
int type)
const override;
131 const std::string&
getBoxIcon(
unsigned int slotIndex)
const override
Represents one or more instances of a certain item type.
void readEquipFile() override
unsigned int mVisibleSlots
std::string getSlotName(int slotIndex) const override
int getSlotNumber() const override
Position getBoxPosition(unsigned int slotIndex) const
void event(Event::Channel channel, const Event &event) override
std::map< unsigned int, Slot > mSlots
bool isWeaponSlot(int slotTypeId) const
unsigned int getVisibleSlotsNumber() const
std::vector< std::string > mBoxIcons
std::vector< Position > mBoxPositions
void unequip(int inventorySlot)
const std::string & getBoxIcon(unsigned int slotIndex) const
void equip(int inventorySlot, int equipmentSlot)
void readBoxNode(XML::Node slotNode)
bool isAmmoSlot(int slotTypeId) const
Item * getEquipment(int slotIndex) const override
void triggerUnequip(int slotIndex) const override
EquipBackend mEquipBackend
size_t getSize(int type) const override
const std::string & getBoxIcon(unsigned int slotIndex) const override
Equipment::Backend * getEquipmentBackend() override
unsigned int getVisibleSlotsNumber() const override
bool isAmmoSlot(unsigned int slotTypeId) const override
bool isWeaponSlot(unsigned int slotTypeId) const override
Position getBoxPosition(unsigned int slotIndex) const override
void event(Event::Channel channel, const Event &event) override
void handleMessage(MessageIn &msg) override
Used for parsing an incoming message from manaserv.
A position along a being's path.