diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-09 21:42:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-09 21:42:03 +0300 |
commit | 37d7bd3163ad58391df36363b6f0135c638fbeb8 (patch) | |
tree | a4a13cb66e13dd0e3576f77c6f17057fde2004d2 /src/net/eathena/searchstorehandler.cpp | |
parent | 76bbb31b1d9b1b8c22614ac91e765519194257d8 (diff) | |
download | plus-37d7bd3163ad58391df36363b6f0135c638fbeb8.tar.gz plus-37d7bd3163ad58391df36363b6f0135c638fbeb8.tar.bz2 plus-37d7bd3163ad58391df36363b6f0135c638fbeb8.tar.xz plus-37d7bd3163ad58391df36363b6f0135c638fbeb8.zip |
eathena: add partial support for packet SMSG_SEARCHSTORE_CLICK_ACK 0x083d.
Diffstat (limited to 'src/net/eathena/searchstorehandler.cpp')
-rw-r--r-- | src/net/eathena/searchstorehandler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/searchstorehandler.cpp b/src/net/eathena/searchstorehandler.cpp index a90a1d299..ed23b1dda 100644 --- a/src/net/eathena/searchstorehandler.cpp +++ b/src/net/eathena/searchstorehandler.cpp @@ -42,6 +42,7 @@ SearchStoreHandler::SearchStoreHandler() : SMSG_SEARCHSTORE_SEARCH_ACK, SMSG_SEARCHSTORE_SEARCH_FAILED, SMSG_SEARCHSTORE_OPEN, + SMSG_SEARCHSTORE_CLICK_ACK, 0 }; handledMessages = _messages; @@ -64,6 +65,10 @@ void SearchStoreHandler::handleMessage(Net::MessageIn &msg) processSearchOpen(msg); break; + case SMSG_SEARCHSTORE_CLICK_ACK: + processSearchClickAck(msg); + break; + default: break; } @@ -163,4 +168,10 @@ void SearchStoreHandler::processSearchOpen(Net::MessageIn &msg) msg.readUInt8("uses"); } +void SearchStoreHandler::processSearchClickAck(Net::MessageIn &msg) +{ + msg.readInt16("x"); + msg.readInt16("y"); +} + } // namespace EAthena |