summaryrefslogtreecommitdiff
path: root/src/net/eathena/auctionhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 15:14:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 15:14:42 +0300
commit5b0506f5c2c43b155ad18eb346bf381b447f1281 (patch)
tree1c11c1bde031254768d4c6480ff0eddfba6da81b /src/net/eathena/auctionhandler.cpp
parent4002c63e4164fa496038dee0e9cad2f5e1598772 (diff)
downloadplus-5b0506f5c2c43b155ad18eb346bf381b447f1281.tar.gz
plus-5b0506f5c2c43b155ad18eb346bf381b447f1281.tar.bz2
plus-5b0506f5c2c43b155ad18eb346bf381b447f1281.tar.xz
plus-5b0506f5c2c43b155ad18eb346bf381b447f1281.zip
eathena: add packet CMSG_AUCTION_BID 0x024f.
Diffstat (limited to 'src/net/eathena/auctionhandler.cpp')
-rw-r--r--src/net/eathena/auctionhandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp
index afb5adbb5..0afe441a9 100644
--- a/src/net/eathena/auctionhandler.cpp
+++ b/src/net/eathena/auctionhandler.cpp
@@ -161,4 +161,12 @@ void AuctionHandler::close(const int auctionId) const
outMsg.writeInt32(auctionId, "auction id");
}
+void AuctionHandler::bid(const int auctionId,
+ const int money) const
+{
+ createOutPacket(CMSG_AUCTION_BID);
+ outMsg.writeInt32(auctionId, "auction id");
+ outMsg.writeInt32(money, "money");
+}
+
} // namespace EAthena