engine
 
载入中...
搜索中...
未找到
Public 类型 | 静态 Public 成员函数 | 静态 Protected 属性 | 所有成员列表
IStringTableEngineBridge类 参考abstract

Interface to allow Core code to access String Table assets from the Engine 更多...

#include <StringTableCore.h>

Public 类型

typedef TFunction< void(FName, FName)> FLoadStringTableAssetCallback
 Callback used when loading string table assets. 更多...
 

静态 Public 成员函数

static bool CanFindOrLoadStringTableAsset ()
 Check to see whether it is currently safe to attempt to find or load a string table asset. 更多...
 
static void CollectStringTableAssetReferences (FName &InOutTableId, FStructuredArchive::FSlot Slot)
 Collect a string table asset reference
 
static void FullyLoadStringTableAsset (FName &InOutTableId)
 Fully load a string table asset by its name, synchronously. 更多...
 
static bool IsStringTableAssetBeingReplaced (const UStringTable *InStringTableAsset)
 Is this string table asset being replaced due to a hot-reload?
 
static bool IsStringTableFromAsset (const FName InTableId)
 Is this string table from an asset?
 
static int32 LoadStringTableAsset (const FName InTableId, FLoadStringTableAssetCallback InLoadedCallback=FLoadStringTableAssetCallback())
 Load a string table asset by its name, potentially doing so asynchronously. 更多...
 
static void RedirectStringTableAsset (FName &InOutTableId)
 Redirect string table asset by its name
 

静态 Protected 属性

static IStringTableEngineBridge * InstancePtr
 Singleton instance, populated by the derived type
 

详细描述

Interface to allow Core code to access String Table assets from the Engine

成员类型定义说明

◆ FLoadStringTableAssetCallback

Callback used when loading string table assets.

参数
Thename of the table we were asked to load.
Thename of the table we actually loaded (may be different if redirected; will be empty if the load failed).

成员函数说明

◆ CanFindOrLoadStringTableAsset()

static bool IStringTableEngineBridge::CanFindOrLoadStringTableAsset ( )
inlinestatic

Check to see whether it is currently safe to attempt to find or load a string table asset.

返回
True if it is safe to attempt to find or load a string table asset, false otherwise.

◆ FullyLoadStringTableAsset()

static void IStringTableEngineBridge::FullyLoadStringTableAsset ( FName &  InOutTableId)
inlinestatic

Fully load a string table asset by its name, synchronously.

注解
This should be used sparingly in places where it is definitely safe to perform a blocking load.

◆ LoadStringTableAsset()

static int32 IStringTableEngineBridge::LoadStringTableAsset ( const FName  InTableId,
FLoadStringTableAssetCallback  InLoadedCallback = FLoadStringTableAssetCallback() 
)
inlinestatic

Load a string table asset by its name, potentially doing so asynchronously.

注解
If the string table is already loaded, or loading is perform synchronously, then the callback will be called before this function returns.
返回
The async loading ID of the asset, or INDEX_NONE if no async loading was performed.

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