Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h |
Include |
#include "Abilities/GameplayAbility.h" |
virtual bool ShouldReplicateAbilitySpec
(
const FGameplayAbilitySpec & AbilitySpec
) const
Takes in the ability spec and checks if we should allow replication on the ability spec, this will NOT stop replication of the ability UObject just the spec inside the UAbilitySystemComponenet ActivatableAbilities for this ability