Fixed incorrect types

This commit is contained in:
Chomp
2025-01-16 16:03:42 +00:00
parent 3086573017
commit 24dfd7cc11
4 changed files with 9 additions and 6 deletions
+3
View File
@@ -837,6 +837,9 @@ public class Wave
/** 'pve' and/or 'regular' */
[JsonPropertyName("SpawnMode")]
public List<string>? SpawnMode { get; set; }
[JsonPropertyName("OpenZones")]
public List<string>? OpenZones { get; set; }
}
public class LocationEvents
@@ -92,7 +92,7 @@ public class ServiceItemCostDetails
public class BtrServerSettings
{
[JsonPropertyName("ChanceSpawn")]
public int? ChanceSpawn { get; set; }
public double? ChanceSpawn { get; set; }
[JsonPropertyName("SpawnPeriod")]
public XYZ? SpawnPeriod { get; set; }
@@ -143,7 +143,7 @@ public class ServerMapBtrsettings
public string? MapID { get; set; }
[JsonPropertyName("ChanceSpawn")]
public int? ChanceSpawn { get; set; }
public double? ChanceSpawn { get; set; }
[JsonPropertyName("SpawnPeriod")]
public XYZ? SpawnPeriod { get; set; }
+2 -2
View File
@@ -95,7 +95,7 @@ public class StageImprovement
public List<StageImprovementBonus>? Bonuses { get; set; }
[JsonPropertyName("improvementTime")]
public int? ImprovementTime { get; set; }
public double? ImprovementTime { get; set; }
[JsonPropertyName("requirements")]
public List<StageImprovementRequirement>? Requirements { get; set; }
@@ -120,7 +120,7 @@ public class StageImprovementBonus
public string? Type { get; set; }
[JsonPropertyName("value")]
public int? Value { get; set; }
public double? Value { get; set; }
[JsonPropertyName("visible")]
public bool? IsVisible { get; set; }
+2 -2
View File
@@ -27,7 +27,7 @@ public class HideoutProduction
public List<Requirement>? Requirements { get; set; }
[JsonPropertyName("productionTime")]
public int? ProductionTime { get; set; }
public double? ProductionTime { get; set; }
/** Tpl of item being crafted */
[JsonPropertyName("endProduct")]
@@ -103,7 +103,7 @@ public class ScavRecipe
public List<Requirement>? Requirements { get; set; }
[JsonPropertyName("productionTime")]
public int? ProductionTime { get; set; }
public double? ProductionTime { get; set; }
[JsonPropertyName("endProducts")]
public EndProducts? EndProducts { get; set; }