event
onEquip (client-side)
Available since version: 0.0.1
This event can be canceled
This event is triggered when hero is equipping new item or changing it, e.g: changing pirate armor to paladin armor.
Parameters
Item item
Item
item: the item object. For more information see Item class.