From adfa29a6436c2bb1ff2f05ef83e2eb0fa99d6068 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Thu, 11 Aug 2011 02:26:52 +0200 Subject: 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. --- src/net/manaserv/inventoryhandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/manaserv/inventoryhandler.h') 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); -- cgit v1.2.3-70-g09d2