diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-06 15:08:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-06 15:08:22 +0300 |
commit | 4002c63e4164fa496038dee0e9cad2f5e1598772 (patch) | |
tree | 7edffccbbb5148d68e660f7642cd41e51ea21bc9 /src/net/eathena/auctionhandler.cpp | |
parent | 4028eee767414d73a4937dd61eea8d138e2a7b9e (diff) | |
download | manaverse-4002c63e4164fa496038dee0e9cad2f5e1598772.tar.gz manaverse-4002c63e4164fa496038dee0e9cad2f5e1598772.tar.bz2 manaverse-4002c63e4164fa496038dee0e9cad2f5e1598772.tar.xz manaverse-4002c63e4164fa496038dee0e9cad2f5e1598772.zip |
eathena: add packet CMSG_AUCTION_CLOSE 0x025d.
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 45b1e2dbb..afb5adbb5 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -155,4 +155,10 @@ void AuctionHandler::cancel(const int auctionId) const outMsg.writeInt32(auctionId, "auction id"); } +void AuctionHandler::close(const int auctionId) const +{ + createOutPacket(CMSG_AUCTION_CLOSE); + outMsg.writeInt32(auctionId, "auction id"); +} + } // namespace EAthena |