Пример #1
0
        } //TODO: move

        private void SaveTabs()
        {
            Dictionary <string, bool> ast = new Dictionary <string, bool>();

            foreach (StashTabOnForm sof in stashTabsOnForm)
            {
                ast.Add(sof.id, sof.active);
            }

            DataManagement.SaveJson(ast, "active_stash_tabs.json"); //TODO: handle this moronic case...
        }//TODO: move
Пример #2
0
        } //TODO: move

        private void SaveCharacters()
        {
            Dictionary <string, bool> ac = new Dictionary <string, bool>();

            foreach (CharacterOnForm cof in charsOnForm)
            {
                ac.Add(cof.name, cof.active);
            }

            DataManagement.SaveJson(ac, "active_characters.json"); //TODO: handle this moronic case...
        }//TODO: move