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

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