Made use of EquipmentSlots enum
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Common;
|
||||
using Core.Models.Enums;
|
||||
using Core.Utils.Json.Converters;
|
||||
|
||||
namespace Core.Models.Eft.Common.Tables;
|
||||
@@ -332,7 +333,7 @@ public class BodyPart
|
||||
public class BotTypeInventory
|
||||
{
|
||||
[JsonPropertyName("equipment")]
|
||||
public Dictionary<string, Dictionary<string, double>>? Equipment { get; set; }
|
||||
public Dictionary<EquipmentSlots, Dictionary<string, double>>? Equipment { get; set; }
|
||||
|
||||
public GlobalAmmo? Ammo { get; set; }
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Enums;
|
||||
using Core.Models.Enums.RaidSettings;
|
||||
using Core.Models.Enums.RaidSettings.TimeAndWeather;
|
||||
@@ -17,7 +17,7 @@ public class RaidSettings
|
||||
public bool? IsLocationTransition { get; set; }
|
||||
|
||||
[JsonPropertyName("timeVariant")]
|
||||
public DateTime? TimeVariant { get; set; }
|
||||
public DateTimeEnum TimeVariant { get; set; }
|
||||
|
||||
[JsonPropertyName("metabolismDisabled")]
|
||||
public bool? MetabolismDisabled { get; set; }
|
||||
@@ -93,4 +93,4 @@ public class WavesSettings
|
||||
|
||||
[JsonPropertyName("isTaggedAndCursed")]
|
||||
public bool? IsTaggedAndCursed { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user