UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IMessageAttachment Class Referenceabstract

#include <IMessageAttachment.h>

+ Inheritance diagram for IMessageAttachment:

Public Member Functions

virtual FArchiveCreateReader ()=0
 
virtual ~IMessageAttachment ()
 

Detailed Description

Interface for message attachments.

Message attachments are optional bulk data objects that can be attached to a message, such as files or memory buffers. Transferring attachments within the same process is very efficient and amounts to copying a pointer to the data. On the other hand, sending message attachments to applications running in other processes or on other computers may - depending on their size - take a considerable amount of time, because they need to be serialized and transferred. For this reason, attachments are transferred separately from messages in such cases.

NOTE: Message attachments are not fully implemented yet. In particular, transferring attachments over a network does not work yet. This API may change in the near future, so please use with care.

See also
IMessageContext

Constructor & Destructor Documentation

◆ ~IMessageAttachment()

virtual IMessageAttachment::~IMessageAttachment ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

◆ CreateReader()

virtual FArchive * IMessageAttachment::CreateReader ( )
pure virtual

Creates an archive reader to the data.

The caller is responsible for deleting the returned object.

Returns
An archive reader.

Implemented in FFileMessageAttachment.


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