diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-06 15:01:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-06 15:01:26 +0300 |
commit | 4028eee767414d73a4937dd61eea8d138e2a7b9e (patch) | |
tree | 5458292645c384a1e7a12c1b6b263a17f696ca59 /src/net/eathena/auctionhandler.cpp | |
parent | 773f760bc1a308152265c40161789d8ae318aba4 (diff) | |
download | manaplus-4028eee767414d73a4937dd61eea8d138e2a7b9e.tar.gz manaplus-4028eee767414d73a4937dd61eea8d138e2a7b9e.tar.bz2 manaplus-4028eee767414d73a4937dd61eea8d138e2a7b9e.tar.xz manaplus-4028eee767414d73a4937dd61eea8d138e2a7b9e.zip |
eathena: add packet CMSG_AUCTION_CANCEL 0x024e.
Diffstat (limited to 'src/net/eathena/auctionhandler.cpp')
-rw-r--r-- | src/net/eathena/auctionhandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 |