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.cpp7
1 files changed, 7 insertions, 0 deletions
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