summaryrefslogtreecommitdiff
path: root/src/net/eathena/searchstorehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-09 18:47:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-09 18:47:19 +0300
commit43db029011d22270f4b0a6d94a13a7dca24291c3 (patch)
tree27ebcdf243ca7ef0b26d19d908e3238c595bbf8b /src/net/eathena/searchstorehandler.cpp
parent66cb4abf50fe7bb07aaedf0488b25825e5c08165 (diff)
downloadplus-43db029011d22270f4b0a6d94a13a7dca24291c3.tar.gz
plus-43db029011d22270f4b0a6d94a13a7dca24291c3.tar.bz2
plus-43db029011d22270f4b0a6d94a13a7dca24291c3.tar.xz
plus-43db029011d22270f4b0a6d94a13a7dca24291c3.zip
eathena: add partial support for packet SMSG_SEARCHSTORE_OPEN 0x083a.
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 349bd336e..8288dc0ab 100644
--- a/src/net/eathena/searchstorehandler.cpp
+++ b/src/net/eathena/searchstorehandler.cpp
@@ -41,6 +41,7 @@ SearchStoreHandler::SearchStoreHandler() :
{
SMSG_SEARCHSTORE_SEARCH_ACK,
SMSG_SEARCHSTORE_SEARCH_FAILED,
+ SMSG_SEARCHSTORE_OPEN,
0
};
handledMessages = _messages;
@@ -59,6 +60,10 @@ void SearchStoreHandler::handleMessage(Net::MessageIn &msg)
processSearchFailed(msg);
break;
+ case SMSG_SEARCHSTORE_OPEN:
+ processSearchOpen(msg);
+ break;
+
default:
break;
}
@@ -137,4 +142,10 @@ void SearchStoreHandler::processSearchFailed(Net::MessageIn &msg)
}
}
+void SearchStoreHandler::processSearchOpen(Net::MessageIn &msg)
+{
+ msg.readInt16("effect");
+ msg.readUInt8("uses");
+}
+
} // namespace EAthena