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
495 B
C#
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;
|
|
}
|
|
}
|