Table of Contents

Class AddFactionAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ECA action that adds a faction reputation amount for a character. Server-only execution.

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

Fields

Amount

The amount to add to faction standing (can be negative).

[Tooltip("The amount to add to faction standing (can be negative).")]
public int Amount

Field Value

int

FactionTemplate

The faction template to modify.

[Tooltip("The faction template to modify.")]
public FactionTemplate FactionTemplate

Field Value

FactionTemplate

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.