changed classes to records
This commit is contained in:
@@ -2,7 +2,7 @@ using System.Text.Json.Serialization;
|
||||
|
||||
namespace Core.Models.Spt.Bots;
|
||||
|
||||
public class ChooseRandomCompatibleModResult
|
||||
public record ChooseRandomCompatibleModResult
|
||||
{
|
||||
[JsonPropertyName("incompatible")]
|
||||
public bool? Incompatible { get; set; }
|
||||
@@ -18,4 +18,4 @@ public class ChooseRandomCompatibleModResult
|
||||
|
||||
[JsonPropertyName("slotBlocked")]
|
||||
public bool? SlotBlocked { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user