public ModPanel(SettingsInterface ui, Selector s)
 {
     _base           = ui;
     _selector       = s;
     Details         = new PluginDetails(_base, _selector);
     _currentWebsite = Meta?.Website ?? "";
 }
示例#2
0
 public PluginDetails(SettingsInterface ui, Selector s)
 {
     _base     = ui;
     _selector = s;
     ResetState();
     _modManager = Service <ModManager> .Get();
 }
示例#3
0
 public ModPanel(SettingsInterface ui, Selector s, HashSet <string> newMods)
 {
     _base           = ui;
     _selector       = s;
     _newMods        = newMods;
     Details         = new PluginDetails(_base, _selector);
     _currentWebsite = Meta?.Website ?? "";
     _modManager     = Service <ModManager> .Get();
 }
 public Selector(SettingsInterface ui)
 {
     _base = ui;
     ResetModNamesLower();
 }
示例#5
0
 public TabSettings(SettingsInterface ui)
 {
     _base          = ui;
     _config        = _base._plugin.Configuration !;
     _configChanged = false;
 }
示例#6
0
 public MenuBar(SettingsInterface ui) => _base = ui;
示例#7
0
 public TabChangedItems(SettingsInterface ui)
 {
     _base       = ui;
     _modManager = Service <ModManager> .Get();
 }
示例#8
0
 public TabInstalled(SettingsInterface ui, HashSet <string> newMods)
 {
     Selector    = new Selector(ui, newMods);
     ModPanel    = new ModPanel(ui, Selector, newMods);
     _modManager = Service <ModManager> .Get();
 }
示例#9
0
 public TabImport(SettingsInterface ui) => _base = ui;
示例#10
0
 public TabInstalled(SettingsInterface ui)
 {
     _base    = ui;
     Selector = new Selector(_base);
     ModPanel = new ModPanel(_base, Selector);
 }