You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
661 B

  1. using IPA.Config;
  2. using IPA.Config.Stores;
  3. using IPA.Utilities;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace IPA.Loader
  10. {
  11. internal class DisabledConfig
  12. {
  13. public static Config.Config Disabled { get; set; }
  14. public static DisabledConfig Instance;
  15. public static void Load()
  16. {
  17. Disabled = Config.Config.GetConfigFor("Disabled Mods", "json");
  18. Instance = Disabled.Generated<DisabledConfig>();
  19. }
  20. public bool Reset = true;
  21. public HashSet<string> DisabledModIds = new HashSet<string>();
  22. }
  23. }