LootDumpProcessor/Model/Input/SpawnPointParam.cs
Refringe a320d24ee4
Changes for 3.10 (32160)
- 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
2024-08-22 15:33:27 -04:00

48 lines
1.9 KiB
C#

using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace LootDumpProcessor.Model.Input
{
public class SpawnPointParam
{
[JsonProperty("Id", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("Id")]
public string? Id { get; set; }
[JsonProperty("Position", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("Position")]
public Vector3? Position { get; set; }
[JsonProperty("Rotation", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("Rotation")]
public float? Rotation { get; set; }
[JsonProperty("Sides", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("Sides")]
public List<string>? Sides { get; set; }
[JsonProperty("Categories", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("Categories")]
public List<string>? Categories { get; set; }
[JsonProperty("Infiltration", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("Infiltration")]
public string? Infiltration { get; set; }
[JsonProperty("DelayToCanSpawnSec", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("DelayToCanSpawnSec")]
public float? DelayToCanSpawnSec { get; set; }
[JsonProperty("ColliderParams", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("ColliderParams")]
public ColliderParams? ColliderParams { get; set; }
[JsonProperty("BotZoneName", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("BotZoneName")]
public string? BotZoneName { get; set; }
[JsonProperty("CorePointId", NullValueHandling = NullValueHandling.Ignore)]
[JsonPropertyName("CorePointId")]
public int? CorePointId { get; set; }
}
}