Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/GameplayEffectComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameplayEffectComponent
- URemoveOtherGameplayEffectComponent
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectComponents/RemoveOtherGameplayEffectComponent.h |
| Include | #include "GameplayEffectComponents/RemoveOtherGameplayEffectComponent.h" |
Syntax
UCLASS&40;&41;
class URemoveOtherGameplayEffectComponent : public UGameplayEffectComponent
Remarks
Remove other Gameplay Effects based on certain conditions
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FGameplayEffectQuery > | RemoveGameplayEffectQueries | On Application of the owning Gameplay Effect, any Active GameplayEffects that match these queries will be removed. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor to set EditorFriendlyName |
Overridden from UGameplayEffectComponent
| Type | Name | Description | |
|---|---|---|---|
| bool | OnActiveGameplayEffectAdded
(
FActiveGameplayEffectsContainer& GEContainer, |
Once we've applied, we need to register for ongoing requirements | |
| void | OnGameplayEffectExecuted
(
FActiveGameplayEffectsContainer& ActiveGEContainer, |
If we're only executed, it's an indication something has gone wrong and we should log it |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
Warn about periodic Gameplay Effects, that you probably instead want the OngoingTagRequirements in TagRequirementsGameplayEffectComponent |