Singleton class that manages localized package data. 更多...
#include <PackageLocalizationManager.h>
Public 成员函数 | |
| void | ConditionalUpdateCache () |
| Update this cache, but only if it is dirty. | |
| FName | FindLocalizedPackageName (const FName InSourcePackageName) |
| Try and find the localized package name for the given source package for the active culture. 更多... | |
| FName | FindLocalizedPackageNameForCulture (const FName InSourcePackageName, const FString &InCultureName) |
| Try and find the localized package name for the given source package for the given culture. 更多... | |
| void | InitializeFromCache (const TSharedRef< IPackageLocalizationCache > &InCache) |
| Initialize the manager using the given cache. 更多... | |
| void | InitializeFromDefaultCache () |
| Initialize this manager using the default cache. 更多... | |
| void | InitializeFromLazyCallback (FLazyInitFunc InLazyInitFunc) |
| Initialize the manager lazily using the given callback. 更多... | |
| void | PerformLazyInitialization () |
| Initialize the manager from the callback set by InitializeFromLazyCallback. 更多... | |
静态 Public 成员函数 | |
| static FPackageLocalizationManager & | Get () |
| Singleton accessor. 更多... | |
Singleton class that manages localized package data.
Try and find the localized package name for the given source package for the active culture.
| InSourcePackageName | The name of the source package to find. |
| FName FPackageLocalizationManager::FindLocalizedPackageNameForCulture | ( | const FName | InSourcePackageName, |
| const FString & | InCultureName | ||
| ) |
Try and find the localized package name for the given source package for the given culture.
| InSourcePackageName | The name of the source package to find. |
| InCultureName | The name of the culture to find the package for. |
|
static |
Singleton accessor.
| void FPackageLocalizationManager::InitializeFromCache | ( | const TSharedRef< IPackageLocalizationCache > & | InCache | ) |
Initialize the manager using the given cache.
This will perform an initial scan for localized packages.
| InCache | The cache the manager should use. |
| void FPackageLocalizationManager::InitializeFromDefaultCache | ( | ) |
Initialize this manager using the default cache.
This will perform an initial scan for localized packages.
| void FPackageLocalizationManager::InitializeFromLazyCallback | ( | FLazyInitFunc | InLazyInitFunc | ) |
Initialize the manager lazily using the given callback.
It is expected that this callback calls one of the InitializeFromX functions.
| InLazyInitFunc | The function to call to initialize the manager. |
| void FPackageLocalizationManager::PerformLazyInitialization | ( | ) |
Initialize the manager from the callback set by InitializeFromLazyCallback.
It is expected that this callback calls one of the InitializeFromX functions.