LootLocker Unreal SDK 11.1.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerNotificationsRequestHandler.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5
6#include "CoreMinimal.h"
7#include "Dom/JsonObject.h"
10#include "LootLockerNotificationsRequestHandler.generated.h"
11
12//==================================================
13// Enum Definitions
14//==================================================
15
18UENUM(BlueprintType, Category = "LootLocker")
23{
24 low = 0,
25 medium = 1,
26 high = 2,
28};
29
30
33UENUM(BlueprintType, Category = "LootLocker")
58
59
62UENUM(BlueprintType, Category = "LootLocker")
84
85
88UENUM(BlueprintType, Category = "LootLocker")
100
101
104UENUM(BlueprintType, Category = "LootLocker")
114
115
116//==================================================
117// Static String Definitions
118//==================================================
119
124{
128 struct LOOTLOCKERSDK_API NotificationTypes
129 {
130 static const FString PullRewardAcquired;
131 };
132
136 struct LOOTLOCKERSDK_API NotificationSources
137 {
138 static const FString Triggers;
139 struct LOOTLOCKERSDK_API Purchasing
140 {
141 static const FString SteamStore;
142 static const FString AppleAppStore;
143 static const FString GooglePlayStore;
144 static const FString LootLocker;
145 static const FString PlaystationStore;
146 static const FString StripeStore;
147 static const FString EpicGamesStore;
148 };
149 static const FString TwitchDrop;
150 static const FString LootLockerConsole;
151 static const FString LootLockerServerApi;
152 static const FString LootLockerAdminApi;
153 static const FString MagicTriggers;
154 static const FString LeaderboardReward;
155 static const FString RewardCampaign;
156 static const FString RewardsGrant;
157 static const FString Referral;
161 static const FString Unknown;
162 };
163
167 struct LOOTLOCKERSDK_API StandardContextKeys
168 {
172 struct LOOTLOCKERSDK_API Triggers
173 {
174 static const FString Id;
175 static const FString Key;
176 static const FString Limit;
177 };
178
182 struct LOOTLOCKERSDK_API Purchasing
183 {
187 struct LOOTLOCKERSDK_API SteamStore
188 {
189 static const FString CatalogId;
190 static const FString CatalogItemId;
191 static const FString EntitlementId;
192 static const FString CharacterId;
193 };
194
197 struct LOOTLOCKERSDK_API AppleAppStore
198 {
199 static const FString CatalogId;
200 static const FString CatalogItemId;
201 static const FString TransactionId;
202 };
203
206 struct LOOTLOCKERSDK_API GooglePlayStore
207 {
208 static const FString CatalogId;
209 static const FString CatalogItemId;
210 static const FString ProductId;
211 };
212
215 struct LOOTLOCKERSDK_API LootLocker
216 {
217 static const FString CatalogId;
218 static const FString CatalogItemId;
219 };
220
223 struct LOOTLOCKERSDK_API PlaystationStore
224 {
225 static const FString CatalogId;
226 static const FString CatalogItemId;
227 static const FString TransactionId;
228 static const FString EntitlementLabel;
229 };
230
233 struct LOOTLOCKERSDK_API StripeStore
234 {
235 static const FString CatalogItemId;
236 static const FString EntitlementId;
237 };
238
241 struct LOOTLOCKERSDK_API EpicGamesStore
242 {
243 static const FString CatalogId;
244 static const FString CatalogItemId;
245 static const FString EpicEntitlementId;
246 };
247 };
248
251 struct LOOTLOCKERSDK_API LeaderboardReward
252 {
253 static const FString LeaderboardId;
254 static const FString PlayerPublicId;
255 };
256
259 struct LOOTLOCKERSDK_API RewardCampaign
260 {
261 static const FString GiveawayId;
262 static const FString RewardId;
263 };
264
267 struct LOOTLOCKERSDK_API RewardsGrant
268 {
269 static const FString ItemTemplateId;
270 static const FString TemplateName;
271 static const FString RequestedCount;
272 static const FString GrantedCount;
273 static const FString Source;
274 };
275
278 struct LOOTLOCKERSDK_API TwitchDrop
279 {
280 static const FString TwitchRewardId;
281 };
282 };
283};
284
288UCLASS(Blueprintable)
289class LOOTLOCKERSDK_API ULootLockerStaticNotificationStringBlueprintCallables : public UObject
290{
291 GENERATED_BODY()
292public:
294
298 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Types")
303 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Triggers")
308 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Purchasing")
313 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Purchasing")
318 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Purchasing")
323 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Purchasing")
328 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Twitch Drop")
333 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | LootLocker Console")
338 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | LootLocker Server API")
343 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Magic Triggers")
348 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Purchasing")
353 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Purchasing")
358 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Purchasing")
363 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Leaderboard Reward")
368 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Reward Campaign")
373 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Rewards Grant")
378 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Referral")
383 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Sources | Unknown")
388 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Triggers")
393 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Triggers")
398 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Triggers")
403 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | SteamStore")
408 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | SteamStore")
413 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | SteamStore")
418 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | SteamStore")
423 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | AppleAppStore")
428 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | AppleAppStore")
433 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | AppleAppStore")
438 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | GooglePlayStore")
443 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | GooglePlayStore")
448 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | GooglePlayStore")
453 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | LootLocker")
458 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | LootLocker")
463 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | PlaystationStore")
468 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | PlaystationStore")
473 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | PlaystationStore")
478 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | PlaystationStore")
483 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | StripeStore")
488 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | StripeStore")
493 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | EpicGamesStore")
498 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | EpicGamesStore")
503 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | EpicGamesStore")
508 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Leaderboard Reward")
513 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Leaderboard Reward")
518 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Reward Campaign")
523 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Reward Campaign")
528 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Rewards Grant")
533 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Rewards Grant")
538 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Rewards Grant")
543 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Rewards Grant")
548 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Rewards Grant")
553 UFUNCTION(BlueprintPure, Category = "LootLocker Methods | Static Strings | Notifications | Standard Context Keys | Purchasing | LootLocker")
555};
556
557//==================================================
558// Data Type Definitions
559//==================================================
560
567
571USTRUCT(BlueprintType)
573{
574 GENERATED_BODY()
578 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
579 FString Key = "";
583 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
584 FString Value = "";
585};
586
590USTRUCT(BlueprintType)
592{
593 GENERATED_BODY()
597 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
598 FString Name = "";
602 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
603 FString Code = "";
607 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
608 FString Amount = "";
612 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
613 FString Id = "";
614};
615
619USTRUCT(BlueprintType)
621{
622 GENERATED_BODY()
626 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
627 FString Created_at = "";
631 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
632 FString Updated_at = "";
636 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
637 FString Amount = "";
641 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
646 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
647 FString Reward_id = "";
651 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
652 FString Currency_id = "";
653};
654
658USTRUCT(BlueprintType)
660{
661 GENERATED_BODY()
665 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
666 FString Key = "";
670 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
671 FString Name = "";
675 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
676 int Amount = 0;
680 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
681 FString Id = "";
682};
683
687USTRUCT(BlueprintType)
689{
690 GENERATED_BODY()
694 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
695 FString Created_at = "";
699 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
700 FString Updated_at = "";
704 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
709 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
710 int Amount = 0;
714 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
715 FString Progression_id = "";
719 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
720 FString Reward_id = "";
721};
722
726USTRUCT(BlueprintType)
728{
729 GENERATED_BODY()
733 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
734 FString Key = "";
738 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
739 FString Name = "";
743 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
744 FString Id = "";
745};
746
750USTRUCT(BlueprintType)
752{
753 GENERATED_BODY()
757 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
758 FString Created_at = "";
762 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
763 FString Updated_at = "";
767 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
772 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
773 FString Progression_id = "";
777 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
778 FString Reward_id = "";
779};
780
784USTRUCT(BlueprintType)
786{
787 GENERATED_BODY()
791 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
792 FString Name = "";
796 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
797 FString Thumbnail = "";
801 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
802 FString Variation_name = "";
806 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
807 FString Rental_option_name = "";
811 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
816 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
821 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
822 int Legacy_id = 0;
826 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
827 FString Id = "";
828};
829
833USTRUCT(BlueprintType)
835{
836 GENERATED_BODY()
840 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
841 FString Created_at = "";
845 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
846 FString Updated_at = "";
850 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
855 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
860 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
865 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
866 int Asset_id = 0;
870 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
871 FString Reward_id = "";
875 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
876 FString Asset_ulid = "";
882 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
883 TArray<int64> Asset_instance_ids;
884};
885
889USTRUCT(BlueprintType)
891{
892 GENERATED_BODY()
896 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
901 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
906 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
911 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
916 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
918};
919
923USTRUCT(BlueprintType)
925{
926 GENERATED_BODY()
930 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
931 FString Created_at = "";
932
936 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
937 FString Name = "";
938
942 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
943 FString Description = "";
944
948 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
950
954 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
955 FString Reward_id = "";
956};
957
961USTRUCT(BlueprintType)
963{
964 GENERATED_BODY()
968 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
973 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
978 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
983 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
988 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
993 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
995};
996
1000USTRUCT(BlueprintType)
1002{
1003 GENERATED_BODY()
1007 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1012 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1013 TMap<FString, FString> ContextAsDictionary;
1017 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1022 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1027 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1028 FString BodyAsJsonString = "";
1032 TSharedPtr<FJsonValue> BodyAsJsonValue;
1033
1037 LOOTLOCKERSDK_API bool TryGetContentBodyAsString(FString& Output) const;
1041 LOOTLOCKERSDK_API bool TryGetContentBodyAsFloat(float& Output) const;
1045 LOOTLOCKERSDK_API bool TryGetContentBodyAsInteger(int& Output) const;
1049 LOOTLOCKERSDK_API bool TryGetContentBodyAsBool(bool& Output) const;
1053 LOOTLOCKERSDK_API bool TryGetContentBodyAsStringArray(TArray<FString>& Output) const;
1057 LOOTLOCKERSDK_API bool TryGetContentBodyAsFloatArray(TArray<float>& Output) const;
1061 LOOTLOCKERSDK_API bool TryGetContentBodyAsIntegerArray(TArray<int>& Output) const;
1065 LOOTLOCKERSDK_API bool TryGetContentBodyAsBoolArray(TArray<bool>& Output) const;
1069 LOOTLOCKERSDK_API bool TryGetRawValue(TSharedPtr<FJsonValue>& Output) const;
1073 LOOTLOCKERSDK_API bool TryGetContentBodyAsJsonObject(TSharedPtr<FJsonObject>& Output) const;
1077 LOOTLOCKERSDK_API bool TryGetContentBodyAsJsonArray(TArray<TSharedPtr<FJsonValue>>& Output) const;
1082};
1083
1087USTRUCT(BlueprintType)
1089{
1090 GENERATED_BODY()
1094 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1095 FString Created_at = "";
1099 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1100 FString Expiration_date = "";
1104 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1105 FString Read_at = "";
1109 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1110 FString Notification_type = "";
1114 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1119 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1120 FString Source = "";
1124 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1129 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1134 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1135 FString Id = "";
1139 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1140 FString Player_id = "";
1144 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1145 bool Read = false;
1149 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1150 bool Custom = false;
1151};
1152
1153//==================================================
1154// Request Definitions
1155//==================================================
1156
1160USTRUCT(BlueprintType, Category="LootLocker")
1162{
1163 GENERATED_BODY()
1167 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1168 TArray<FString> Notifications;
1169};
1170
1171//==================================================
1172// Response Definitions
1173//==================================================
1174
1178USTRUCT(BlueprintType, Category = "LootLocker")
1180{
1181 GENERATED_BODY()
1182 // Empty unless there are errors
1183};
1184
1188USTRUCT(BlueprintType, Category = "LootLocker")
1190{
1191 GENERATED_BODY()
1195 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1200 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1202
1204
1226 bool TryGetNotificationsByIdentifyingValue(const FString& IdentifyingValue, TArray<FLootLockerNotification>& OutNotifications) const;
1227
1228private:
1229 TMap<FString, TArray<FLootLockerNotificationIdentifyingValueLookupStruct>> NotificationLookupTable;
1230};
1231
1232//==================================================
1233// Delegate Definitions
1234//==================================================
1237
1245
1246
1247//==================================================
1248// API Class Definition
1249//==================================================
1250
1252UCLASS()
1253class LOOTLOCKERSDK_API ULootLockerNotificationsRequestHandler : public UObject
1254{
1255 GENERATED_BODY()
1256public:
1258
1260 static FString ListNotifications(const FLootLockerPlayerData& PlayerData, bool ShowRead, const FString& OfType, const FString& WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate& OnComplete);
1261 static FString ListNotifications(const FLootLockerPlayerData& PlayerData, ELootLockerNotificationPriority WithPriority, bool ShowRead, const FString& OfType, const FString& WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate& OnComplete);
1262 static FString MarkNotificationsAsRead(const FLootLockerPlayerData& PlayerData, const TArray<FString>& NotificationIDs, const FLootLockerReadNotificationsResponseDelegate& OnComplete);
1264private:
1265 static FString ListNotifications(const FLootLockerPlayerData& PlayerData, const TMultiMap<FString, FString>& QueryParams, const FLootLockerListNotificationsResponseDelegate& OnComplete);
1266};
static FString ListNotificationsWithDefaultParameters(const FLootLockerPlayerData &PlayerData, const FLootLockerListNotificationsResponseDelegate &OnComplete)
static FString MarkNotificationsAsRead(const FLootLockerPlayerData &PlayerData, const TArray< FString > &NotificationIDs, const FLootLockerReadNotificationsResponseDelegate &OnComplete)
ULootLockerNotificationsRequestHandler()
Definition LootLockerNotificationsRequestHandler.h:1257
static FString MarkAllNotificationsAsRead(const FLootLockerPlayerData &PlayerData, const FLootLockerReadNotificationsResponseDelegate &OnComplete)
static FString ListNotifications(const FLootLockerPlayerData &PlayerData, bool ShowRead, const FString &OfType, const FString &WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate &OnComplete)
static FString ListNotifications(const FLootLockerPlayerData &PlayerData, ELootLockerNotificationPriority WithPriority, bool ShowRead, const FString &OfType, const FString &WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate &OnComplete)
static FString GetStandardPurchasingAppleAppStoreContextKeyCatalogItemIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:429
static FString GetNotificationsSourceRewardsGrantString()
Static String for use in Notifications – Matching Notification source Rewards Grant.
Definition LootLockerNotificationsRequestHandler.h:374
static FString GetStandardRewardsGrantContextKeySourceString()
Static String for use in Notification contexts – Standard Context Key for Rewards Grant.
Definition LootLockerNotificationsRequestHandler.h:549
static FString GetStandardPurchasingSteamStoreContextKeyCharacterIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:419
static FString GetStandardPurchasingGooglePlayStoreContextKeyCatalogIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:439
static FString GetNotificationsSourceMagicTriggersString()
Static String for use in Notifications – Matching Notification source Magic Triggers.
Definition LootLockerNotificationsRequestHandler.h:344
static FString GetNotificationsSourceRewardCampaignString()
Static String for use in Notifications – Matching Notification source Reward Campaign.
Definition LootLockerNotificationsRequestHandler.h:369
static FString GetNotificationsSourceLootLockerServerAPIString()
Static String for use in Notifications – Matching Notification source LootLocker Server API.
Definition LootLockerNotificationsRequestHandler.h:339
static FString GetNotificationsSourceUnknownString()
Static String for use in Notifications – Matching Notification source Unknown.
Definition LootLockerNotificationsRequestHandler.h:384
static FString GetStandardPurchasingAppleAppStoreContextKeyCatalogIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:424
static FString GetStandardPurchasingLootLockerContextKeyCatalogIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:454
static FString GetStandardPurchasingEpicGamesStoreContextKeyCatalogIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:494
static FString GetNotificationsSourceReferralString()
Static String for use in Notifications – Matching Notification source Referral.
Definition LootLockerNotificationsRequestHandler.h:379
static FString GetNotificationsSourcePurchasingStripeStoreString()
Static String for use in Notifications – Matching Notification source Purchasing StripeStore.
Definition LootLockerNotificationsRequestHandler.h:354
static FString GetStandardPurchasingStripeStoreContextKeyEntitlementIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:489
static FString GetStandardRewardCampaignContextKeyGiveawayIdString()
Static String for use in Notification contexts – Standard Context Key for Reward Campaign.
Definition LootLockerNotificationsRequestHandler.h:519
static FString GetStandardPurchasingSteamStoreContextKeyEntitlementIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:414
static FString GetStandardPurchasingEpicGamesStoreContextKeyCatalogItemIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:499
static FString GetStandardTriggersContextKeyKeyString()
Static String for use in Notification contexts – Standard Context Key for Triggers.
Definition LootLockerNotificationsRequestHandler.h:394
static FString GetNotificationsSourcePurchasingAppleAppStoreString()
Static String for use in Notifications – Matching Notification source Purchasing AppleAppStore.
Definition LootLockerNotificationsRequestHandler.h:314
static FString GetStandardLeaderboardRewardContextKeyPlayerPublicIdString()
Static String for use in Notification contexts – Standard Context Key for Leaderboard Reward.
Definition LootLockerNotificationsRequestHandler.h:514
static FString GetNotificationsSourceLootLockerConsoleString()
Static String for use in Notifications – Matching Notification source LootLocker Console.
Definition LootLockerNotificationsRequestHandler.h:334
static FString GetStandardRewardCampaignContextKeyRewardIdString()
Static String for use in Notification contexts – Standard Context Key for Reward Campaign.
Definition LootLockerNotificationsRequestHandler.h:524
static FString GetStandardRewardsGrantContextKeyItemTemplateIdString()
Static String for use in Notification contexts – Standard Context Key for Rewards Grant.
Definition LootLockerNotificationsRequestHandler.h:529
static FString GetStandardPurchasingSteamStoreContextKeyCatalogIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:404
ULootLockerStaticNotificationStringBlueprintCallables()
Definition LootLockerNotificationsRequestHandler.h:293
static FString GetNotificationsSourcePurchasingEpicGamesStoreString()
Static String for use in Notifications – Matching Notification source Purchasing EpicGamesStore.
Definition LootLockerNotificationsRequestHandler.h:359
static FString GetStandardTriggersContextKeyLimitString()
Static String for use in Notification contexts – Standard Context Key for Triggers.
Definition LootLockerNotificationsRequestHandler.h:399
static FString GetStandardRewardsGrantContextKeyRequestedCountString()
Static String for use in Notification contexts – Standard Context Key for Rewards Grant.
Definition LootLockerNotificationsRequestHandler.h:539
static FString GetNotificationsSourceTwitchDropString()
Static String for use in Notifications – Matching Notification source Twitch Drop.
Definition LootLockerNotificationsRequestHandler.h:329
static FString GetStandardRewardsGrantContextKeyTemplateNameString()
Static String for use in Notification contexts – Standard Context Key for Rewards Grant.
Definition LootLockerNotificationsRequestHandler.h:534
static FString GetStandardPurchasingPlaystationStoreContextKeyTransactionIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:474
static FString GetStandardPurchasingStripeStoreContextKeyCatalogItemIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:484
static FString GetNotificationsSourceLeaderboardRewardString()
Static String for use in Notifications – Matching Notification source Leaderboard Reward.
Definition LootLockerNotificationsRequestHandler.h:364
static FString GetStandardTwitchDropContextKeyTwitchRewardIdString()
Static String for use in Notification contexts – Standard Context Key for Twitch Drops.
Definition LootLockerNotificationsRequestHandler.h:554
static FString GetStandardPurchasingAppleAppStoreContextKeyTransactionIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:434
static FString GetStandardPurchasingPlaystationStoreContextKeyCatalogItemIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:469
static FString GetNotificationsSourcePurchasingPlaystationStoreString()
Static String for use in Notifications – Matching Notification source Purchasing PlaystationStore.
Definition LootLockerNotificationsRequestHandler.h:349
static FString GetNotificationsSourcePurchasingLootLockerString()
Static String for use in Notifications – Matching Notification source Purchasing LootLocker.
Definition LootLockerNotificationsRequestHandler.h:324
static FString GetTypePullRewardAcquiredString()
Static String for use in Notifications – Matching Notification type Pull Reward Acquired.
Definition LootLockerNotificationsRequestHandler.h:299
static FString GetNotificationsSourcePurchasingGooglePlayStoreString()
Static String for use in Notifications – Matching Notification source Purchasing GooglePlayStore.
Definition LootLockerNotificationsRequestHandler.h:319
static FString GetStandardPurchasingPlaystationStoreContextKeyEntitlementLabelString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:479
static FString GetStandardTriggersContextKeyIdString()
Static String for use in Notification contexts – Standard Context Key for Triggers.
Definition LootLockerNotificationsRequestHandler.h:389
static FString GetStandardPurchasingGooglePlayStoreContextKeyProductIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:449
static FString GetStandardPurchasingLootLockerContextKeyCatalogItemIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:459
static FString GetStandardRewardsGrantContextKeyGrantedCountString()
Static String for use in Notification contexts – Standard Context Key for Rewards Grant.
Definition LootLockerNotificationsRequestHandler.h:544
static FString GetNotificationsSourceTriggersString()
Static String for use in Notifications – Matching Notification source Triggers.
Definition LootLockerNotificationsRequestHandler.h:304
static FString GetNotificationsSourcePurchasingSteamStoreString()
Static String for use in Notifications – Matching Notification source Purchasing SteamStore.
Definition LootLockerNotificationsRequestHandler.h:309
static FString GetStandardPurchasingSteamStoreContextKeyCatalogItemIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:409
static FString GetStandardLeaderboardRewardContextKeyLeaderboardIdString()
Static String for use in Notification contexts – Standard Context Key for Leaderboard Reward.
Definition LootLockerNotificationsRequestHandler.h:509
static FString GetStandardPurchasingPlaystationStoreContextKeyCatalogIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:464
static FString GetStandardPurchasingEpicGamesStoreContextKeyEpicEntitlementIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:504
static FString GetStandardPurchasingGooglePlayStoreContextKeyCatalogItemIdString()
Static String for use in Notification contexts – Standard Context Key for Purchasing....
Definition LootLockerNotificationsRequestHandler.h:444
ELootLockerCustomNotificationFiltering
Enum for custom notification filtering.
Definition LootLockerNotificationsRequestHandler.h:109
ELootLockerNotificationSource
Enum of the different available sources for notifications.
Definition LootLockerNotificationsRequestHandler.h:38
ELootLockerNotificationContentBodyType
Enum of the different types of values that can be in the notification body.
Definition LootLockerNotificationsRequestHandler.h:67
void(* FLootLockerListNotificationsResponseDelegate)(FLootLockerListNotificationsResponse)
C++ response delegate for handling List Notifications Responses.
Definition LootLockerNotificationsRequestHandler.h:1240
ELootLockerNotificationContentRewardKind
Enum of the different kinds of notification bodies possible, use this to figure out how to parse the ...
Definition LootLockerNotificationsRequestHandler.h:93
ELootLockerNotificationPriority
Enum of the different available priorities for notifications.
Definition LootLockerNotificationsRequestHandler.h:23
void(* FLootLockerReadNotificationsResponseDelegate)(FLootLockerReadNotificationsResponse)
C++ response delegate for handling read notifications response.
Definition LootLockerNotificationsRequestHandler.h:1244
@ Custom_only
Definition LootLockerNotificationsRequestHandler.h:111
@ LootLocker_only
Definition LootLockerNotificationsRequestHandler.h:112
@ All
Definition LootLockerNotificationsRequestHandler.h:110
@ lootlocker_admin_api
Definition LootLockerNotificationsRequestHandler.h:47
@ magic_triggers
Definition LootLockerNotificationsRequestHandler.h:48
@ lootlocker_server_api
Definition LootLockerNotificationsRequestHandler.h:46
@ purchasing_playstation_store
Definition LootLockerNotificationsRequestHandler.h:49
@ purchasing_stripe_store
Definition LootLockerNotificationsRequestHandler.h:50
@ reward_campaign
Definition LootLockerNotificationsRequestHandler.h:53
@ purchasing_google_play_store
Definition LootLockerNotificationsRequestHandler.h:42
@ triggers
Definition LootLockerNotificationsRequestHandler.h:39
@ purchasing_apple_app_store
Definition LootLockerNotificationsRequestHandler.h:41
@ purchasing_steam_store
Definition LootLockerNotificationsRequestHandler.h:40
@ unknown
Definition LootLockerNotificationsRequestHandler.h:56
@ purchasing_epic_games_store
Definition LootLockerNotificationsRequestHandler.h:51
@ referral
Definition LootLockerNotificationsRequestHandler.h:55
@ purchasing_lootlocker_store
Definition LootLockerNotificationsRequestHandler.h:43
@ rewards_grant
Definition LootLockerNotificationsRequestHandler.h:54
@ leaderboard_reward
Definition LootLockerNotificationsRequestHandler.h:52
@ twitch_drop
Definition LootLockerNotificationsRequestHandler.h:44
@ lootlocker_console
Definition LootLockerNotificationsRequestHandler.h:45
@ json_object
Definition LootLockerNotificationsRequestHandler.h:75
@ json_decimal
Definition LootLockerNotificationsRequestHandler.h:73
@ json_array
Definition LootLockerNotificationsRequestHandler.h:76
@ json_array_object
Definition LootLockerNotificationsRequestHandler.h:81
@ none
Definition LootLockerNotificationsRequestHandler.h:68
@ null
Definition LootLockerNotificationsRequestHandler.h:69
@ json_bool
Definition LootLockerNotificationsRequestHandler.h:74
@ json_array_bool
Definition LootLockerNotificationsRequestHandler.h:80
@ json_array_integer
Definition LootLockerNotificationsRequestHandler.h:78
@ json_integer
Definition LootLockerNotificationsRequestHandler.h:72
@ json_string
Definition LootLockerNotificationsRequestHandler.h:71
@ json_array_decimal
Definition LootLockerNotificationsRequestHandler.h:79
@ json_array_string
Definition LootLockerNotificationsRequestHandler.h:77
@ reward
Definition LootLockerNotificationsRequestHandler.h:70
@ progression_reset
Definition LootLockerNotificationsRequestHandler.h:97
@ currency
Definition LootLockerNotificationsRequestHandler.h:95
@ progression_points
Definition LootLockerNotificationsRequestHandler.h:98
@ asset
Definition LootLockerNotificationsRequestHandler.h:96
@ group
Definition LootLockerNotificationsRequestHandler.h:94
@ medium
Definition LootLockerNotificationsRequestHandler.h:25
@ low
Definition LootLockerNotificationsRequestHandler.h:24
@ high
Definition LootLockerNotificationsRequestHandler.h:26
@ emergency
Definition LootLockerNotificationsRequestHandler.h:27
Definition LootLockerResponse.h:101
Response containing a paginated list of notifications for the player, with a lookup helper for findin...
Definition LootLockerNotificationsRequestHandler.h:1190
FLootLockerExtendedIndexBasedPagination Pagination
Pagination data for this set of notifications.
Definition LootLockerNotificationsRequestHandler.h:1201
TArray< FLootLockerNotification > Notifications
List of the requested notifications according to pagination settings.
Definition LootLockerNotificationsRequestHandler.h:1196
bool TryGetNotificationsByIdentifyingValue(const FString &IdentifyingValue, TArray< FLootLockerNotification > &OutNotifications) const
Get notifications by their identifying value.
Holds the full reward body of a notification's content, with the active reward type determined by the...
Definition LootLockerNotificationsRequestHandler.h:963
FLootLockerNotificationRewardProgression Progression_points
The Progression Points reward, will be null if the reward is of another type.
Definition LootLockerNotificationsRequestHandler.h:994
FLootLockerNotificationRewardAsset Asset
The Asset reward, will be null if the reward is of another type.
Definition LootLockerNotificationsRequestHandler.h:984
ELootLockerNotificationContentRewardKind Kind
The kind of notification body this contains.
Definition LootLockerNotificationsRequestHandler.h:969
FLootLockerNotificationRewardGroup Group
The Group reward, will be null if the reward is of another type.
Definition LootLockerNotificationsRequestHandler.h:974
FLootLockerNotificationRewardCurrency Currency
The currency reward, will be null if the reward is of another type.
Definition LootLockerNotificationsRequestHandler.h:979
FLootLockerNotificationRewardProgressionReset Progression_reset
The Progression Reset reward, will be null if the reward is of another type.
Definition LootLockerNotificationsRequestHandler.h:989
Holds the content of a notification, including context key-value pairs, body type hint,...
Definition LootLockerNotificationsRequestHandler.h:1002
ELootLockerNotificationContentBodyType BodyType
The interpreted type of the content body.
Definition LootLockerNotificationsRequestHandler.h:1023
bool TryGetContentBodyAsInteger(int &Output) const
Get the body as an integer.
bool TryGetContentBodyAsJsonObject(TSharedPtr< FJsonObject > &Output) const
Get the body as a Json Object.
bool TryGetContentBodyAsBool(bool &Output) const
Get the body as a boolean.
bool TryGetContentBodyAsRewardNotification(FLootLockerNotificationContentRewardBody &Output) const
Get the body as a LootLockerNotificationContentBody object.
bool TryGetContentBodyAsBoolArray(TArray< bool > &Output) const
Get the body as a boolean.
TArray< FLootLockerNotificationContextEntry > Context
The context for this content.
Definition LootLockerNotificationsRequestHandler.h:1008
TMap< FString, FString > ContextAsDictionary
The context for this content.
Definition LootLockerNotificationsRequestHandler.h:1013
bool TryGetContentBodyAsFloatArray(TArray< float > &Output) const
Get the body as a float.
bool TryGetContentBodyAsJsonArray(TArray< TSharedPtr< FJsonValue > > &Output) const
Get the body as a Json Array.
TSharedPtr< FJsonValue > BodyAsJsonValue
The body for this notification content as a json value, use the dedicated methods to parse this.
Definition LootLockerNotificationsRequestHandler.h:1032
FString BodyAsJsonString
The body for this notification content as a json string, use the dedicated methods to parse this.
Definition LootLockerNotificationsRequestHandler.h:1028
bool TryGetContentBodyAsStringArray(TArray< FString > &Output) const
Get the body as a String.
bool TryGetContentBodyAsString(FString &Output) const
Get the body as a String.
bool TryGetRawValue(TSharedPtr< FJsonValue > &Output) const
Get the body as an unparsed json body.
FString IdentifyingContextKey
The key from the context that will most likely help in identifying this notification.
Definition LootLockerNotificationsRequestHandler.h:1018
bool TryGetContentBodyAsFloat(float &Output) const
Get the body as a float.
bool TryGetContentBodyAsIntegerArray(TArray< int > &Output) const
Get the body as an integer.
Holds a single key-value context entry attached to a notification's content.
Definition LootLockerNotificationsRequestHandler.h:573
FString Value
The value of this context entry.
Definition LootLockerNotificationsRequestHandler.h:584
FString Key
The key for this context entry.
Definition LootLockerNotificationsRequestHandler.h:579
Holds one member reward within a notification group reward, identified by kind, with the relevant rew...
Definition LootLockerNotificationsRequestHandler.h:891
FLootLockerNotificationRewardProgression Progression_points
The Progression Points reward, will be null if the reward is of another type.
Definition LootLockerNotificationsRequestHandler.h:917
FLootLockerNotificationRewardAsset Asset
The details on the Asset.
Definition LootLockerNotificationsRequestHandler.h:907
ELootLockerNotificationContentRewardKind Kind
The kind of reward, (asset / currency / progression points / progression reset).
Definition LootLockerNotificationsRequestHandler.h:897
FLootLockerNotificationRewardCurrency Currency
The details on the Currency.
Definition LootLockerNotificationsRequestHandler.h:902
FLootLockerNotificationRewardProgressionReset Progression_reset
The Progression Reset reward, will be null if the reward is of another type.
Definition LootLockerNotificationsRequestHandler.h:912
Definition LootLockerNotificationsRequestHandler.h:562
FString IdentifyingContextKey
Definition LootLockerNotificationsRequestHandler.h:563
int NotificationArrayIndex
Definition LootLockerNotificationsRequestHandler.h:565
FString NotificationULID
Definition LootLockerNotificationsRequestHandler.h:564
Holds the display details of an asset referenced in a notification reward, including its name,...
Definition LootLockerNotificationsRequestHandler.h:786
FString Variation_name
The name of the Variation Asset, will be null if it's not a Variation Asset.
Definition LootLockerNotificationsRequestHandler.h:802
int Rental_option_id
The ID of the rental option, will be 0 if it's not a Rental Asset.
Definition LootLockerNotificationsRequestHandler.h:817
FString Id
the ULID of the Asset.
Definition LootLockerNotificationsRequestHandler.h:827
int Variation_id
The ID of the Variation, will be 0 if it's not a Variation Asset.
Definition LootLockerNotificationsRequestHandler.h:812
FString Rental_option_name
The name of the Rental Asset, will be null if it's not a Variation Asset.
Definition LootLockerNotificationsRequestHandler.h:807
FString Name
The name of the Asset.
Definition LootLockerNotificationsRequestHandler.h:792
int Legacy_id
The ID of the Asset.
Definition LootLockerNotificationsRequestHandler.h:822
FString Thumbnail
The url to the thumbnail, will be null if it's not set in the LootLocker console.
Definition LootLockerNotificationsRequestHandler.h:797
Represents an asset reward in a notification, linking the reward to an asset and its optional variati...
Definition LootLockerNotificationsRequestHandler.h:835
FLootLockerNotificationRewardAssetDetails Details
The details on the Asset.
Definition LootLockerNotificationsRequestHandler.h:851
int Asset_variation_id
The Asset variation ID, will be 0 if it's not a variation.
Definition LootLockerNotificationsRequestHandler.h:856
int Asset_rental_option_id
The Asset rental option ID, will be 0 if it's not a rental.
Definition LootLockerNotificationsRequestHandler.h:861
FString Reward_id
The ID of the reward.
Definition LootLockerNotificationsRequestHandler.h:871
FString Updated_at
The date the Asset reward was last updated.
Definition LootLockerNotificationsRequestHandler.h:846
TArray< int64 > Asset_instance_ids
The IDs of the Asset Instances that were granted.
Definition LootLockerNotificationsRequestHandler.h:883
FString Created_at
The date the Asset reward was created.
Definition LootLockerNotificationsRequestHandler.h:841
FString Asset_ulid
The ULID of the Asset.
Definition LootLockerNotificationsRequestHandler.h:876
int Asset_id
The ID of the Asset.
Definition LootLockerNotificationsRequestHandler.h:866
Holds the display details of a currency referenced in a notification reward, including its name,...
Definition LootLockerNotificationsRequestHandler.h:592
FString Code
The code of the Currency.
Definition LootLockerNotificationsRequestHandler.h:603
FString Amount
The amount of the Currency.
Definition LootLockerNotificationsRequestHandler.h:608
FString Id
The ID of the Currency.
Definition LootLockerNotificationsRequestHandler.h:613
FString Name
The name of the Currency.
Definition LootLockerNotificationsRequestHandler.h:598
Represents a currency reward in a notification, linking the reward to a currency amount and its curre...
Definition LootLockerNotificationsRequestHandler.h:621
FLootLockerNotificationRewardCurrencyDetails Details
The details on the Currency.
Definition LootLockerNotificationsRequestHandler.h:642
FString Created_at
The date the Currency reward was created.
Definition LootLockerNotificationsRequestHandler.h:627
FString Updated_at
The date the Currency reward was last updated.
Definition LootLockerNotificationsRequestHandler.h:632
FString Currency_id
The ID of the Currency.
Definition LootLockerNotificationsRequestHandler.h:652
FString Amount
The amount of Currency to be rewarded.
Definition LootLockerNotificationsRequestHandler.h:637
FString Reward_id
The ID of a reward.
Definition LootLockerNotificationsRequestHandler.h:647
Represents a group reward in a notification, bundling multiple reward-type associations under a share...
Definition LootLockerNotificationsRequestHandler.h:925
TArray< FLootLockerNotificationGroupRewardAssociations > Associations
Associations for the Group reward.
Definition LootLockerNotificationsRequestHandler.h:949
FString Description
The description of the Group.
Definition LootLockerNotificationsRequestHandler.h:943
FString Name
The name of the Group.
Definition LootLockerNotificationsRequestHandler.h:937
FString Reward_id
The ID of the reward.
Definition LootLockerNotificationsRequestHandler.h:955
FString Created_at
The date the Group reward was created.
Definition LootLockerNotificationsRequestHandler.h:931
Holds the display details of a progression referenced in a progression-points notification reward,...
Definition LootLockerNotificationsRequestHandler.h:660
FString Id
The ID of the Progression.
Definition LootLockerNotificationsRequestHandler.h:681
int Amount
The amount of Progression Points to be rewarded.
Definition LootLockerNotificationsRequestHandler.h:676
FString Key
The key of the Progression.
Definition LootLockerNotificationsRequestHandler.h:666
FString Name
The name of the Progression.
Definition LootLockerNotificationsRequestHandler.h:671
Holds the display details of a progression referenced in a progression-reset notification reward,...
Definition LootLockerNotificationsRequestHandler.h:728
FString Id
The ID of the Progression.
Definition LootLockerNotificationsRequestHandler.h:744
FString Key
The key of the Progression.
Definition LootLockerNotificationsRequestHandler.h:734
FString Name
The name of the Progression.
Definition LootLockerNotificationsRequestHandler.h:739
Represents a progression-reset reward in a notification, linking the reward to the affected progressi...
Definition LootLockerNotificationsRequestHandler.h:752
FLootLockerNotificationRewardProgressionResetDetails Details
The details of the Progression reward.
Definition LootLockerNotificationsRequestHandler.h:768
FString Created_at
The date the Progression Reset reward was created.
Definition LootLockerNotificationsRequestHandler.h:758
FString Progression_id
The ID of the Progression.
Definition LootLockerNotificationsRequestHandler.h:773
FString Updated_at
The date the Progression Reset reward was last updated.
Definition LootLockerNotificationsRequestHandler.h:763
FString Reward_id
The ID of the reward.
Definition LootLockerNotificationsRequestHandler.h:778
Represents a progression-points reward in a notification, linking the reward to a progression and the...
Definition LootLockerNotificationsRequestHandler.h:689
int Amount
The amount of Progression Points to be rewarded.
Definition LootLockerNotificationsRequestHandler.h:710
FString Progression_id
The ID of the Progression.
Definition LootLockerNotificationsRequestHandler.h:715
FString Created_at
The date the Progression Points reward was created.
Definition LootLockerNotificationsRequestHandler.h:695
FString Reward_id
The ID of the reward.
Definition LootLockerNotificationsRequestHandler.h:720
FString Updated_at
The date the Progression Points was last updated.
Definition LootLockerNotificationsRequestHandler.h:700
FLootLockerNotificationRewardProgressionDetails Details
The details of the Progression.
Definition LootLockerNotificationsRequestHandler.h:705
Represents a full notification record for a player, including its type, priority, source,...
Definition LootLockerNotificationsRequestHandler.h:1089
ELootLockerNotificationSource SourceEnum
The originating source of this notification (for example, did it originate from a purchase,...
Definition LootLockerNotificationsRequestHandler.h:1125
FString Source
The originating source of this notification (for example, did it originate from a purchase,...
Definition LootLockerNotificationsRequestHandler.h:1120
FLootLockerNotificationContent Content
The actual content of this notification.
Definition LootLockerNotificationsRequestHandler.h:1130
FString Expiration_date
At what time that this notification expires, after this time, the notification is no longer returned.
Definition LootLockerNotificationsRequestHandler.h:1100
bool Read
Whether this notification has been read or not.
Definition LootLockerNotificationsRequestHandler.h:1145
bool Custom
Whether this notification is a custom notification (custom defined by this game) or not (default defi...
Definition LootLockerNotificationsRequestHandler.h:1150
FString Player_id
The id of the player that this notification is for.
Definition LootLockerNotificationsRequestHandler.h:1140
ELootLockerNotificationPriority Priority
The priority of this notification (default: medium).
Definition LootLockerNotificationsRequestHandler.h:1115
FString Created_at
The time that this notification was created.
Definition LootLockerNotificationsRequestHandler.h:1095
FString Id
The id of the notification, use this when marking as read.
Definition LootLockerNotificationsRequestHandler.h:1135
FString Notification_type
The type of this notification, if this is a custom notification then this is set by the sender of the...
Definition LootLockerNotificationsRequestHandler.h:1110
FString Read_at
The time that this notification was read.
Definition LootLockerNotificationsRequestHandler.h:1105
Definition LootLockerPlayerData.h:12
Request to mark a list of notifications as read by their identifiers.
Definition LootLockerNotificationsRequestHandler.h:1162
TArray< FString > Notifications
List of ids of the notifications to mark as read.
Definition LootLockerNotificationsRequestHandler.h:1168
Response from marking notifications as read, containing only base response status unless errors occur...
Definition LootLockerNotificationsRequestHandler.h:1180
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19
Definition LootLockerNotificationsRequestHandler.h:140
static const FString SteamStore
Definition LootLockerNotificationsRequestHandler.h:141
static const FString GooglePlayStore
Definition LootLockerNotificationsRequestHandler.h:143
static const FString LootLocker
Definition LootLockerNotificationsRequestHandler.h:144
static const FString AppleAppStore
Definition LootLockerNotificationsRequestHandler.h:142
static const FString PlaystationStore
Definition LootLockerNotificationsRequestHandler.h:145
static const FString EpicGamesStore
Definition LootLockerNotificationsRequestHandler.h:147
static const FString StripeStore
Definition LootLockerNotificationsRequestHandler.h:146
Possible sources for notifications.
Definition LootLockerNotificationsRequestHandler.h:137
static const FString LootLockerAdminApi
Definition LootLockerNotificationsRequestHandler.h:152
static const FString LootLockerServerApi
Definition LootLockerNotificationsRequestHandler.h:151
static const FString Unknown
Not a source emitted by the backend.
Definition LootLockerNotificationsRequestHandler.h:161
static const FString LootLockerConsole
Definition LootLockerNotificationsRequestHandler.h:150
static const FString TwitchDrop
Definition LootLockerNotificationsRequestHandler.h:149
static const FString MagicTriggers
Definition LootLockerNotificationsRequestHandler.h:153
static const FString Referral
Definition LootLockerNotificationsRequestHandler.h:157
static const FString Triggers
Definition LootLockerNotificationsRequestHandler.h:138
static const FString RewardsGrant
Definition LootLockerNotificationsRequestHandler.h:156
static const FString LeaderboardReward
Definition LootLockerNotificationsRequestHandler.h:154
static const FString RewardCampaign
Definition LootLockerNotificationsRequestHandler.h:155
Possible types of notifications.
Definition LootLockerNotificationsRequestHandler.h:129
static const FString PullRewardAcquired
Definition LootLockerNotificationsRequestHandler.h:130
Standard context keys to expect when source is a leaderboard reward.
Definition LootLockerNotificationsRequestHandler.h:252
static const FString LeaderboardId
Definition LootLockerNotificationsRequestHandler.h:253
static const FString PlayerPublicId
Definition LootLockerNotificationsRequestHandler.h:254
Standard context keys to expect when source is purchasing from the Apple app store.
Definition LootLockerNotificationsRequestHandler.h:198
static const FString TransactionId
Definition LootLockerNotificationsRequestHandler.h:201
static const FString CatalogItemId
Definition LootLockerNotificationsRequestHandler.h:200
static const FString CatalogId
Definition LootLockerNotificationsRequestHandler.h:199
Standard context keys to expect when source is purchasing from the Epic Games store.
Definition LootLockerNotificationsRequestHandler.h:242
static const FString EpicEntitlementId
Definition LootLockerNotificationsRequestHandler.h:245
static const FString CatalogId
Definition LootLockerNotificationsRequestHandler.h:243
static const FString CatalogItemId
Definition LootLockerNotificationsRequestHandler.h:244
Standard context keys to expect when source is purchasing from the GooglePlay store.
Definition LootLockerNotificationsRequestHandler.h:207
static const FString ProductId
Definition LootLockerNotificationsRequestHandler.h:210
static const FString CatalogId
Definition LootLockerNotificationsRequestHandler.h:208
static const FString CatalogItemId
Definition LootLockerNotificationsRequestHandler.h:209
Standard context keys to expect when source is purchasing from LootLocker.
Definition LootLockerNotificationsRequestHandler.h:216
static const FString CatalogId
Definition LootLockerNotificationsRequestHandler.h:217
static const FString CatalogItemId
Definition LootLockerNotificationsRequestHandler.h:218
Standard context keys to expect when source is purchasing from the PlayStation store.
Definition LootLockerNotificationsRequestHandler.h:224
static const FString CatalogId
Definition LootLockerNotificationsRequestHandler.h:225
static const FString TransactionId
Definition LootLockerNotificationsRequestHandler.h:227
static const FString CatalogItemId
Definition LootLockerNotificationsRequestHandler.h:226
static const FString EntitlementLabel
Definition LootLockerNotificationsRequestHandler.h:228
Standard context keys to expect when source is purchasing from the Steam store.
Definition LootLockerNotificationsRequestHandler.h:188
static const FString CatalogId
Definition LootLockerNotificationsRequestHandler.h:189
static const FString CharacterId
Definition LootLockerNotificationsRequestHandler.h:192
static const FString EntitlementId
Definition LootLockerNotificationsRequestHandler.h:191
static const FString CatalogItemId
Definition LootLockerNotificationsRequestHandler.h:190
Standard context keys to expect when source is purchasing from the Stripe store.
Definition LootLockerNotificationsRequestHandler.h:234
static const FString CatalogItemId
Definition LootLockerNotificationsRequestHandler.h:235
static const FString EntitlementId
Definition LootLockerNotificationsRequestHandler.h:236
Standard context keys to expect when source is purchasing.
Definition LootLockerNotificationsRequestHandler.h:183
Standard context keys to expect when source is a reward campaign.
Definition LootLockerNotificationsRequestHandler.h:260
static const FString GiveawayId
Definition LootLockerNotificationsRequestHandler.h:261
static const FString RewardId
Definition LootLockerNotificationsRequestHandler.h:262
Standard context keys to expect when source is a rewards grant.
Definition LootLockerNotificationsRequestHandler.h:268
static const FString Source
Definition LootLockerNotificationsRequestHandler.h:273
static const FString GrantedCount
Definition LootLockerNotificationsRequestHandler.h:272
static const FString TemplateName
Definition LootLockerNotificationsRequestHandler.h:270
static const FString RequestedCount
Definition LootLockerNotificationsRequestHandler.h:271
static const FString ItemTemplateId
Definition LootLockerNotificationsRequestHandler.h:269
Standard context keys to expect when source is triggers.
Definition LootLockerNotificationsRequestHandler.h:173
static const FString Limit
Definition LootLockerNotificationsRequestHandler.h:176
static const FString Key
Definition LootLockerNotificationsRequestHandler.h:175
static const FString Id
Definition LootLockerNotificationsRequestHandler.h:174
Standard context keys to expect when source is a Twitch Drop.
Definition LootLockerNotificationsRequestHandler.h:279
static const FString TwitchRewardId
Definition LootLockerNotificationsRequestHandler.h:280
The standard context keys to expect for different notification sources.
Definition LootLockerNotificationsRequestHandler.h:168
Set of static string definitions to use for matching in different Notification contexts.
Definition LootLockerNotificationsRequestHandler.h:124