UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PropertyLocalizationDataGathering.h File Reference
#include "Containers/Array.h"
#include "Containers/Map.h"
#include "Containers/Set.h"
#include "Containers/UnrealString.h"
#include "CoreMinimal.h"
#include "HAL/Platform.h"
#include "Internationalization/GatherableTextData.h"
#include "Internationalization/TextKey.h"
#include "Misc/EnumClassFlags.h"
#include "Templates/Function.h"
#include "Templates/TypeHash.h"
#include "Templates/UniquePtr.h"

Go to the source code of this file.

Classes

class  FPropertyLocalizationDataGatherer
 
struct  FPropertyLocalizationDataGatherer::FGatherableFieldsForType
 
struct  FAutoRegisterLocalizationDataGatheringCallback
 

Enumerations

enum class  EPropertyLocalizationGathererTextFlags : uint8 {
  None = 0 , ForceHasScript = 1<<0 , ForceEditorOnlyProperties = 1<<1 , ForceEditorOnlyScriptData = 1<<2 ,
  ForceEditorOnly = ForceEditorOnlyProperties | ForceEditorOnlyScriptData , ForceIsDefaultValue = 1<<3 , SkipProperties = 1<<4 , SkipScriptData = 1<<5 ,
  SkipSubObjects = 1<<6
}
 
enum class  EPropertyLocalizationGathererResultFlags : uint8 {
  Empty = 0 , HasText = 1<<0 , HasScript = 1<<1 , HasTextWithInvalidPackageLocalizationID = 1<<2 ,
  HasTextInitializedFromString = 1 << 3
}
 

Functions

 ENUM_CLASS_FLAGS (EPropertyLocalizationGathererTextFlags)
 
 ENUM_CLASS_FLAGS (EPropertyLocalizationGathererResultFlags)
 

Enumeration Type Documentation

◆ EPropertyLocalizationGathererResultFlags

Enumerator
Empty 

The call resulted in no text or script data being added to the array.

HasText 

The call resulted in text data being added to the array.

HasScript 

The call resulted in script data being added to the array.

HasTextWithInvalidPackageLocalizationID 

The call resulted in text with an invalid package localization ID being added to the array.

HasTextInitializedFromString 

The call resulted in text initialized from a string being detected. The text is NOT added to the array.

◆ EPropertyLocalizationGathererTextFlags

Enumerator
None 

Automatically detect whether text is editor-only data using the flags available on the properties.

ForceHasScript 

Force the HasScript flag to be set, even if the object in question doesn't contain bytecode.

ForceEditorOnlyProperties 

Force text gathered from object properties to be treated as editor-only data.

Note
Does not apply to properties gathered from script data (see ForceEditorOnlyScriptData).
ForceEditorOnlyScriptData 

Force text gathered from script data to be treated as editor-only data.

ForceEditorOnly 

Force all gathered text to be treated as editor-only data.

ForceIsDefaultValue 

Force all gathered text to be considered "default" (matching its archetype value).

SkipProperties 

Don't process text gathered from object properties.

Note
Does not apply to properties gathered from script data (see SkipScriptData).
SkipScriptData 

Don't process text gathered from script data.

SkipSubObjects 

Don't process any sub-objects (either inner objects or object pointers).

Function Documentation

◆ ENUM_CLASS_FLAGS() [1/2]

◆ ENUM_CLASS_FLAGS() [2/2]