/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h
Native function, called if an ability ends normally or abnormally. If bReplicate is set to true, try to replicate the ending to the client/server
virtual void EndAbility ( const [FGameplayAbilitySpecHandle](API\Plugins\GameplayAbilities\FGameplayAbilitySpecHandle) Handle, const [FGameplayAbilityActorInfo](API\Plugins\GameplayAbilities\Abilities\FGameplayAbilityActorInfo) * ActorInfo, const [FGameplayAbilityActivationInfo](API\Plugins\GameplayAbilities\FGameplayAbilityActivationInfo) ActivationInfo, bool bReplicateEndAbility, bool bWasCancelled )