engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FPackageLocalizationCultureCache类 参考

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

#include <PackageLocalizationCache.h>

Public 成员函数

bool AddPackage (const FString &InPackageName)
 Add a package (potentially source or localized) to this cache. 更多...
 
void AddRootSourcePath (const FString &InRootPath)
 Add a source path to be scanned the next time ConditionalUpdateCache is called. 更多...
 
void ConditionalUpdateCache ()
 Update this cache, but only if it is dirty.
 
void Empty ()
 Restore this cache to an empty state.
 
FName FindLocalizedPackageName (const FName InSourcePackageName)
 Try and find the localized package name for the given source package for culture we represent. 更多...
 
 FPackageLocalizationCultureCache (FPackageLocalizationCache *InOwnerCache, const FString &InCultureName)
 Construct a new culture specific cache. 更多...
 
bool RemovePackage (const FString &InPackageName)
 Remove a package (potentially source or localized) from this cache. 更多...
 
void RemoveRootSourcePath (const FString &InRootPath)
 Remove a source path. 更多...
 

详细描述

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

构造及析构函数说明

◆ FPackageLocalizationCultureCache()

FPackageLocalizationCultureCache::FPackageLocalizationCultureCache ( FPackageLocalizationCache *  InOwnerCache,
const FString &  InCultureName 
)

Construct a new culture specific cache.

参数
InOwnerCacheA pointer to our owner cache. Used to perform an implementation specific search for localized packages (see FPackageLocalizationCache::FindLocalizedPackages).
InCultureNameThe name of the culture this cache is for.

成员函数说明

◆ AddPackage()

bool FPackageLocalizationCultureCache::AddPackage ( const FString &  InPackageName)

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

参数
InPackageNameThe name of the package to add.
返回
TRUE if the supplied package is a localized asset and was added to the culture cache, FALSE otherwise

◆ AddRootSourcePath()

void FPackageLocalizationCultureCache::AddRootSourcePath ( const FString &  InRootPath)

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

参数
InRootPathThe root source path to add.

◆ FindLocalizedPackageName()

FName FPackageLocalizationCultureCache::FindLocalizedPackageName ( const FName  InSourcePackageName)

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

参数
InSourcePackageNameThe name of the source package to find.
返回
The localized package name, or NAME_None if there is no localized package.

◆ RemovePackage()

bool FPackageLocalizationCultureCache::RemovePackage ( const FString &  InPackageName)

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

参数
InPackageNameThe name of the package to remove.
返回
TRUE if the supplied package is a localized asset and was removed from the culture cache, FALSE otherwise

◆ RemoveRootSourcePath()

void FPackageLocalizationCultureCache::RemoveRootSourcePath ( const FString &  InRootPath)

Remove a source path.

This will remove it from the pending list, as well as immediately remove any localized package entries mapped from this source root.

参数
InRootPathThe root source path to remove.

该类的文档由以下文件生成: