Navigation
API > API/Runtime > API/Runtime/MessagingCommon
Implements a message attachment whose data is held in a file.
WARNING: Message attachments do not work yet for out of process messages.
| Name | FFileMessageAttachment |
| Type | class |
| Header File | /Engine/Source/Runtime/MessagingCommon/Public/FileMessageAttachment.h |
| Include Path | #include "FileMessageAttachment.h" |
Syntax
class FFileMessageAttachment : public IMessageAttachment
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFileMessageAttachment
(
const FString& InFilename |
Creates and initializes a new instance. | FileMessageAttachment.h | |
FFileMessageAttachment
(
const FString& InFilename, |
Creates and initializes a new instance. | FileMessageAttachment.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FFileMessageAttachment() |
Destructor. | FileMessageAttachment.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoDeleteFile | bool | Holds a flag indicating whether the file should be deleted. | FileMessageAttachment.h | |
| Filename | FString | Holds the name of the file that holds the attached data. | FileMessageAttachment.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FArchive * CreateReader() |
FileMessageAttachment.h |