Navigation
Unreal Engine C++ API Reference > Runtime > Messaging > IMessageBus
References
Module | Messaging |
Header | /Engine/Source/Runtime/Messaging/Public/IMessageBus.h |
Include | #include "IMessageBus.h" |
void Send
&40;
void &42; Message,
UScriptStruct &42; TypeInfo,
EMessageFlags Flags,
const TMap< FName, FString > & Annotations,
const TSharedPtr< IMessageAttachment, ESPMode::ThreadSafe > & Attachment,
const TArray< FMessageAddress > & Recipients,
const FTimespan & Delay,
const FDateTime & Expiration,
const TSharedRef< IMessageSender, ESPMode::ThreadSafe > & Sender
&41;
Remarks
Sends a message to multiple recipients.
The bus takes over ownership of the message's memory. It must NOT be freed by the caller.
Parameters
Name | Description |
---|---|
Message | The message to send. |
TypeInfo | The message's type information. |
Flags | The message flags. |
Annotations | An optional message annotations header. |
Attachment | The binary data to attach to the message. |
Recipients | The list of message recipients. |
Delay | The delay after which to send the message. |
Expiration | The time at which the message expires. |
Sender | The message sender. |