FGameplayTagCountContainer::HasMatchingGameplayTag

Check if the count container has a gameplay tag that matches against the specified tag (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 HasMatchingGameplayTag
(
    FGameplayTag TagToCheck
) const

Remarks

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

Returns

True if the count container has a gameplay tag that matches, false if not

Parameters

Parameter

Description

TagToCheck

Tag to check for a match

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