summaryrefslogtreecommitdiff
path: root/src/net/manaserv/inventoryhandler.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-11 02:26:52 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-11 02:26:52 +0200
commitadfa29a6436c2bb1ff2f05ef83e2eb0fa99d6068 (patch)
tree2507ecd13f82c1152f7f05e97dee241415bf6f04 /src/net/manaserv/inventoryhandler.h
parentdcadae652ec89b554e75da8c12b6d4a655ccc888 (diff)
downloadMana-adfa29a6436c2bb1ff2f05ef83e2eb0fa99d6068.tar.gz
Mana-adfa29a6436c2bb1ff2f05ef83e2eb0fa99d6068.tar.bz2
Mana-adfa29a6436c2bb1ff2f05ef83e2eb0fa99d6068.tar.xz
Mana-adfa29a6436c2bb1ff2f05ef83e2eb0fa99d6068.zip
Adapted the client to the latest server changes.
There are two bugs left I'll take care about in the near future: - Items dealing with more than one slot capacity are only showing on the first equip slot. - The unequip button doesn't get updated when clicking on the equipped item. A client design limitation known: - The client still don't handle correctly items applied on more than one item type at equip time.
Diffstat (limited to 'src/net/manaserv/inventoryhandler.h')
-rw-r--r--src/net/manaserv/inventoryhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/inventoryhandler.h b/src/net/manaserv/inventoryhandler.h
index 255f601c..a57b493a 100644
--- a/src/net/manaserv/inventoryhandler.h
+++ b/src/net/manaserv/inventoryhandler.h
@@ -41,8 +41,8 @@ class EquipBackend : public Equipment::Backend, public EventListener
Item *getEquipment(int index) const;
void clear();
- void equip(int inventorySlot, int equipSlot, int amountUsed = 1);
- void unequip(int inventorySlot);
+ void equip(int itemId, int equipSlot, int amountUsed = 1);
+ void unequip(int equipSlot);
void event(Event::Channel channel, const Event &event);