MissionStep

This event allows you to track partial progress towards completing a mission. If there are some natural steps or breakpoints during a mission, fire the MissionStep events.

Name
Type
Select
Backend name
Description

missionType

string

Required

mission_type

Indicate the type of the mission, level, task, quests etc.

missionName

string

Required

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.

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

reward

Reward

Optional

reward

If rewards are given to the player at the time of the event

stepName

string

Optional

step_name

The name of this mission step

isGamePlay

bool

Optional

is_gameplay

Indicate that mission is gameplay or not.

Code examples:

LionAnalytics.MissionStep(
        missionType: "main",
        missionName: "main_2",
        missionID: 2,
        missionAttempt: 10,
        additionalData: null,
        reward: null,
        stepName: "revive",
        isGamePlay: true);

Last updated

Was this helpful?