UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IPackageLocalizationCache Class Referenceabstract

#include <IPackageLocalizationCache.h>

+ Inheritance diagram for IPackageLocalizationCache:

Public Member Functions

virtual ~IPackageLocalizationCache ()
 
virtual void InvalidateRootSourcePath (const FString &InRootPath)=0
 
virtual void ConditionalUpdateCache ()=0
 
virtual FName FindLocalizedPackageName (const FName InSourcePackageName)=0
 
virtual FName FindLocalizedPackageNameForCulture (const FName InSourcePackageName, const FString &InCultureName)=0
 

Detailed Description

Interface for types that provide caching for package localization.

Constructor & Destructor Documentation

◆ ~IPackageLocalizationCache()

virtual IPackageLocalizationCache::~IPackageLocalizationCache ( )
inlinevirtual

Member Function Documentation

◆ ConditionalUpdateCache()

virtual void IPackageLocalizationCache::ConditionalUpdateCache ( )
pure virtual

Update this cache, but only if it is dirty.

Implemented in FPackageLocalizationCache.

◆ FindLocalizedPackageName()

virtual FName IPackageLocalizationCache::FindLocalizedPackageName ( const FName  InSourcePackageName)
pure virtual

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

Parameters
InSourcePackageNameThe name of the source package to find.
Returns
The localized package name, or NAME_None if there is no localized package.

Implemented in FPackageLocalizationCache.

◆ FindLocalizedPackageNameForCulture()

virtual FName IPackageLocalizationCache::FindLocalizedPackageNameForCulture ( const FName  InSourcePackageName,
const FString &  InCultureName 
)
pure virtual

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

Parameters
InSourcePackageNameThe name of the source package to find.
InCultureNameThe name of the culture to find the package for.
Returns
The localized package name, or NAME_None if there is no localized package.

Implemented in FPackageLocalizationCache.

◆ InvalidateRootSourcePath()

virtual void IPackageLocalizationCache::InvalidateRootSourcePath ( const FString &  InRootPath)
pure virtual

Invalidate any cached state for the given root source path, and add it to the queue of things to process when ConditionalUpdateCache is called. eg) when new asset registry state is loaded for a plugin that may invalidate its cached data

Implemented in FPackageLocalizationCache.


The documentation for this class was generated from the following file: