Add missing type
This commit is contained in:
@@ -296,7 +296,7 @@ public class Experience
|
||||
public class Generation
|
||||
{
|
||||
[JsonPropertyName("items")]
|
||||
public Dictionary<string, GenerationData>? Items { get; set; }
|
||||
public GenerationWeightingItems? Items { get; set; }
|
||||
}
|
||||
|
||||
public class GenerationData
|
||||
@@ -311,6 +311,45 @@ public class GenerationData
|
||||
public Dictionary<string, double>? Whitelist { get; set; }
|
||||
}
|
||||
|
||||
public class GenerationWeightingItems
|
||||
{
|
||||
[JsonPropertyName("greandes")]
|
||||
public GenerationData Grenades { get; set; }
|
||||
|
||||
[JsonPropertyName("healing")]
|
||||
public GenerationData Healing { get; set; }
|
||||
|
||||
[JsonPropertyName("drugs")]
|
||||
public GenerationData Drugs { get; set; }
|
||||
|
||||
[JsonPropertyName("food")]
|
||||
public GenerationData Food { get; set; }
|
||||
|
||||
[JsonPropertyName("drink")]
|
||||
public GenerationData Drink { get; set; }
|
||||
|
||||
[JsonPropertyName("currency")]
|
||||
public GenerationData Currency { get; set; }
|
||||
|
||||
[JsonPropertyName("stims")]
|
||||
public GenerationData Stims { get; set; }
|
||||
|
||||
[JsonPropertyName("backpackLoot")]
|
||||
public GenerationData BackpackLoot { get; set; }
|
||||
|
||||
[JsonPropertyName("pocketLoot")]
|
||||
public GenerationData PocketLoot { get; set; }
|
||||
|
||||
[JsonPropertyName("vestLoot")]
|
||||
public GenerationData VestLoot { get; set; }
|
||||
|
||||
[JsonPropertyName("magazines")]
|
||||
public GenerationData Magazines { get; set; }
|
||||
|
||||
[JsonPropertyName("specialItems")]
|
||||
public GenerationData SpecialItems { get; set; }
|
||||
}
|
||||
|
||||
public class BotTypeHealth
|
||||
{
|
||||
public List<BodyPart>? BodyParts { get; set; }
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
global using GlobalAmmo = System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, int>>;
|
||||
global using GlobalMods = System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, string[]>>;
|
||||
global using GlobalMods = System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>>>;
|
||||
|
||||
Reference in New Issue
Block a user