From 3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Sep 2014 11:49:43 +0300 Subject: eathena: add packet CMSG_PLAYER_FAVORITE_ITEM 0x0907. --- src/net/tmwa/inventoryhandler.cpp | 5 +++++ src/net/tmwa/inventoryhandler.h | 3 +++ 2 files changed, 8 insertions(+) (limited to 'src/net/tmwa') 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); -- cgit v1.2.3-70-g09d2