49 outMsg.writeInt16(0,
"type");
53 const int amount)
const
60 outMsg.writeInt32(amount,
"amount");
65 const int hours)
const
68 outMsg.writeInt32(currentPrice,
"now money");
69 outMsg.writeInt32(maxPrice,
"max money");
70 outMsg.writeInt32(hours,
"delete hour");
76 outMsg.writeInt32(auctionId,
"auction id");
82 outMsg.writeInt32(auctionId,
"auction id");
86 const int money)
const
89 outMsg.writeInt32(auctionId,
"auction id");
90 outMsg.writeInt32(money,
"money");
95 const std::string &text,
99 outMsg.writeInt16(
CAST_S16(type),
"search type");
100 outMsg.writeInt32(auctionId,
"auction id");
101 outMsg.writeString(text, 24,
"search text");
102 outMsg.writeInt16(
CAST_S16(page),
"page");
108 outMsg.writeInt16(1,
"buy/sell type");
114 outMsg.writeInt16(0,
"buy/sell type");
Net::AuctionHandler * auctionHandler
AuctionSearchType ::T AuctionSearchTypeT
void cancel(const int auctionId) const
void reg(const int currentPrice, const int maxPrice, const int hours) const
void setItem(const Item *const item, const int amount) const
void search(const AuctionSearchTypeT type, const int auctionId, const std::string &text, const int page) const
void close(const int auctionId) const
void bid(const int auctionId, const int money) const
static const int INVENTORY_OFFSET
#define createOutPacket(name)