From 6ace9d3915924faf32340efba799deba2acc69ee Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 01:53:15 +0300 Subject: eathena: add partial support for packet SMSG_AUCTION_SET_ITEM 0x0256. --- src/net/eathena/auctionhandler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/eathena/auctionhandler.cpp') diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index be2a55067..4a4ebbb99 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -36,6 +36,7 @@ AuctionHandler::AuctionHandler() : { SMSG_AUCTION_OPEN_WINDOW, SMSG_AUCTION_RESULTS, + SMSG_AUCTION_SET_ITEM, 0 }; handledMessages = _messages; @@ -54,6 +55,10 @@ void AuctionHandler::handleMessage(Net::MessageIn &msg) processAuctionResults(msg); break; + case SMSG_AUCTION_SET_ITEM: + processAuctionSetItem(msg); + break; + default: break; } @@ -88,4 +93,10 @@ void AuctionHandler::processAuctionResults(Net::MessageIn &msg) } } +void AuctionHandler::processAuctionSetItem(Net::MessageIn &msg) +{ + msg.readInt16("index"); + msg.readUInt8("flag"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50