2024-04-16 18:29:40 +00:00
|
|
|
using System.Text.Json.Serialization;
|
2023-08-12 19:08:38 +01:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace LootDumpProcessor.Model
|
|
|
|
{
|
|
|
|
public class Repairable : ICloneable
|
|
|
|
{
|
|
|
|
[JsonProperty("Durability", NullValueHandling = NullValueHandling.Ignore)]
|
|
|
|
[JsonPropertyName("Durability")]
|
|
|
|
public int? Durability { get; set; }
|
|
|
|
|
|
|
|
[JsonProperty("MaxDurability", NullValueHandling = NullValueHandling.Ignore)]
|
|
|
|
[JsonPropertyName("MaxDurability")]
|
|
|
|
public int? MaxDurability { get; set; }
|
|
|
|
|
|
|
|
public object Clone()
|
|
|
|
{
|
|
|
|
return new Repairable
|
|
|
|
{
|
2024-04-16 18:29:40 +00:00
|
|
|
Durability = Durability,
|
|
|
|
MaxDurability = MaxDurability
|
2023-08-12 19:08:38 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|