UGameplayTagsManager::RequestGameplayTagContainer

Adds the gameplay tags corresponding to the strings in the array TagStrings to OutTagsContainer

Choose your operating system:

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

void RequestGameplayTagContainer
(
    const TArray< FString > & TagStrings,
    FGameplayTagContainer & OutTagsContainer,
    bool bErrorIfNotFound
) const

Remarks

Adds the gameplay tags corresponding to the strings in the array TagStrings to OutTagsContainer

Parameters

Parameter

Description

TagStrings

Array of strings to search for as tags to add to the tag container

OutTagsContainer

Container to add the found tags to.

ErrorIfNotfound

ensure() that tags exists.