summaryrefslogtreecommitdiff
path: root/src/net/eathena/auctionhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 13:22:51 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 13:22:51 +0300
commit0335e7660cd45d85cbd912510b9d2967bdba553d (patch)
tree3df589a7c081c67aa7c81a45b5bfc443ca5c9ca5 /src/net/eathena/auctionhandler.cpp
parent3681b42535d541adf6e72b87dbb0865fa3f4aa3a (diff)
downloadplus-0335e7660cd45d85cbd912510b9d2967bdba553d.tar.gz
plus-0335e7660cd45d85cbd912510b9d2967bdba553d.tar.bz2
plus-0335e7660cd45d85cbd912510b9d2967bdba553d.tar.xz
plus-0335e7660cd45d85cbd912510b9d2967bdba553d.zip
eathena: add packet support CMSG_AUCTION_CANCEL_REQUEST 0x024b.
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