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