Enum ConditionTarget
- Namespace
- ElectricDrill.AstraRpgFramework.Conditions
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
Specifies which entity slot in an EvaluationContext a condition should target.
Payload-derived slots resolve through contracts exposed by EventPayload
and evaluate as null when the payload cannot supply the requested role.
public enum ConditionTarget
Fields
Holder = 0The entity that owns the effect, modifier, or action currently being evaluated.
PayloadEntity = 2The payload's primary entity, resolved from IHasEntity when available, or from the EntityCore on a payload Component.
PayloadPerformer = 3The payload's performer entity, resolved from IHasPerformer.
PayloadTarget = 4The payload's target entity, resolved from IHasTarget.
PayloadVictim = 5The payload's victim entity, resolved from IHasVictim.
Performer = 1The entity that applied or cast the effect, modifier, or action currently being evaluated.