LevelUp
Introduction
Backend Name:
level_up
Description: The player leveled up. Note this is different than completing a game “level”. In this situation, if you game has the concept of “player levels”, use this event. Traditionally, “players levels” are linked with “experience points” earned during game play.
Event Type:
Game
Priority:
P5
Parameters
Name | Type | Select | Backend name | Description |
---|---|---|---|---|
additionalData | Dictionary | Optional | additional_data | Any additional information |
levelUpName | string | Required | level_up_name | The level up name |
Code example
Product product = new Product();
product.virtualCurrencies = new List<VirtualCurrency>
{ new VirtualCurrency("coins", "gold", 100) };
LionAnalytics.LevelUp("sword_level_upgrade", new Reward(product));