diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-06 01:53:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-06 01:53:15 +0300 |
commit | 6ace9d3915924faf32340efba799deba2acc69ee (patch) | |
tree | 707a93bb9126cd0747014479c7dd75999c6c2c49 /src/net/eathena/auctionhandler.cpp | |
parent | 98daaa2544a5c0d907e438ce72913202c2c3c6ce (diff) | |
download | manaverse-6ace9d3915924faf32340efba799deba2acc69ee.tar.gz manaverse-6ace9d3915924faf32340efba799deba2acc69ee.tar.bz2 manaverse-6ace9d3915924faf32340efba799deba2acc69ee.tar.xz manaverse-6ace9d3915924faf32340efba799deba2acc69ee.zip |
eathena: add partial support for packet SMSG_AUCTION_SET_ITEM 0x0256.
Diffstat (limited to 'src/net/eathena/auctionhandler.cpp')
-rw-r--r-- | src/net/eathena/auctionhandler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 |