Class QuestProgressionEvent
Send to track details about when a user begins or finishes a quest or quest-like activity such as goals or milestones.
Inheritance
QuestProgressionEvent
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class QuestProgressionEvent : AnalyticsEventBase, IAnalyticsEvent, IInjectable
Fields
_chainName
Declaration
protected string _chainName
Field Value
_chainNumber
Declaration
protected int _chainNumber
Field Value
_chainTotalQuests
Declaration
protected int _chainTotalQuests
Field Value
_direction
Declaration
protected bool _direction
Field Value
_name
Declaration
Field Value
_source
Declaration
Field Value
CHAIN_NAME_KEY
Declaration
public const string CHAIN_NAME_KEY = "chainName"
Field Value
CHAIN_NUMBER_KEY
Declaration
public const string CHAIN_NUMBER_KEY = "chainNumber"
Field Value
CHAIN_TOTAL_QUESTS_KEY
Declaration
public const string CHAIN_TOTAL_QUESTS_KEY = "chainTotalQuests"
Field Value
DIRECTION_KEY
Declaration
public const string DIRECTION_KEY = "direction"
Field Value
NAME_KEY
Declaration
public const string NAME_KEY = "name"
Field Value
SOURCE_KEY
Declaration
public const string SOURCE_KEY = "source"
Field Value
Properties
EventName
Declaration
public override string EventName { get; }
Property Value
Overrides
Methods
EventContent()
Declaration
protected override Dictionary<string, object> EventContent()
Returns
Overrides
Initialize(String, String, String, Int32, Int32, QuestProgressionState)
Declaration
public virtual void Initialize(string source, string name, string chainName, int chainNumber, int chainTotalQuests, QuestProgressionState state)
Parameters
Type |
Name |
Description |
String |
source |
The source of the quest, goal, or milestone progression.Event-2
|
String |
name |
The full name of the quest, goal, or milestone. GoalS6E9, Collect Cash, FTUE_1
|
String |
chainName |
The name of the chain this quest, goal, or milestone is a part of. FTUE, goal-sequence-1, FindFloydsGlasses
|
Int32 |
chainNumber |
The index of the quest, goal, or milestone in the chain.
|
Int32 |
chainTotalQuests |
The total number of quests, goals, or milestones in the chain.
|
QuestProgressionState |
state |
The state of the quest, goal, or milestone in the event.
|
Implements
IInjectable