Class ArchetypeEventData
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
initiatorICharacterThe character whose archetype changed.
newTemplateArchetypeTemplateThe new archetype template.
previousTemplateArchetypeTemplateThe previous archetype template (may be null).
Properties
NewTemplate
The new archetype template applied to the character.
public ArchetypeTemplate NewTemplate { get; }
Property Value
PreviousTemplate
The previous archetype template before the change.
public ArchetypeTemplate PreviousTemplate { get; }