Fixed AllExtracts json issue

This commit is contained in:
Chomp
2025-10-23 14:35:19 +01:00
parent f3b2af7ccc
commit f702c4f85f
3 changed files with 14 additions and 8 deletions
@@ -274,7 +274,7 @@
"RequiredSlot": "FirstPrimaryWeapon",
"RequirementTip": "",
"Side": "Scav",
"_Name": "Entrance to Catacombs"
"SptName": "Entrance to Catacombs"
},
{
"Chance": 100,
@@ -298,7 +298,7 @@
"RequiredSlot": "FirstPrimaryWeapon",
"RequirementTip": "",
"Side": "Scav",
"_Name": "Ventilation Shaft"
"SptName": "Ventilation Shaft"
},
{
"Chance": 100,
@@ -322,7 +322,7 @@
"RequiredSlot": "FirstPrimaryWeapon",
"RequirementTip": "",
"Side": "Scav",
"_Name": "Sewer Manhole"
"SptName": "Sewer Manhole"
},
{
"Chance": 100,
@@ -346,7 +346,7 @@
"RequiredSlot": "FirstPrimaryWeapon",
"RequirementTip": "",
"Side": "Scav",
"_Name": "Near Kamchatskaya Arch"
"SptName": "Near Kamchatskaya Arch"
},
{
"Chance": 100,
@@ -370,7 +370,7 @@
"RequiredSlot": "FirstPrimaryWeapon",
"RequirementTip": "",
"Side": "Scav",
"_name": "Cardinal Apartment Complex Parking"
"SptName": "Cardinal Apartment Complex Parking"
},
{
"Chance": 100,
@@ -394,6 +394,6 @@
"RequiredSlot": "FirstPrimaryWeapon",
"RequirementTip": "",
"Side": "Scav",
"_name": "Klimov Shopping Mall Exfil"
"SptName": "Klimov Shopping Mall Exfil"
}
]
@@ -40,10 +40,10 @@ public record Location
public StaticContainer? Statics { get; set; }
/// <summary>
/// All possible map extracts
/// All possible map extracts extracted from client via modules patch
/// </summary>
[JsonPropertyName("allExtracts")]
public IEnumerable<Exit> AllExtracts { get; set; }
public IEnumerable<AllExtractsExit> AllExtracts { get; set; }
}
public record StaticContainer
@@ -884,6 +884,12 @@ public record Exit
public string? Side { get; set; }
}
public record AllExtractsExit : Exit
{
[JsonPropertyName("SptName")]
public string? SptName { get; set; }
}
public record MaxItemCountInLocation
{
[JsonPropertyName("TemplateId")]