@butr/vortexextensionnative 2.0.161 → 2.0.193

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/Bannerlord.LauncherManager.Native.dll +0 -0
  2. package/dist/launchermanager.node +0 -0
  3. package/package.json +27 -51
  4. package/dist/main/lib/BannerlordModuleManager.d.ts +0 -25
  5. package/dist/main/lib/BannerlordModuleManager.js +0 -100
  6. package/dist/main/lib/BannerlordModuleManager.js.map +0 -1
  7. package/dist/main/lib/Common.d.ts +0 -3
  8. package/dist/main/lib/Common.js +0 -29
  9. package/dist/main/lib/Common.js.map +0 -1
  10. package/dist/main/lib/FetchBannerlordVersion.d.ts +0 -8
  11. package/dist/main/lib/FetchBannerlordVersion.js +0 -36
  12. package/dist/main/lib/FetchBannerlordVersion.js.map +0 -1
  13. package/dist/main/lib/LauncherManager.d.ts +0 -38
  14. package/dist/main/lib/LauncherManager.js +0 -111
  15. package/dist/main/lib/LauncherManager.js.map +0 -1
  16. package/dist/main/lib/Utils.d.ts +0 -14
  17. package/dist/main/lib/Utils.js +0 -48
  18. package/dist/main/lib/Utils.js.map +0 -1
  19. package/dist/main/lib/index.d.ts +0 -7
  20. package/dist/main/lib/index.js +0 -57
  21. package/dist/main/lib/index.js.map +0 -1
  22. package/dist/main/lib/types/BannerlordModuleManager.d.ts +0 -118
  23. package/dist/main/lib/types/BannerlordModuleManager.js +0 -43
  24. package/dist/main/lib/types/BannerlordModuleManager.js.map +0 -1
  25. package/dist/main/lib/types/FetchBannerlordVersion.d.ts +0 -5
  26. package/dist/main/lib/types/FetchBannerlordVersion.js +0 -13
  27. package/dist/main/lib/types/FetchBannerlordVersion.js.map +0 -1
  28. package/dist/main/lib/types/LauncherManager.d.ts +0 -92
  29. package/dist/main/lib/types/LauncherManager.js +0 -13
  30. package/dist/main/lib/types/LauncherManager.js.map +0 -1
  31. package/dist/main/lib/types/Utils.d.ts +0 -11
  32. package/dist/main/lib/types/Utils.js +0 -13
  33. package/dist/main/lib/types/Utils.js.map +0 -1
  34. package/dist/main/lib/types/index.d.ts +0 -13
  35. package/dist/main/lib/types/index.js +0 -31
  36. package/dist/main/lib/types/index.js.map +0 -1
  37. package/dist/module/lib/BannerlordModuleManager.d.ts +0 -25
  38. package/dist/module/lib/BannerlordModuleManager.js +0 -86
  39. package/dist/module/lib/BannerlordModuleManager.js.map +0 -1
  40. package/dist/module/lib/Common.d.ts +0 -3
  41. package/dist/module/lib/Common.js +0 -13
  42. package/dist/module/lib/Common.js.map +0 -1
  43. package/dist/module/lib/FetchBannerlordVersion.d.ts +0 -8
  44. package/dist/module/lib/FetchBannerlordVersion.js +0 -22
  45. package/dist/module/lib/FetchBannerlordVersion.js.map +0 -1
  46. package/dist/module/lib/LauncherManager.d.ts +0 -38
  47. package/dist/module/lib/LauncherManager.js +0 -97
  48. package/dist/module/lib/LauncherManager.js.map +0 -1
  49. package/dist/module/lib/Utils.d.ts +0 -14
  50. package/dist/module/lib/Utils.js +0 -34
  51. package/dist/module/lib/Utils.js.map +0 -1
  52. package/dist/module/lib/index.d.ts +0 -7
  53. package/dist/module/lib/index.js +0 -8
  54. package/dist/module/lib/index.js.map +0 -1
  55. package/dist/module/lib/types/BannerlordModuleManager.d.ts +0 -118
  56. package/dist/module/lib/types/BannerlordModuleManager.js +0 -30
  57. package/dist/module/lib/types/BannerlordModuleManager.js.map +0 -1
  58. package/dist/module/lib/types/FetchBannerlordVersion.d.ts +0 -5
  59. package/dist/module/lib/types/FetchBannerlordVersion.js +0 -2
  60. package/dist/module/lib/types/FetchBannerlordVersion.js.map +0 -1
  61. package/dist/module/lib/types/LauncherManager.d.ts +0 -92
  62. package/dist/module/lib/types/LauncherManager.js +0 -2
  63. package/dist/module/lib/types/LauncherManager.js.map +0 -1
  64. package/dist/module/lib/types/Utils.d.ts +0 -11
  65. package/dist/module/lib/types/Utils.js +0 -2
  66. package/dist/module/lib/types/Utils.js.map +0 -1
  67. package/dist/module/lib/types/index.d.ts +0 -13
  68. package/dist/module/lib/types/index.js +0 -5
  69. package/dist/module/lib/types/index.js.map +0 -1
