Table of Contents

Class QuestEventData

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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

initiator ICharacter

The character involved in the quest event.

questTemplate QuestTemplate

The quest template.

objectiveIndex int

The objective index, or -1.

amount long

The 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

long

ObjectiveIndex

The objective index within the quest, or -1 if not applicable.

public int ObjectiveIndex { get; }

Property Value

int

QuestTemplate

The quest template associated with this event.

public QuestTemplate QuestTemplate { get; }

Property Value

QuestTemplate