Navigation
API > API/Runtime > API/Runtime/Messaging > API/Runtime/Messaging/IAuthorizeMessageRecipients > API/Runtime/Messaging/IAuthorizeMessageRecipients/AuthorizeSubscription
References
| Module | Messaging |
| Header | /Engine/Source/Runtime/Messaging/Public/IAuthorizeMessageRecipients.h |
| Include | #include "IAuthorizeMessageRecipients.h" |
bool AuthorizeSubscription
(
const TSharedRef < IMessageReceiver , ESPMode::ThreadSafe > & Subscriber,
const FTopLevelAssetPath & TopicPattern
)
Remarks
Authorizes a request to add a subscription for the specified topic pattern. true if the request is authorized, false otherwise.
Parameters
| Name | Description |
|---|---|
| Subscriber | The subscriber. |
| TopicPattern | The message topic pattern to subscribe to. |