Choose your operating system:
Windows
macOS
Linux
| FGameplayTag
|
Module |
|
Header |
/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagContainer.h |
Include |
#include "GameplayTagContainer.h" |
struct FGameplayTag
A single gameplay tag, which represents a hierarchical name of the form x.y that is registered in the GameplayTagsManager You can filter the gameplay tags displayed in the editor using, meta = (Categories = "Tag1.Tag2.Tag3"))
Name | Description | ||
---|---|---|---|
|
TagName |
This Tags Name |
Name | Description | |
---|---|---|
|
FGameplayTag() |
Constructors |
|
FGameplayTag ( |
Intentionally private so only the tag manager can use |
Name | Description | ||
---|---|---|---|
|
FromExportString |
Sets from a ImportText string, used in asset registry |
|
|
FGameplayTag... |
GetGameplayTagParents() |
Returns a new container explicitly containing the tags of this tag |
|
const FGamep... |
GetSingleTagContainer() |
Returns reference to a GameplayTagContainer containing only this tag |
|
GetTagName() |
Get the tag represented as a name |
|
|
ImportTextItem ( |
Handles importing tag strings without (TagName=) in it |
|
|
IsValid() |
Returns whether the tag is valid or not; Invalid tags are set to NAME_None and do not exist in the game-specific global dictionary |
|
|
IsValidGameplayTagString |
Returns true if this is a valid gameplay tag string (foo.bar.baz). If false, it will fill |
|
|
MatchesAny ( |
Checks if this tag matches ANY of the tags in the specified container, also checks against our parent tags "A.1".MatchesAny({"A","B"}) will return True, "A".MatchesAny({"A.1","B"}) will return False If ContainerToCheck is empty/invalid it will always return False |
|
|
MatchesAnyExact ( |
Checks if this tag matches ANY of the tags in the specified container, only allowing exact matches "A.1".MatchesAny({"A","B"}) will return False If ContainerToCheck is empty/invalid it will always return False |
|
|
MatchesTag ( |
Determine if this tag matches TagToCheck, expanding our parent tags "A.1".MatchesTag("A") will return True, "A".MatchesTag("A.1") will return False If TagToCheck is not Valid it will always return False |
|
|
MatchesTagDepth ( |
Check to see how closely two FGameplayTags match. |
|
|
MatchesTagExact ( |
Determine if TagToCheck is valid and exactly matches this tag "A.1".MatchesTagExact("A") will return False If TagToCheck is not Valid it will always return False |
|
|
NetSerialize ( |
Overridden for fast serialize |
|
|
NetSerialize_Packed ( |
||
|
PostSerialize ( |
Handles fixup and errors. |
|
|
RequestDirectParent() |
Returns direct parent GameplayTag of this GameplayTag, calling on x.y will return x |
|
|
RequestGameplayTag |
Gets the FGameplayTag that corresponds to the TagName |
|
|
SerializeFromMismatchedTag ( |
Used to upgrade a Name property to a GameplayTag struct property |
|
|
ToString() |
Displays gameplay tag as a string for blueprint graph usage |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
operator< ( |
||
|
operator== ( |
Operators |
Name |
Description |
---|---|
EmptyTag |
An empty Gameplay Tag |