public ModService() { this.Settings = SettingsUtility.LoadSettings <UserModData>(USER_SETTINGS); if (Settings.InstalledCharacterMods == null) { Settings.InstalledCharacterMods = new List <CharacterModLink>(); } this.IDNames = ModLoaderService.GetIDNameListOptions(); this.AvailableMods = ModLoaderService.LoadMods(CurrentVersion); }
public ModService() { Logging.LogMessage("Loading user settings...", Logging.LogSeverity.Info); this.Settings = SettingsUtility.LoadSettings <UserModData>(USER_SETTINGS); if (Settings.InstalledMods == null) { Settings.InstalledMods = new List <ModInstallationData>(); } this.IDNames = ModUtility.GetIDNameListOptions(); ReloadMods(); }