ItemCollected

Introduction

  • Backend Name: item_collected

  • Description: The player picked up or was gifted an item.

  • Event Type: Game

  • Priority: P3

Parameters

NameTypeSelectBackend nameDescription
additionalDataDictionaryOptionaladditional_dataAny additional information
rewardRewardRequiredrewardIf 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)));