UKismetStringTableLibrary::IsRegisteredTableId
#include "Kismet/KismetStringTableLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Checks whether a string table with the given ID is currently registered and available for lookups.
Caveats & Gotchas
- • TableId is the string table's registered ID (set when the table is created or imported), not the StringTable asset's package path — passing an asset path here returns false.
- • A table can be unregistered later (e.g. if the owning asset is unloaded), so a true result here is only a snapshot at the time of the call.
Signature
static bool IsRegisteredTableId(const FName TableId); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| TableId | const FName | Registered ID of the string table to check. | — |
Return Type
bool Example
Guard a lookup with a registration check C++
if (UKismetStringTableLibrary::IsRegisteredTableId(TEXT("MyGameStrings")))
{
const FString Greeting = UKismetStringTableLibrary::GetTableEntrySourceString(TEXT("MyGameStrings"), TEXT("WelcomeMessage"));
} See Also
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?