diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-16 11:49:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-16 11:49:43 +0300 |
commit | 3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c (patch) | |
tree | e91b6f167d8e062b4cc23efb3ca4ce194a088877 /src/net/tmwa | |
parent | f1d3e3325d28a43f838052385ad798527dff9c2d (diff) | |
download | plus-3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c.tar.gz plus-3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c.tar.bz2 plus-3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c.tar.xz plus-3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c.zip |
eathena: add packet CMSG_PLAYER_FAVORITE_ITEM 0x0907.
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 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); |