UKismetStringTableLibrary::IsRegisteredTableEntry
#include "Kismet/KismetStringTableLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Checks whether a specific entry (by key) exists within a registered string table.
Caveats & Gotchas
- • Returns false for both 'table not registered' and 'table registered but key missing' — check IsRegisteredTableId separately if you need to tell those cases apart.
- • Key lookups are case-sensitive and must match the key exactly as authored in the string table's source.
Signature
static bool IsRegisteredTableEntry(const FName TableId, const FString& Key); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| TableId | const FName | Registered ID of the string table to check. | — |
| Key | const FString& | Entry key to look for within the table. | — |
Return Type
bool Example
Check an entry exists before reading it C++
if (UKismetStringTableLibrary::IsRegisteredTableEntry(TEXT("MyGameStrings"), TEXT("WelcomeMessage")))
{
const FString Text = UKismetStringTableLibrary::GetTableEntrySourceString(TEXT("MyGameStrings"), TEXT("WelcomeMessage"));
} See Also
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?