Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
| Include | #include "GameplayEffect.h" |
Syntax
USTRUCT&40;&41;
struct FActiveGameplayEffectQuery
Remarks
Generic querying data structure for active GameplayEffects. Lets us ask things like: Give me duration/magnitude of active gameplay effects with these tags Give me handles to all activate gameplay effects modifying this attribute.
Any requirements specified in the query are required: must meet "all" not "one".
Variables
| Type | Name | Description | |
|---|---|---|---|
| FActiveGameplayEffectQueryCustomMatch | CustomMatch | Bind this to override the default query-matching code. | |
| const UGameplayEffect * | EffectDef | Matches on GameplayEffects with this definition | |
| const UObject * | EffectSource | Matches on GameplayEffects which come from this source | |
| const FGameplayTagContainer * | EffectTagContainer | Used to match with InheritableGameplayEffectTags | |
| const FGameplayTagContainer * | EffectTagContainer_Rejection | Used to reject matches with InheritableGameplayEffectTags | |
| TArray< FActiveGameplayEffectHandle > | IgnoreHandles | Handles to ignore as matches, even if other criteria is met | |
| FGameplayAttribute | ModifyingAttribute | Matches on GameplayEffects which modify given attribute | |
| const FGameplayTagContainer * | OwningTagContainer | Used to match with InheritableOwnedTagsContainer | |
| const FGameplayTagContainer * | OwningTagContainer_Rejection | Used to reject matches with InheritableOwnedTagsContainer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FActiveGameplayEffectQuery
(
const FGameplayTagContainer* InOwningTagContainer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Matches
(
const FActiveGameplayEffect& Effect |
Returns true if Effect matches the criteria of this query, which will be overridden by CustomMatch if it is bound. |