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

Utility class for working with Localization Resource (LocRes) files. 更多...

#include <TextLocalizationResource.h>

类

struct  FEntry
 Data struct for tracking a localization entry from a localization resource. 更多...
 

Public 成员函数

void AddEntry (const FTextKey &InNamespace, const FTextKey &InKey, const FString &InSourceString, const FString &InLocalizedString, const int32 InPriority, const FTextKey &InLocResID=FTextKey())
 Add a single entry to this resource.
 
bool IsEmpty () const
 Is this resource empty?
 
bool LoadFromArchive (FArchive &Archive, const FTextKey &LocResID, const int32 Priority)
 Load the given LocRes archive into this resource.
 
void LoadFromDirectory (const FString &DirectoryPath, const int32 Priority)
 Load all LocRes files in the specified directory into this resource.
 
bool LoadFromFile (const FString &FilePath, const int32 Priority)
 Load the given LocRes file into this resource.
 
bool SaveToArchive (FArchive &Archive, const FTextKey &LocResID) const
 Save this resource to the given LocRes archive.
 
bool SaveToFile (const FString &FilePath) const
 Save this resource to the given LocRes file.
 

静态 Public 成员函数

static FORCEINLINE uint32 HashString (const FString &InStr, const uint32 InBaseHash=0)
 Utility to produce a hash for a string (as used by SourceStringHash)
 
static FORCEINLINE uint32 HashString (const TCHAR *InStr, const uint32 InBaseHash=0)
 Utility to produce a hash for a string (as used by SourceStringHash)
 

详细描述

Utility class for working with Localization Resource (LocRes) files.


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