UKismetStringTableLibrary::GetTableEntryMetaData
#include "Kismet/KismetStringTableLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns a named piece of meta-data attached to a string table entry, such as authoring notes added during localization import.
Caveats & Gotchas
- • Meta-data IDs are arbitrary and project-specific — use GetMetaDataIdsFromStringTableEntry first to discover what's actually available on an entry rather than guessing MetaDataId values.
- • Returns an empty string if the table, key, or meta-data ID doesn't exist, with no way to distinguish those cases from the return value alone.
Signature
static FString GetTableEntryMetaData(const FName TableId, const FString& Key, const FName MetaDataId); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| TableId | const FName | Registered ID of the string table. | — |
| Key | const FString& | Entry key to look up. | — |
| MetaDataId | const FName | Name of the meta-data field to read from the entry. | — |
Return Type
FString Example
Read a specific meta-data value C++
const FString Notes = UKismetStringTableLibrary::GetTableEntryMetaData(TEXT("MyGameStrings"), TEXT("WelcomeMessage"), TEXT("TranslatorNotes")); See Also
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?