Table of Contents

Class AchievementIncrementAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ECA action that increments achievement progress for a character. Server-only execution.

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

Fields

AchievementTemplate

The achievement template to increment.

[Tooltip("The achievement template to increment.")]
public AchievementTemplate AchievementTemplate

Field Value

AchievementTemplate

AmountValue

The value provider that determines the amount to increment by.

[Tooltip("The value provider that determines the amount to increment the achievement by.")]
[SerializeReference]
public IIntValueProvider AmountValue

Field Value

IIntValueProvider

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.