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(
action: "Creating_Walls",
itemID: "SP_Main_01",
itemName: "Bricks",
itemType: "Building_Blocks");Last updated
Was this helpful?