Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Handles blocking the activation of Gameplay Abilities based on Gameplay Tags for the Target actor of the owner Gameplay Effect
| Name | UBlockAbilityTagsGameplayEffectComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h |
| Include Path | #include "GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h" |
Syntax
UCLASS (DisplayName="Block Abilities with Tags", MinimalAPI)
class UBlockAbilityTagsGameplayEffectComponent : public UGameplayEffectComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGameplayEffectComponent → UBlockAbilityTagsGameplayEffectComponent
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InheritableBlockedAbilityTagsContainer | FInheritedTagContainer | These tags are applied to the target actor of the Gameplay Effect. | GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FInheritedTagContainer & GetConfiguredBlockedAbilityTagChanges() |
Gets the Blocked Ability Tags inherited tag structure (as configured) | GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h | |
void SetAndApplyBlockedAbilityTagChanges
(
const FInheritedTagContainer& TagContainerMods |
Applies the Blocked Ability Tags to the GameplayEffect (and saves those changes) so that when the Gameplay Effect is applied, these Blocking Tags are then applied to the Target Actor | GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h |
Overridden from UGameplayEffectComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnGameplayEffectChanged() |
Needed to properly apply FInheritedTagContainer properties | GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
Validate incompatible configurations | GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h | |
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Needed to properly update FInheritedTagContainer properties | GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h | |
virtual void PostInitProperties() |
Setup an EditorFriendlyName and do some initialization | GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FName & GetInheritableBlockedAbilityTagsContainerPropertyName() |
Get a cached version of the FProperty Name for PostEditChangeProperty | GameplayEffectComponents/BlockAbilityTagsGameplayEffectComponent.h |