Class EntityContextToDamageResolutionContextProjectionGameActionSO
- 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
-
objectGameActionBaseGameAction<IHasEntity>EntityContextCastProjectionGameAction<DamageResolutionContext>EntityContextToDamageResolutionContextProjectionGameActionSO
- Implements
-
IExecutable<IHasEntity>ITaggable
- Inherited Members
-
GameAction<IHasEntity>.TagsGameAction<IHasEntity>.DisplayNameGameAction<IHasEntity>.ExecuteAsyncForUnityEvent(IHasEntity)