Implementation of a package localization cache that takes advantage of the asset registry.
更多...
|
| virtual void | FindAssetGroupPackages (const FName InAssetGroupName, const FName InAssetClassName) override |
| | Find all of the packages using the given asset group class, and update the PackageNameToAssetGroup map with the result. 更多...
|
| |
| virtual void | FindLocalizedPackages (const FString &InSourceRoot, const FString &InLocalizedRoot, TMap< FName, TArray< FName > > &InOutSourcePackagesToLocalizedPackages) override |
| | Find all of the localized packages under the given roots, and update the map with the result. 更多...
|
| |
|
void | ConditionalUpdatePackageNameToAssetGroupCache_NoLock () |
| | Update the mapping of package names to asset groups (if required).
|
| |
| virtual void | FindAssetGroupPackages (const FName InAssetGroupName, const FName InAssetClassName)=0 |
| | Find all of the packages using the given asset group class, and update the PackageNameToAssetGroup map with the result. 更多...
|
| |
| virtual void | FindLocalizedPackages (const FString &InSourceRoot, const FString &InLocalizedRoot, TMap< FName, TArray< FName > > &InOutSourcePackagesToLocalizedPackages)=0 |
| | Find all of the localized packages under the given roots, and update the map with the result. 更多...
|
| |
| 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. 更多...
|
| |
| void | HandleContentPathDismounted (const FString &InAssetPath, const FString &InFilesystemPath) |
| | Callback handler for when an existing content path is dismounted. 更多...
|
| |
| void | HandleContentPathMounted (const FString &InAssetPath, const FString &InFilesystemPath) |
| | Callback handler for when a new content path is mounted. 更多...
|
| |
|
void | HandleCultureChanged () |
| | Callback handler for when the active culture is changed.
|
| |
|
|
virtual void | ConditionalUpdateCache () override |
| | Update this cache, but only if it is dirty.
|
| |
| virtual FName | FindLocalizedPackageName (const FName InSourcePackageName) override |
| | Try and find the localized package name for the given source package for the active culture. 更多...
|
| |
| virtual FName | FindLocalizedPackageNameForCulture (const FName InSourcePackageName, const FString &InCultureName) override |
| | Try and find the localized package name for the given source package for the given culture. 更多...
|
| |
|
virtual void | ConditionalUpdateCache ()=0 |
| | Update this cache, but only if it is dirty.
|
| |
| virtual FName | FindLocalizedPackageName (const FName InSourcePackageName)=0 |
| | Try and find the localized package name for the given source package for the active culture. 更多...
|
| |
| virtual FName | FindLocalizedPackageNameForCulture (const FName InSourcePackageName, const FString &InCultureName)=0 |
| | Try and find the localized package name for the given source package for the given culture. 更多...
|
| |
|
TArray< TTuple< FString, TSharedPtr< FPackageLocalizationCultureCache > > > | AllCultureCaches |
| | Mapping between a culture name, and the culture specific cache for that culture.
|
| |
|
TArray< TTuple< FName, FName > > | AssetClassesToAssetGroups |
| | Mapping between a class name, and the asset group the class belongs to (for class specific package localization).
|
| |
|
TSharedPtr< FPackageLocalizationCultureCache > | CurrentCultureCache |
| | Pointer to the culture specific cache for the current culture.
|
| |
|
FCriticalSection | LocalizedCachesCS |
| | Critical section preventing concurrent access to our data.
|
| |
|
TMap< FName, FName > | PackageNameToAssetGroup |
| | Mapping between a package name, and the asset group it belongs to.
|
| |
Implementation of a package localization cache that takes advantage of the asset registry.