From 1eea3f1102b7d8f87b076a5a8380fd71fc00d773 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Apr 2013 00:01:34 +0300 Subject: improve inventoryhandler class. --- src/net/eathena/inventoryhandler.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/net/eathena/inventoryhandler.h') diff --git a/src/net/eathena/inventoryhandler.h b/src/net/eathena/inventoryhandler.h index 77f128838..f6e87fd2a 100644 --- a/src/net/eathena/inventoryhandler.h +++ b/src/net/eathena/inventoryhandler.h @@ -44,19 +44,20 @@ class InventoryHandler final : public MessageHandler, ~InventoryHandler(); - void handleMessage(Net::MessageIn &msg); + void handleMessage(Net::MessageIn &msg) override; - void equipItem(const Item *item); + void equipItem(const Item *const item) const override; - void unequipItem(const Item *item); + void unequipItem(const Item *const item) const override; - void useItem(const Item *item); + void useItem(const Item *const item) const override; - void dropItem(const Item *item, int amount); + void dropItem(const Item *const item, const int amount) const override; - void closeStorage(int type); + void closeStorage(const int type) const override; - void moveItem2(int source, int slot, int amount, int destination); + void moveItem2(const int source, const int slot, + const int amount, const int destination) const override; }; } // namespace EAthena -- cgit v1.2.3-70-g09d2