using System.Text.Json.Serialization;
namespace SPTarkov.Server.Core.Models.Spt.Location;
public record RaidChanges
{
///
/// What percentage of dynamic loot should the map contain
///
[JsonPropertyName("dynamicLootPercent")]
public double? DynamicLootPercent { get; set; }
///
/// What percentage of static loot should the map contain
///
[JsonPropertyName("staticLootPercent")]
public double? StaticLootPercent { get; set; }
///
/// How many seconds into the raid is the player simulated to spawn in at
///
[JsonPropertyName("simulatedRaidStartSeconds")]
public double? SimulatedRaidStartSeconds { get; set; }
///
/// How many minutes are in the raid total
///
[JsonPropertyName("raidTimeMinutes")]
public double? RaidTimeMinutes { get; set; }
///
/// The new number of seconds required to avoid a run through
///
[JsonPropertyName("newSurviveTimeSeconds")]
public double? NewSurviveTimeSeconds { get; set; }
///
/// The original number of seconds required to avoid a run through
///
[JsonPropertyName("originalSurvivalTimeSeconds")]
public double? OriginalSurvivalTimeSeconds { get; set; }
///
/// Any changes required to the extract list
///
[JsonPropertyName("exitChanges")]
public List? ExitChanges { get; set; }
}
public record ExtractChange
{
[JsonPropertyName("Name")]
public string? Name { get; set; }
[JsonPropertyName("MinTime")]
public double? MinTime { get; set; }
[JsonPropertyName("MaxTime")]
public double? MaxTime { get; set; }
[JsonPropertyName("Chance")]
public double? Chance { get; set; }
}