08b5caf337
Swapped various doubles for ints across loot generator and airdrop code paths Fixed forced airdrop loot being returned with a decimal stack count
38 lines
516 B
C#
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;
|
|
}
|
|
}
|