diff options
Diffstat (limited to 'src/net/eathena/auctionhandler.cpp')
-rw-r--r-- | src/net/eathena/auctionhandler.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index e36785218..a3c911e59 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -139,4 +139,14 @@ void AuctionHandler::setItem(const Item *const item, outMsg.writeInt32(amount, "amount"); // always 1 } +void AuctionHandler::reg(const int currentPrice, + const int maxPrice, + const int hours) const +{ + createOutPacket(CMSG_AUCTION_REGISTER); + outMsg.writeInt32(currentPrice, "now money"); + outMsg.writeInt32(maxPrice, "max money"); + outMsg.writeInt32(hours, "delete hour"); +} + } // namespace EAthena |