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 (DisplayName="Remove Other Effects")
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 | |
|---|---|---|---|
| void | OnGameplayEffectApplied
(
FActiveGameplayEffectsContainer& ActiveGEContainer, |
We will re-run RemoveGameplayEffectQueries every time the owning Gameplay Effect is applied. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
Warn about periodic Gameplay Effects, that you probably instead want the OngoingTagRequirements in TagRequirementsGameplayEffectComponent |