summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 23:37:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 00:42:33 +0300
commitcbefa4969b51ec75c0ca6efd89e86ef71496f75f (patch)
tree2fb3e12eff7cba77334816fbcf1c6d51c4bd4926 /src/net/tmwa
parent1192016bf685cdba9bee4b6578e578661f689803 (diff)
downloadmanaverse-cbefa4969b51ec75c0ca6efd89e86ef71496f75f.tar.gz
manaverse-cbefa4969b51ec75c0ca6efd89e86ef71496f75f.tar.bz2
manaverse-cbefa4969b51ec75c0ca6efd89e86ef71496f75f.tar.xz
manaverse-cbefa4969b51ec75c0ca6efd89e86ef71496f75f.zip
eathena: add packet CMSG_PLAYER_USE_CARD 0x017a.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp4
-rw-r--r--src/net/tmwa/inventoryhandler.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index ccf4e6074..c7f76b6b0 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -214,6 +214,10 @@ void InventoryHandler::moveItem2(const int source, const int slot,
}
}
+void InventoryHandler::useCard(const int index 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 b19e388ac..09e6f1027 100644
--- a/src/net/tmwa/inventoryhandler.h
+++ b/src/net/tmwa/inventoryhandler.h
@@ -58,6 +58,8 @@ class InventoryHandler final : public MessageHandler,
const int amount,
const int destination) const override final;
+ void useCard(const int index) const override final;
+
protected:
void processPlayerEquipment(Net::MessageIn &msg);