![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IMessageAttachment.h>
Inheritance diagram for IMessageAttachment:Public Member Functions | |
| virtual FArchive * | CreateReader ()=0 |
| virtual | ~IMessageAttachment () |
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.
|
inlinevirtual |
Virtual destructor.
Creates an archive reader to the data.
The caller is responsible for deleting the returned object.
Implemented in FFileMessageAttachment.