示例#1
0
文件: SetManager.cs 项目: Yogr/Wizard
        public void LoadSetData(string rootfolder)
        {
            string setFp = FilePaths.GetFullPath(rootfolder + FilePaths.SETS_PATH);

            SetParser parser = new SetParser(setFp);

            if (null == mSets)
            {
                mSets = new List<Set>();
            }

            parser.Parse(mSets);
        }
示例#2
0
文件: SetManager.cs 项目: Yogr/Wizard
        public void SaveDataToFile(string rootFolder)
        {
            string setFp = FilePaths.GetFullPath(rootFolder + FilePaths.SETS_PATH);

            Console.WriteLine(setFp);

            SetParser parser = new SetParser(setFp);

            parser.CreateNewFile(setFp, mSets);
        }