Esempio n. 1
0
        public void Set(IWorldsEndHighScoreRecordTableUnit tableUnit)
        {
            if (tableUnit == null)
            {
                throw new ArgumentNullException(nameof(tableUnit));
            }

            Id             = tableUnit.Id;
            Name           = tableUnit.Name;
            Genre          = tableUnit.Genre;
            Difficulty     = tableUnit.Difficulty;
            WorldsEndLevel = tableUnit.WorldsEndLevel;
            WorldsEndType  = tableUnit.WorldsEndType;
            Score          = tableUnit.Score;
            Rank           = tableUnit.Rank;
            BaseRating     = tableUnit.BaseRating;
            Rating         = tableUnit.Rating;
            IsClear        = tableUnit.IsClear;
            ComboStatus    = tableUnit.ComboStatus;
            ChainStatus    = tableUnit.ChainStatus;
        }
Esempio n. 2
0
 public WorldsEndHighScoreRecordTableUnit(IWorldsEndHighScoreRecordTableUnit tableUnit)
 {
     Set(tableUnit);
 }