From 5b0506f5c2c43b155ad18eb346bf381b447f1281 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 15:14:42 +0300 Subject: eathena: add packet CMSG_AUCTION_BID 0x024f. --- src/net/eathena/auctionhandler.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/net/eathena/auctionhandler.cpp') diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index afb5adbb5..0afe441a9 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -161,4 +161,12 @@ void AuctionHandler::close(const int auctionId) const outMsg.writeInt32(auctionId, "auction id"); } +void AuctionHandler::bid(const int auctionId, + const int money) const +{ + createOutPacket(CMSG_AUCTION_BID); + outMsg.writeInt32(auctionId, "auction id"); + outMsg.writeInt32(money, "money"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2