@@ -1,118 +0,0 @@
1
- export interface ModuleInfoExtended {
2
- id: string;
3
- name: string;
4
- isOfficial: boolean;
5
- version: ApplicationVersion;
6
- isSingleplayerModule: boolean;
7
- isMultiplayerModule: boolean;
8
- subModules: Array<SubModuleInfoExtended>;
9
- dependentModules: Array<DependentModule>;
10
- modulesToLoadAfterThis: Array<DependentModule>;
11
- incompatibleModules: Array<DependentModule>;
12
- url: string;
13
- dependentModuleMetadatas: Array<DependentModuleMetadata>;
14
- }
15
- export interface ModuleInfoExtendedWithPath extends ModuleInfoExtended {
16
- path: string;
17
- }
18
- export interface ModuleInfoExtendedWithMetadata extends ModuleInfoExtended {
19
- moduleProviderType: ModuleProviderType;
20
- path: string;
21
- }
22
- export declare enum ModuleProviderType {
23
- Default = "Default",
24
- Steam = "Steam"
25
- }
26
- export interface ApplicationVersion {
27
- applicationVersionType: ApplicationVersionType;
28
- major: number;
29
- minor: number;
30
- revision: number;
31
- changeSet: number;
32
- }
33
- export declare enum ApplicationVersionType {
34
- Alpha = "Alpha",
35
- Beta = "Beta",
36
- EarlyAccess = "EarlyAccess",
37
- Release = "Release",
38
- Development = "Development",
39
- Invalid = "Invalid"
40
- }
41
- export interface SubModuleInfoExtended {
42
- name: string;
43
- dLLName: string;
44
- assemblies: Array<string>;
45
- subModuleClassType: string;
46
- tags: Map<string, Array<string>>;
47
- }
48
- export interface DependentModule {
49
- id: string;
50
- version: ApplicationVersion;
51
- isOptional: boolean;
52
- }
53
- export interface DependentModuleMetadata {
54
- id: string;
55
- loadType: LoadType;
56
- isOptional: boolean;
57
- isIncompatible: boolean;
58
- version: ApplicationVersion;
59
- versionRange: ApplicationVersionRange;
60
- }
61
- export declare enum LoadType {
62
- None = "None",
63
- LoadAfterThis = "LoadAfterThis",
64
- LoadBeforeThis = "LoadBeforeThis"
65
- }
66
- export interface ApplicationVersionRange {
67
- min: ApplicationVersion;
68
- max: ApplicationVersion;
69
- }
70
- export interface ModuleSorterOptions {
71
- skipOptionals: boolean;
72
- skipExternalDependencies: boolean;
73
- }
74
- export interface ModuleIssue {
75
- target: ModuleInfoExtended;
76
- sourceId: string;
77
- type: ModuleIssueType;
78
- reason: string;
79
- sourceVersion: ApplicationVersionRange;
80
- }
81
- export declare enum ModuleIssueType {
82
- MissingDependencies = "MissingDependencies",
83
- DependencyMissingDependencies = "DependencyMissingDependencies",
84
- DependencyValidationError = "DependencyValidationError",
85
- VersionMismatch = "VersionMismatch",
86
- Incompatible = "Incompatible",
87
- DependencyConflict = "DependencyConflict"
88
- }
89
- export interface IValidationManager {
90
- isSelected(moduleId: string): boolean;
91
- }
92
- export interface IEnableDisableManager {
93
- getSelected(moduleId: string): boolean;
94
- setSelected(moduleId: string, value: boolean): void;
95
- getDisabled(moduleId: string): boolean;
96
- setDisabled(moduleId: string, value: boolean): void;
97
- }
98
- export interface IBannerlordModuleManager {
99
- sort(unsorted: Array<ModuleInfoExtended>): Array<ModuleInfoExtended>;
100
- sortWithOptions(unsorted: Array<ModuleInfoExtended>, options: ModuleSorterOptions): Array<ModuleInfoExtended>;
101
- areAllDependenciesOfModulePresent(unsorted: Array<ModuleInfoExtended>, module: ModuleInfoExtended): boolean;
102
- getDependentModulesOf(source: Array<ModuleInfoExtended>, module: ModuleInfoExtended): Array<ModuleInfoExtended>;
103
- getDependentModulesOfWithOptions(source: Array<ModuleInfoExtended>, module: ModuleInfoExtended, options: ModuleSorterOptions): Array<ModuleInfoExtended>;
104
- validateLoadOrder(source: Array<ModuleInfoExtended>, targetModule: ModuleInfoExtended): Array<ModuleIssue>;
105
- validateModule(modules: Array<ModuleInfoExtended>, targetModule: ModuleInfoExtended, manager: IValidationManager): Array<ModuleIssue>;
106
- enableModule(modules: Array<ModuleInfoExtended>, targetModule: ModuleInfoExtended, manager: IEnableDisableManager): Array<ModuleIssue>;
107
- disableModule(modules: Array<ModuleInfoExtended>, targetModule: ModuleInfoExtended, manager: IEnableDisableManager): Array<ModuleIssue>;
108
- getModuleInfo(xml: string): ModuleInfoExtended | undefined;
109
- getModuleInfoWithPath(xml: string, path: string): ModuleInfoExtendedWithPath | undefined;
110
- getModuleInfoWithMetadata(xml: string, type: ModuleProviderType, path: string): ModuleInfoExtendedWithMetadata | undefined;
111
- getSubModuleInfo(xml: string): SubModuleInfoExtended | undefined;
112
- parseApplicationVersion(content: string): ApplicationVersion;
113
- compareVersions(x: ApplicationVersion, y: ApplicationVersion): number;
114
- getDependenciesAll(module: ModuleInfoExtended): DependentModuleMetadata[];
115
- getDependenciesToLoadBeforeThis(module: ModuleInfoExtended): DependentModuleMetadata[];
116
- getDependenciesToLoadAfterThis(module: ModuleInfoExtended): DependentModuleMetadata[];
117
- getDependenciesIncompatibles(module: ModuleInfoExtended): DependentModuleMetadata[];
118
- }
@@ -1,43 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ModuleIssueType = exports.LoadType = exports.ApplicationVersionType = exports.ModuleProviderType = void 0;
13
- var ModuleProviderType;
14
- (function (ModuleProviderType) {
15
- ModuleProviderType["Default"] = "Default";
16
- ModuleProviderType["Steam"] = "Steam";
17
- })(ModuleProviderType || (exports.ModuleProviderType = ModuleProviderType = {}));
18
- var ApplicationVersionType;
19
- (function (ApplicationVersionType) {
20
- ApplicationVersionType["Alpha"] = "Alpha";
21
- ApplicationVersionType["Beta"] = "Beta";
22
- ApplicationVersionType["EarlyAccess"] = "EarlyAccess";
23
- ApplicationVersionType["Release"] = "Release";
24
- ApplicationVersionType["Development"] = "Development";
25
- ApplicationVersionType["Invalid"] = "Invalid";
26
- })(ApplicationVersionType || (exports.ApplicationVersionType = ApplicationVersionType = {}));
27
- var LoadType;
28
- (function (LoadType) {
29
- LoadType["None"] = "None";
30
- LoadType["LoadAfterThis"] = "LoadAfterThis";
31
- LoadType["LoadBeforeThis"] = "LoadBeforeThis";
32
- })(LoadType || (exports.LoadType = LoadType = {}));
33
- var ModuleIssueType;
34
- (function (ModuleIssueType) {
35
- ModuleIssueType["MissingDependencies"] = "MissingDependencies";
36
- ModuleIssueType["DependencyMissingDependencies"] = "DependencyMissingDependencies";
37
- ModuleIssueType["DependencyValidationError"] = "DependencyValidationError";
38
- ModuleIssueType["VersionMismatch"] = "VersionMismatch";
39
- ModuleIssueType["Incompatible"] = "Incompatible";
40
- ModuleIssueType["DependencyConflict"] = "DependencyConflict";
41
- })(ModuleIssueType || (exports.ModuleIssueType = ModuleIssueType = {}));
42
- });
43
- //# sourceMappingURL=BannerlordModuleManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BannerlordModuleManager.js","sourceRoot":"","sources":["../../../../src/lib/types/BannerlordModuleManager.ts"],"names":[],"mappings":";;;;;;;;;;;;IAqBA,IAAY,kBAGX;IAHD,WAAY,kBAAkB;QAC1B,yCAAmB,CAAA;QACnB,qCAAe,CAAA;IACnB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;IAQD,IAAY,sBAOX;IAPD,WAAY,sBAAsB;QAC9B,yCAAe,CAAA;QACf,uCAAa,CAAA;QACb,qDAA2B,CAAA;QAC3B,6CAAmB,CAAA;QACnB,qDAA2B,CAAA;QAC3B,6CAAmB,CAAA;IACvB,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC;IAqBD,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,yBAAa,CAAA;QACb,2CAA+B,CAAA;QAC/B,6CAAiC,CAAA;IACrC,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB;IAgBD,IAAY,eAOX;IAPD,WAAY,eAAe;QACvB,8DAA2C,CAAA;QAC3C,kFAA+D,CAAA;QAC/D,0EAAuD,CAAA;QACvD,sDAAmC,CAAA;QACnC,gDAA6B,CAAA;QAC7B,4DAAyC,CAAA;IAC7C,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B"}
@@ -1,5 +0,0 @@
1
- export interface IFetchBannerlordVersion {
2
- getChangeSet(gameFolderPath: string, libAssembly: string): number;
3
- getVersion(gameFolderPath: string, libAssembly: string): string;
4
- getVersionType(gameFolderPath: string, libAssembly: string): number;
5
- }
@@ -1,13 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- });
13
- //# sourceMappingURL=FetchBannerlordVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FetchBannerlordVersion.js","sourceRoot":"","sources":["../../../../src/lib/types/FetchBannerlordVersion.ts"],"names":[],"mappings":""}
@@ -1,92 +0,0 @@
1
- import { ModuleInfoExtended, ModuleInfoExtendedWithMetadata } from "./BannerlordModuleManager";
2
- export interface INativeExtension {
3
- LauncherManager: new (setGameParametersAsync: (executable: string, gameParameters: string[]) => Promise<void>, sendNotificationAsync: (id: string, type: NotificationType, message: string, delayMS: number) => Promise<void>, sendDialogAsync: (type: DialogType, title: string, message: string, filters: FileFilter[]) => Promise<string>, getInstallPathAsync: () => Promise<string>, readFileContentAsync: (filePath: string, offset: number, length: number) => Promise<Uint8Array | null>, writeFileContentAsync: (filePath: string, data: Uint8Array) => Promise<void>, readDirectoryFileListAsync: (directoryPath: string) => Promise<string[] | null>, readDirectoryListAsync: (directoryPath: string) => Promise<string[] | null>, getAllModuleViewModelsAsync: () => Promise<ModuleViewModel[] | null>, getModuleViewModelsAsync: () => Promise<ModuleViewModel[] | null>, setModuleViewModelsAsync: (moduleViewModels: ModuleViewModel[]) => Promise<void>, getOptionsAsync: () => Promise<LauncherOptions>, getStateAsync: () => Promise<LauncherState>) => LauncherManager;
4
- }
5
- export interface LoadOrderEntry {
6
- id: string;
7
- name: string;
8
- isSelected: boolean;
9
- isDisabled: boolean;
10
- index: number;
11
- }
12
- export interface LoadOrder {
13
- [id: string]: LoadOrderEntry;
14
- }
15
- export interface ModuleViewModel {
16
- moduleInfoExtended: ModuleInfoExtendedWithMetadata;
17
- isValid: boolean;
18
- isSelected: boolean;
19
- isDisabled: boolean;
20
- index: number;
21
- }
22
- export interface LauncherOptions {
23
- betaSorting: boolean;
24
- }
25
- export interface LauncherState {
26
- isSingleplayer: boolean;
27
- }
28
- export interface SaveMetadata {
29
- [key: string]: string;
30
- Name: string;
31
- }
32
- export type GameStore = 'Steam' | 'GOG' | 'Epic' | 'Xbox' | 'Unknown';
33
- export type GamePlatform = 'Win64' | 'Xbox' | 'Unknown';
34
- export type NotificationType = 'hint' | 'info' | 'warning' | 'error';
35
- export type DialogType = 'warning' | 'fileOpen' | 'fileSave';
36
- export type InstructionType = 'Copy' | 'ModuleInfo' | 'CopyStore';
37
- export interface InstallInstruction {
38
- type: InstructionType;
39
- store?: GameStore;
40
- moduleInfo?: ModuleInfoExtended;
41
- source?: string;
42
- destination?: string;
43
- }
44
- export interface InstallResult {
45
- instructions: InstallInstruction[];
46
- }
47
- export interface SupportedResult {
48
- supported: boolean;
49
- requiredFiles: string[];
50
- }
51
- export interface OrderByLoadOrderResult {
52
- result: boolean;
53
- issues?: string[];
54
- orderedModuleViewModels?: ModuleViewModel[];
55
- }
56
- export interface FileFilter {
57
- name: string;
58
- extensions: string[];
59
- }
60
- export type LauncherManager = {
61
- constructor(): LauncherManager;
62
- checkForRootHarmonyAsync(): Promise<void>;
63
- getGamePlatformAsync(): Promise<GamePlatform>;
64
- getGameVersionAsync(): Promise<string>;
65
- getModulesAsync(): Promise<ModuleInfoExtendedWithMetadata[]>;
66
- getAllModulesAsync(): Promise<ModuleInfoExtendedWithMetadata[]>;
67
- getSaveFilePathAsync(saveFile: string): Promise<string>;
68
- getSaveFilesAsync(): Promise<SaveMetadata[]>;
69
- getSaveMetadataAsync(saveFile: string, data: Uint8Array): Promise<SaveMetadata>;
70
- installModule(files: string[], moduleInfos: ModuleInfoExtendedWithMetadata[]): InstallResult;
71
- isObfuscatedAsync(module: ModuleInfoExtendedWithMetadata): Promise<boolean>;
72
- isSorting(): boolean;
73
- moduleListHandlerExportAsync(): Promise<void>;
74
- moduleListHandlerExportSaveFileAsync(saveFile: string): Promise<void>;
75
- moduleListHandlerImportAsync(): Promise<boolean>;
76
- moduleListHandlerImportSaveFileAsync(saveFile: string): Promise<boolean>;
77
- orderByLoadOrderAsync(loadOrder: LoadOrder): Promise<OrderByLoadOrderResult>;
78
- refreshModulesAsync(): Promise<void>;
79
- refreshGameParametersAsync(): Promise<void>;
80
- setGameParameterExecutableAsync(executable: string): Promise<void>;
81
- setGameParameterSaveFileAsync(saveName: string): Promise<void>;
82
- setGameParameterContinueLastSaveFileAsync(value: boolean): Promise<void>;
83
- setGameStore(gameStore: GameStore): void;
84
- sortAsync(): Promise<void>;
85
- sortHelperChangeModulePositionAsync(moduleViewModel: ModuleViewModel, insertIndex: number): Promise<boolean>;
86
- sortHelperToggleModuleSelectionAsync(moduleViewModel: ModuleViewModel): Promise<ModuleViewModel>;
87
- sortHelperValidateModuleAsync(moduleViewModel: ModuleViewModel): Promise<string[]>;
88
- testModule(files: string[]): SupportedResult;
89
- dialogTestWarningAsync(): Promise<string>;
90
- dialogTestFileOpenAsync(): Promise<string>;
91
- setGameParameterLoadOrderAsync(loadOrder: LoadOrder): Promise<void>;
92
- };
@@ -1,13 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- });
13
- //# sourceMappingURL=LauncherManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LauncherManager.js","sourceRoot":"","sources":["../../../../src/lib/types/LauncherManager.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- import { ModuleInfoExtended, ModuleIssue } from "./BannerlordModuleManager";
2
- export interface IUtils {
3
- isLoadOrderCorrect(modules: Array<ModuleInfoExtended>): Array<string>;
4
- getDependencyHint(module: ModuleInfoExtended): string;
5
- renderModuleIssue(moduleIssue: ModuleIssue): string;
6
- loadLocalization(xml: string): void;
7
- setLanguage(language: string): void;
8
- localizeString(template: string, values: {
9
- [value: string]: string;
10
- }): string;
11
- }
@@ -1,13 +0,0 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- });
13
- //# sourceMappingURL=Utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../../../src/lib/types/Utils.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- export * from './BannerlordModuleManager';
2
- export * from './FetchBannerlordVersion';
3
- export * from './LauncherManager';
4
- export * from './Utils';
5
- import { IBannerlordModuleManager } from './BannerlordModuleManager';
6
- import { IFetchBannerlordVersion } from './FetchBannerlordVersion';
7
- import { INativeExtension } from './LauncherManager';
8
- import { IUtils } from './Utils';
9
- export interface IExtension extends IBannerlordModuleManager, IFetchBannerlordVersion, IUtils, INativeExtension {
10
- allocWithOwnership(length: number): Buffer | null;
11
- allocWithoutOwnership(length: number): Buffer | null;
12
- allocAliveCount(): number;
13
- }
@@ -1,31 +0,0 @@
1
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2
- if (k2 === undefined) k2 = k;
3
- var desc = Object.getOwnPropertyDescriptor(m, k);
4
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5
- desc = { enumerable: true, get: function() { return m[k]; } };
6
- }
7
- Object.defineProperty(o, k2, desc);
8
- }) : (function(o, m, k, k2) {
9
- if (k2 === undefined) k2 = k;
10
- o[k2] = m[k];
11
- }));
12
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
13
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
14
- };
15
- (function (factory) {
16
- if (typeof module === "object" && typeof module.exports === "object") {
17
- var v = factory(require, exports);
18
- if (v !== undefined) module.exports = v;
19
- }
20
- else if (typeof define === "function" && define.amd) {
21
- define(["require", "exports", "./BannerlordModuleManager", "./FetchBannerlordVersion", "./LauncherManager", "./Utils"], factory);
22
- }
23
- })(function (require, exports) {
24
- "use strict";
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- __exportStar(require("./BannerlordModuleManager"), exports);
27
- __exportStar(require("./FetchBannerlordVersion"), exports);
28
- __exportStar(require("./LauncherManager"), exports);
29
- __exportStar(require("./Utils"), exports);
30
- });
31
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;IAAA,4DAA0C;IAC1C,2DAAyC;IACzC,oDAAkC;IAClC,0CAAwB"}
@@ -1,25 +0,0 @@
1
- import * as types from './types';
2
- export declare class BannerlordModuleManager {
3
- private static addon;
4
- private constructor();
5
- private static initialize;
6
- static sort(unsorted: types.ModuleInfoExtended[]): types.ModuleInfoExtended[];
7
- static sortWithOptions(unsorted: types.ModuleInfoExtended[], options: types.ModuleSorterOptions): types.ModuleInfoExtended[];
8
- static areAllDependenciesOfModulePresent(unsorted: types.ModuleInfoExtended[], module: types.ModuleInfoExtended): boolean;
9
- static getDependentModulesOf(source: types.ModuleInfoExtended[], module: types.ModuleInfoExtended): types.ModuleInfoExtended[];
10
- static getDependentModulesOfWithOptions(source: types.ModuleInfoExtended[], module: types.ModuleInfoExtended, options: types.ModuleSorterOptions): types.ModuleInfoExtended[];
11
- static validateLoadOrder(source: types.ModuleInfoExtended[], targetModule: types.ModuleInfoExtended): types.ModuleIssue[];
12
- static validateModule(modules: types.ModuleInfoExtended[], targetModule: types.ModuleInfoExtended, manager: types.IValidationManager): types.ModuleIssue[];
13
- static enableModule(modules: types.ModuleInfoExtended[], targetModule: types.ModuleInfoExtended, manager: types.IEnableDisableManager): types.ModuleIssue[];
14
- static disableModule(modules: types.ModuleInfoExtended[], targetModule: types.ModuleInfoExtended, manager: types.IEnableDisableManager): types.ModuleIssue[];
15
- static getModuleInfo(xml: string): types.ModuleInfoExtended | undefined;
16
- static getModuleInfoWithPath(xml: string, path: string): types.ModuleInfoExtendedWithPath | undefined;
17
- static getModuleInfoWithMetadata(xml: string, type: types.ModuleProviderType, path: string): types.ModuleInfoExtendedWithMetadata | undefined;
18
- static getSubModuleInfo(xml: string): types.SubModuleInfoExtended | undefined;
19
- static parseApplicationVersion(content: string): types.ApplicationVersion;
20
- static compareVersions(x: types.ApplicationVersion, y: types.ApplicationVersion): number;
21
- static getDependenciesAll(module: types.ModuleInfoExtended): types.DependentModuleMetadata[];
22
- static getDependenciesToLoadBeforeThis(module: types.ModuleInfoExtended): types.DependentModuleMetadata[];
23
- static getDependenciesToLoadAfterThis(module: types.ModuleInfoExtended): types.DependentModuleMetadata[];
24
- static getDependenciesIncompatibles(module: types.ModuleInfoExtended): types.DependentModuleMetadata[];
25
- }
@@ -1,86 +0,0 @@
1
- export class BannerlordModuleManager {
2
- /* istanbul ignore next */
3
- constructor() { }
4
- static initialize() {
5
- if (BannerlordModuleManager.addon === undefined) {
6
- BannerlordModuleManager.addon = require('./../../launchermanager.node');
7
- }
8
- }
9
- static sort(unsorted) {
10
- BannerlordModuleManager.initialize();
11
- return BannerlordModuleManager.addon.sort(unsorted);
12
- }
13
- static sortWithOptions(unsorted, options) {
14
- BannerlordModuleManager.initialize();
15
- return BannerlordModuleManager.addon.sortWithOptions(unsorted, options);
16
- }
17
- static areAllDependenciesOfModulePresent(unsorted, module) {
18
- BannerlordModuleManager.initialize();
19
- return BannerlordModuleManager.addon.areAllDependenciesOfModulePresent(unsorted, module);
20
- }
21
- static getDependentModulesOf(source, module) {
22
- BannerlordModuleManager.initialize();
23
- return BannerlordModuleManager.addon.getDependentModulesOf(source, module);
24
- }
25
- static getDependentModulesOfWithOptions(source, module, options) {
26
- BannerlordModuleManager.initialize();
27
- return BannerlordModuleManager.addon.getDependentModulesOfWithOptions(source, module, options);
28
- }
29
- static validateLoadOrder(source, targetModule) {
30
- BannerlordModuleManager.initialize();
31
- return BannerlordModuleManager.addon.validateLoadOrder(source, targetModule);
32
- }
33
- static validateModule(modules, targetModule, manager) {
34
- BannerlordModuleManager.initialize();
35
- return BannerlordModuleManager.addon.validateModule(modules, targetModule, manager);
36
- }
37
- static enableModule(modules, targetModule, manager) {
38
- BannerlordModuleManager.initialize();
39
- return BannerlordModuleManager.addon.enableModule(modules, targetModule, manager);
40
- }
41
- static disableModule(modules, targetModule, manager) {
42
- BannerlordModuleManager.initialize();
43
- return BannerlordModuleManager.addon.disableModule(modules, targetModule, manager);
44
- }
45
- static getModuleInfo(xml) {
46
- BannerlordModuleManager.initialize();
47
- return BannerlordModuleManager.addon.getModuleInfo(xml);
48
- }
49
- static getModuleInfoWithPath(xml, path) {
50
- BannerlordModuleManager.initialize();
51
- return BannerlordModuleManager.addon.getModuleInfoWithPath(xml, path);
52
- }
53
- static getModuleInfoWithMetadata(xml, type, path) {
54
- BannerlordModuleManager.initialize();
55
- return BannerlordModuleManager.addon.getModuleInfoWithMetadata(xml, type, path);
56
- }
57
- static getSubModuleInfo(xml) {
58
- BannerlordModuleManager.initialize();
59
- return BannerlordModuleManager.addon.getSubModuleInfo(xml);
60
- }
61
- static parseApplicationVersion(content) {
62
- BannerlordModuleManager.initialize();
63
- return BannerlordModuleManager.addon.parseApplicationVersion(content);
64
- }
65
- static compareVersions(x, y) {
66
- BannerlordModuleManager.initialize();
67
- return BannerlordModuleManager.addon.compareVersions(x, y);
68
- }
69
- static getDependenciesAll(module) {
70
- BannerlordModuleManager.initialize();
71
- return BannerlordModuleManager.addon.getDependenciesAll(module);
72
- }
73
- static getDependenciesToLoadBeforeThis(module) {
74
- BannerlordModuleManager.initialize();
75
- return BannerlordModuleManager.addon.getDependenciesToLoadBeforeThis(module);
76
- }
77
- static getDependenciesToLoadAfterThis(module) {
78
- BannerlordModuleManager.initialize();
79
- return BannerlordModuleManager.addon.getDependenciesToLoadAfterThis(module);
80
- }
81
- static getDependenciesIncompatibles(module) {
82
- BannerlordModuleManager.initialize();
83
- return BannerlordModuleManager.addon.getDependenciesIncompatibles(module);
84
- }
85
- }
86
- //# sourceMappingURL=BannerlordModuleManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BannerlordModuleManager.js","sourceRoot":"","sources":["../../../src/lib/BannerlordModuleManager.ts"],"names":[],"mappings":"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"}
@@ -1,3 +0,0 @@
1
- export declare const allocWithOwnership: (length: number) => Uint8Array | null;
2
- export declare const allocWithoutOwnership: (length: number) => Uint8Array | null;
3
- export declare const allocAliveCount: () => number;
@@ -1,13 +0,0 @@
1
- export const allocWithOwnership = (length) => {
2
- const addon = require('./../../launchermanager.node');
3
- return addon.allocWithOwnership(length);
4
- };
5
- export const allocWithoutOwnership = (length) => {
6
- const addon = require('./../../launchermanager.node');
7
- return addon.allocWithoutOwnership(length);
8
- };
9
- export const allocAliveCount = () => {
10
- const addon = require('./../../launchermanager.node');
11
- return addon.allocAliveCount();
12
- };
13
- //# sourceMappingURL=Common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Common.js","sourceRoot":"","sources":["../../../src/lib/Common.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,MAAc,EAAqB,EAAE;IACtE,MAAM,KAAK,GAAqB,OAAO,CAAC,8BAA8B,CAAC,CAAC;IACxE,OAAO,KAAK,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAC1C,CAAC,CAAA;AACD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAc,EAAqB,EAAE;IACzE,MAAM,KAAK,GAAqB,OAAO,CAAC,8BAA8B,CAAC,CAAC;IACxE,OAAO,KAAK,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAA;AACD,MAAM,CAAC,MAAM,eAAe,GAAG,GAAW,EAAE;IAC1C,MAAM,KAAK,GAAqB,OAAO,CAAC,8BAA8B,CAAC,CAAC;IACxE,OAAO,KAAK,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAA"}
@@ -1,8 +0,0 @@
1
- export declare class FetchBannerlordVersion {
2
- private static addon;
3
- private constructor();
4
- private static initialize;
5
- static getChangeSet(gameFolderPath: string, libAssembly: string): number;
6
- static getVersion(gameFolderPath: string, libAssembly: string): string;
7
- static getVersionType(gameFolderPath: string, libAssembly: string): number;
8
- }
@@ -1,22 +0,0 @@
1
- export class FetchBannerlordVersion {
2
- /* istanbul ignore next */
3
- constructor() { }
4
- static initialize() {
5
- if (FetchBannerlordVersion.addon === undefined) {
6
- FetchBannerlordVersion.addon = require('./../../launchermanager.node');
7
- }
8
- }
9
- static getChangeSet(gameFolderPath, libAssembly) {
10
- FetchBannerlordVersion.initialize();
11
- return FetchBannerlordVersion.addon.getChangeSet(gameFolderPath, libAssembly);
12
- }
13
- static getVersion(gameFolderPath, libAssembly) {
14
- FetchBannerlordVersion.initialize();
15
- return FetchBannerlordVersion.addon.getVersion(gameFolderPath, libAssembly);
16
- }
17
- static getVersionType(gameFolderPath, libAssembly) {
18
- FetchBannerlordVersion.initialize();
19
- return FetchBannerlordVersion.addon.getVersionType(gameFolderPath, libAssembly);
20
- }
21
- }
22
- //# sourceMappingURL=FetchBannerlordVersion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FetchBannerlordVersion.js","sourceRoot":"","sources":["../../../src/lib/FetchBannerlordVersion.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,sBAAsB;IAGjC,0BAA0B;IAC1B,gBAAwB,CAAC;IAEjB,MAAM,CAAC,UAAU;QACvB,IAAI,sBAAsB,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC/C,sBAAsB,CAAC,KAAK,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,YAAY,CAAC,cAAsB,EAAE,WAAmB;QACpE,sBAAsB,CAAC,UAAU,EAAE,CAAC;QACpC,OAAO,sBAAsB,CAAC,KAAK,CAAC,YAAY,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;IAChF,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,cAAsB,EAAE,WAAmB;QAClE,sBAAsB,CAAC,UAAU,EAAE,CAAC;QACpC,OAAO,sBAAsB,CAAC,KAAK,CAAC,UAAU,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;IAC9E,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,cAAsB,EAAE,WAAmB;QACtE,sBAAsB,CAAC,UAAU,EAAE,CAAC;QACpC,OAAO,sBAAsB,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;IAClF,CAAC;CACF"}
@@ -1,38 +0,0 @@
1
- import * as types from './types';
2
- type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
3
- type LauncherManagerWithoutConstructor = Omit<types.LauncherManager, "constructor">;
4
- export declare class NativeLauncherManager implements LauncherManagerWithoutConstructor {
5
- private manager;
6
- constructor(setGameParametersAsync: (executable: string, gameParameters: string[]) => Promise<void>, sendNotificationAsync: (id: string, type: types.NotificationType, message: string, delayMS: number) => Promise<void>, sendDialogAsync: (type: types.DialogType, title: string, message: string, filters: types.FileFilter[]) => Promise<string>, getInstallPathAsync: () => Promise<string>, readFileContentAsync: (filePath: string, offset: number, length: number) => Promise<Uint8Array | null>, writeFileContentAsync: (filePath: string, data: Uint8Array) => Promise<void>, readDirectoryFileListAsync: (directoryPath: string) => Promise<string[] | null>, readDirectoryListAsync: (directoryPath: string) => Promise<string[] | null>, getAllModuleViewModelsAsync: () => Promise<types.ModuleViewModel[] | null>, getModuleViewModelsAsync: () => Promise<types.ModuleViewModel[] | null>, setModuleViewModelsAsync: (moduleViewModels: types.ModuleViewModel[]) => Promise<void>, getOptionsAsync: () => Promise<types.LauncherOptions>, getStateAsync: () => Promise<types.LauncherState>);
7
- checkForRootHarmonyAsync: () => Promise<void>;
8
- getGamePlatformAsync: () => Promise<types.GamePlatform>;
9
- getGameVersionAsync: () => Promise<string>;
10
- getModulesAsync: () => Promise<types.ModuleInfoExtendedWithMetadata[]>;
11
- getAllModulesAsync: () => Promise<types.ModuleInfoExtendedWithMetadata[]>;
12
- getSaveFilePathAsync: (saveFile: string) => Promise<string>;
13
- getSaveFilesAsync: () => Promise<types.SaveMetadata[]>;
14
- getSaveMetadataAsync: (saveFile: string, data: Uint8Array) => Promise<types.SaveMetadata>;
15
- installModule: (files: string[], moduleInfos: types.ModuleInfoExtendedWithMetadata[]) => types.InstallResult;
16
- isObfuscatedAsync: (module: types.ModuleInfoExtendedWithMetadata) => Promise<boolean>;
17
- isSorting: () => boolean;
18
- moduleListHandlerExportAsync: () => Promise<void>;
19
- moduleListHandlerExportSaveFileAsync: (saveFile: string) => Promise<void>;
20
- moduleListHandlerImportAsync: () => Promise<boolean>;
21
- moduleListHandlerImportSaveFileAsync: (saveFile: string) => Promise<boolean>;
22
- orderByLoadOrderAsync: (loadOrder: types.LoadOrder) => Promise<types.OrderByLoadOrderResult>;
23
- refreshModulesAsync: () => Promise<void>;
24
- refreshGameParametersAsync: () => Promise<void>;
25
- setGameParameterExecutableAsync(executable: string): Promise<void>;
26
- setGameParameterSaveFileAsync(saveName: string): Promise<void>;
27
- setGameParameterContinueLastSaveFileAsync(value: boolean): Promise<void>;
28
- setGameStore(gameStore: types.GameStore): void;
29
- sortAsync: () => Promise<void>;
30
- sortHelperChangeModulePositionAsync: (moduleViewModel: types.ModuleViewModel, insertIndex: number) => Promise<boolean>;
31
- sortHelperToggleModuleSelectionAsync: (moduleViewModel: types.ModuleViewModel) => Promise<types.ModuleViewModel>;
32
- sortHelperValidateModuleAsync: (moduleViewModel: types.ModuleViewModel) => Promise<string[]>;
33
- testModule: (files: string[]) => types.SupportedResult;
34
- dialogTestWarningAsync: () => Promise<string>;
35
- dialogTestFileOpenAsync: () => Promise<string>;
36
- setGameParameterLoadOrderAsync: (loadOrder: types.LoadOrder) => Promise<void>;
37
- }
38
- export {};