Navigation
Unreal Engine C++ API Reference > Runtime > MessagingCommon > FMessageEndpointBuilder > Handling
References
Module | MessagingCommon |
Header | /Engine/Source/Runtime/MessagingCommon/Public/MessageEndpointBuilder.h |
Include | #include "MessageEndpointBuilder.h" |
template<typename MessageType, typename HandlerType>
FMessageEndpointBuilder & Handling
&40;
HandlerType &42; Handler,
typename TRawMessageHandler< MessageType, HandlerType >::FuncType HandlerFunc
&41;
Remarks
Adds a message handler for the given type of messages (via raw function pointers).
It is legal to configure multiple handlers for the same message type. Each handler will be executed when a message of the specified type is received.
This overload is used to register raw class member functions. This instance (for method chaining).
Parameters
Name | Description |
---|---|
HandlerType | The type of the object handling the messages. |
MessageType | The type of messages to handle. |
Handler | The class handling the messages. |
HandlerFunc | The class function handling the messages. |