diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 01:34:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 01:34:40 +0300 |
commit | b89bb9d7233acad1cefda6c393a930456a1f74da (patch) | |
tree | eb98bf2d7f7589158083b41cc1e3f0754a3b77b4 /src/net/tmwa | |
parent | cbefa4969b51ec75c0ca6efd89e86ef71496f75f (diff) | |
download | manaplus-b89bb9d7233acad1cefda6c393a930456a1f74da.tar.gz manaplus-b89bb9d7233acad1cefda6c393a930456a1f74da.tar.bz2 manaplus-b89bb9d7233acad1cefda6c393a930456a1f74da.tar.xz manaplus-b89bb9d7233acad1cefda6c393a930456a1f74da.zip |
eathena: add packet CMSG_PLAYER_INSERT_CARD 0x017c.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/inventoryhandler.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index c7f76b6b0..7e5bf3946 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -218,6 +218,11 @@ void InventoryHandler::useCard(const int index A_UNUSED) const { } +void InventoryHandler::insertCard(const int cardIndex A_UNUSED, + const int itemIndex A_UNUSED) const +{ +} + void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg) { BLOCK_START("InventoryHandler::processPlayerEquipment") diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h index 09e6f1027..f6ca9aa00 100644 --- a/src/net/tmwa/inventoryhandler.h +++ b/src/net/tmwa/inventoryhandler.h @@ -60,6 +60,9 @@ class InventoryHandler final : public MessageHandler, void useCard(const int index) const override final; + void insertCard(const int cardIndex, + const int itemIndex) const override final; + protected: void processPlayerEquipment(Net::MessageIn &msg); |