diff --git a/src/Bannerlord.LauncherManager.Native.TypeScript/src/lib/BannerlordModuleManager.ts b/src/Bannerlord.LauncherManager.Native.TypeScript/src/lib/BannerlordModuleManager.ts index 5cc3359..6e76577 100644 --- a/src/Bannerlord.LauncherManager.Native.TypeScript/src/lib/BannerlordModuleManager.ts +++ b/src/Bannerlord.LauncherManager.Native.TypeScript/src/lib/BannerlordModuleManager.ts @@ -65,9 +65,9 @@ export class BannerlordModuleManager { BannerlordModuleManager.initialize(); return BannerlordModuleManager.addon.getModuleInfoWithPath(xml, path); } - public static getModuleInfoWithMetadata(xml: string, path: string): types.ModuleInfoExtendedWithMetadata | undefined { + public static getModuleInfoWithMetadata(xml: string, type: types.ModuleProviderType, path: string): types.ModuleInfoExtendedWithMetadata | undefined { BannerlordModuleManager.initialize(); - return BannerlordModuleManager.addon.getModuleInfoWithMetadata(xml, path); + return BannerlordModuleManager.addon.getModuleInfoWithMetadata(xml, type, path); } public static getSubModuleInfo(xml: string): types.SubModuleInfoExtended | undefined { diff --git a/src/Bannerlord.LauncherManager.Native.TypeScript/src/lib/types/BannerlordModuleManager.ts b/src/Bannerlord.LauncherManager.Native.TypeScript/src/lib/types/BannerlordModuleManager.ts index 9e90edd..052e14d 100644 --- a/src/Bannerlord.LauncherManager.Native.TypeScript/src/lib/types/BannerlordModuleManager.ts +++ b/src/Bannerlord.LauncherManager.Native.TypeScript/src/lib/types/BannerlordModuleManager.ts @@ -115,7 +115,7 @@ export interface IBannerlordModuleManager { getModuleInfo(xml: string): ModuleInfoExtended | undefined; getModuleInfoWithPath(xml: string, path: string): ModuleInfoExtendedWithPath | undefined; - getModuleInfoWithMetadata(xml: string, path: string): ModuleInfoExtendedWithMetadata | undefined; + getModuleInfoWithMetadata(xml: string, type: ModuleProviderType, path: string): ModuleInfoExtendedWithMetadata | undefined; getSubModuleInfo(xml: string): SubModuleInfoExtended | undefined; parseApplicationVersion(content: string): ApplicationVersion;