summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 11:49:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 11:49:43 +0300
commit3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c (patch)
treee91b6f167d8e062b4cc23efb3ca4ce194a088877 /src/net/tmwa
parentf1d3e3325d28a43f838052385ad798527dff9c2d (diff)
downloadmv-3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c.tar.gz
mv-3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c.tar.bz2
mv-3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c.tar.xz
mv-3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c.zip
eathena: add packet CMSG_PLAYER_FAVORITE_ITEM 0x0907.
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 3476cb10a..811ce6c3b 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -226,6 +226,11 @@ void InventoryHandler::insertCard(const int cardIndex A_UNUSED,
{
}
+void InventoryHandler::favoriteItem(const Item *const item A_UNUSED,
+ const bool favorite 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 3d9fea657..b352e3b7f 100644
--- a/src/net/tmwa/inventoryhandler.h
+++ b/src/net/tmwa/inventoryhandler.h
@@ -63,6 +63,9 @@ class InventoryHandler final : public MessageHandler,
void insertCard(const int cardIndex,
const int itemIndex) const override final;
+ void favoriteItem(const Item *const item,
+ const bool favorite) const override final;
+
protected:
void processPlayerEquipment(Net::MessageIn &msg);