|
1 |
| -using LootLocker.LootLockerEnums; |
| 1 | +using LootLocker.LootLockerEnums; |
2 | 2 | using System.Collections.Generic;
|
| 3 | +#if UNITY_2020_2_OR_NEWER |
| 4 | +using JetBrains.Annotations; |
| 5 | +#endif |
3 | 6 |
|
4 | 7 | namespace LootLocker.LootLockerEnums
|
5 | 8 | {
|
@@ -76,6 +79,40 @@ public class LootLockerCatalogEntryPrice
|
76 | 79 | /// </summary>
|
77 | 80 | public string currency_id { get; set; }
|
78 | 81 | }
|
| 82 | + |
| 83 | + /// <summary> |
| 84 | + /// </summary> |
| 85 | + public class LootLockerCatalogAppleAppStoreListing |
| 86 | + { |
| 87 | + /// <summary> |
| 88 | + /// The id of the product in Apple App Store that can be purchased and then used to redeem this catalog entry |
| 89 | + /// </summary> |
| 90 | + public string product_id { get; set; } |
| 91 | + } |
| 92 | + |
| 93 | + /// <summary> |
| 94 | + /// </summary> |
| 95 | + public class LootLockerCatalogGooglePlayStoreListing |
| 96 | + { |
| 97 | + /// <summary> |
| 98 | + /// The id of the product in Google Play Store that can be purchased and then used to redeem this catalog entry |
| 99 | + /// </summary> |
| 100 | + public string product_id { get; set; } |
| 101 | + } |
| 102 | + |
| 103 | + /// <summary> |
| 104 | + /// </summary> |
| 105 | + public class LootLockerCatalogEntryListings |
| 106 | + { |
| 107 | + /// <summary> |
| 108 | + /// The listing information (if configured) for Apple App Store |
| 109 | + /// </summary> |
| 110 | + public LootLockerCatalogAppleAppStoreListing apple_app_store { get; set; } |
| 111 | + /// <summary> |
| 112 | + /// The listing information (if configured) for Google Play Store |
| 113 | + /// </summary> |
| 114 | + public LootLockerCatalogGooglePlayStoreListing google_play_store { get; set; } |
| 115 | + } |
79 | 116 |
|
80 | 117 | /// <summary>
|
81 | 118 | /// </summary>
|
@@ -416,6 +453,7 @@ public LootLockerInlinedCatalogEntry(LootLockerCatalogEntry entry, [CanBeNull] L
|
416 | 453 | entity_kind = entry.entity_kind;
|
417 | 454 | entity_name = entry.entity_name;
|
418 | 455 | entity_id = entry.entity_id;
|
| 456 | + listings = entry.listings; |
419 | 457 | prices = entry.prices;
|
420 | 458 | catalog_listing_id = entry.catalog_listing_id;
|
421 | 459 | purchasable = entry.purchasable;
|
|
0 commit comments