Skip to content

Commit 28ee2aa

Browse files
Erik Bylundkirre-bylund
authored andcommitted
Explicitly deal with nullables
1 parent 7b39b4c commit 28ee2aa

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Runtime/Game/Requests/CatalogRequests.cs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,19 +408,23 @@ public class LootLockerInlinedCatalogEntry : LootLockerCatalogEntry
408408
/// <summary>
409409
/// Asset details inlined for this catalog entry, will be null if the entity_kind is not asset
410410
/// </summary>
411-
public LootLockerAssetDetails? asset_details { get; set; }
411+
[CanBeNull]
412+
public LootLockerAssetDetails asset_details { get; set; }
412413
/// <summary>
413414
/// Progression point details inlined for this catalog entry, will be null if the entity_kind is not progression_points
414415
/// </summary>
415-
public LootLockerProgressionPointDetails? progression_point_details { get; set; }
416+
[CanBeNull]
417+
public LootLockerProgressionPointDetails progression_point_details { get; set; }
416418
/// <summary>
417419
/// Progression reset details inlined for this catalog entry, will be null if the entity_kind is not progression_reset
418420
/// </summary>
419-
public LootLockerProgressionResetDetails? progression_reset_details { get; set; }
421+
[CanBeNull]
422+
public LootLockerProgressionResetDetails progression_reset_details { get; set; }
420423
/// <summary>
421424
/// Currency details inlined for this catalog entry, will be null if the entity_kind is not currency
422425
/// </summary>
423-
public LootLockerCurrencyDetails? currency_details { get; set; }
426+
[CanBeNull]
427+
public LootLockerCurrencyDetails currency_details { get; set; }
424428

425429
public LootLockerInlinedCatalogEntry(LootLockerCatalogEntry entry, [CanBeNull] LootLockerAssetDetails assetDetails, [CanBeNull] LootLockerProgressionPointDetails progressionPointDetails, [CanBeNull] LootLockerProgressionResetDetails progressionResetDetails, [CanBeNull] LootLockerCurrencyDetails currencyDetails)
426430
{

0 commit comments

Comments
 (0)