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

Interface to an object that generates a localized string. 更多...

#include <ITextGenerator.h>

+ 类 ITextGenerator 继承关系图:

Public 成员函数

virtual FString BuildInvariantDisplayString () const =0
 Produces the display string for the invariant culture.
 
virtual FString BuildLocalizedDisplayString () const =0
 Produces the display string. 更多...
 
virtual FName GetTypeID () const =0
 Gets the type ID of this generator. 更多...
 
virtual void Serialize (FStructuredArchive::FRecord Record)=0
 Serializes this generator.
 

详细描述

Interface to an object that generates a localized string.

成员函数说明

◆ BuildLocalizedDisplayString()

virtual FString ITextGenerator::BuildLocalizedDisplayString ( ) const
pure virtual

Produces the display string.

This can be called multiple times if the language changes.

◆ GetTypeID()

virtual FName ITextGenerator::GetTypeID ( ) const
pure virtual

Gets the type ID of this generator.

The type ID is used to reconstruct this type for serialization and must be registered with FText::RegisterTextGeneratorFactory().

参见
FText::RegisterTextGeneratorFactory()

在 FTextGeneratorBase 内被实现.


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