Change Prop to ColliderProps to not collide with another type

This commit is contained in:
CWX
2025-01-24 18:10:33 +00:00
parent b82588208d
commit 578d3a166a
2 changed files with 4 additions and 4 deletions
@@ -688,10 +688,10 @@ public record ColliderParams
public string? Parent { get; set; }
[JsonPropertyName("_props")]
public Props? Props { get; set; }
public ColliderProps? Props { get; set; }
}
public record Props
public record ColliderProps
{
[JsonPropertyName("Center")]
public XYZ? Center { get; set; }
@@ -1,6 +1,6 @@
using System.Text.Json.Serialization;
using Core.Models.Eft.Common;
using Core.Models.Eft.Common.Tables;
using Props = Core.Models.Eft.Common.Props;
namespace Core.Models.Spt.Mod;
@@ -16,7 +16,7 @@ public record NewItemFromCloneDetails : NewItemDetailsBase
public string? ItemTplToClone { get; set; }
[JsonPropertyName("overrideProperties")]
public Props? OverrideProperties { get; set; }
public ColliderProps? OverrideProperties { get; set; }
[JsonPropertyName("parentId")]
public string? ParentId { get; set; }