Navigation
API > API/Runtime > API/Runtime/CoreUObject
Common implementation for the package localization cache
| Name | FPackageLocalizationCache |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Internationalization/PackageLocalizationCache.h |
| Include Path | #include "Internationalization/PackageLocalizationCache.h" |
Syntax
class FPackageLocalizationCache : public IPackageLocalizationCache
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPackageLocalizationCache() |
Internationalization/PackageLocalizationCache.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPackageLocalizationCache() |
Internationalization/PackageLocalizationCache.h |
Functions
Public
Overridden from IPackageLocalizationCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ConditionalUpdateCache() |
Update this cache, but only if it is dirty. | Internationalization/PackageLocalizationCache.h | |
| Try and find the localized package name for the given source package for the active culture. | Internationalization/PackageLocalizationCache.h | ||
| Try and find the localized package name for the given source package for the given culture. | Internationalization/PackageLocalizationCache.h | ||
virtual void InvalidateRootSourcePath
(
const FString& InRootPath |
Invalidate any cached state for the given root source path, and add it to the queue of things to process when ConditionalUpdateCache is called. | Internationalization/PackageLocalizationCache.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConditionalUpdatePackageNameToAssetGroupCache_NoLock() |
Update the mapping of package names to asset groups (if required). | Internationalization/PackageLocalizationCache.h | |
void FindAssetGroupPackages
(
const FName InAssetGroupName, |
Find all of the packages using the given asset group class, and update the PackageNameToAssetGroup map with the result. | Internationalization/PackageLocalizationCache.h | |
| Find all of the localized packages under the given roots, and update the map with the result. | Internationalization/PackageLocalizationCache.h | ||
TSharedPtr< FPackageLocalizationCultureCache > FindOrAddCacheForCulture_NoLock
(
const FString& InCultureName |
Try and find an existing cache for the given culture name, and create an entry for one if no such cache currently exists. | Internationalization/PackageLocalizationCache.h | |
| Callback handler for when an existing content path is dismounted. | Internationalization/PackageLocalizationCache.h | ||
| Callback handler for when a new content path is mounted. | Internationalization/PackageLocalizationCache.h | ||
void HandleCultureChanged() |
Callback handler for when the active culture is changed. | Internationalization/PackageLocalizationCache.h |