chomp 6e4c7abf73 dump-processor-cleanup (#6)
Co-authored-by: Alex <alex@dm-me-for-questions.com>
Reviewed-on: SPT-AKI/LootDumpProcessor#6
2024-04-16 18:29:40 +00:00

30 lines
765 B
C#

using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace LootDumpProcessor.Model
{
public class Vector3 : ICloneable
{
[JsonProperty("x", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("x")]
public double? X { get; set; }
[JsonProperty("y", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("y")]
public double? Y { get; set; }
[JsonProperty("z", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("z")]
public double? Z { get; set; }
public object Clone()
{
return new Vector3
{
X = X,
Y = Y,
Z = Z
};
}
}
}