71 if ((item !=
nullptr) && (item->
getQuantity() != 0))
80 for (
int i = 0; i < cnt; i++)
100 for (
int f = 0; f < 9; f++)
102 for (
int i = 0; i < sz; i++)
135 const Item *
const item = inv->
findItem(itemId, itemColor);
136 if ((item !=
nullptr) &&
160 const Item *
const item = inv->
findItem(itemId, itemColor);
bool dropItem(const int cnt)
void dropItems(const int cnt)
Item * findItem(const int itemId, const ItemColor color) const
bool isServerBuggy() const
unsigned int quickDropCounter
void clear(const bool isSave)
int getItem(const size_t index) const
ItemColor getItemColor(const size_t index) const
static const int DROP_SHORTCUT_ITEMS
DropShortcut * dropShortcut
const ItemColor ItemColor_one
LocalPlayer * localPlayer
bool limitPackets(const PacketTypeT type)
void dropItem(const Item *const item, const int amount, const Sfx sfx)
Inventory * getInventory()
bool isItemProtected(const int id)