// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Scoring; using osu.Game.Users; namespace osu.Game.Online.Solo { /// /// Contains data about the change in a user's profile statistics after completing a score. /// public class SoloStatisticsUpdate { /// /// The score set by the user that triggered the update. /// public ScoreInfo Score { get; } /// /// The user's profile statistics prior to the score being set. /// public UserStatistics Before { get; } /// /// The user's profile statistics after the score was set. /// public UserStatistics After { get; } /// /// Creates a new . /// /// The score set by the user that triggered the update. /// The user's profile statistics prior to the score being set. /// The user's profile statistics after the score was set. public SoloStatisticsUpdate(ScoreInfo score, UserStatistics before, UserStatistics after) { Score = score; Before = before; After = after; } } }