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.cpp12
1 files changed, 12 insertions, 0 deletions
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