Files
SPT-Server-Build/Libraries/Core/Models/Common/MinMaxDouble.cs
T
Chomp 08b5caf337 Renamed Minmax to MinMaxDouble and added MinMaxInt
Swapped various doubles for ints across loot generator and airdrop code paths

Fixed forced airdrop loot being returned with a decimal stack count
2025-02-10 09:57:01 +00:00

38 lines
516 B
C#

using System.Text.Json.Serialization;
namespace Core.Models.Common;
public record MinMaxDouble
{
public MinMaxDouble(double min, double max)
{
Min = min;
Max = max;
}
public MinMaxDouble()
{
}
[JsonPropertyName("type")]
public string? Type
{
get;
set;
}
[JsonPropertyName("max")]
public double? Max
{
get;
set;
}
[JsonPropertyName("min")]
public double? Min
{
get;
set;
}
}