Table of Contents

Class AdvanceQuestObjectiveAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ECA action that advances a specific quest objective for the initiating character. Typically used in dialogue OnSelect actions or interactable triggers. Server-only execution.

[Serializable]
public class AdvanceQuestObjectiveAction : BaseAction, IAction
Inheritance
AdvanceQuestObjectiveAction
Implements
Inherited Members

Fields

Amount

The amount to increment the objective by.

[Tooltip("The amount to increment the objective by.")]
[Min(1)]
public long Amount

Field Value

long

ObjectiveIndex

Zero-based index of the objective to advance.

[Tooltip("Zero-based index of the objective to advance.")]
public int ObjectiveIndex

Field Value

int

QuestTemplate

The quest template containing the objective to advance.

[Tooltip("The quest template containing the objective to advance.")]
public QuestTemplate QuestTemplate

Field Value

QuestTemplate

Methods

Execute(ICharacter, EventData)

Executes the action. Must be implemented by derived classes.

public override void Execute(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character initiating the action.

eventData EventData

Event data for the action.