Package localization cache for a specific culture (may contain a chain of cultures internally based on their priority)
更多...
#include <PackageLocalizationCache.h>
Package localization cache for a specific culture (may contain a chain of cultures internally based on their priority)
◆ FPackageLocalizationCultureCache()
Construct a new culture specific cache.
- 参数
-
◆ AddPackage()
| bool FPackageLocalizationCultureCache::AddPackage |
( |
const FString & |
InPackageName | ) |
|
Add a package (potentially source or localized) to this cache.
- 参数
-
| InPackageName | The 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.
- 参数
-
| InRootPath | The 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.
- 参数
-
| InSourcePackageName | The 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.
- 参数
-
| InPackageName | The 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.
- 参数
-
| InRootPath | The root source path to remove. |
该类的文档由以下文件生成:
- PackageLocalizationCache.h