Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineNotification.h |
Include |
#include "OnlineNotification.h" |
struct FOnlineNotification
Notification object, used to send messages between systems
Name | Description | ||
---|---|---|---|
|
FromUserId |
User who sent the notification, optional. |
|
|
TSharedPtr< FJs... |
Payload |
The payload of this notification |
|
ToUserId |
User to deliver the notification to. Can be null for system notifications. |
|
|
TypeStr |
A string defining the type of this notification, used to determine how to parse the payload |
Name | Description | |
---|---|---|
|
FOnlineNotification() |
Default constructor |
|
FOnlineNotification ( |
Constructor from type and FJsonValue System message unless ToUserId is specified; FromUserId optional |
|
FOnlineNotification ( |
Constructor from type and FJsonObject System message unless ToUserId is specified; FromUserId optional |
Name | Description | ||
---|---|---|---|
|
ParsePayload ( |
Parse a payload and assume there is a static const TypeStr member to use |
|
|
ParsePayload |
Parse out Payload into the provided UStruct |
|
|
SetTypeFromPayload() |
Set up the type string for the case where the type is embedded in the payload |
Name | Description | ||
---|---|---|---|
|
operator bool() |
Does this notification have a valid payload? |