41 const int count = (
msg.readInt16(
"len") - 4) / (
itemIdLen * 2 + 17);
42 for (
int f = 0; f < count; f ++)
44 msg.readItemId(
"item id");
45 msg.readUInt8(
"item type");
46 msg.readInt32(
"amount");
47 msg.readItemId(
"currency item id");
48 msg.readInt32(
"currency amount");
49 msg.readInt32(
"weight");
50 msg.readInt32(
"shop index");
bool msg(InputEvent &event)
void processOpenShop(Net::MessageIn &msg)