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