UGameplayTagsManager::IsValidGameplayTagString

Returns true if this is a valid gameplay tag string (foo.bar.baz). If false, it will fill

Windows
MacOS
Linux

References

Module

GameplayTags

Header

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

Include

#include "GameplayTagsManager.h"

Source

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

Syntax

bool IsValidGameplayTagString
(
    const FString & TagString,
    FText * OutError,
    FString * OutFixedString
)

Remarks

Returns true if this is a valid gameplay tag string (foo.bar.baz). If false, it will fill

Returns

True if this can be added to the tag dictionary, false if there's a syntax error

Parameters

Parameter

Description

TagString

String to check for validity

OutError

If non-null and string invalid, will fill in with an error message

OutFixedString

If non-null and string invalid, will attempt to fix. Will be empty if no fix is possible

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