summaryrefslogtreecommitdiff
path: root/src/net/eathena/searchstorehandler.cpp
diff options
context:
space:
mode:
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