Poll and acknowledge queued event notifications generated by other SDK systems.
Notifications are generated automatically by Rewards, Leaderboard resets, Catalog purchases, Progressions, and Triggers when significant events occur. They accumulate in a server-side queue until the game marks them as read, guaranteeing delivery even while a player is offline. Note: these are delivery-queue notifications polled from the game client, not mobile push notifications.
See the LootLocker documentation.
◆ FLootLockerListNotificationsResponseDelegate
C++ response delegate for handling List Notifications Responses.
◆ FLootLockerReadNotificationsResponseDelegate
C++ response delegate for handling read notifications response.
◆ ELootLockerCustomNotificationFiltering
Enum for custom notification filtering.
| Enumerator |
|---|
| All | |
| Custom_only | |
| LootLocker_only | |
◆ ELootLockerNotificationContentBodyType
Enum of the different types of values that can be in the notification body.
Use this to know how to parse the body.
| Enumerator |
|---|
| none | |
| null | |
| reward | |
| json_string | |
| json_integer | |
| json_decimal | |
| json_bool | |
| json_object | |
| json_array | |
| json_array_string | |
| json_array_integer | |
| json_array_decimal | |
| json_array_bool | |
| json_array_object | |
| unknown | |
◆ ELootLockerNotificationContentRewardKind
Enum of the different kinds of notification bodies possible, use this to figure out how to parse the notification body.
| Enumerator |
|---|
| group | |
| currency | |
| asset | |
| progression_reset | |
| progression_points | |
◆ ELootLockerNotificationPriority
Enum of the different available priorities for notifications.
| Enumerator |
|---|
| low | |
| medium | |
| high | |
| emergency | |
◆ ELootLockerNotificationSource
Enum of the different available sources for notifications.
| Enumerator |
|---|
| triggers | |
| purchasing_steam_store | |
| purchasing_apple_app_store | |
| purchasing_google_play_store | |
| purchasing_lootlocker_store | |
| twitch_drop | |
| lootlocker_console | |
| lootlocker_server_api | |
| lootlocker_admin_api | |
◆ ListNotifications()
List notifications with filters (paginated).
- Parameters
-
| ShowRead | Return only previously read notifications |
| OfType | Optional: Filter by notification type |
| WithSource | Optional: Filter by notification source |
| CustomNotificationsFilter | Optional: Filter for custom / non-custom / all |
| PerPage | Optional: Page size (0 to ignore pagination) |
| Page | Optional: Page index (ignored if PerPage == 0) |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListNotificationsWithDefaultParameters()
List notifications (default pagination, no filters).
- Parameters
-
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ ListNotificationsWithPriority()
List notifications filtered by priority (paginated, other filters available).
- Parameters
-
| WithPriority | Priority to filter by |
| ShowRead | Return only previously read notifications |
| OfType | Optional: Filter by notification type |
| WithSource | Optional: Filter by notification source |
| CustomNotificationsFilter | Optional: Filter for custom / non-custom / all |
| PerPage | Optional: Page size (0 to ignore pagination) |
| Page | Optional: Page index (ignored if PerPage == 0) |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ MarkAllNotificationsAsRead()
Mark all unread notifications as read.
Warning: Marks all unread notifications, including those not yet paged into the client.
- Parameters
-
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ MarkNotificationsAsRead()
Mark specified notifications as read.
- Parameters
-
| Notifications | Notifications to mark as read |
| OnComplete | Delegate for handling the response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ MarkNotificationsAsReadByIds()
Mark specified notifications as read by id.
- Parameters
-
| NotificationIDs | Notification ids to mark as read |
| OnComplete | Delegate for handling the response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ TryGetNotificationContentBodyAsUStruct()
Get the content body as a UStruct of your choice.
Returns true if value could be parsed in which case Output contains the parsed UStruct, returns false if the value field was not present or not parseable.
- Parameters
-
| Content | The notification content for which you want to get the body parsed as a UStruct. |
| Output | The UStruct object that you want to be filled with data if the body was successfully parsed. |
- Returns
- True if the body could be parsed as the provided UStruct
|
| enum class | ELootLockerNotificationPriority : uint8 { ELootLockerNotificationPriority::low = 0
, ELootLockerNotificationPriority::medium = 1
, ELootLockerNotificationPriority::high = 2
, ELootLockerNotificationPriority::emergency = 3
} |
| | Enum of the different available priorities for notifications. More...
|
| |
| enum class | ELootLockerNotificationSource : uint8 {
ELootLockerNotificationSource::triggers = 0
, ELootLockerNotificationSource::purchasing_steam_store = 1
, ELootLockerNotificationSource::purchasing_apple_app_store = 2
, ELootLockerNotificationSource::purchasing_google_play_store = 3
,
ELootLockerNotificationSource::purchasing_lootlocker_store = 4
, ELootLockerNotificationSource::twitch_drop = 5
, ELootLockerNotificationSource::lootlocker_console = 6
, ELootLockerNotificationSource::lootlocker_server_api = 7
,
ELootLockerNotificationSource::lootlocker_admin_api = 8
} |
| | Enum of the different available sources for notifications. More...
|
| |
| enum class | ELootLockerNotificationContentBodyType : uint8 {
ELootLockerNotificationContentBodyType::none = 0
, ELootLockerNotificationContentBodyType::null = 1
, ELootLockerNotificationContentBodyType::reward = 2
, ELootLockerNotificationContentBodyType::json_string = 3
,
ELootLockerNotificationContentBodyType::json_integer = 4
, ELootLockerNotificationContentBodyType::json_decimal = 5
, ELootLockerNotificationContentBodyType::json_bool = 6
, ELootLockerNotificationContentBodyType::json_object = 7
,
ELootLockerNotificationContentBodyType::json_array = 8
, ELootLockerNotificationContentBodyType::json_array_string = 9
, ELootLockerNotificationContentBodyType::json_array_integer = 10
, ELootLockerNotificationContentBodyType::json_array_decimal = 11
,
ELootLockerNotificationContentBodyType::json_array_bool = 12
, ELootLockerNotificationContentBodyType::json_array_object = 13
, ELootLockerNotificationContentBodyType::unknown = 14
} |
| | Enum of the different types of values that can be in the notification body. More...
|
| |
| enum class | ELootLockerNotificationContentRewardKind : uint8 {
ELootLockerNotificationContentRewardKind::group = 0
, ELootLockerNotificationContentRewardKind::currency = 1
, ELootLockerNotificationContentRewardKind::asset = 2
, ELootLockerNotificationContentRewardKind::progression_reset = 3
,
ELootLockerNotificationContentRewardKind::progression_points = 4
} |
| | Enum of the different kinds of notification bodies possible, use this to figure out how to parse the notification body. More...
|
| |
| enum class | ELootLockerCustomNotificationFiltering : uint8 { ELootLockerCustomNotificationFiltering::All = 0
, ELootLockerCustomNotificationFiltering::Custom_only = 1
, ELootLockerCustomNotificationFiltering::LootLocker_only = 2
} |
| | Enum for custom notification filtering. More...
|
| |
|
| static FString | ULootLockerSDKManager::ListNotificationsWithDefaultParameters (const FLootLockerListNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | List notifications (default pagination, no filters).
|
| |
| static FString | ULootLockerSDKManager::ListNotifications (bool ShowRead, const FString &OfType, const FString &WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | List notifications with filters (paginated).
|
| |
| static FString | ULootLockerSDKManager::ListNotificationsWithPriority (ELootLockerNotificationPriority WithPriority, bool ShowRead, const FString &OfType, const FString &WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | List notifications filtered by priority (paginated, other filters available).
|
| |
| template<typename T > |
| static bool | ULootLockerSDKManager::TryGetNotificationContentBodyAsUStruct (const FLootLockerNotificationContent &Content, T &Output) |
| | Get the content body as a UStruct of your choice.
|
| |
| static FString | ULootLockerSDKManager::MarkAllNotificationsAsRead (const FLootLockerReadNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | Mark all unread notifications as read.
|
| |
| static FString | ULootLockerSDKManager::MarkNotificationsAsRead (const TArray< FLootLockerNotification > &Notifications, const FLootLockerReadNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | Mark specified notifications as read.
|
| |
| static FString | ULootLockerSDKManager::MarkNotificationsAsReadByIds (const TArray< FString > &NotificationIDs, const FLootLockerReadNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="") |
| | Mark specified notifications as read by id.
|
| |