Table of Contents

Class AcceptQuestAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ECA action that grants a quest to the initiating character. On the server, adds the quest to the character's quest controller and raises OnQuestAccepted. On the client, this action is a no-op.

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

Fields

QuestTemplate

The quest template to grant.

[Tooltip("The quest template to grant to the character.")]
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.