68 const int n_items = (
msg.getLength() - 4) / 10;
74 for (
int k = 0; k < n_items; k++)
77 const int value =
msg.readInt32(
"value");
78 msg.readInt32(
"value?");
const BeingId BeingId_zero
Item * getItem(const int index) const
Equipped isEquipped() const
void addItem(const Item *const item, const int price)
void setMoney(const int amount)
static const int INVENTORY_OFFSET
const bool Equipped_false
bool msg(InputEvent &event)
void processNpcSell(Net::MessageIn &msg)
void processNpcBuySellChoice(Net::MessageIn &msg)
void notify(const unsigned int message)
Inventory * getInventory()
int32_t getAttribute(const AttributesT id)