Ability System Component - Delegates
OnGameplayEffectAppliedDelegateToSelf
This DECLARE_MULTICAST_DELEGATE_ThreeParams delegate is called called on the server whenever a GE is applied to self. This includes instant and duration based GEs. The following three parameters are passed:
UAbilitySystemComponent* Source, const FGameplayEffectSpec& SpecApplied, FActiveGameplayEffectHandle ActiveHandle
OnGameplayEffectAppliedDelegateToTarget
This multicast delegate is called when called on the server whenever a GE is applied to someone else. This includes instant and duration based GEs. The following three parameters are passed:
UAbilitySystemComponent* Target, const FGameplayEffectSpec& SpecApplied, FActiveGameplayEffectHandle ActiveHandle
OnActiveGameplayEffectAddedDelegateToSelf
This multicast delegate is called on both the client and server whenever a duration based GE is added (E.g., instant GEs do not trigger this).
OnPeriodicGameplayEffectExecuteDelegateOnTarget
This multicast delegate is called on the server whenever a periodic GE executes on a target. The following three parameters are passed:
UAbilitySystemComponent* Target, const FGameplayEffectSpec& SpecExecuted, FActiveGameplayEffectHandle ActiveHandle
OnPeriodicGameplayEffectExecuteDelegateOnSelf
This multicast delegate is called on the server whenever a periodic GE executes on self. The following three parameters are passed:
UAbilitySystemComponent* Source, const FGameplayEffectSpec& SpecExecuted, FActiveGameplayEffectHandle ActiveHandle
GetGameplayAttributeValueChangeDelegate
Register for when an attribute value changes.
OnGameplayEffectTimeChangeDelegate
OnGameplayEffectStackChangeDelegate
OnGameplayEffectRemovedDelegate
OnImmunityBlockGameplayEffectDelegate
This multicast delegate is called when a Gameplay Effect is blocked due to immunity.
AbilityActivatedCallbacks
This multicast delegate is called when an ability is activated.
AbilityEndedCallbacks
This multicast delegate is called when an ability has ended.
AbilityCommittedCallbacks
This multicast delegate is called anytime an ability is committed (cost/cooldown applied).
AbilityFailedCallbacks
This multicast delegate is called whenever an ability fails to activate.
AbilitySpecDirtiedCallbacks
This multicast delegate is called when an ability spec's internals have changed.