MissionFailed
The player failed a mission
Name
Type
Select
Backend name
Description
missionType
string
Optional
mission_type
Indicate the type of the mission, level, task, quests etc.
missionName
string
Optional
mission_name
Specifies the level grouping (e.g., season, bundle, pack). A single missionID may be paired with different missionName parameters.
missionID
int
Required
mission_id
The unique ID for the mission.
userScore
int
Optional
user_score
The player's score
missionAttempt
int
Optional
mission_attempt
Number of times user has played Game Level N (second play of Game Level N = 2)
additionalData
Dictionary<string, object>
Optional
additional_data
Any additional information
failReason
string
Optional
fail_reason
Code examples:
LionAnalytics.MissionFailed("bossFight", "fight_level_12", 3, 2568, 10);
Last updated