From c62a3df1e07e23dcd24e86a68338d3248ced5a68 Mon Sep 17 00:00:00 2001 From: CWX Date: Mon, 6 Jan 2025 20:18:59 +0000 Subject: [PATCH] Partialy complete BotController --- Core/Controllers/BotController.cs | 69 +++++++++++++++++++++++++++---- 1 file changed, 60 insertions(+), 9 deletions(-) diff --git a/Core/Controllers/BotController.cs b/Core/Controllers/BotController.cs index 402cc28e..dbffe2b7 100644 --- a/Core/Controllers/BotController.cs +++ b/Core/Controllers/BotController.cs @@ -1,18 +1,73 @@ -using Core.Models.Eft.Common.Tables; +using Core.Models.Common; +using Core.Models.Eft.Common.Tables; +using Core.Models.Spt.Config; namespace Core.Controllers; public class BotController { + private BotConfig _botConfig; + private PmcConfig _pmcConfig; + + public BotController() + {} + + public int GetBotPresetGenerationLimit(string type) + { + throw new NotImplementedException(); + } + + public BotCore GetBotCoreDifficulty() + { + throw new NotImplementedException(); + } + + public object GetBotDifficulty(string type, string difficulty) // TODO: return type was: IBotCore | IDifficultyCategories + { + throw new NotImplementedException(); + } + + public Dictionary GetAllBotDifficulties() + { + throw new NotImplementedException(); + } + + public async Task> Generate(GenerateBotsRequestData info, bool playerscav) + { + throw new NotImplementedException(); + } + + public async Task> GenerateMultipleBotsAndCache() + { + throw new NotImplementedException(); + } + + public GetRaidConfigurationRequestData GetMostRecentRaidSettings() + { + throw new NotImplementedException(); + } + + public MinMax GetPmcLevelRangeForMap(string location) + { + throw new NotImplementedException(); + } + + public BotGenerationDetails GetBotGenerationDetailsForWave(Condition condition, PmcData pmcProfile, bool AllPmcsHaveSameNameAsPlayer, + GetRaidConfigurationRequestData raidSettings, int botCountToGenerate, bool generateAsPmc) + { + throw new NotImplementedException(); + } + + public int GetPlayerLevelFromProfile() + { + throw new NotImplementedException(); + } + public int GetBotLimit(string type) { throw new NotImplementedException(); } - public object GetBotDifficulty(string type, string difficulty) // TODO: return type was: IBotCore | IDifficultyCategories - { - throw new NotImplementedException(); - } public bool IsBotPmc(string botRole) { @@ -29,10 +84,6 @@ public class BotController throw new NotImplementedException(); } - public List Generate(GenerateBotsRequestData info, bool playerscav) - { - throw new NotImplementedException(); - } public int GetBotCap() {