2019-01-24 08:43:03 +00:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-11-28 09:45:17 +00:00
|
|
|
|
|
2023-06-24 13:35:07 +00:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2018-11-28 09:45:17 +00:00
|
|
|
|
using osu.Game.Replays;
|
2021-07-19 04:02:40 +00:00
|
|
|
|
using osu.Game.Utils;
|
2018-11-28 09:45:17 +00:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Scoring
|
|
|
|
|
{
|
2021-07-19 04:02:40 +00:00
|
|
|
|
public class Score : IDeepCloneable<Score>
|
2018-11-28 09:45:17 +00:00
|
|
|
|
{
|
|
|
|
|
public ScoreInfo ScoreInfo = new ScoreInfo();
|
|
|
|
|
public Replay Replay = new Replay();
|
2021-07-19 04:02:40 +00:00
|
|
|
|
|
|
|
|
|
public Score DeepClone()
|
|
|
|
|
{
|
|
|
|
|
return new Score
|
|
|
|
|
{
|
|
|
|
|
ScoreInfo = ScoreInfo.DeepClone(),
|
|
|
|
|
Replay = Replay.DeepClone(),
|
|
|
|
|
};
|
|
|
|
|
}
|
2018-11-28 09:45:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|