| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagsManager.h |
Include |
#include "GameplayTagsManager.h" |
class UGameplayTagsManager : public UObject
Holds data about the tag dictionary, is in a singleton UObject
Name | Description | ||
---|---|---|---|
|
InvalidTagNetIndex |
This is the actual value for an invalid tag "None". |
|
|
NetIndexFirstBitSegment |
The length in bits of the first segment when net serializing tags. |
|
|
NetIndexTrueBitNum |
Cached number of bits we need to replicate tags. |
|
|
NumBitsForContainerSize |
Numbers of bits to use for replicating container size. This can be set via config. |
|
|
OnFilterGameplayTagChildren |
||
|
OnGameplayTagLoadedDelegate |
||
|
OnGatherGameplayTagDoubleClickedEditor |
||
|
OnGetCategoriesMetaFromPropertyHandle |
||
|
ReplicationCountMap |
||
|
ReplicationCountMap_Containers |
||
|
ReplicationCountMap_SingleTags |
Name | Description | |
---|---|---|
|
UGameplayTagsManager ( |
Name | Description | |
---|---|---|
|
~UGameplayTagsManager() |
Destructor |
Name | Description | ||
---|---|---|---|
|
AddNativeGameplayTag |
Registers the given name as a gameplay tag, and tracks that it is being directly referenced from code This can only be called during engine initialization, the table needs to be locked down before replication |
|
|
AddTagIniSearchPath ( |
Loads tag inis contained in the specified path |
|
|
CallOrRegister_OnDoneAddingNativeTagsDelegate ( |
||
|
ConstructGameplayTagTree() |
Helper function to construct the gameplay tag tree |
|
|
DestroyGameplayTagTree() |
Helper function to destroy the gameplay tag tree |
|
|
DoneAddingNativeTags() |
Call to flush the list of native tags, once called it is unsafe to add more |
|
|
EditorRefreshGameplayTagTree() |
Refresh the gameplaytag tree due to an editor change |
|
|
FindGameplayTagFromPartialString_Slow ( |
Searches for a gameplay tag given a partial string. |
|
|
TSharedPtr< ... |
FindTagNode ( |
Checks node tree to see if a FGameplayTagNode with the name exists |
|
TSharedPtr< ... |
FindTagNode ( |
Checks node tree to see if a FGameplayTagNode with the tag exists |
|
const FGamep... |
FindTagSource ( |
Returns the tag source for a given tag source name and type, or null if not found |
|
FGameplayTag... |
FindTagSource ( |
Returns the tag source for a given tag source name and type, or null if not found |
|
FindTagSourcesWithType ( |
Fills in an array with all tag sources of a specific type |
|
|
GameplayTagContainerLoaded ( |
Notification that a tag container has been loaded via serialize |
|
|
GameplayTagsMatchDepth ( |
Check to see how closely two FGameplayTags match. |
|
|
UGameplayTag... |
Get() |
Returns the global UGameplayTagsManager manager |
|
GetAllTagsFromSource ( |
Gets a list of all gameplay tag nodes added by the specific source |
|
|
GetCategoriesMetaFromField ( |
Returns "Categories" meta property from given field, used for filtering by tag widget |
|
|
GetCategoriesMetaFromFunction |
Returns "GameplayTagFilter" meta property from given function, used for filtering by tag widget for any parameters of the function that end up as BP pins |
|
|
GetCategoriesMetaFromPropertyHandle ( |
Returns "Categories" meta property from given handle, used for filtering by tag widget |
|
|
GetFilteredGameplayRootTags ( |
Gets a Filtered copy of the GameplayRootTags Array based on the comma delimited filter string passed in |
|
|
UGameplayTag... |
GetIfAllocated() |
Returns possibly nullptr to the manager. Needed for some shutdown cases to avoid reallocating. |
|
FGameplayTag... |
GetNetIndexFromTag ( |
|
|
const TArray... |
GetNetworkGameplayTagNodeIndex() |
|
|
GetNetworkGameplayTagNodeIndexHash() |
Returns the hash of NetworkGameplayTagNodeIndex |
|
|
GetOwnersForTagSource |
Returns a list of the owners for a restricted tag config file. May be empty |
|
|
GetRestrictedTagConfigFiles |
Returns a list of the ini files that contain restricted tags |
|
|
GetRestrictedTagSources ( |
Returns a list of the source files that contain restricted tags |
|
|
const FGamep... |
GetSingleTagContainer ( |
Helper function to get the stored TagContainer containing only this tag, which has searchable ParentTags |
|
GetTagEditorData |
Returns information about tag. If not found return false |
|
|
GetTagNameFromNetIndex ( |
Gets a tag name from net index and vice versa, used for replication efficiency |
|
|
ImportSingleGameplayTag ( |
Handles establishing a single tag from an imported tag name (accounts for redirects too). |
|
|
IsDictionaryTag ( |
Returns true if this tag is directly in the dictionary already |
|
|
IsNativelyAddedTag ( |
||
|
IsValidGameplayTagString |
Returns true if this is a valid gameplay tag string (foo.bar.baz). If false, it will fill |
|
|
LoadGameplayTagTables ( |
Loads the tag tables referenced in the GameplayTagSettings object |
|
|
NotifyGameplayTagDoubleClickedEditor ( |
||
|
NotifyTagReplicated ( |
||
|
FSimpleMulti... |
OnLastChanceToAddNativeTags() |
|
|
PrintReplicationFrequencyReport() |
Mechanism for tracking what tags are frequently replicated |
|
|
PrintReplicationIndices() |
||
|
RedirectSingleGameplayTag ( |
Handles redirectors for a single tag, will also error on invalid tag. |
|
|
RedirectTagsForContainer ( |
Handles redirectors for an entire container, will also error on invalid tags |
|
|
RequestAllGameplayTags ( |
Gets the list of all tags in the dictionary |
|
|
RequestGameplayTag |
Gets the FGameplayTag that corresponds to the TagName |
|
|
FGameplayTag... |
RequestGameplayTagChildren ( |
Gets a Tag Container containing the all tags in the hierarchy that are children of this tag. |
|
FGameplayTag... |
RequestGameplayTagChildrenInDictionary ( |
Gets a Tag Container containing all of the tags in the hierarchy that are children of this tag, and were explicitly added to the dictionary |
|
RequestGameplayTagContainer ( |
Adds the gameplay tags corresponding to the strings in the array TagStrings to OutTagsContainer |
|
|
FGameplayTag... |
RequestGameplayTagDirectDescendantsInDictionary ( |
Gets a Tag Container containing all of the tags in the hierarchy that are children of this tag, were explicitly added to the dictionary, and do not have any explicitly added tags between them and the specified tag |
|
RequestGameplayTagDirectParent ( |
Returns direct parent GameplayTag of this GameplayTag, calling on x.y will return x |
|
|
FGameplayTag... |
RequestGameplayTagParents ( |
Gets a Tag Container containing the supplied tag and all of it's parents as explicit tags |
|
ShouldImportTagsFromINI() |
Returns true if we should import tags from UGameplayTagsSettings objects (configured by INI files) |
|
|
ShouldUseFastReplication() |
Should use fast replication |
|
|
ShouldWarnOnInvalidTags() |
Should we print loading errors when trying to load invalid tags |
|
|
ShowGameplayTagAsHyperLinkEditor ( |
||
|
SingleGameplayTagLoaded ( |
Notification that a gameplay tag has been loaded via serialize |
|
|
SplitGameplayTagFName ( |
Splits a tag such as x.y.z into an array of names {x,y,z} |
|
|
StaticGetCategoriesMetaFromPropertyHandle ( |
Helper function, made to be called by custom OnGetCategoriesMetaFromPropertyHandle handlers |
|
|
ValidateTagCreation ( |
Returns true if if the passed in name is in the tag dictionary and can be created |
Name |
Description |
---|---|
FOnFilterGameplayTagChildren |
Allows dynamic hiding of gameplay tags in SGameplayTagWidget. |
FOnGameplayTagDoubleClickedEditor |
|
FOnGameplayTagLoaded |
|
FOnGetCategoriesMetaFromPropertyHandle |
Chance to dynamically change filter string based on a property handle |
Name |
Description |
---|---|
NAME_Categories |
|
NAME_GameplayTagFilter |
|
OnEditorRefreshGameplayTagTree |
This is called when EditorRefreshGameplayTagTree. |
SingletonManager |
The Tag Manager singleton |
Name | Description | ||
---|---|---|---|
|
GameplayTagsMatch ( |
Call MatchesTag on FGameplayTag instead |
|
|
GetCategoriesMetaFromStruct ( |
Please call GetCategoriesMetaFromField instead. |