/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemGlobals.h
Global callback that can handle game-specific code that needs to run before applying a gameplay effect spec
virtual void GlobalPreGameplayEffectSpecApply ( [FGameplayEffectSpec](API\Plugins\GameplayAbilities\FGameplayEffectSpec) & Spec, [UAbilitySystemComponent](API\Plugins\GameplayAbilities\UAbilitySystemComponent) * AbilitySystemComponent )