Module |
|
Header |
/Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h |
Include |
#include "MessageEndpoint.h" |
FMessageEndpoint
(
const FName & InName,
const TSharedRef< IMessageBus, ESPMode::ThreadSafe > & InBus,
const TArray< TSharedPtr< IMessageHandler, ESPMode::ThreadSafe >> & InHandlers,
const FOnBusNotification InNotificationDelegate
)
Creates and initializes a new instance.
Parameter |
Description |
---|---|
InName |
The endpoint's name (for debugging purposes). |
InBus |
The message bus to attach this endpoint to. |
InHandlers |
The collection of message handlers to register. |