From 4028eee767414d73a4937dd61eea8d138e2a7b9e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 15:01:26 +0300 Subject: eathena: add packet CMSG_AUCTION_CANCEL 0x024e. --- src/net/eathena/auctionhandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/auctionhandler.cpp') diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index f390e2aae..45b1e2dbb 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -149,4 +149,10 @@ void AuctionHandler::reg(const int currentPrice, outMsg.writeInt32(hours, "delete hour"); } +void AuctionHandler::cancel(const int auctionId) const +{ + createOutPacket(CMSG_AUCTION_CANCEL); + outMsg.writeInt32(auctionId, "auction id"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2