45 const int itemId =
msg.readItemId(
"item id");
47 if (
msg.getVersion() >= 20130000)
48 itemType =
static_cast<ItemTypeT>(
msg.readInt16(
"type"));
51 const int x =
msg.readInt16(
"x");
52 const int y =
msg.readInt16(
"y");
55 const int amount =
msg.readInt16(
"count");
58 msg.readUInt8(
"show drop effect");
59 msg.readInt16(
"show effect mode");
81 const int itemId =
msg.readInt16(
"item id");
86 const uint8_t refine =
msg.readUInt8(
"refine");
89 cards[f] =
msg.readUInt16(
"card");
90 const int x =
msg.readInt16(
"x");
91 const int y =
msg.readInt16(
"y");
92 const int amount =
msg.readInt16(
"amount");
116 msg.readInt16(
"len");
117 msg.readUInt8(
"type");
118 msg.readItemId(
"item id");
119 msg.readUInt8(
"len");
120 msg.readString(24,
"name");
121 msg.readUInt8(
"monster name len");
122 msg.readString(24,
"monster name");
127 const BeingId id =
msg.readBeingId(
"item object id");
128 const int itemId =
msg.readItemId(
"item id");
131 const int x =
msg.readInt16(
"x");
132 const int y =
msg.readInt16(
"y");
133 const int amount =
msg.readInt16(
"amount");
155 const BeingId id =
msg.readBeingId(
"item object id");
156 const int itemId =
msg.readInt16(
"item id");
158 msg.readUInt8(
"type"));
162 const uint8_t refine =
msg.readUInt8(
"refine");
165 cards[f] =
msg.readUInt16(
"card");
166 const int x =
msg.readInt16(
"x");
167 const int y =
msg.readInt16(
"y");
168 const int amount =
msg.readInt16(
"amount");
ActorManager * actorManager
#define fromBool(val, name)
FloorItem * createItem(const BeingId id, const int itemId, const int x, const int y, const ItemTypeT itemType, const int amount, const int refine, const ItemColor color, const Identified identified, const Damaged damaged, const int subX, const int subY, const int *const cards)
static ItemColor getColorFromCards(const int *const cards)
#define fromInt(val, name)
const ItemColor ItemColor_one
#define UNIMPLEMENTEDPACKET
bool msg(InputEvent &event)
void processItemDropped2(Net::MessageIn &msg)
void processItemVisible(Net::MessageIn &msg)
void processItemDropped(Net::MessageIn &msg)
void processItemVisible2(Net::MessageIn &msg)
void processItemMvpDropped(Net::MessageIn &msg)