コード例 #1
0
        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)));
        }
コード例 #2
0
        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)));
        }