示例#1
0
        public void SaveConfig()
        {
            //	Create the directories that hold the config files if they don't exist.
            Directory.CreateDirectory(ConfigFolderPath);

            //	Ask our children to save themselves.  The game data config should never be written, only read.  The same applies to the zone dictionary.  The children are expected to back up old files on their own if applicable.
            ProgramSettings.SaveConfig();
            CharacterAliasSettings.SaveConfig();
        }
        public void SaveConfig()
        {
            //	Create the directories that hold the config files if they don't exist.
            Directory.CreateDirectory(ConfigFolderPath);

            //	Ask our children to save themselves.  The children are expected to back up old files on their own if applicable.
            ProgramSettings.SaveConfig();
            FileAliasSettings.SaveConfig();
            CharacterAliasSettings.SaveConfig();
        }