improved accuracy of values

This commit is contained in:
Chomp
2025-01-16 16:26:06 +00:00
parent 7e0dc7f804
commit 82cfeb974f
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ public class InRaidController
/// <param name="url"></param>
/// <param name="sessionId"></param>
/// <returns></returns>
public float GetTraitorScavHostileChance(
public double GetTraitorScavHostileChance(
string url,
string sessionId)
{
+3 -3
View File
@@ -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<string>? 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; }
+1 -1
View File
@@ -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; }
+2 -2
View File
@@ -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; }
@@ -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; }