Module |
|
Header |
/Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h |
Include |
#include "MessageEndpoint.h" |
template<class MessageType>
void Subscribe()
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.
Parameter |
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. |