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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback