Navigation
Unreal Engine C++ API Reference > Runtime > Messaging > IMessagingModule > CreateBus
References
Module | Messaging |
Header | /Engine/Source/Runtime/Messaging/Public/IMessagingModule.h |
Include | #include "IMessagingModule.h" |
TSharedPtr< IMessageBus, ESPMode::ThreadSafe > CreateBus
&40;
FString InName,
const TSharedPtr< IAuthorizeMessageRecipients > & RecipientAuthorizer
&41;
Remarks
Creates a new message bus. The new message bus, or nullptr if the bus couldn't be created.
Parameters
Name | Description |
---|---|
Name | The name of this message bus. |
RecipientAuthorizer | An optional recipient authorizer. |