31 lines
791 B
C#
31 lines
791 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Spt.Hideout;
|
|
|
|
public record ScavCaseRewardCountsAndPrices
|
|
{
|
|
[JsonPropertyName("Common")]
|
|
public RewardCountAndPriceDetails? Common { get; set; }
|
|
|
|
[JsonPropertyName("Rare")]
|
|
public RewardCountAndPriceDetails? Rare { get; set; }
|
|
|
|
[JsonPropertyName("Superrare")]
|
|
public RewardCountAndPriceDetails? Superrare { get; set; }
|
|
}
|
|
|
|
public record RewardCountAndPriceDetails
|
|
{
|
|
[JsonPropertyName("minCount")]
|
|
public double? MinCount { get; set; }
|
|
|
|
[JsonPropertyName("maxCount")]
|
|
public double? MaxCount { get; set; }
|
|
|
|
[JsonPropertyName("minPriceRub")]
|
|
public double? MinPriceRub { get; set; }
|
|
|
|
[JsonPropertyName("maxPriceRub")]
|
|
public double? MaxPriceRub { get; set; }
|
|
}
|