UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FFileMessageAttachment Class Reference

#include <FileMessageAttachment.h>

+ Inheritance diagram for FFileMessageAttachment:

Public Member Functions

 FFileMessageAttachment (const FString &InFilename)
 
 FFileMessageAttachment (const FString &InFilename, bool InAutoDeleteFile)
 
 ~FFileMessageAttachment ()
 
virtual FArchiveCreateReader () override
 
- Public Member Functions inherited from IMessageAttachment
virtual ~IMessageAttachment ()
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ FFileMessageAttachment() [1/2]

FFileMessageAttachment::FFileMessageAttachment ( const FString &  InFilename)
inline

Creates and initializes a new instance.

Parameters
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.

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

◆ ~FFileMessageAttachment()

FFileMessageAttachment::~FFileMessageAttachment ( )
inline

Destructor.

Member Function Documentation

◆ CreateReader()

virtual FArchive * FFileMessageAttachment::CreateReader ( )
inlineoverridevirtual

Creates an archive reader to the data.

The caller is responsible for deleting the returned object.

Returns
An archive reader.

Implements IMessageAttachment.


The documentation for this class was generated from the following file: