FGameplayTag::ComplexMatches

Check to see if two FGameplayTags match

Windows
MacOS
Linux

Deprecated

  • Deprecated in favor of MatchesTag

References

Module

GameplayTags

Header

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

Include

#include "GameplayTagContainer.h"

Source

/Engine/Source/Runtime/GameplayTags/Private/GameplayTagContainer.cpp

Syntax

bool ComplexMatches
(
    TEnumAsByte< EGameplayTagMatchType::Type > MatchTypeOne,
    const FGameplayTag & Other,
    TEnumAsByte< EGameplayTagMatchType::Type > MatchTypeTwo
) const

Remarks

Check to see if two FGameplayTags match

Returns

True if there is a match according to the specified match types; false if not

Parameters

Parameter

Description

MatchTypeOne

How we compare this tag, Explicitly or a match with any parents as well

Other

The second tag to compare against

MatchTypeTwo

How we compare Other tag, Explicitly or a match with any parents as well

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