Skip to content

event onTakeItem (client-side)

Available since version: 0.3.0

Triggered when the hero takes an item from the ground.

Parameters

void onTakeItem(string item, bool synchronized)
  • string item: Item instance.
  • bool synchronized: True when pickup is synchronized with the server.