FGameplayTagContainer::HasTagExplicit

Determine if the container has the specified tag.

Windows
MacOS
Linux

Deprecated

  • Deprecated in favor of HasTagExact

References

Module

GameplayTags

Header

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

Include

#include "GameplayTagContainer.h"

Syntax

bool HasTagExplicit
(
    FGameplayTag const & TagToCheck
) const

Remarks

Determine if the container has the specified tag. This forces an explicit match. This function exists for convenience and brevity. We do not wish to use default values for ::HasTag match type parameters, to avoid confusion on what the default behavior is. (E.g., we want people to think and use the right match type).

Returns

True if the tag is in the container, false if it is not

Parameters

Parameter

Description

TagToCheck

Tag to check if it is present in the container

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