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; }
public WorldsEndHighScoreRecordTableUnit(IWorldsEndHighScoreRecordTableUnit tableUnit) { Set(tableUnit); }