Navigation
API > API/Runtime > API/Runtime/MessagingCommon > API/Runtime/MessagingCommon/FMessageEndpoint > API/Runtime/MessagingCommon/FMessageEndpoint/Publish
References
| Module | MessagingCommon |
| Header | /Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h |
| Include | #include "MessageEndpoint.h" |
void Publish
&40;
void &42; Message,
UScriptStruct &42; TypeInfo,
EMessageScope Scope,
const FTimespan & Delay,
const FDateTime & Expiration
&41;
Remarks
Publishes a message to all subscribed recipients within the specified scope.
Parameters
| Name | Description |
|---|---|
| Message | The message to publish. |
| TypeInfo | The message's type information. |
| Scope | The message scope. |
| Fields | The message content. |
| Delay | The delay after which to publish the message. |
| Expiration | The time at which the message expires. |