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

Implements a message attachment whose data is held in a file. 更多...

#include <FileMessageAttachment.h>

+ 类 FFileMessageAttachment 继承关系图:

Public 成员函数

virtual FArchive * CreateReader () override
 Creates an archive reader to the data. 更多...
 
 FFileMessageAttachment (const FString &InFilename)
 Creates and initializes a new instance. 更多...
 
 FFileMessageAttachment (const FString &InFilename, bool InAutoDeleteFile)
 Creates and initializes a new instance. 更多...
 
 ~FFileMessageAttachment ()
 Destructor.
 
- Public 成员函数 继承自 IMessageAttachment
virtual FArchive * CreateReader ()=0
 Creates an archive reader to the data. 更多...
 
virtual ~IMessageAttachment ()
 Virtual destructor.
 

详细描述

Implements a message attachment whose data is held in a file.

WARNING: Message attachments do not work yet for out of process messages.

构造及析构函数说明

◆ FFileMessageAttachment() [1/2]

FFileMessageAttachment::FFileMessageAttachment ( const FString &  InFilename)
inline

Creates and initializes a new instance.

参数
FilenameThe full name and path of the file.

◆ FFileMessageAttachment() [2/2]

FFileMessageAttachment::FFileMessageAttachment ( const FString &  InFilename,
bool  InAutoDeleteFile 
)
inline

Creates and initializes a new instance.

参数
FilenameThe full name and path of the file.
AutoDeleteFileWhether to delete the file when this attachment is destroyed.

成员函数说明

◆ CreateReader()

virtual FArchive * FFileMessageAttachment::CreateReader ( )
inlineoverridevirtual

Creates an archive reader to the data.

The caller is responsible for deleting the returned object.

返回
An archive reader.

实现了 IMessageAttachment.


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