function
getItemBySlot (client-side)
Available since version: 0.0.2
The function is used to get the item from hero inventory that is on specified slot.
Declaration
Item|null getItemBySlot(int inventorySlot)
Parameters
int
inventorySlot: the inventory slot.
Returns Item|null
the item object. For more information see Item class.