A single notification for the player, including type, source, priority, content, and read status.
More...
|
|
DateTime | Created_at [get, set] |
| | The time that this notification was created.
|
| |
|
string | Expiration_date [get, set] |
| | At what time that this notification expires, after this time, the notification is no longer returned.
|
| |
| DateTime? | Read_at [get, set] |
| | The time that this notification was read.
|
| |
| string | Notification_type [get, set] |
| | The type of this notification.
|
| |
|
LootLockerNotificationPriority | Priority [get, set] |
| | The priority of this notification (default: medium)
|
| |
| string | Source [get, set] |
| | The originating source of this notification (for example, did it originate from a purchase, a leaderboard reward, or a trigger?).
|
| |
| LootLockerNotificationSource | SourceEnum [get, set] |
| | The originating source of this notification as an enum (for example, did it originate from a purchase, a leaderboard reward, or a trigger?).
|
| |
|
LootLockerNotificationContent | Content [get, set] |
| | The actual content of this notification.
|
| |
|
string | Id [get, set] |
| | The id of the notification, use this when marking as read.
|
| |
|
string | Player_id [get, set] |
| | The id of the player that this notification is for.
|
| |
|
bool | Read [get, set] |
| | Whether this notification has been read or not.
|
| |
A single notification for the player, including type, source, priority, content, and read status.
◆ MarkThisNotificationAsRead()
Will mark this notification as read in LootLocker (though remember to check the response if it succeeded)
- Parameters
-
| onComplete | Action for handling the server response |
◆ Notification_type
| string LootLocker.Requests.LootLockerNotification.Notification_type |
|
getset |
The type of this notification.
Use the static defines in LootLockerStaticStrings.LootLockerNotificationTypes know what possible values this can be.
◆ Read_at
| DateTime? LootLocker.Requests.LootLockerNotification.Read_at |
|
getset |
The time that this notification was read.
Will be empty if the notification has not been read
◆ Source
| string LootLocker.Requests.LootLockerNotification.Source |
|
getset |
The originating source of this notification (for example, did it originate from a purchase, a leaderboard reward, or a trigger?).
Use the static defines in LootLockerStaticStrings.LootLockerNotificationSources know what possible values this can be
◆ SourceEnum
The originating source of this notification as an enum (for example, did it originate from a purchase, a leaderboard reward, or a trigger?).
Use the static defines in LootLockerStaticStrings.LootLockerNotificationSources know what possible values this can be