ItemActioned

Introduction

  • Backend Name: item_actioned

  • Description: The player used an item.

  • Event Type: Game

  • Priority: P3

Parameters

NameTypeSelectBackend nameDescription
actionstringRequiredactionName of the action taken by player.
additionalDataDictionaryOptionaladditional_dataAny additional information
itemIDstringRequireditem_idInternal ID of an item within the game
itemNamestringRequireditem_nameName of the item
itemTypestringRequireditem_typeThe type of item that is being interacted with, could be a spell, weapon, etc.

Code example


LionAnalytics.ItemActioned("Creating_Walls", "SP_Main_01", "Bricks", "Building_Blocks", additionalData);