summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 01:34:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 01:34:40 +0300
commitb89bb9d7233acad1cefda6c393a930456a1f74da (patch)
treeeb98bf2d7f7589158083b41cc1e3f0754a3b77b4 /src/net/tmwa
parentcbefa4969b51ec75c0ca6efd89e86ef71496f75f (diff)
downloadmv-b89bb9d7233acad1cefda6c393a930456a1f74da.tar.gz
mv-b89bb9d7233acad1cefda6c393a930456a1f74da.tar.bz2
mv-b89bb9d7233acad1cefda6c393a930456a1f74da.tar.xz
mv-b89bb9d7233acad1cefda6c393a930456a1f74da.zip
eathena: add packet CMSG_PLAYER_INSERT_CARD 0x017c.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp5
-rw-r--r--src/net/tmwa/inventoryhandler.h3
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);