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