FLocalizationTargetDescriptor

Description of a localization target.

Windows
MacOS
Linux

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

Name Description

Public variable

ELocalizationTa...

 

LoadingPolicy

When should the localization data associated with a target should be loaded?

Public variable

FString

 

Name

Name of this target

Constructors

Name Description

Public function

FLocalizationTargetDescriptor

(
    FString InName,
    ELocalizationTargetDescriptorLoadin...
)

Normal constructor

Functions

Name Description

Public function

bool

 

Read

(
    const FJsonObject& InObject,
    FText& OutFailReason
)

Reads a descriptor from the given JSON object

Public function Static

bool

 

ReadArray

(
    const FJsonObject& InObject,
    const TCHAR* InName,
    TArray< FLocalizationTargetDescript...,
    FText& OutFailReason
)

Reads an array of targets from the given JSON object

Public function Const

bool

 

ShouldLoadLocalizationTarget()

Returns true if we should load this localization target based upon the current runtime environment

Public function Static

void

 

UpdateArray

(
    FJsonObject& JsonObject,
    const TCHAR* ArrayName,
    const TArray< FLocalizationTargetDe...
)

Updates an array of descriptors in the specified JSON field (indexed by name)

Public function Const

void

 

UpdateJson

(
    FJsonObject& JsonObject
)

Updates the given json object with values in this descriptor

Public function Const

void

 

Write

(
    TJsonWriter<>& Writer
)

Writes a descriptor to JSON

Public function Static

void

 

WriteArray

(
    TJsonWriter<>& Writer,
    const TCHAR* ArrayName,
    const TArray< FLocalizationTargetDe...
)

Writes an array of targets to JSON

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss