diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-18 18:12:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-18 18:12:33 +0300 |
commit | 5f8e616fee9bbf1634ac9e8deb86770c074ce887 (patch) | |
tree | 375118c118a748cd4cbc5088c668f0bbd5bf051b /src/net/eathena/inventoryhandler.cpp | |
parent | 26487f01c0f6367e6405c277b3b23b6351981b75 (diff) | |
download | plus-5f8e616fee9bbf1634ac9e8deb86770c074ce887.tar.gz plus-5f8e616fee9bbf1634ac9e8deb86770c074ce887.tar.bz2 plus-5f8e616fee9bbf1634ac9e8deb86770c074ce887.tar.xz plus-5f8e616fee9bbf1634ac9e8deb86770c074ce887.zip |
eathena: add partial support for packet SMSG_BIND_ITEM 0x02d3.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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 |