Table of Contents

Class QuestObjectiveAmountValue

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Value provider that reads the objective amount from QuestEventData. Returns a configurable fallback when no quest event data is present.

[Serializable]
public sealed class QuestObjectiveAmountValue : IIntValueProvider
Inheritance
QuestObjectiveAmountValue
Implements
Inherited Members

Fields

Fallback

The fallback value returned when no QuestEventData is present.

[Tooltip("Fallback value when QuestEventData is not present.")]
public int Fallback

Field Value

int

Methods

GetValue(ICharacter, EventData)

Computes and returns the integer value for the current execution context.

public int GetValue(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character initiating the action (used for stat lookups, etc.).

eventData EventData

The event data for the current execution (used for RNG, target info, etc.).

Returns

int

The computed integer value.