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.cpp6
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