From d9467cf2772464a05c08baabd3ffa3d9d396f2d6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 13:56:17 +0300 Subject: eathena: add partial support for packet SMSG_AUCTION_MESSAGE 0x0250. --- src/net/eathena/auctionhandler.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/net/eathena/auctionhandler.cpp') diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index bcdc94aea..bbc6258bb 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -42,6 +42,7 @@ AuctionHandler::AuctionHandler() : SMSG_AUCTION_OPEN_WINDOW, SMSG_AUCTION_RESULTS, SMSG_AUCTION_SET_ITEM, + SMSG_AUCTION_MESSAGE, 0 }; handledMessages = _messages; @@ -64,6 +65,10 @@ void AuctionHandler::handleMessage(Net::MessageIn &msg) processAuctionSetItem(msg); break; + case SMSG_AUCTION_MESSAGE: + processAuctionMessage(msg); + break; + default: break; } @@ -104,6 +109,11 @@ void AuctionHandler::processAuctionSetItem(Net::MessageIn &msg) msg.readUInt8("flag"); } +void AuctionHandler::processAuctionMessage(Net::MessageIn &msg) +{ + msg.readUInt8("message"); +} + void AuctionHandler::cancelRequest() const { createOutPacket(CMSG_AUCTION_CANCEL_REQUEST); -- cgit v1.2.3-60-g2f50