From 96ef616d48cec6549ffc70f72ffafe55575a02da Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 10 Aug 2023 14:30:29 +0100 Subject: [PATCH] Add comments --- project/src/controllers/LauncherController.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/project/src/controllers/LauncherController.ts b/project/src/controllers/LauncherController.ts index 34c46840..fd2f65a1 100644 --- a/project/src/controllers/LauncherController.ts +++ b/project/src/controllers/LauncherController.ts @@ -166,11 +166,20 @@ export class LauncherController return this.coreConfig.compatibleTarkovVersion; } + /** + * Get the mods the server has currently loaded + * @returns Dictionary of mod name and mod details + */ public getLoadedServerMods(): Record { return this.preAkiModLoader.getImportedModDetails(); } + /** + * Get the mods a profile has ever loaded into game with + * @param sessionId Player id + * @returns Array of mod details + */ public getServerModsProfileUsed(sessionId: string): ModDetails[] { const profile = this.profileHelper.getFullProfile(sessionId);