summaryrefslogtreecommitdiff
path: root/src/net/eathena/buyingstorehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/buyingstorehandler.cpp')
-rw-r--r--src/net/eathena/buyingstorehandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp
index cc3972d40..346f81b07 100644
--- a/src/net/eathena/buyingstorehandler.cpp
+++ b/src/net/eathena/buyingstorehandler.cpp
@@ -39,6 +39,7 @@ BuyingStoreHandler::BuyingStoreHandler() :
{
static const uint16_t _messages[] =
{
+ SMSG_BUYINGSTORE_OPEN,
0
};
handledMessages = _messages;
@@ -49,9 +50,19 @@ void BuyingStoreHandler::handleMessage(Net::MessageIn &msg)
{
switch (msg.getId())
{
+ case SMSG_BUYINGSTORE_OPEN:
+ processBuyingStoreOpen(msg);
+ break;
+
default:
break;
}
}
+void BuyingStoreHandler::processBuyingStoreOpen(Net::MessageIn &msg)
+{
+ // +++ need create store dialog
+ msg.readUInt8("slots");
+}
+
} // namespace EAthena