From b99884f2536ee8c850f9957dac0ef73043693f92 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 Feb 2015 18:55:29 +0300 Subject: eathena: add partial support for packet SMSG_BUYINGSTORE_HIDE_BOARD 0x0816 --- src/net/eathena/buyingstorehandler.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/net/eathena/buyingstorehandler.cpp') diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index 7801fb5f4..efcdc6d0c 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -46,6 +46,7 @@ BuyingStoreHandler::BuyingStoreHandler() : SMSG_BUYINGSTORE_CREATE_FAILED, SMSG_BUYINGSTORE_OWN_ITEMS, SMSG_BUYINGSTORE_SHOW_BOARD, + SMSG_BUYINGSTORE_HIDE_BOARD, 0 }; handledMessages = _messages; @@ -72,6 +73,10 @@ void BuyingStoreHandler::handleMessage(Net::MessageIn &msg) processBuyingStoreShowBoard(msg); break; + case SMSG_BUYINGSTORE_HIDE_BOARD: + processBuyingStoreHideBoard(msg); + break; + default: break; } @@ -124,6 +129,11 @@ void BuyingStoreHandler::processBuyingStoreShowBoard(Net::MessageIn &msg) msg.readString(80, "board name"); } +void BuyingStoreHandler::processBuyingStoreHideBoard(Net::MessageIn &msg) +{ + msg.readInt32("account id"); +} + void BuyingStoreHandler::create(const std::string &name, const int maxMoney, const bool flag, -- cgit v1.2.3-60-g2f50