RealDocs

UKismetStringTableLibrary::GetMetaDataIdsFromStringTableEntry

function Engine Blueprint Since unknown
#include "Kismet/KismetStringTableLibrary.h"
Access: public Specifiers: staticBlueprintPure

Description

Returns the meta-data IDs attached to a specific string table entry, for use with GetTableEntryMetaData.

Caveats & Gotchas

  • Returns an empty array if the table or key doesn't exist, or if the entry simply has no meta-data attached — those cases aren't distinguishable from the result alone.
  • Meta-data is typically populated by the localization import pipeline (e.g. translator notes); most entries won't have any unless the project's loc workflow adds it.

Signature

static TArray<FName> GetMetaDataIdsFromStringTableEntry(const FName TableId, const FString& Key);

Parameters

Name Type Description Default
TableId const FName Registered ID of the string table.
Key const FString& Entry key to inspect.

Return Type

TArray<FName>

Example

Discover then read an entry's meta-data C++
const TArray<FName> MetaDataIds = UKismetStringTableLibrary::GetMetaDataIdsFromStringTableEntry(TEXT("MyGameStrings"), TEXT("WelcomeMessage"));
for (const FName& Id : MetaDataIds)
{
	const FString Value = UKismetStringTableLibrary::GetTableEntryMetaData(TEXT("MyGameStrings"), TEXT("WelcomeMessage"), Id);
}

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.