![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IMessageSubscription.h>
Inheritance diagram for IMessageSubscription:Public Member Functions | |
| virtual void | Disable ()=0 |
| virtual void | Enable ()=0 |
| FName | GetMessageType () |
| virtual FTopLevelAssetPath | GetMessageTypePathName ()=0 |
| virtual const TRange< EMessageScope > & | GetScopeRange ()=0 |
| virtual const TWeakPtr< IMessageReceiver, ESPMode::ThreadSafe > & | GetSubscriber ()=0 |
| virtual bool | IsEnabled ()=0 |
| virtual | ~IMessageSubscription () |
Interface for message subscriptions.
This interface provides access to a message subscription that was previously created with the IMessageBus.Subscribe method. It can be used to query the subscription's details using the various getters and modify its enabled state using the IMessageSubscription.Enable and IMessageSubscription.Disable methods.
A subscription that is disabled will cause a message endpoint to stop receiving messages for the subscribed message type. However, the subscription is merely disabled and not removed.
|
inlinevirtual |
Virtual destructor.
|
inline |
|
pure virtual |
Gets the type of subscribed messages.
Implemented in FMessageSubscription.
|
pure virtual |
Gets the range of subscribed message scopes.
Implemented in FMessageSubscription.
|
pure virtual |
Gets the subscriber.
Implemented in FMessageSubscription.
Checks whether the subscription is enabled.
Implemented in FMessageSubscription.