From 0335e7660cd45d85cbd912510b9d2967bdba553d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 13:22:51 +0300 Subject: eathena: add packet support CMSG_AUCTION_CANCEL_REQUEST 0x024b. --- src/net/eathena/auctionhandler.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/net/eathena/auctionhandler.cpp') diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index 7827d19ce..679786bb6 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -20,6 +20,7 @@ #include "net/eathena/auctionhandler.h" +#include "net/eathena/messageout.h" #include "net/eathena/protocol.h" #include "debug.h" @@ -99,4 +100,10 @@ void AuctionHandler::processAuctionSetItem(Net::MessageIn &msg) msg.readUInt8("flag"); } +void AuctionHandler::cancelRequest() const +{ + createOutPacket(CMSG_AUCTION_CANCEL_REQUEST); + outMsg.writeInt16(0, "type"); // unused +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50