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.

26 lines
693 B

  1. using CustomUI.BeatSaber;
  2. using IPA.Loader;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace BSIPA_ModList.UI
  9. {
  10. internal class ModListMenu : CustomMenu
  11. {
  12. private ModListController controller;
  13. #pragma warning disable CS0618
  14. public ModListMenu()
  15. {
  16. Logger.log.Debug("Menu constructor");
  17. controller = BeatSaberUI.CreateViewController<ModListController>();
  18. controller.Init(PluginManager.AllPlugins, PluginLoader.ignoredPlugins, PluginManager.Plugins);
  19. SetMainViewController(controller, true);
  20. }
  21. #pragma warning restore
  22. }
  23. }