示例#1
0
        private void LoadSoundChangeData(string dir, Difficulty difficulty)
        {
            string filename = DifficultyUtility.ConvertDifficulty(difficulty) + ".scd";
            var    path     = Path.Combine(dir, filename);

            if (File.Exists(path))
            {
                data = SCDReader.Read(path);
            }
            else
            {
                initialized = false;
            }
        }
示例#2
0
        private void LoadData(string dir, Difficulty difficulty)
        {
            string filename = DifficultyUtility.ConvertDifficulty(difficulty) + ".evd";
            string path     = dir + "\\" + filename;

            if (File.Exists(path))
            {
                data        = EVDReader.Read(path);
                initialized = true;
            }
            else
            {
                initialized = false;
            }
        }
示例#3
0
        private void ReadPpdData(string dir, Difficulty difficulty)
        {
            string filename = DifficultyUtility.ConvertDifficulty(difficulty) + ".ppd";
            var    path     = Path.Combine(dir, filename);

            if (File.Exists(path))
            {
                ppdat       = PPDReader.Read(path);
                initialized = true;
            }
            else
            {
                initialized = false;
            }
        }