LevelComplete

Introduction

  • Backend Name: level_complete

  • Description: The player completed a level

  • Event Type: Level

  • Priority: P1

Parameters

NameTypeSelectBackend nameDescription
additionalDataDictionaryOptionaladditional_dataAny additional information
attemptNumintOptionallevel_attemptThe attempt number
levelCollection1stringOptionallevel_collection1The level collection
levelCollection2stringOptionallevel_collection2
levelNumintRequiredlevel_numThe level number
missionNamestringOptionalmission_name
missionTypestringOptionalmission_typeIndicate the type of the mission, level, task, quests etc.
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.
scoreintOptionaluser_scoreThe game score

Code example

LionAnalytics.LevelComplete(25, 10, 1529, "main_25", "main_25_15", "runner", "run_fast_01");