Refringe
a320d24ee4
- Updates the Model/Input classes to match the new export JSON structure - Updates references to model structure - Updates SevenZipSharp package - Adds a few null checks
16 lines
477 B
C#
16 lines
477 B
C#
using System.Text.Json.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace LootDumpProcessor.Model.Input
|
|
{
|
|
public class ChancedEnemy
|
|
{
|
|
[JsonProperty("EnemyChance", NullValueHandling = NullValueHandling.Ignore)]
|
|
[JsonPropertyName("EnemyChance")]
|
|
public int? EnemyChance { get; set; }
|
|
|
|
[JsonProperty("Role", NullValueHandling = NullValueHandling.Ignore)]
|
|
[JsonPropertyName("Role")]
|
|
public string? Role { get; set; }
|
|
}
|
|
} |