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.cpp11
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