Navigation
API > API/Runtime > API/Runtime/GameplayTags
Simple tree node for gameplay tags, this stores metadata about specific tags
| Name | FGameplayTagNode |
| Type | struct |
| Header File | /Engine/Source/Runtime/GameplayTags/Classes/GameplayTagsManager.h |
| Include Path | #include "GameplayTagsManager.h" |
Syntax
USTRUCT ()
struct FGameplayTagNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGameplayTagNode
(
FName InTag, |
Simple constructor, passing redundant data for performance | GameplayTagsManager.h | |
| GameplayTagsManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowNonRestrictedChildren | uint8 | If this is true then any children of this tag must come from the restricted tags | GameplayTagsManager.h | |
| bAncestorHasConflict | uint8 | If this is true then at least one tag that this tag descends from is coming from multiple sources. | GameplayTagsManager.h | |
| bDescendantHasConflict | uint8 | If this is true then at least one tag that inherits from this tag is coming from multiple sources. | GameplayTagsManager.h | |
| bIsExplicitTag | uint8 | If this is true then the tag was explicitly added and not only implied by its child tags | GameplayTagsManager.h | |
| bIsRestrictedTag | uint8 | If this is true then the tag can only have normal tag children if bAllowNonRestrictedChildren is true | GameplayTagsManager.h | |
| bNodeHasConflict | uint8 | If this is true then this tag is coming from multiple sources. | GameplayTagsManager.h | |
| ChildTags | TArray< TSharedPtr< FGameplayTagNode > > | Child gameplay tag nodes | GameplayTagsManager.h | |
| CompleteTagWithParents | FGameplayTagContainer | This complete tag is at GameplayTags[0], with parents in ParentTags[] | GameplayTagsManager.h | |
| DevComment | FString | Comment for this tag | GameplayTagsManager.h | |
| NetIndex | FGameplayTagNetIndex | Net Index of this node | GameplayTagsManager.h | |
| ParentNode | TSharedPtr< FGameplayTagNode > | Owner gameplay tag node, if any | GameplayTagsManager.h | |
| SourceNames | TArray< FName > | Module or Package or config file this tag came from. If empty this is an implicitly added tag | GameplayTagsManager.h | |
| Tag | FName | Raw name for this tag at current rank in the tree | GameplayTagsManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetAllowNonRestrictedChildren() |
Returns true if the tag is a restricted tag and allows non-restricted children | GameplayTagsManager.h | |
| GameplayTagsManager.h | |||
TArray< TSharedPtr< FGameplayTagNode > > & GetChildTagNodes () |
Get the children nodes of this node | GameplayTagsManager.h | |
const TArray< TSharedPtr< FGameplayTagNode > > & GetChildTagNodes () |
Get the children nodes of this node | GameplayTagsManager.h | |
const FGameplayTag & GetCompleteTag() |
Get the complete tag for the node, including all parent tags, delimited by periods | GameplayTagsManager.h | |
FName GetCompleteTagName() |
GameplayTagsManager.h | ||
FString GetCompleteTagString() |
GameplayTagsManager.h | ||
FString GetDevComment() |
Returns the Comment for this tag | GameplayTagsManager.h | |
FName GetFirstSourceName() |
GameplayTagsManager.h | ||
FGameplayTagNetIndex GetNetIndex() |
Get the net index of this node | GameplayTagsManager.h | |
TSharedPtr< FGameplayTagNode > GetParentTagNode() |
Get the parent tag node of this node | GameplayTagsManager.h | |
FName GetSimpleTagName() |
Get the simple tag for the node (doesn't include any parent tags) | GameplayTagsManager.h | |
const FGameplayTagContainer & GetSingleTagContainer() |
Returns a correctly constructed container with only this tag, useful for doing container queries | GameplayTagsManager.h | |
| Update the hasher with a deterministic hash of the data on this. | GameplayTagsManager.h | ||
bool IsExplicitTag() |
Returns true if the tag was explicitly specified in code or data | GameplayTagsManager.h | |
bool IsRestrictedGameplayTag() |
Returns true if the tag is a restricted tag | GameplayTagsManager.h | |
void ResetNode() |
Reset the node of all of its values | GameplayTagsManager.h |