Change Prop to ColliderProps to not collide with another type
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user