diff --git a/Core/Controllers/InRaidController.cs b/Core/Controllers/InRaidController.cs index 8b2e4bb3..82929ad3 100644 --- a/Core/Controllers/InRaidController.cs +++ b/Core/Controllers/InRaidController.cs @@ -84,7 +84,7 @@ public class InRaidController /// /// /// - public float GetTraitorScavHostileChance( + public double GetTraitorScavHostileChance( string url, string sessionId) { diff --git a/Core/Models/Eft/Common/LocationBase.cs b/Core/Models/Eft/Common/LocationBase.cs index 93881473..3bb52498 100644 --- a/Core/Models/Eft/Common/LocationBase.cs +++ b/Core/Models/Eft/Common/LocationBase.cs @@ -671,7 +671,7 @@ public class SpawnPointParam public XYZ? Position { get; set; } [JsonPropertyName("Rotation")] - public float? Rotation { get; set; } + public double? Rotation { get; set; } [JsonPropertyName("Sides")] public List? Sides { get; set; } @@ -695,7 +695,7 @@ public class Props public XYZ? Size { get; set; } [JsonPropertyName("Radius")] - public float? Radius { get; set; } + public double? Radius { get; set; } } public class Exit @@ -737,7 +737,7 @@ public class Exit public double? ExfiltrationTime { get; set; } [JsonPropertyName("ExfiltrationTimePVE")] - public float? ExfiltrationTimePVE { get; set; } + public double? ExfiltrationTimePVE { get; set; } [JsonPropertyName("ExfiltrationType")] public string? ExfiltrationType { get; set; } diff --git a/Core/Models/Eft/Common/Tables/BotBase.cs b/Core/Models/Eft/Common/Tables/BotBase.cs index 623645b1..5871f6a3 100644 --- a/Core/Models/Eft/Common/Tables/BotBase.cs +++ b/Core/Models/Eft/Common/Tables/BotBase.cs @@ -380,7 +380,7 @@ public class Victim public string? Side { get; set; } public string? BodyPart { get; set; } public string? Time { get; set; } - public float? Distance { get; set; } + public double? Distance { get; set; } public double? Level { get; set; } public string? Weapon { get; set; } public string? Role { get; set; } diff --git a/Core/Models/Eft/Common/Tables/Item.cs b/Core/Models/Eft/Common/Tables/Item.cs index 4eb0ea60..6688a0d5 100644 --- a/Core/Models/Eft/Common/Tables/Item.cs +++ b/Core/Models/Eft/Common/Tables/Item.cs @@ -28,8 +28,8 @@ public class Item public class ItemLocation { - public float? X { get; set; } - public float? Y { get; set; } + public double? X { get; set; } + public double? Y { get; set; } public object? R { get; set; } // TODO: Can be string or number public bool? IsSearched { get; set; } diff --git a/Core/Models/Eft/Common/Tables/LocationServices.cs b/Core/Models/Eft/Common/Tables/LocationServices.cs index 30b355cc..e56ec2a9 100644 --- a/Core/Models/Eft/Common/Tables/LocationServices.cs +++ b/Core/Models/Eft/Common/Tables/LocationServices.cs @@ -110,16 +110,16 @@ public class BtrServerSettings public float? TurnCheckSensitivity { get; set; } [JsonPropertyName("DecreaseSpeedOnTurnLimit")] - public float? DecreaseSpeedOnTurnLimit { get; set; } + public double? DecreaseSpeedOnTurnLimit { get; set; } [JsonPropertyName("EndSplineDecelerationDistance")] - public float? EndSplineDecelerationDistance { get; set; } + public double? EndSplineDecelerationDistance { get; set; } [JsonPropertyName("AccelerationSpeed")] - public float? AccelerationSpeed { get; set; } + public double? AccelerationSpeed { get; set; } [JsonPropertyName("DecelerationSpeed")] - public float? DecelerationSpeed { get; set; } + public double? DecelerationSpeed { get; set; } [JsonPropertyName("PauseDurationRange")] public XYZ? PauseDurationRange { get; set; }