FGameplayTagContainer::MatchesAny

Checks if this container matches ANY of the tags in the specified container.

Windows
MacOS
Linux

Deprecated

  • Deprecated in favor of HasAny

References

Module

GameplayTags

Header

/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagContainer.h

Include

#include "GameplayTagContainer.h"

Syntax

bool MatchesAny
(
    const FGameplayTagContainer & Other,
    bool bCountEmptyAsMatch
) const

Remarks

Checks if this container matches ANY of the tags in the specified container. Performs matching by expanding this container out to include its parent tags.

Returns

True if this container has ANY the tags of the passed in container

Parameters

Parameter

Description

Other

Container we are checking against

bCountEmptyAsMatch

If true, the parameter tag container will count as matching even if it's empty

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