Navigation
API > API/Runtime > API/Runtime/Projects
Description of a localization target.
| Name | FLocalizationTargetDescriptor |
| Type | struct |
| Header File | /Engine/Source/Runtime/Projects/Public/LocalizationDescriptor.h |
| Include Path | #include "LocalizationDescriptor.h" |
Syntax
struct FLocalizationTargetDescriptor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLocalizationTargetDescriptor
(
FString InName, |
Normal constructor | LocalizationDescriptor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConfigGenerationPolicy | ELocalizationConfigGenerationPolicy::Type | How the localizationc config files associated with the localization target are generated | LocalizationDescriptor.h | |
| LoadingPolicy | ELocalizationTargetDescriptorLoadingPolicy::Type | When should the localization data associated with a target should be loaded? | LocalizationDescriptor.h | |
| Name | FString | Name of this target | LocalizationDescriptor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Read
(
const FJsonObject& InObject, |
Reads a descriptor from the given JSON object | LocalizationDescriptor.h | |
bool Read
(
const FJsonObject& InObject, |
Reads a descriptor from the given JSON object | LocalizationDescriptor.h | |
bool ShouldLoadLocalizationTarget() |
Returns true if we should load this localization target based upon the current runtime environment | LocalizationDescriptor.h | |
void UpdateJson
(
FJsonObject& JsonObject |
Updates the given json object with values in this descriptor | LocalizationDescriptor.h | |
void Write
(
TJsonWriter<>& Writer |
Writes a descriptor to JSON | LocalizationDescriptor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool ReadArray
(
const FJsonObject& InObject, |
Reads an array of targets from the given JSON object | LocalizationDescriptor.h | |
static bool ReadArray
(
const FJsonObject& InObject, |
Reads an array of targets from the given JSON object | LocalizationDescriptor.h | |
static void UpdateArray
(
FJsonObject& JsonObject, |
Updates an array of descriptors in the specified JSON field (indexed by name) | LocalizationDescriptor.h | |
static void WriteArray
(
TJsonWriter<>& Writer, |
Writes an array of targets to JSON | LocalizationDescriptor.h |