Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/GameplayEffectComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameplayEffectComponent
- UAbilitiesGameplayEffectComponent
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectComponents/AbilitiesGameplayEffectComponent.h |
| Include | #include "GameplayEffectComponents/AbilitiesGameplayEffectComponent.h" |
Syntax
UCLASS&40;&41;
class UAbilitiesGameplayEffectComponent : public UGameplayEffectComponent
Remarks
Grants additional Gameplay Abilities to the Target of a Gameplay Effect while active
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FGameplayAbilitySpecConfig > | GrantAbilityConfigs | Abilities to Grant to the Target while this Gameplay Effect is active |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddGrantedAbilityConfig
(
const FGameplayAbilitySpecConfig& Config |
Adds an entry for granting Gameplay Abilities | |
| void | GrantAbilities
(
FActiveGameplayEffectHandle ActiveGEHandle |
We should grant the configured Gameplay Abilities | |
| void | OnInhibitionChanged
(
FActiveGameplayEffectHandle ActiveGEHandle, |
This allows us to be notified when the owning GameplayEffect has had its inhibition changed (which can happen on the initial application). | |
| void | RemoveAbilities
(
FActiveGameplayEffectHandle ActiveGEHandle |
We should remove the configured Gameplay Abilities |
Overridden from UGameplayEffectComponent
| Type | Name | Description | |
|---|---|---|---|
| bool | OnActiveGameplayEffectAdded
(
FActiveGameplayEffectsContainer& ActiveGEContainer, |
Register for the appropriate events when we're applied |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
Warn on misconfigured Gameplay Effect |