ItemActioned
The player used an item.
Name
Type
Select
Backend name
Description
action
string
Required
action
Name of the action taken by player.
itemID
string
Required
item_id
Internal ID of an item within the game
itemName
string
Required
item_name
Name of the item
itemType
string
Required
item_type
The type of item that is being interacted with, could be a spell, weapon, etc.
additionalData
Dictionary<string, object>
Optional
additional_data
Any additional information
reward
Reward
Optional
reward
The reward object which contains the name, type, amount and such.
Code examples:
LionAnalytics.ItemActioned("Creating_Walls", "SP_Main_01", "Bricks", "Building_Blocks", additionalData);
Last updated