59 outMsg.writeBeingId(being->
getId(),
"player id");
79 outMsg.writeInt32(amount,
"amount");
85 outMsg.writeInt16(0,
"index");
86 outMsg.writeInt32(amount,
"amount");
void request(const Being *const being) const
void respond(const bool accept) const
void setMoney(const int amount) const
void addItem(const Item *const item, const int amount) const
static const int INVENTORY_OFFSET
#define createOutPacket(name)
void setTrading(const Trading trading)
TcpNet::Socket accept(const TcpNet::Socket sock)
Net::TradeHandler * tradeHandler
std::string tradePartnerName