Table of Contents

Class EntityContextToDamageResolutionContextProjectionGameActionSO

Namespace
ElectricDrill.AstraHealth.GameActions.Actions.WithIHasEntity
Assembly
com.electricdrill.astra-health.Runtime.dll

Attempts to narrow an ElectricDrill.AstraRpgFramework.Contexts.IHasEntity payload to a more specific context type and, if the runtime type matches, forwards the original payload to the wrapped action. Use this when subscribing a broad entity-based event pipeline to actions that only make sense for richer payloads such as damage or death contexts.

[CreateAssetMenu(fileName = "New Entity Context To DamageResolutionContext Projection Action", menuName = "Astra Health/Game Actions/Context: Entity/Projections/→ DamageResolutionContext Projection")]
public sealed class EntityContextToDamageResolutionContextProjectionGameActionSO : EntityContextCastProjectionGameAction<DamageResolutionContext>, IExecutable<IHasEntity>, ITaggable
Inheritance
object
GameActionBase
GameAction<IHasEntity>
EntityContextCastProjectionGameAction<DamageResolutionContext>
EntityContextToDamageResolutionContextProjectionGameActionSO
Implements
IExecutable<IHasEntity>
ITaggable
Inherited Members
GameAction<IHasEntity>.Tags
GameAction<IHasEntity>.DisplayName
GameAction<IHasEntity>.ExecuteAsyncForUnityEvent(IHasEntity)