Altered Upd.StackObjectsCount type to object as BSGs data returns an int 99% of the time and string 1% of the time

This commit is contained in:
Dev 2024-06-11 15:12:50 +01:00
parent 8faea6353b
commit a68a251901

View File

@ -1,5 +1,4 @@
using System.Text.Json.Serialization;
using LootDumpProcessor.Process.Processor;
using LootDumpProcessor.Utils;
using Newtonsoft.Json;
@ -9,7 +8,7 @@ namespace LootDumpProcessor.Model
{
[JsonProperty("StackObjectsCount", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("StackObjectsCount")]
public int? StackObjectsCount { get; set; }
public object? StackObjectsCount { get; set; }
[JsonProperty("FireMode", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("FireMode")]