public void RemoveManager(TriggerManager notifier) { _triggerManagers.Remove(notifier.Player); Settings.Value.ActiveCharacterNames.Remove(notifier.Player); Settings.DelayedSave(); MainUI.RemoveNotifierController(notifier.GetUIHandle()); }
public void AddManager(TriggerManager triggerManager) { MainUI.AddNotifierController(triggerManager.GetUIHandle()); _triggerManagers.Add(triggerManager.Player, triggerManager); Settings.Value.ActiveCharacterNames.Add(triggerManager.Player); Settings.DelayedSave(); }