From 6eb12f07e8d1c813e094097dd94bf4fc450bace3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 22:18:08 +0300 Subject: eathena: add packet CMSG_AUCTION_BUY_SELL 0x025c. --- src/net/eathena/auctionhandler.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/net/eathena/auctionhandler.cpp') diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index d95cc3c6e..6ef2ca81c 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -181,4 +181,16 @@ void AuctionHandler::search(const AuctionSearchType::Type type, outMsg.writeInt16(page, "page"); } +void AuctionHandler::buy() const +{ + createOutPacket(CMSG_AUCTION_BUY_SELL); + outMsg.writeInt16(1, "buy/sell type"); +} + +void AuctionHandler::sell() const +{ + createOutPacket(CMSG_AUCTION_BUY_SELL); + outMsg.writeInt16(0, "buy/sell type"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50