Class QuestEventData
Event data for quest-related ECA actions and conditions. Carries the quest template and optional objective index for context.
public class QuestEventData : EventData
- Inheritance
-
QuestEventData
- Inherited Members
Constructors
QuestEventData(ICharacter, QuestTemplate, int, long)
Constructs a new QuestEventData.
public QuestEventData(ICharacter initiator, QuestTemplate questTemplate, int objectiveIndex = -1, long amount = 0)
Parameters
initiatorICharacterThe character involved in the quest event.
questTemplateQuestTemplateThe quest template.
objectiveIndexintThe objective index, or -1.
amountlongThe amount to advance, or 0.
Properties
Amount
The amount to advance the objective by, or 0 if not applicable.
public long Amount { get; }
Property Value
ObjectiveIndex
The objective index within the quest, or -1 if not applicable.
public int ObjectiveIndex { get; }
Property Value
QuestTemplate
The quest template associated with this event.
public QuestTemplate QuestTemplate { get; }