Navigation
Unreal Engine C++ API Reference > 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;
const FMessageScopeRange & ScopeRange
&41;
Remarks
Template method to subscribe the message endpoint to the specified type and scope of 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. |
ScopeRange | The range of message scopes to include in the subscription. |