Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Handles granting Tags to the Target (sometimes referred to as the Owner) of the Gameplay Effect
| Name | UTargetTagsGameplayEffectComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectComponents/TargetTagsGameplayEffectComponent.h |
| Include Path | #include "GameplayEffectComponents/TargetTagsGameplayEffectComponent.h" |
Syntax
UCLASS (DisplayName="Grant Tags to Target Actor", MinimalAPI)
class UTargetTagsGameplayEffectComponent : public UGameplayEffectComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGameplayEffectComponent → UTargetTagsGameplayEffectComponent
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InheritableGrantedTagsContainer | FInheritedTagContainer | These tags are applied (granted) to the target actor of the Gameplay Effect. | GameplayEffectComponents/TargetTagsGameplayEffectComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FInheritedTagContainer & GetConfiguredTargetTagChanges() |
Gets the (Granted) Target Tags inherited tag structure (as configured) | GameplayEffectComponents/TargetTagsGameplayEffectComponent.h | |
void SetAndApplyTargetTagChanges
(
const FInheritedTagContainer& TagContainerMods |
Applies the (Granted) Target Tags to the GameplayEffect (and saves those changes) so that it may grant these Tags the Target Actor when Applied | GameplayEffectComponents/TargetTagsGameplayEffectComponent.h |
Overridden from UGameplayEffectComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnGameplayEffectChanged() |
Needed to properly load FInheritedTagContainer properties | GameplayEffectComponents/TargetTagsGameplayEffectComponent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
Validate incompatible configurations | GameplayEffectComponents/TargetTagsGameplayEffectComponent.h | |
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Needed to properly update FInheritedTagContainer properties | GameplayEffectComponents/TargetTagsGameplayEffectComponent.h | |
virtual void PostInitProperties() |
Setup an EditorFriendlyName and do some initialization | GameplayEffectComponents/TargetTagsGameplayEffectComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FName & GetInheritableGrantedTagsContainerName() |
Get a cached version of the FProperty Name for PostEditChangeProperty | GameplayEffectComponents/TargetTagsGameplayEffectComponent.h |