summaryrefslogtreecommitdiff
path: root/src/net/eathena/auctionhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/auctionhandler.cpp')
-rw-r--r--src/net/eathena/auctionhandler.cpp10
1 files changed, 10 insertions, 0 deletions
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);