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
24 lines
855 B
C#
24 lines
855 B
C#
using System.Text.Json.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace LootDumpProcessor.Model.Input
|
|
{
|
|
public class Data
|
|
{
|
|
[JsonProperty("serverId", NullValueHandling = NullValueHandling.Ignore)]
|
|
[JsonPropertyName("serverId")]
|
|
public string? ServerID { get; set; }
|
|
|
|
[JsonProperty("serverSettings", NullValueHandling = NullValueHandling.Ignore)]
|
|
[JsonPropertyName("serverSettings")]
|
|
public ServerSettings? ServerSettings { get; set; }
|
|
|
|
[JsonProperty("profile", NullValueHandling = NullValueHandling.Ignore)]
|
|
[JsonPropertyName("profile")]
|
|
public object? Profile { get; set; }
|
|
|
|
[JsonProperty("locationLoot", NullValueHandling = NullValueHandling.Ignore)]
|
|
[JsonPropertyName("locationLoot")]
|
|
public required LocationLoot LocationLoot { get; set; }
|
|
}
|
|
} |