Singleton registry of known string table instances 更多...
#include <StringTableRegistry.h>
Public 成员函数 | |
| void | EnumerateStringTables (const TFunctionRef< bool(const FName &, const FStringTableConstRef &)> &InEnumerator) const |
| Enumerate all registered string tables | |
| FStringTablePtr | FindMutableStringTable (const FName InTableId) const |
| Try and find a string table with the given ID | |
| FStringTableConstPtr | FindStringTable (const FName InTableId) const |
| Try and find a string table with the given ID | |
| UStringTable * | FindStringTableAsset (const FName InTableId) const |
| Try and find a string table asset with the given ID | |
| bool | FindTableIdAndKey (const FText &InText, FName &OutTableId, FString &OutKey) const |
| Given an FText, try and find the table ID and key for it | |
| bool | FindTableIdAndKey (const FTextDisplayStringRef &InDisplayString, FName &OutTableId, FString &OutKey) const |
| Given an FText display string, try and find the table ID and key for it | |
| FText | Internal_FindLocTableEntry (const FName InTableId, const FString &InKey, const EStringTableLoadingPolicy InLoadingPolicy) const |
| Internal function called by LOCTABLE to find the entry with by the given key within the given string table (redirects, will load assets if needed, and returns a dummy FText if not found) | |
| void | Internal_LocTableFromFile (const FName InTableId, const FString &InNamespace, const FString &InFilePath, const FString &InRootPath) |
| Internal function called by LOCTABLE_FROMFILE_X to create and register a FStringTable instance that has been populated from a file | |
| void | Internal_NewLocTable (const FName InTableId, const FString &InNamespace) |
| Internal function called by LOCTABLE_NEW to create and register a new FStringTable instance | |
| void | Internal_SetLocTableEntry (const FName InTableId, const FString &InKey, const FString &InSourceString) |
| Internal function called by LOCTABLE_SETSTRING to set the entry denoted by the given key to the given source string, within the given string table (table must have been registered already) | |
| void | Internal_SetLocTableEntryMetaData (const FName InTableId, const FString &InKey, const FName InMetaDataId, const FString &InMetaData) |
| Internal function called by LOCTABLE_SETMETA to set meta-data for the entry denoted by the given key, within the given string table (table must have been registered already) | |
| void | LogMissingStringTableEntry (const FName InTableId, const FString &InKey) |
| Log a missing string table entry (will only log each missing entry once to avoid spam) | |
| void | RegisterStringTable (const FName InTableId, FStringTableRef InTable) |
| Register a string table with the given ID | |
| void | UnregisterStringTable (const FName InTableId) |
| Unregister a string table with the given ID | |
静态 Public 成员函数 | |
| static FStringTableRegistry & | Get () |
| Singleton accessor | |
Singleton registry of known string table instances