Table of Contents

Class ConditionalEntityContextGameAction

Namespace
ElectricDrill.AstraRpgFramework.GameActions.Actions.WithIHasEntity
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll
[CreateAssetMenu(fileName = "New Conditional Entity Context Action", menuName = "Astra RPG Framework/Game Actions/Context: Entity/Conditional")]
public class ConditionalEntityContextGameAction : ConditionalGameAction<IHasEntity>, IExecutable<IHasEntity>, ITaggable
Inheritance
object
ConditionalEntityContextGameAction
Implements
Inherited Members

Methods

BuildEvaluationContext(IHasEntity, MonoBehaviour)

Builds the EvaluationContext passed to the condition from the action context.

protected override EvaluationContext BuildEvaluationContext(IHasEntity context, MonoBehaviour runtimeOwner)

Parameters

context IHasEntity

The action context (event payload).

runtimeOwner MonoBehaviour

The MonoBehaviour that owns this action invocation at runtime. Used to populate Holder. May be null in legacy ownerless execution paths.

Returns

EvaluationContext