From 5f8e616fee9bbf1634ac9e8deb86770c074ce887 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Mar 2015 18:12:33 +0300 Subject: eathena: add partial support for packet SMSG_BIND_ITEM 0x02d3. --- src/net/eathena/inventoryhandler.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 62283dd4a..9de9d2141 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -116,6 +116,7 @@ InventoryHandler::InventoryHandler() : SMSG_ITEM_DAMAGED, SMSG_PLAYER_FAVORITE_ITEM, SMSG_PLAYER_CART_ADD_ERROR, + SMSG_BIND_ITEM, 0 }; handledMessages = _messages; @@ -288,6 +289,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) processCartAddError(msg); break; + case SMSG_BIND_ITEM: + processBindItem(msg); + break; + default: break; } @@ -1120,4 +1125,11 @@ void InventoryHandler::processCartAddError(Net::MessageIn &msg) msg.readUInt8("flag"); } +void InventoryHandler::processBindItem(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt16("item index"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2