From d7299e26a1be102a1b742fcd5a2fb9cc2656f5e8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 Feb 2015 18:29:23 +0300 Subject: eathena: add partial support for packet SMSG_BUYINGSTORE_SHOW_BOARD 0x0814 --- src/net/eathena/buyingstorehandler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/eathena/buyingstorehandler.cpp') 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, -- cgit v1.2.3-70-g09d2