private void LoadConfig() { Keybinds = Config.LoadKeybinds(); Hotkeys = Config.LoadHotkeyContainer(); Hotkeys.InitializeIKeyEventsAndSort(Hud.Input); AutoActions = Config.LoadAutoActions(); SnoToDefinitionGroups = Config.LoadDefinitions(); SnoToDefinitionGroups.ForEach(def => skillsWithDefinitionGroupsDisplayValues.Add(Hud.Sno.GetSnoPower(def.Key))); }
private void LoadConfig() { Keybinds = ConfigPersistence.LoadKeybinds(); Hotkeys = ConfigPersistence.LoadHotkeyContainer(); Hotkeys.InitializeIKeyEventsAndSort(Hud.Input); AutoActions = ConfigPersistence.LoadAutoActions(); profileToSkillDefinitionGroups = ConfigPersistence.LoadMasterProfiles(); SnoToDefinitionGroups = profileToSkillDefinitionGroups.FirstOrDefault().Value; SnoToDefinitionGroups.ForEach(def => skillsWithDefinitionGroupsDisplayValues.Add(Hud.Sno.GetSnoPower(def.Key))); }