FPackageLocalizationCultureCache

Package localization cache for a specific culture (may contain a chain of cultures internally based on their priority)

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Internationalization/PackageLocalizationCache.h

Include

#include "Internationalization/PackageLocalizationCache.h"

Syntax

class FPackageLocalizationCultureCache

Remarks

Package localization cache for a specific culture (may contain a chain of cultures internally based on their priority)

Constructors

Name Description

Public function

FPackageLocalizationCultureCache

(
    FPackageLocalizationCache* InO...,
    const FString& InCultureName
)

Construct a new culture specific cache.

Functions

Name Description

Public function

bool

 

AddPackage

(
    const FString& InPackageName
)

Add a package (potentially source or localized) to this cache.

Public function

void

 

AddRootSourcePath

(
    const FString& InRootPath
)

Add a source path to be scanned the next time ConditionalUpdateCache is called.

Public function

void

 

ConditionalUpdateCache()

Update this cache, but only if it is dirty.

Public function

void

 

Empty()

Restore this cache to an empty state.

Public function

FName

 

FindLocalizedPackageName

(
    const FName InSourcePackageName
)

Try and find the localized package name for the given source package for culture we represent.

Public function

bool

 

RemovePackage

(
    const FString& InPackageName
)

Remove a package (potentially source or localized) from this cache.

Public function

void

 

RemoveRootSourcePath

(
    const FString& InRootPath
)

Remove a source path.

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