FActiveGameplayEffectsContainer::GetActiveEffectCount

Get the count of the effects matching the specified query (including stack count)

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffect.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffect.cpp

Syntax

int32 GetActiveEffectCount
(
    const FGameplayEffectQuery & Query,
    bool bEnforceOnGoingCheck
) const

Remarks

Get the count of the effects matching the specified query (including stack count)

Returns

Count of the effects matching the specified query

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