Do a small pass on SPT's config's to reduce warnings and cleanup (#348)

* Do a small pass on SPT's config's to reduce warnings and cleanup

* Revert

* Revert EFT models

* Set list as null
This commit is contained in:
Jesse
2025-06-04 15:46:52 +02:00
committed by GitHub
parent b836ce4bf1
commit ff1dfa54ae
42 changed files with 352 additions and 826 deletions
@@ -8,7 +8,7 @@ public record BotDetailsForChatMessages
{
get;
set;
}
} = string.Empty;
public DogtagSide Side
{
@@ -56,7 +56,7 @@ public record BotGenerationDetails
/// Level specific overrides for PMC level
/// </summary>
[JsonPropertyName("locationSpecificPmcLevelOverride")]
public MinMax<int> LocationSpecificPmcLevelOverride
public MinMax<int>? LocationSpecificPmcLevelOverride
{
get;
set;
@@ -5,95 +5,95 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots;
public record BotLootCache
{
[JsonPropertyName("backpackLoot")]
public Dictionary<string, double>? BackpackLoot
public Dictionary<string, double> BackpackLoot
{
get;
set;
}
} = [];
[JsonPropertyName("pocketLoot")]
public Dictionary<string, double>? PocketLoot
public Dictionary<string, double> PocketLoot
{
get;
set;
}
} = [];
[JsonPropertyName("vestLoot")]
public Dictionary<string, double>? VestLoot
public Dictionary<string, double> VestLoot
{
get;
set;
}
} = [];
[JsonPropertyName("secureLoot")]
public Dictionary<string, double>? SecureLoot
public Dictionary<string, double> SecureLoot
{
get;
set;
}
} = [];
[JsonPropertyName("combinedPoolLoot")]
public Dictionary<string, double>? CombinedPoolLoot
public Dictionary<string, double> CombinedPoolLoot
{
get;
set;
}
} = [];
[JsonPropertyName("specialItems")]
public Dictionary<string, double>? SpecialItems
public Dictionary<string, double> SpecialItems
{
get;
set;
}
} = [];
[JsonPropertyName("healingItems")]
public Dictionary<string, double>? HealingItems
public Dictionary<string, double> HealingItems
{
get;
set;
}
} = [];
[JsonPropertyName("drugItems")]
public Dictionary<string, double>? DrugItems
public Dictionary<string, double> DrugItems
{
get;
set;
}
} = [];
[JsonPropertyName("foodItems")]
public Dictionary<string, double>? FoodItems
public Dictionary<string, double> FoodItems
{
get;
set;
}
} = [];
[JsonPropertyName("drinkItems")]
public Dictionary<string, double>? DrinkItems
public Dictionary<string, double> DrinkItems
{
get;
set;
}
} = [];
[JsonPropertyName("currencyItems")]
public Dictionary<string, double>? CurrencyItems
public Dictionary<string, double> CurrencyItems
{
get;
set;
}
} = [];
[JsonPropertyName("stimItems")]
public Dictionary<string, double>? StimItems
public Dictionary<string, double> StimItems
{
get;
set;
}
} = [];
[JsonPropertyName("grenadeItems")]
public Dictionary<string, double>? GrenadeItems
public Dictionary<string, double> GrenadeItems
{
get;
set;
}
} = [];
}
public record LootCacheType