summaryrefslogtreecommitdiff
path: root/src/net/eathena/searchstorehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-09 21:42:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-09 21:42:03 +0300
commit37d7bd3163ad58391df36363b6f0135c638fbeb8 (patch)
treea4a13cb66e13dd0e3576f77c6f17057fde2004d2 /src/net/eathena/searchstorehandler.cpp
parent76bbb31b1d9b1b8c22614ac91e765519194257d8 (diff)
downloadmanaverse-37d7bd3163ad58391df36363b6f0135c638fbeb8.tar.gz
manaverse-37d7bd3163ad58391df36363b6f0135c638fbeb8.tar.bz2
manaverse-37d7bd3163ad58391df36363b6f0135c638fbeb8.tar.xz
manaverse-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.cpp11
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