UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StringTable.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreTypes.h"
7#include "UObject/Object.h"
8#include "StringTable.generated.h"
9
12
13namespace UE::StringTable
14{
15
16#if WITH_EDITORONLY_DATA
21ENGINE_API void GatherForLocalization(const FString& SourceLocation, const FStringTableConstRef& StringTable, FPropertyLocalizationDataGatherer& PropertyLocalizationDataGatherer, const EPropertyLocalizationGathererTextFlags GatherTextFlags);
22#endif // WITH_EDITORONLY_DATA
23
24}
25
27UCLASS(MinimalAPI)
29{
31
32public:
34
36 static ENGINE_API void InitializeEngineBridge();
37
38 //~ UObject interface
39 ENGINE_API virtual void FinishDestroy() override;
40 ENGINE_API virtual void Serialize(FArchive& Ar) override;
41 ENGINE_API virtual void PostLoad() override;
42 ENGINE_API virtual bool Rename(const TCHAR* NewName = nullptr, UObject* NewOuter = nullptr, ERenameFlags Flags = REN_None) override;
43
45 ENGINE_API static void OnPluginUnloaded(FStringView PluginName);
46
48 ENGINE_API FName GetStringTableId() const;
49
51 ENGINE_API FStringTableConstRef GetStringTable() const;
52
54 ENGINE_API FStringTableRef GetMutableStringTable() const;
55
56private:
58 FStringTablePtr StringTable;
59
61 FName StringTableId;
62};
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32 ERenameFlags
Definition ObjectMacros.h:2302
#define REN_None
Definition ObjectMacros.h:2305
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
EPropertyLocalizationGathererTextFlags
Definition PropertyLocalizationDataGathering.h:29
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition Archive.h:1208
Definition NameTypes.h:617
Definition PropertyLocalizationDataGathering.h:109
Definition SharedPointer.h:153
Definition Object.h:95
Definition StringTable.h:29
Definition StringTable.cpp:18