diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-03 00:01:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-03 00:01:34 +0300 |
commit | 1eea3f1102b7d8f87b076a5a8380fd71fc00d773 (patch) | |
tree | c6c993c12631ff2e9f9d9784e83497caf87edbf6 /src/net/tmwa/inventoryhandler.h | |
parent | 2f6f5950605e3ffe8054f3a2675f10032ca0aaf6 (diff) | |
download | manaplus-1eea3f1102b7d8f87b076a5a8380fd71fc00d773.tar.gz manaplus-1eea3f1102b7d8f87b076a5a8380fd71fc00d773.tar.bz2 manaplus-1eea3f1102b7d8f87b076a5a8380fd71fc00d773.tar.xz manaplus-1eea3f1102b7d8f87b076a5a8380fd71fc00d773.zip |
improve inventoryhandler class.
Diffstat (limited to 'src/net/tmwa/inventoryhandler.h')
-rw-r--r-- | src/net/tmwa/inventoryhandler.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h index b112776ba..707a9169c 100644 --- a/src/net/tmwa/inventoryhandler.h +++ b/src/net/tmwa/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 TmwAthena |