public PatchModsMenu(TypeDefinitionCollection types, ModLoader loader) : base(types) { this.loader = loader; this.modManager = this.loader.modManager; this.repoManager = modManager.repoManager; }
public ModManager(ModLoader loader) { Platform.ErrorLog("ModManager creator"); modsPath = Platform.getModsPath(); if (!Directory.Exists(modsPath)) { Directory.CreateDirectory(modsPath); } this.loader = loader; repoManager = new RepoManager(this); String installPath = Platform.getGlobalScrollsInstallPath(); String modLoaderPath = Platform.getModLoaderPath() + System.IO.Path.DirectorySeparatorChar; Platform.ErrorLog("loadInstalledMods"); this.loadInstalledMods(); Platform.ErrorLog("checkForUpdates"); this.checkForUpdates(); Platform.ErrorLog("sortInstalledMods"); this.sortInstalledMods(); }
public ModManager(ModLoader loader) { this.loader = loader; repoManager = new RepoManager(this); String installPath = Platform.getGlobalScrollsInstallPath(); String modLoaderPath = installPath + "ModLoader" + System.IO.Path.DirectorySeparatorChar; if (!Directory.Exists(modLoaderPath + "mods")) { Directory.CreateDirectory(modLoaderPath + "mods"); } modsPath = modLoaderPath + "mods"; this.loadInstalledMods(); this.checkForUpdates(); this.sortInstalledMods(); }
public PatchModsMenu(TypeDefinitionCollection types, ModLoader loader) : base(types) { this.loader = loader; this.modManager = this.loader.modManager; this.repoManager = modManager.repoManager; }
public ModManager(ModLoader loader) { Platform.ErrorLog("ModManager creator"); modsPath = Platform.getModsPath(); if (!Directory.Exists (modsPath)) Directory.CreateDirectory (modsPath); this.loader = loader; repoManager = new RepoManager (this); String installPath = Platform.getGlobalScrollsInstallPath(); String modLoaderPath = Platform.getModLoaderPath() + System.IO.Path.DirectorySeparatorChar; Platform.ErrorLog("loadInstalledMods"); this.loadInstalledMods (); Platform.ErrorLog("checkForUpdates"); this.checkForUpdates (); Platform.ErrorLog("sortInstalledMods"); this.sortInstalledMods (); }