Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
This class is a static manager used to track notification transports and map the delivered notifications to subscribed notification handlers
| Name | FOnlineNotificationHandler |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineNotificationHandler.h |
| Include Path | #include "OnlineNotificationHandler.h" |
Syntax
class FOnlineNotificationHandler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FOnlineNotificationHandler() |
Lifecycle is managed by OnlineSubSystem, all access should be made through there | OnlineNotificationHandler.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NotificationTypeBindingsMap | TMap< FString, TArray< FOnlineNotificationBinding > > | OnlineNotificationHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDelegateHandle AddPlayerNotificationBinding_Handle
(
const FUniqueNetId& PlayerId, |
Add a notification binding for a type | OnlineNotificationHandler.h | |
FDelegateHandle AddSystemNotificationBinding_Handle
(
FString NotificationType, |
Add a notification binding for a type | OnlineNotificationHandler.h | |
void DeliverNotification
(
const FOnlineNotification& Notification |
Deliver a notification to the appropriate handler for that player/msg type. | OnlineNotificationHandler.h | |
void RemovePlayerNotificationBinding
(
const FUniqueNetId& PlayerId, |
Remove the player notification handler for a type | OnlineNotificationHandler.h | |
void RemoveSystemNotificationBinding
(
FString NotificationType, |
Remove the notification handler for a type | OnlineNotificationHandler.h | |
void ResetAllPlayerNotificationBindings() |
Resets all player notification handlers | OnlineNotificationHandler.h | |
void ResetPlayerNotificationBindings
(
const FUniqueNetId& PlayerId |
Resets a player's notification handlers | OnlineNotificationHandler.h | |
void ResetSystemNotificationBindings() |
Resets all system notification handlers | OnlineNotificationHandler.h |