FGameplayTagContainer::DoesTagContainerMatchComplex

Returns true if the tags in this container match the tags in OtherContainer for the specified matching types.

Windows
MacOS
Linux

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 DoesTagContainerMatchComplex
(
    const FGameplayTagContainer & OtherContainer,
    TEnumAsByte< EGameplayTagMatchType::Type > TagMatchType,
    TEnumAsByte< EGameplayTagMatchType::Type > OtherTagMatchType,
    EGameplayContainerMatchType ContainerMatchType
) const

Remarks

Returns true if the tags in this container match the tags in OtherContainer for the specified matching types.

Returns

Returns true if ContainerMatchType is Any and any of the tags in OtherContainer match the tags in this or ContainerMatchType is All and all of the tags in OtherContainer match at least one tag in this. Returns false otherwise.

Parameters

Parameter

Description

OtherContainer

The Container to filter against

TagMatchType

Type of match to use for the tags in this container

OtherTagMatchType

Type of match to use for the tags in the OtherContainer param

ContainerMatchType

Type of match to use for filtering

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