1+ import { ApplicationContext } from "../context/ApplicationContext" ;
12import { BotGenerator } from "../generators/BotGenerator" ;
23import { BotHelper } from "../helpers/BotHelper" ;
34import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData" ;
@@ -18,8 +19,9 @@ export declare class BotController {
1819 protected pmcAiService : PmcAiService ;
1920 protected botGenerationCacheService : BotGenerationCacheService ;
2021 protected configServer : ConfigServer ;
22+ protected applicationContext : ApplicationContext ;
2123 protected botConfig : IBotConfig ;
22- constructor ( logger : ILogger , databaseServer : DatabaseServer , botGenerator : BotGenerator , botHelper : BotHelper , pmcAiService : PmcAiService , botGenerationCacheService : BotGenerationCacheService , configServer : ConfigServer ) ;
24+ constructor ( logger : ILogger , databaseServer : DatabaseServer , botGenerator : BotGenerator , botHelper : BotHelper , pmcAiService : PmcAiService , botGenerationCacheService : BotGenerationCacheService , configServer : ConfigServer , applicationContext : ApplicationContext ) ;
2325 /**
2426 * Return the number of bot loadout varieties to be generated
2527 * @param type bot Type we want the loadout gen count for
@@ -36,6 +38,17 @@ export declare class BotController {
3638 */
3739 getBotDifficulty ( type : string , difficulty : string ) : Difficulty ;
3840 protected getPmcDifficultySettings ( pmcType : "bear" | "usec" , difficulty : string , usecType : string , bearType : string ) : Difficulty ;
41+ /**
42+ * Generate bot profiles and store in cache
43+ * @param sessionId Session id
44+ * @param info bot generation request info
45+ * @returns IBotBase array
46+ */
3947 generate ( sessionId : string , info : IGenerateBotsRequestData ) : IBotBase [ ] ;
48+ /**
49+ * Get the max number of bots allowed on a map
50+ * Looks up location player is entering when getting cap value
51+ * @returns cap number
52+ */
4053 getBotCap ( ) : number ;
4154}
0 commit comments