FGameplayTagCountContainer::HasAnyMatchingGameplayTags

Check if the count container has gameplay tags that matches against any of the specified tags (expands to include parents of asset tags)

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffectTypes.h"

Syntax

bool HasAnyMatchingGameplayTags
(
    const FGameplayTagContainer & TagContainer
) const

Remarks

Check if the count container has gameplay tags that matches against any of the specified tags (expands to include parents of asset tags)

Returns

True if the count container matches any of the gameplay tags

Parameters

Parameter

Description

TagContainer

Tag container to check for a match. If empty will return false

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