class

FGameplayTagRegistry

Module
Core
Header
#include "Core/GameplayTagContainer.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
FGameplayTagRegistry&Get
FGameplayTagAddNativeTagDeclares a tag (and every parent of it).
uint32_tLoadFromIniReads [/Script/GameplayTags.GameplayTagsSettings] from an INI already combined (GameplayTagList and GameplayTagRedirects).
uint32_tLoadForProjectThe GameplayTags INI hierarchy of a project (BaseGameplayTags.ini under Engine/Config, DefaultGameplayTags.ini under the project's Config).
voidAddRedirect
FGameplayTagRequestThe tag for path, following redirects.
boolIsDeclared
std::vector<std::string>GetAllTags
std::vector<std::string>GetUndeclaredRequests
std::stringGetComment
uint16_tGetNetIndexIndex into the sorted declared-tag list, 1-based (0 = not declared).
FGameplayTagFromNetIndex
voidGetParentsEvery proper ancestor of tag, nearest first ("A.B.C" -> "A.B", "A").
voidReset

Function details

Get

C++
static FGameplayTagRegistry& Get()

AddNativeTag

C++
FGameplayTag AddNativeTag(std::string_view path, const char* comment = nullptr)

Declares a tag (and every parent of it). Returns the tag.

LoadFromIni

C++
uint32_t LoadFromIni(const FConfigIniFile& ini)

Reads [/Script/GameplayTags.GameplayTagsSettings] from an INI already combined (GameplayTagList and GameplayTagRedirects). Returns the number of tags declared by it.

LoadForProject

C++
uint32_t LoadForProject(const std::filesystem::path& projectConfigDir)

The GameplayTags INI hierarchy of a project (BaseGameplayTags.ini under Engine/Config, DefaultGameplayTags.ini under the project's Config).

AddRedirect

C++
void AddRedirect(std::string_view oldPath, std::string_view newPath)

Request

C++
FGameplayTag Request(std::string_view path)

The tag for path, following redirects. An undeclared path still returns a valid tag (content must keep loading), but is recorded and counted, so the editor can list typos.

IsDeclared

C++
bool IsDeclared(FGameplayTag tag) const

GetAllTags

C++
std::vector<std::string> GetAllTags() const

GetUndeclaredRequests

C++
std::vector<std::string> GetUndeclaredRequests() const

GetComment

C++
std::string GetComment(FGameplayTag tag) const

GetNetIndex

C++
uint16_t GetNetIndex(FGameplayTag tag) const

Index into the sorted declared-tag list, 1-based (0 = not declared). Both ends of a session build the list from the same config, so the index is a 16-bit stand-in for the whole path on the wire.

FromNetIndex

C++
FGameplayTag FromNetIndex(uint16_t index) const

GetParents

C++
static void GetParents(FGameplayTag tag, std::vector<FGameplayTag>& out)

Every proper ancestor of tag, nearest first ("A.B.C" -> "A.B", "A").

Reset

C++
void Reset()
Generated from Core/GameplayTagContainer.h via core.json · Nov 5, 2026Version 1.0.0