summaryrefslogtreecommitdiff
path: root/src/net/eathena/buyingstorehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-05 18:29:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-05 18:29:23 +0300
commitd7299e26a1be102a1b742fcd5a2fb9cc2656f5e8 (patch)
tree16e6234a9ee2c55e9a3d5721d1906c90fda44e8e /src/net/eathena/buyingstorehandler.cpp
parentd6c8bf2539488c986c8857263e379ee35b8b75a4 (diff)
downloadmanaplus-d7299e26a1be102a1b742fcd5a2fb9cc2656f5e8.tar.gz
manaplus-d7299e26a1be102a1b742fcd5a2fb9cc2656f5e8.tar.bz2
manaplus-d7299e26a1be102a1b742fcd5a2fb9cc2656f5e8.tar.xz
manaplus-d7299e26a1be102a1b742fcd5a2fb9cc2656f5e8.zip
eathena: add partial support for packet SMSG_BUYINGSTORE_SHOW_BOARD 0x0814
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 29d6c86c5..519c30aae 100644
--- a/src/net/eathena/buyingstorehandler.cpp
+++ b/src/net/eathena/buyingstorehandler.cpp
@@ -45,6 +45,7 @@ BuyingStoreHandler::BuyingStoreHandler() :
SMSG_BUYINGSTORE_OPEN,
SMSG_BUYINGSTORE_CREATE_FAILED,
SMSG_BUYINGSTORE_OWN_ITEMS,
+ SMSG_BUYINGSTORE_SHOW_BOARD,
0
};
handledMessages = _messages;
@@ -67,6 +68,10 @@ void BuyingStoreHandler::handleMessage(Net::MessageIn &msg)
processBuyingStoreOwnItems(msg);
break;
+ case SMSG_BUYINGSTORE_SHOW_BOARD:
+ processBuyingStoreShowBoard(msg);
+ break;
+
default:
break;
}
@@ -113,6 +118,12 @@ void BuyingStoreHandler::processBuyingStoreOwnItems(Net::MessageIn &msg)
}
}
+void BuyingStoreHandler::processBuyingStoreShowBoard(Net::MessageIn &msg)
+{
+ msg.readInt32("account id");
+ msg.readString(80, "board name");
+}
+
void BuyingStoreHandler::create(const std::string &name,
const int maxMoney,
const bool flag,