Ejemplo n.º 1
0
 /// <summary>
 /// Populates mod statuses for all installed mods to the list
 /// </summary>
 private void PopulateInstalledMods()
 {
     foreach (var mod in _persistenceService.GetInstalledMods())
     {
         var modStatus = GetModStatus(mod.ModID, true);
         if (modStatus == null)
         {
             return;
         }
         modStatus.State              = ModStatusState.Idle;
         modStatus.IsStatusVisible    = false;
         modStatus.IsAbortVisible     = false;
         modStatus.IsReinstallVisible = true;
         modStatus.IsUninstallVisible = true;
     }
 }