Class EntityContextToEntityDiedContextProjectionGameActionSO
- 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 EntityDiedContext Projection Action", menuName = "Astra Health/Game Actions/Context: Entity/Projections/→ EntityDiedContext Projection")]
public sealed class EntityContextToEntityDiedContextProjectionGameActionSO : EntityContextCastProjectionGameAction<EntityDiedContext>, IExecutable<IHasEntity>, ITaggable
- Inheritance
-
objectGameActionBaseGameAction<IHasEntity>EntityContextCastProjectionGameAction<EntityDiedContext>EntityContextToEntityDiedContextProjectionGameActionSO
- Implements
-
IExecutable<IHasEntity>ITaggable
- Inherited Members
-
EntityContextCastProjectionGameAction<EntityDiedContext>.ExecuteAsync(IHasEntity, CancellationToken)GameAction<IHasEntity>.TagsGameAction<IHasEntity>.DisplayNameGameAction<IHasEntity>.ExecuteAsyncForUnityEvent(IHasEntity)