Example #1
0
        // Constructor

        public CScore()
        {
            this.ScoreIniInformation                     = new STScoreIniInformation(DateTime.MinValue, 0L);
            this.bHadACacheInSongDB                      = false;
            this.FileInformation                         = new STFileInformation("", "", DateTime.MinValue, 0L);
            this.SongInformation                         = new STMusicInformation();
            this.SongInformation.Title                   = "";
            this.SongInformation.ArtistName              = "";
            this.SongInformation.Comment                 = "";
            this.SongInformation.Genre                   = "";
            this.SongInformation.Preimage                = "";
            this.SongInformation.Premovie                = "";
            this.SongInformation.Presound                = "";
            this.SongInformation.Backgound               = "";
            this.SongInformation.Level                   = new STDGBVALUE <int>();
            this.SongInformation.LevelDec                = new STDGBVALUE <int>();
            this.SongInformation.BestRank                = new STMusicInformation.STRANK();
            this.SongInformation.BestRank.Drums          = (int)CScoreIni.ERANK.UNKNOWN;
            this.SongInformation.BestRank.Guitar         = (int)CScoreIni.ERANK.UNKNOWN;
            this.SongInformation.BestRank.Bass           = (int)CScoreIni.ERANK.UNKNOWN;
            this.SongInformation.FullCombo               = new STDGBVALUE <bool>();
            this.SongInformation.NbPerformances          = new STDGBVALUE <int>();
            this.SongInformation.PerformanceHistory      = new STMusicInformation.STHISTORY();
            this.SongInformation.PerformanceHistory.行1   = "";
            this.SongInformation.PerformanceHistory.行2   = "";
            this.SongInformation.PerformanceHistory.行3   = "";
            this.SongInformation.PerformanceHistory.行4   = "";
            this.SongInformation.PerformanceHistory.行5   = "";
            this.SongInformation.bHiddenLevel            = false;
            this.SongInformation.HighSkill               = new STMusicInformation.STSKILL();
            this.SongInformation.HighSongSkill           = new STMusicInformation.STSKILL();
            this.SongInformation.SongType                = CDTX.EType.DTX;
            this.SongInformation.Bpm                     = 120.0;
            this.SongInformation.Duration                = 0;
            this.SongInformation.b完全にCLASSIC譜面である.Drums  = false;
            this.SongInformation.b完全にCLASSIC譜面である.Guitar = false;
            this.SongInformation.b完全にCLASSIC譜面である.Bass   = false;
            this.SongInformation.bScoreExists.Drums      = false;
            this.SongInformation.bScoreExists.Guitar     = false;
            this.SongInformation.bScoreExists.Bass       = false;
            //
            this.SongInformation.chipCountByInstrument = default(STDGBVALUE <int>);
            this.SongInformation.chipCountByLane       = new Dictionary <ELane, int>();
            this.SongInformation.progress = new STDGBVALUE <string>()
            {
                Drums  = "",
                Guitar = "",
                Bass   = ""
            };

            for (ELane eLane = ELane.LC; eLane < ELane.BGM; eLane++)
            {
                this.SongInformation.chipCountByLane[eLane] = 0;
            }
        }
Example #2
0
        // Constructor

        public CScore()
        {
            this.ScoreIniInformation                     = new STScoreIniInformation(DateTime.MinValue, 0L);
            this.bHadACacheInSongDB                      = false;
            this.FileInformation                         = new STFileInformation("", "", DateTime.MinValue, 0L);
            this.SongInformation                         = new STMusicInformation();
            this.SongInformation.Title                   = "";
            this.SongInformation.ArtistName              = "";
            this.SongInformation.Comment                 = "";
            this.SongInformation.Genre                   = "";
            this.SongInformation.Preimage                = "";
            this.SongInformation.Premovie                = "";
            this.SongInformation.Presound                = "";
            this.SongInformation.Backgound               = "";
            this.SongInformation.Level                   = new STDGBVALUE <int>();
            this.SongInformation.LevelDec                = new STDGBVALUE <int>();
            this.SongInformation.BestRank                = new STMusicInformation.STRANK();
            this.SongInformation.BestRank.Drums          = (int)CScoreIni.ERANK.UNKNOWN;
            this.SongInformation.BestRank.Guitar         = (int)CScoreIni.ERANK.UNKNOWN;
            this.SongInformation.BestRank.Bass           = (int)CScoreIni.ERANK.UNKNOWN;
            this.SongInformation.FullCombo               = new STDGBVALUE <bool>();
            this.SongInformation.NbPerformances          = new STDGBVALUE <int>();
            this.SongInformation.PerformanceHistory      = new STMusicInformation.STHISTORY();
            this.SongInformation.PerformanceHistory.行1   = "";
            this.SongInformation.PerformanceHistory.行2   = "";
            this.SongInformation.PerformanceHistory.行3   = "";
            this.SongInformation.PerformanceHistory.行4   = "";
            this.SongInformation.PerformanceHistory.行5   = "";
            this.SongInformation.bHiddenLevel            = false;
            this.SongInformation.HighSkill               = new STMusicInformation.STSKILL();
            this.SongInformation.HighSongSkill           = new STMusicInformation.STSKILL();
            this.SongInformation.SongType                = CDTX.EType.DTX;
            this.SongInformation.Bpm                     = 120.0;
            this.SongInformation.Duration                = 0;
            this.SongInformation.b完全にCLASSIC譜面である.Drums  = false;
            this.SongInformation.b完全にCLASSIC譜面である.Guitar = false;
            this.SongInformation.b完全にCLASSIC譜面である.Bass   = false;
            this.SongInformation.bScoreExists.Drums      = false;
            this.SongInformation.bScoreExists.Guitar     = false;
            this.SongInformation.bScoreExists.Bass       = false;
        }