public void OnSettingsUI(UIHelperBase helper) { UIHelper uiHelper = helper as UIHelper; if (uiHelper != null) { var optionsPanel = new UIModOptionsPanelBuilder(uiHelper, _configuration); optionsPanel.CreateUI(); ModLogger.Debug("Options panel created"); } else { ModLogger.Warning("Could not populate the settings panel, helper is null or not a UIHelper"); } }
public void OnDisabled() { ModLogger.Debug("WorkshopMonitor mod disabled"); this.Unload(); }
public void OnEnabled() { _settingsFilePath = ModPaths.GetConfigurationFilePath(); Load(); ModLogger.Debug("WorkshopMonitor mod enabled"); }