FActiveGameplayEffectQuery

Generic querying data structure for active GameplayEffects.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h

Include

#include "GameplayEffect.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
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

Name Description

Public variable

FActiveGameplay...

 

CustomMatch

Bind this to override the default query-matching code.

Public variable

const UGameplay...

 

EffectDef

Matches on GameplayEffects with this definition

Public variable

const UObject &...

 

EffectSource

Matches on GameplayEffects which come from this source

Public variable

const FGameplay...

 

EffectTagContainer

Used to match with InheritableGameplayEffectTags

Public variable

const FGameplay...

 

EffectTagContainer_Rejection

Used to reject matches with InheritableGameplayEffectTags

Public variable

TArray< FActive...

 

IgnoreHandles

Handles to ignore as matches, even if other criteria is met

Public variable

FGameplayAttrib...

 

ModifyingAttribute

Matches on GameplayEffects which modify given attribute

Public variable

const FGameplay...

 

OwningTagContainer

Used to match with InheritableOwnedTagsContainer

Public variable

const FGameplay...

 

OwningTagContainer_Rejection

Used to reject matches with InheritableOwnedTagsContainer

Constructors

Functions

Name Description

Public function Const

bool

 

Matches

(
    const FActiveGameplayEffect& Effec...
)

Returns true if Effect matches the criteria of this query, which will be overridden by CustomMatch if it is bound.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss