Skip to main content

ChallengeAnalyticsEvent

A class in Root.Township, ATT.Analytics.

Analytics event for challenge progress (start, exit, respawn, checkpoint, complete), with the unlock, orbs collected and checkpoint.

Constructors​

MemberWhat it is
ChallengeAnalyticsEvent(string eventName, PlayerUnlock unlock)Creates a ChallengeAnalyticsEvent from eventName, unlock, numberOfOrbs and recentCheckpointName.
ChallengeAnalyticsEvent(string eventName, PlayerUnlock unlock, int numberOfOrbs)Creates a ChallengeAnalyticsEvent from eventName, unlock, numberOfOrbs and recentCheckpointName.
ChallengeAnalyticsEvent(string eventName, PlayerUnlock unlock, int numberOfOrbs, int checkpointIndex)Creates a ChallengeAnalyticsEvent from eventName, unlock, numberOfOrbs and recentCheckpointName.
ChallengeAnalyticsEvent(string eventName, PlayerUnlock unlock, int numberOfOrbs, string recentCheckpointName)Creates a ChallengeAnalyticsEvent from eventName, unlock, numberOfOrbs and recentCheckpointName.

Fields​

MemberWhat it is
const string ChallengeCheckpointEvent name for reaching a checkpoint.
const string ChallengeCompleteEvent name for completing a challenge.
const string ChallengeExitEvent name for leaving a challenge.
const string ChallengeRespawnEvent name for respawning during a challenge.
const string ChallengeStartEvent name for starting a challenge.
4 private and internal fields
MemberWhat it is
private const string CheckpointGateKeyProperty key for the most recent checkpoint gate's name.
private const string CheckpointKeyProperty key for the checkpoint index.
private const string OrbsKeyProperty key for the number of orbs collected.
private const string UnlockKeyProperty key for the player unlock's name, or "NULL".