FMessageEndpoint::Subscribe

Template method to subscribe the message endpoint to the specified type and scope of messages.

Windows
MacOS
Linux

References

Module

MessagingCommon

Header

/Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h

Include

#include "MessageEndpoint.h"

Syntax

template<class MessageType>
void Subscribe
(
    const FMessageScopeRange & ScopeRange
)

Remarks

Template method to subscribe the message endpoint to the specified type and scope of messages.

Parameters

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.

ScopeRange

The range of message scopes to include in the subscription.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss