From f8bfed03f76e377bd036d502663f3b9d3268a4a5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 7 Jan 2015 12:51:43 +0300 Subject: eathena: add partial support for packet SMSG_VENDING_HIDE_BOARD 0x0132. --- src/net/eathena/vendinghandler.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/net/eathena/vendinghandler.cpp') diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp index 8605cbe98..8a1dd2ba8 100644 --- a/src/net/eathena/vendinghandler.cpp +++ b/src/net/eathena/vendinghandler.cpp @@ -36,6 +36,7 @@ VendingHandler::VendingHandler() : { SMSG_VENDING_OPEN_REQ, SMSG_VENDING_SHOW_BOARD, + SMSG_VENDING_HIDE_BOARD, 0 }; handledMessages = _messages; @@ -54,6 +55,10 @@ void VendingHandler::handleMessage(Net::MessageIn &msg) processShowBoard(msg); break; + case SMSG_VENDING_HIDE_BOARD: + processHideBoard(msg); + break; + default: break; } @@ -70,4 +75,9 @@ void VendingHandler::processShowBoard(Net::MessageIn &msg) msg.readString(80, "shop name"); } +void VendingHandler::processHideBoard(Net::MessageIn &msg) +{ + msg.readInt32("owner id"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2