summaryrefslogtreecommitdiff
path: root/src/net/eathena/searchstorehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-09 18:53:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-09 18:53:28 +0300
commit020e34363763d9cd0d691ae3b3da1ead52defa4e (patch)
treef5a01d094696c5652a97f87a1b8cc8e8640939ed /src/net/eathena/searchstorehandler.cpp
parent43db029011d22270f4b0a6d94a13a7dca24291c3 (diff)
downloadmanaplus-020e34363763d9cd0d691ae3b3da1ead52defa4e.tar.gz
manaplus-020e34363763d9cd0d691ae3b3da1ead52defa4e.tar.bz2
manaplus-020e34363763d9cd0d691ae3b3da1ead52defa4e.tar.xz
manaplus-020e34363763d9cd0d691ae3b3da1ead52defa4e.zip
eathena: add packet CMSG_SEARCHSTORE_CLOSE 0x083b.
Diffstat (limited to 'src/net/eathena/searchstorehandler.cpp')
-rw-r--r--src/net/eathena/searchstorehandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/searchstorehandler.cpp b/src/net/eathena/searchstorehandler.cpp
index 8288dc0ab..fdea20615 100644
--- a/src/net/eathena/searchstorehandler.cpp
+++ b/src/net/eathena/searchstorehandler.cpp
@@ -89,6 +89,11 @@ void SearchStoreHandler::nextPage() const
createOutPacket(CMSG_SEARCHSTORE_NEXT_PAGE);
}
+void SearchStoreHandler::close() const
+{
+ createOutPacket(CMSG_SEARCHSTORE_CLOSE);
+}
+
void SearchStoreHandler::processSearchAck(Net::MessageIn &msg)
{
const int count = (msg.readInt16("len") - 7) / 106;