ItemCollected
Introduction
Backend Name:
item_collected
Description: The player picked up or was gifted an item.
Event Type:
Game
Priority:
P3
Parameters
Name | Type | Select | Backend name | Description |
---|---|---|---|---|
additionalData | Dictionary |
Optional | additional_data | Any additional information |
reward | Reward | Required | reward | If rewards are given to the player at the time of the event, the reward object is used to track the items (e.g., boosters, coins, gems, etc) or currencies gifted or earned by the player to the player. |
Code example
LionAnalytics.ItemCollected(new Reward(new Product("BiggerBackpack", "Storage", 1)));