Table of Contents

Class AttributeChangedGameEventTrigger

Namespace
ElectricDrill.AstraRpgFramework.Triggers
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll

GameEventTrigger<TContext> that fires when an attribute value changes. Payload: AttributeChangeInfo — carries the attribute, previous value, and new value.

[Serializable]
[TypeSelectableMenu("Attribute")]
public sealed class AttributeChangedGameEventTrigger : GameEventTrigger<AttributeChangeInfo>, IReactiveTrigger
Inheritance
object
AttributeChangedGameEventTrigger
Implements
Inherited Members

Properties

Event

The typed event SO that this trigger listens to. Provided by the concrete subclass.

protected override GameEventGeneric1<AttributeChangeInfo> Event { get; }

Property Value

GameEventGeneric1<AttributeChangeInfo>