LootLocker Unreal SDK 10.5.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerCatalogRequestHandler.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5
6#include "CoreMinimal.h"
10#include "LootLockerCatalogRequestHandler.generated.h"
11
12//==================================================
13// Data Type Definitions
14//==================================================
17UENUM(BlueprintType, Category = "LootLocker")
22{
23 Asset = 0,
24 Currency = 1,
27 Group = 4,
28};
30
31USTRUCT(BlueprintType, Category = "LootLocker")
33{
34 GENERATED_BODY()
38 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
39 FString Catalog_listing_id = "";
43 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
44 FString Item_id = "";
45
46public:
47
48 friend uint32 GetTypeHash(const FLootLockerItemDetailsKey& p) {
49 return HashCombine(GetTypeHash(p.Catalog_listing_id), GetTypeHash(p.Item_id));
50 }
51
52 bool operator==(const FLootLockerItemDetailsKey& Other) const
53 {
54 return Catalog_listing_id.Equals(Other.Catalog_listing_id) && Item_id.Equals(Other.Item_id);
55 }
56
57};
58
59USTRUCT(BlueprintType, Category = "LootLocker")
61{
62 GENERATED_BODY()
66 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
67 FString Catalog_listing_id = "";
71 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
72 FString Item_id = "";
77 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
78 FString Asset_variation_id = "";
83 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
84 FString Rental_option_id = "";
85
86public:
87
88 friend uint32 GetTypeHash(const FLootLockerAssetItemDetailsKey& p) {
89 return HashCombine(HashCombine(GetTypeHash(p.Catalog_listing_id), GetTypeHash(p.Item_id)), HashCombine(GetTypeHash(p.Asset_variation_id), GetTypeHash(p.Rental_option_id)));
90 }
91
93 {
94 return Catalog_listing_id.Equals(Other.Catalog_listing_id) && Item_id.Equals(Other.Item_id) && Asset_variation_id.Equals(Other.Asset_variation_id) && Rental_option_id.Equals(Other.Rental_option_id);
95 }
96
98
99 FLootLockerAssetItemDetailsKey(const FString& InCatalogListingId, const FString& InItemId, const FString& InAssetVariationId, const FString& InRentalOptionId)
100 : Catalog_listing_id(InCatalogListingId)
101 , Item_id(InItemId)
102 , Asset_variation_id(InAssetVariationId)
103 , Rental_option_id(InRentalOptionId)
104 {
105 }
106
108
110
112
113 FLootLockerAssetItemDetailsKey(const FString& InCatalogListingId, const FString& InItemId)
114 : Catalog_listing_id(InCatalogListingId)
115 , Item_id(InItemId)
116 , Asset_variation_id("")
117 , Rental_option_id("")
118 {
119 }
120
122 : Catalog_listing_id(Other.Catalog_listing_id)
123 , Item_id(Other.Item_id)
124 , Asset_variation_id("")
125 , Rental_option_id("")
126 {
127 }
128
129};
130
134USTRUCT(BlueprintType, Category = "LootLocker")
136{
137 GENERATED_BODY()
142 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
143 FString Created_at = "";
148 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
149 FString Name = "";
154 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
155 FString Key = "";
160 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
161 FString Id = "";
166 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
167 FString Deleted_at = "";
168};
169
173USTRUCT(BlueprintType, Category = "LootLocker")
175{
176 GENERATED_BODY()
180 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
181 int Amount = 0;
185 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
186 FString Display_amount = "";
190 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
191 FString Currency_code = "";
195 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
196 FString Currency_name = "";
200 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
201 FString Price_id = "";
205 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
206 FString Currency_id = "";
207};
208
212USTRUCT(BlueprintType, Category = "LootLocker")
214{
215 GENERATED_BODY()
219 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
220 FString Product_id = "";
221};
222
226USTRUCT(BlueprintType, Category = "LootLocker")
228{
229 GENERATED_BODY()
233 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
234 FString Product_id = "";
235};
236
240USTRUCT(BlueprintType, Category = "LootLocker")
242{
243 GENERATED_BODY()
247 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
248 FString Currency = "";
252 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
253 int amount = 0;
254};
255
259USTRUCT(BlueprintType, Category = "LootLocker")
261{
262 GENERATED_BODY()
266 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
267 FString Description = "";
271 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
273};
274
278USTRUCT(BlueprintType, Category = "LootLocker")
280{
281 GENERATED_BODY()
285 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
286 FString Currency = "";
290 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
291 int Amount = 0;
292};
293
297USTRUCT(BlueprintType, Category = "LootLocker")
299{
300 GENERATED_BODY()
304 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
305 FString Audience_item_id = "";
306};
307
311USTRUCT(BlueprintType, Category = "LootLocker")
313{
314 GENERATED_BODY()
318 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
319 FString Entitlement_label = "";
320};
321
325USTRUCT(BlueprintType, Category = "LootLocker")
327{
328 GENERATED_BODY()
332 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
333 FString Product_id = "";
334};
335
339USTRUCT(BlueprintType, Category = "LootLocker")
341{
342 GENERATED_BODY()
346 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
351 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
356 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
361 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
366 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
371 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
376 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
378};
379
383USTRUCT(BlueprintType, Category = "LootLocker")
385{
386 GENERATED_BODY()
390 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
391 FString Created_at = "";
395 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
400 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
405 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
406 FString Entity_name = "";
410 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
415 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
416 FString Entity_id = "";
420 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
421 FString Catalog_listing_id = "";
425 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
426 bool Purchasable = false;
430 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
431 bool Non_refundable = false;
432
433};
434
438USTRUCT(BlueprintType, Category = "LootLocker")
440{
441 GENERATED_BODY()
445 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
446 FString Name = "";
450 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
451 FString Variation_id = "";
455 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
456 FString Rental_option_id = "";
460 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
461 int Legacy_id = 0;
465 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
466 FString Id = "";
470 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
471 FString Thumbnail = "";
475 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
476 FString Catalog_listing_id = "";
477
478};
479
483USTRUCT(BlueprintType, Category = "LootLocker")
485{
486 GENERATED_BODY()
490 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
491 FString Key = "";
495 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
496 FString Name = "";
500 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
501 int Amount = 0;
505 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
506 FString Id = "";
510 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
511 FString Catalog_listing_id = "";
512};
513
517USTRUCT(BlueprintType, Category = "LootLocker")
519{
520 GENERATED_BODY()
524 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
525 FString Key = "";
529 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
530 FString Name = "";
534 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
535 FString Id = "";
539 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
540 FString Catalog_listing_id = "";
541
542};
543
547USTRUCT(BlueprintType, Category = "LootLocker")
549{
550 GENERATED_BODY()
554 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
555 FString Name = "";
559 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
560 FString Code = "";
564 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
565 FString Amount = "";
569 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
570 FString Id = "";
574 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
575 FString Catalog_listing_id = "";
576
577};
578
579USTRUCT(BlueprintType, Category = "LootLocker")
581{
582 GENERATED_BODY()
586 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
587 FString key = "";
591 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
592 FString value = "";
593};
594
595USTRUCT(BlueprintType, Category = "LootLocker")
597{
598 GENERATED_BODY()
602 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
607 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
608 FString Id = "";
612 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
613 FString Catalog_listing_id = "";
614
615};
616
617USTRUCT(BlueprintType, Category = "LootLocker")
619{
620 GENERATED_BODY()
624 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
625 FString Name = "";
629 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
630 FString Description = "";
635 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker", meta = (DeprecatedProperty, DeprecationMessage = "This field was never used and will be removed"))
636 TArray<FLootLockerCatalogGroupMetadata> Metadata; // Deprecation date 2026-06-30
640 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
641 FString Id = "";
642 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
643 FString Catalog_listing_id = "";
647 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
649};
650
651//==================================================
652// Request Definitions
653//==================================================
654
656
657//==================================================
658// Response Definitions
659//==================================================
663USTRUCT(BlueprintType, Category = "LootLocker")
665{
666 GENERATED_BODY()
670 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
671 TArray<FLootLockerCatalog> Catalogs;
672};
673
677USTRUCT(BlueprintType, Category = "LootLocker")
679{
680 GENERATED_BODY()
681 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
683 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
684 TArray<FLootLockerCatalogEntry> Entries;
685 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
686 TArray<FLootLockerAssetDetails> Assets_Details;
687 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
688 TArray<FLootLockerProgressionPointDetails> Progression_Points_Details;
689 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
690 TArray<FLootLockerProgressionResetDetails> Progression_Resets_Details;
691 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
692 TArray<FLootLockerCurrencyDetails> Currency_Details;
693 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
694 TArray<FLootLockerGroupDetails> Group_Details;
695 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
697};
698
702USTRUCT(BlueprintType, Category = "LootLocker")
704{
705 GENERATED_BODY()
706 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
708 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
709 TArray<FLootLockerCatalogEntry> Entries;
710 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
711 TArray<FLootLockerAssetDetails> Assets_Details;
712 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
713 TArray<FLootLockerProgressionPointDetails> Progression_Points_Details;
714 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
715 TArray<FLootLockerProgressionResetDetails> Progression_Resets_Details;
716 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
717 TArray<FLootLockerCurrencyDetails> Currency_Details;
718 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
719 TArray<FLootLockerGroupDetails> Group_Details;
720 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
722};
723
724USTRUCT(BlueprintType, Category = "LootLocker")
726{
727 GENERATED_BODY()
731 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
732 TArray<FLootLockerAssetDetails> AssetDetails;
736 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
737 TArray<FLootLockerProgressionPointDetails> ProgressionPointDetails;
741 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
742 TArray<FLootLockerProgressionResetDetails> ProgressionResetDetails;
746 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
747 TArray<FLootLockerCurrencyDetails> CurrencyDetails;
748};
749
753USTRUCT(BlueprintType, Category = "LootLocker")
755{
756 GENERATED_BODY()
760 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
766 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
767 TArray<FLootLockerAssetDetails> OptionalAssetDetailVariants;
771 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
772 FLootLockerProgressionPointDetails ProgressionPointDetails;
776 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
777 FLootLockerProgressionResetDetails ProgressionResetDetails;
781 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
786 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
788
789 FLootLockerInlinedCatalogEntry(): AssetDetails(), OptionalAssetDetailVariants(), ProgressionPointDetails(), ProgressionResetDetails(), CurrencyDetails(), GroupDetails() {}
790
792
794};
795
799USTRUCT(BlueprintType, Category = "LootLocker")
801{
802 GENERATED_BODY()
806 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
808
812 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
813 TArray<FLootLockerCatalogEntry> Entries;
814
818 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
820
825 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
826 TMap<FLootLockerAssetItemDetailsKey, FLootLockerAssetDetails> Optional_Asset_Detail_Variants;
827
828
832 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
834
838 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
840
844 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
846
850 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
852
856 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
858
859 void AppendCatalogItems(FLootLockerListCatalogPricesResponse AdditionalCatalogPrices);
860
862
864
868 TArray<FLootLockerInlinedCatalogEntry> GetLootLockerInlinedCatalogEntries() const;
869};
870
874USTRUCT(BlueprintType, Category = "LootLocker")
876{
877 GENERATED_BODY()
881 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
883
887 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
888 TArray<FLootLockerCatalogEntry> Entries;
889
893 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
895
900 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
901 TMap<FLootLockerAssetItemDetailsKey, FLootLockerAssetDetails> Optional_Asset_Detail_Variants;
902
906 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
908
912 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
914
918 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
920
924 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
926
930 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
932
933 void AppendCatalogItems(FLootLockerListCatalogPricesV2Response AdditionalCatalogPrices);
934
936
938
942 TArray<FLootLockerInlinedCatalogEntry> GetLootLockerInlinedCatalogEntries() const;
943};
944
948USTRUCT(BlueprintType, Category = "LootLocker")
950{
951 GENERATED_BODY()
955 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
956 bool All = false;
957
961 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
962 TArray<FString> Keys;
963};
964
968USTRUCT(BlueprintType, Category = "LootLocker")
970{
971 GENERATED_BODY()
975 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
977};
978
982USTRUCT(BlueprintType, Category = "LootLocker")
984{
985 GENERATED_BODY()
989 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
990 TArray<FString> Ids;
991
995 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
997};
998
1002USTRUCT(BlueprintType, Category = "LootLocker")
1004{
1005 GENERATED_BODY()
1009 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1011
1015 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1016 FString Id;
1017
1021 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1022 FString Catalog_listing_id;
1023
1027 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1029
1033 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1035
1039 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1040 FLootLockerProgressionPointDetails Progression_point_detail;
1041
1045 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1046 FLootLockerProgressionResetDetails Progression_reset_detail;
1047};
1048
1053USTRUCT(BlueprintType, Category = "LootLocker")
1055{
1056 GENERATED_BODY()
1060 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1061 FString Name;
1062
1066 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1067 FString Description;
1068
1072 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1073 FString Id;
1074
1078 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1079 FString Catalog_listing_id;
1080
1084 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1086};
1087
1091USTRUCT(BlueprintType, Category = "LootLocker")
1093{
1094 GENERATED_BODY()
1098 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1100
1104 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1106
1110 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1111 FLootLockerProgressionPointDetails Progression_point_detail;
1112
1116 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1117 FLootLockerProgressionResetDetails Progression_reset_detail;
1118
1122 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1124
1128 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1130};
1131
1135USTRUCT(BlueprintType, Category = "LootLocker")
1137{
1138 GENERATED_BODY()
1142 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1143 FString Id;
1144
1148 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1149 FString Reason;
1150};
1151
1155USTRUCT(BlueprintType, Category = "LootLocker")
1157{
1158 GENERATED_BODY()
1162 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1164
1168 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
1170};
1171
1172//==================================================
1173// Delegate Definitions
1174//==================================================
1175
1178
1202
1203//==================================================
1204// API Class Definition
1205//==================================================
1206
1208UCLASS()
1209class LOOTLOCKERSDK_API ULootLockerCatalogRequestHandler : public UObject
1210{
1211 GENERATED_BODY()
1212public:
1214
1215 static FString ListCatalogs(const FLootLockerPlayerData& PlayerData, const FLootLockerListCatalogsResponseDelegate& OnComplete);
1216 static FString ListCatalogItems(const FLootLockerPlayerData& PlayerData, const FString& CatalogKey, int Count, const FString& After, const FLootLockerListCatalogPricesResponseDelegate& OnComplete);
1217 static FString ListCatalogItemsV2(const FLootLockerPlayerData& PlayerData, const FString& CatalogKey, int PerPage, int Page, const FLootLockerListCatalogPricesV2ResponseDelegate& OnComplete);
1218 static FString ListCatalogItemsById(const FLootLockerPlayerData& PlayerData, const TArray<FString>& CatalogListingIds, bool IncludeMetadata, const TArray<FString>& MetadataKeys, const FLootLockerListCatalogItemsByIdResponseDelegate& OnComplete);
1219 static TArray<FLootLockerInlinedCatalogEntry> ConvertCatalogToInlineItems(const FLootLockerListCatalogPricesResponse& Catalog)
1220 {
1221 return Catalog.GetLootLockerInlinedCatalogEntries();
1222 }
1223 static TArray<FLootLockerInlinedCatalogEntry> ConvertCatalogV2ToInlineItems(const FLootLockerListCatalogPricesV2Response& Catalog)
1224 {
1225 return Catalog.GetLootLockerInlinedCatalogEntries();
1226 }
1227};
Definition LootLockerCatalogRequestHandler.h:1210
ULootLockerCatalogRequestHandler()
Definition LootLockerCatalogRequestHandler.h:1213
static FString ListCatalogs(const FLootLockerPlayerData &PlayerData, const FLootLockerListCatalogsResponseDelegate &OnComplete)
static TArray< FLootLockerInlinedCatalogEntry > ConvertCatalogV2ToInlineItems(const FLootLockerListCatalogPricesV2Response &Catalog)
Definition LootLockerCatalogRequestHandler.h:1223
static FString ListCatalogItems(const FLootLockerPlayerData &PlayerData, const FString &CatalogKey, int Count, const FString &After, const FLootLockerListCatalogPricesResponseDelegate &OnComplete)
static FString ListCatalogItemsV2(const FLootLockerPlayerData &PlayerData, const FString &CatalogKey, int PerPage, int Page, const FLootLockerListCatalogPricesV2ResponseDelegate &OnComplete)
static FString ListCatalogItemsById(const FLootLockerPlayerData &PlayerData, const TArray< FString > &CatalogListingIds, bool IncludeMetadata, const TArray< FString > &MetadataKeys, const FLootLockerListCatalogItemsByIdResponseDelegate &OnComplete)
static TArray< FLootLockerInlinedCatalogEntry > ConvertCatalogToInlineItems(const FLootLockerListCatalogPricesResponse &Catalog)
Definition LootLockerCatalogRequestHandler.h:1219
ELootLockerCatalogEntryEntityKind
Possible entity kinds that catalog entries can have.
Definition LootLockerCatalogRequestHandler.h:22
void(* FLootLockerListCatalogPricesV2ResponseDelegate)(FLootLockerListCatalogPricesV2Response)
C++ response delegate for listing items and prices in a catalog.
Definition LootLockerCatalogRequestHandler.h:1189
void(* FLootLockerListCatalogItemsByIdResponseDelegate)(FLootLockerListCatalogItemsByIdResponse)
Delegate for ListCatalogItemsById response.
Definition LootLockerCatalogRequestHandler.h:1201
void(* FInternalLootLockerListCatalogPricesV2ResponseDelegate)(FInternalLootLockerListCatalogPricesV2Response)
Internal C++ response delegate for listing items and prices in a catalog with details as arrays.
Definition LootLockerCatalogRequestHandler.h:1197
void(* FLootLockerListCatalogPricesResponseDelegate)(FLootLockerListCatalogPricesResponse)
C++ response delegate for listing items and prices in a catalog.
Definition LootLockerCatalogRequestHandler.h:1185
void(* FLootLockerListCatalogsResponseDelegate)(FLootLockerListCatalogsResponse)
C++ response delegate for listing catalogs.
Definition LootLockerCatalogRequestHandler.h:1181
void(* FInternalLootLockerListCatalogPricesResponseDelegate)(FInternalLootLockerListCatalogPricesResponse)
Internal C++ response delegate for listing items and prices in a catalog with details as arrays.
Definition LootLockerCatalogRequestHandler.h:1193
This is what the response looks like, but we want to expose the Mapped variant.
Definition LootLockerCatalogRequestHandler.h:679
This is what the response looks like, but we want to expose the Mapped variant.
Definition LootLockerCatalogRequestHandler.h:704
Holds detail information about an asset catalog entity, including its name, ULID, legacy numeric id,...
Definition LootLockerCatalogRequestHandler.h:440
Definition LootLockerCatalogRequestHandler.h:61
FString Rental_option_id
The Asset Rental option ID Asset Rental Options is a deprecated feature, this is added for backward c...
Definition LootLockerCatalogRequestHandler.h:84
FLootLockerAssetItemDetailsKey(const FString &InCatalogListingId, const FString &InItemId)
Definition LootLockerCatalogRequestHandler.h:113
bool operator==(const FLootLockerAssetItemDetailsKey &Other) const
Definition LootLockerCatalogRequestHandler.h:92
FLootLockerAssetItemDetailsKey(const FLootLockerAssetItemDetailsKey &Other)=default
FLootLockerAssetItemDetailsKey(const FLootLockerItemDetailsKey &Other)
Definition LootLockerCatalogRequestHandler.h:121
FLootLockerAssetItemDetailsKey(const FString &InCatalogListingId, const FString &InItemId, const FString &InAssetVariationId, const FString &InRentalOptionId)
Definition LootLockerCatalogRequestHandler.h:99
FString Asset_variation_id
The Asset Variation ID Asset Variations is a deprecated feature, this is added for backward compatibi...
Definition LootLockerCatalogRequestHandler.h:78
FString Item_id
The id of the item.
Definition LootLockerCatalogRequestHandler.h:72
FString Catalog_listing_id
The id of the catalog listing.
Definition LootLockerCatalogRequestHandler.h:67
FLootLockerAssetItemDetailsKey & operator=(const FLootLockerAssetItemDetailsKey &Other)=default
Holds the Apple App Store product identifier for a catalog entry that can be purchased through that s...
Definition LootLockerCatalogRequestHandler.h:214
Aggregates the platform-specific store listing information configured for a catalog entry across all ...
Definition LootLockerCatalogRequestHandler.h:341
Represents a price for a catalog entry in a specific currency, including the numeric amount,...
Definition LootLockerCatalogRequestHandler.h:175
Represents a single purchasable item in a catalog, including its entity type, prices,...
Definition LootLockerCatalogRequestHandler.h:385
Holds the Epic Games Store audience item identifier associated with a catalog entry listing.
Definition LootLockerCatalogRequestHandler.h:299
Holds the Google Play Store product identifier for a catalog entry that can be purchased through that...
Definition LootLockerCatalogRequestHandler.h:228
Definition LootLockerCatalogRequestHandler.h:597
Definition LootLockerCatalogRequestHandler.h:581
Optional includes configuration for catalog items lookup.
Definition LootLockerCatalogRequestHandler.h:970
Holds the PlayStation Store entitlement label associated with a catalog entry listing.
Definition LootLockerCatalogRequestHandler.h:313
Represents a single price point for a Steam Store listing, specifying the currency code and amount.
Definition LootLockerCatalogRequestHandler.h:242
Holds the Steam Store listing for a catalog entry, including a description and the available prices.
Definition LootLockerCatalogRequestHandler.h:261
Holds the Stripe payment details for a catalog entry, including the currency and charge amount in the...
Definition LootLockerCatalogRequestHandler.h:280
Holds the Xbox Store product identifier associated with a catalog entry listing.
Definition LootLockerCatalogRequestHandler.h:327
Represents a catalog with its name, unique key, identifier, and creation and deletion timestamps.
Definition LootLockerCatalogRequestHandler.h:136
Holds details about a currency catalog entity, including the currency name, short code,...
Definition LootLockerCatalogRequestHandler.h:549
Definition LootLockerResponse.h:101
Definition LootLockerCatalogRequestHandler.h:619
A Convenience type to use when you need inlined catalog items.
Definition LootLockerCatalogRequestHandler.h:755
FLootLockerInlinedCatalogEntry(const FLootLockerCatalogEntry &Entry, const FLootLockerListCatalogPricesResponse &CatalogListing)
FLootLockerInlinedCatalogEntry(const FLootLockerCatalogEntry &Entry, const FLootLockerListCatalogPricesV2Response &CatalogListing)
A group association with the entity detail inlined directly.
Definition LootLockerCatalogRequestHandler.h:1004
Group detail used by the ListCatalogItemsById endpoint, where association details are inlined directl...
Definition LootLockerCatalogRequestHandler.h:1055
Definition LootLockerCatalogRequestHandler.h:726
Definition LootLockerCatalogRequestHandler.h:33
FString Catalog_listing_id
The id of the catalog listing.
Definition LootLockerCatalogRequestHandler.h:39
FString Item_id
The id of the item.
Definition LootLockerCatalogRequestHandler.h:44
bool operator==(const FLootLockerItemDetailsKey &Other) const
Definition LootLockerCatalogRequestHandler.h:52
Definition LootLockerResponse.h:43
A catalog entry with entity details inlined directly.
Definition LootLockerCatalogRequestHandler.h:1093
Describes why a specific catalog_listing_id could not be resolved.
Definition LootLockerCatalogRequestHandler.h:1137
Request body for looking up catalog items by their catalog_listing_ids.
Definition LootLockerCatalogRequestHandler.h:984
Response for the ListCatalogItemsById endpoint.
Definition LootLockerCatalogRequestHandler.h:1157
Response containing catalog entries with entity-typed lookup maps for asset, progression,...
Definition LootLockerCatalogRequestHandler.h:801
TArray< FLootLockerInlinedCatalogEntry > GetLootLockerInlinedCatalogEntries() const
Get all the entries with details inlined into the entries themselves.
FLootLockerListCatalogPricesResponse(const FInternalLootLockerListCatalogPricesResponse &ArrayResponse)
Response containing catalog entries with entity-typed lookup maps for asset, progression,...
Definition LootLockerCatalogRequestHandler.h:876
FLootLockerListCatalogPricesV2Response(const FInternalLootLockerListCatalogPricesV2Response &ArrayResponse)
TArray< FLootLockerInlinedCatalogEntry > GetLootLockerInlinedCatalogEntries() const
Get all the entries with details inlined into the entries themselves.
N/A.
Definition LootLockerCatalogRequestHandler.h:665
Represents a single typed metadata entry with a key, value type, tags, and access level,...
Definition LootLockerMetadataRequestHandler.h:116
Metadata include configuration for catalog items lookup.
Definition LootLockerCatalogRequestHandler.h:950
Definition LootLockerPlayerData.h:12
Holds details about a progression-points catalog entity, including the target progression key,...
Definition LootLockerCatalogRequestHandler.h:485
Holds details about a progression-reset catalog entity, identifying the progression to be reset by ke...
Definition LootLockerCatalogRequestHandler.h:519
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19