Table of Contents

Class ArchetypeEventData

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ECA event data for archetype change events, carrying the new and previous archetype templates.

public class ArchetypeEventData : EventData
Inheritance
ArchetypeEventData
Inherited Members

Constructors

ArchetypeEventData(ICharacter, ArchetypeTemplate, ArchetypeTemplate)

Creates a new ArchetypeEventData.

public ArchetypeEventData(ICharacter initiator, ArchetypeTemplate newTemplate, ArchetypeTemplate previousTemplate)

Parameters

initiator ICharacter

The character whose archetype changed.

newTemplate ArchetypeTemplate

The new archetype template.

previousTemplate ArchetypeTemplate

The previous archetype template (may be null).

Properties

NewTemplate

The new archetype template applied to the character.

public ArchetypeTemplate NewTemplate { get; }

Property Value

ArchetypeTemplate

PreviousTemplate

The previous archetype template before the change.

public ArchetypeTemplate PreviousTemplate { get; }

Property Value

ArchetypeTemplate