Files
SPT-Server-Build/Libraries/Core/Models/Common/MinMaxInt.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
495 B
C#

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