using System.Text.Json.Serialization;
namespace 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;
}
}