Navigation
API > API/Runtime > API/Runtime/MessagingCommon > API/Runtime/MessagingCommon/FMessageEndpoint > API/Runtime/MessagingCommon/FMessageEndpoint/Subscribe
References
| Module | MessagingCommon |
| Header | /Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h |
| Include | #include "MessageEndpoint.h" |
template<class MessageType>
void Subscribe&40;&41;
Remarks
Template method to subscribe the message endpoint to the specified type of messages with the default message scope.
The default message scope is all messages excluding loopback messages.
Parameters
| Name | Description |
|---|---|
| HandlerType | The type of the class handling the message. |
| MessageType | The type of messages to subscribe to. |
| Handler | The class handling the messages. |
| HandlerFunc | The class function handling the messages. |