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

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.

成员函数说明

◆ FindLocalizedPackageName()

FName FPackageLocalizationManager::FindLocalizedPackageName ( const FName  InSourcePackageName)

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

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

◆ FindLocalizedPackageNameForCulture()

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.

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

◆ Get()

static FPackageLocalizationManager & FPackageLocalizationManager::Get ( )
static

Singleton accessor.

返回
The singleton instance of the localization manager.

◆ InitializeFromCache()

void FPackageLocalizationManager::InitializeFromCache ( const TSharedRef< IPackageLocalizationCache > &  InCache)

Initialize the manager using the given cache.

This will perform an initial scan for localized packages.

参数
InCacheThe cache the manager should use.

◆ InitializeFromDefaultCache()

void FPackageLocalizationManager::InitializeFromDefaultCache ( )

Initialize this manager using the default cache.

This will perform an initial scan for localized packages.

◆ InitializeFromLazyCallback()

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.

参数
InLazyInitFuncThe function to call to initialize the manager.

◆ PerformLazyInitialization()

void FPackageLocalizationManager::PerformLazyInitialization ( )

Initialize the manager from the callback set by InitializeFromLazyCallback.

It is expected that this callback calls one of the InitializeFromX functions.


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