From 7d8fb1233288f26278f7e0a78006897e1fe3bb13 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 11 Dec 2017 12:51:02 +0900 Subject: [PATCH] DrawableScore -> DrawableProfileScore Discern between the other class of the same name --- osu.Game.Tests/Visual/TestCaseUserRanks.cs | 2 +- .../Profile/Sections/Ranks/DrawablePerformanceScore.cs | 2 +- .../Ranks/{DrawableScore.cs => DrawableProfileScore.cs} | 4 ++-- .../Overlays/Profile/Sections/Ranks/DrawableTotalScore.cs | 2 +- .../Profile/Sections/Ranks/PaginatedScoreContainer.cs | 2 +- osu.Game/osu.Game.csproj | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename osu.Game/Overlays/Profile/Sections/Ranks/{DrawableScore.cs => DrawableProfileScore.cs} (92%) diff --git a/osu.Game.Tests/Visual/TestCaseUserRanks.cs b/osu.Game.Tests/Visual/TestCaseUserRanks.cs index eb0678203c..c0c488673b 100644 --- a/osu.Game.Tests/Visual/TestCaseUserRanks.cs +++ b/osu.Game.Tests/Visual/TestCaseUserRanks.cs @@ -15,7 +15,7 @@ namespace osu.Game.Tests.Visual { internal class TestCaseUserRanks : OsuTestCase { - public override IReadOnlyList RequiredTypes => new[] { typeof(DrawableScore), typeof(RanksSection) }; + public override IReadOnlyList RequiredTypes => new[] { typeof(DrawableProfileScore), typeof(RanksSection) }; public TestCaseUserRanks() { diff --git a/osu.Game/Overlays/Profile/Sections/Ranks/DrawablePerformanceScore.cs b/osu.Game/Overlays/Profile/Sections/Ranks/DrawablePerformanceScore.cs index cd13d14575..c3296dae4f 100644 --- a/osu.Game/Overlays/Profile/Sections/Ranks/DrawablePerformanceScore.cs +++ b/osu.Game/Overlays/Profile/Sections/Ranks/DrawablePerformanceScore.cs @@ -9,7 +9,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks { - public class DrawablePerformanceScore : DrawableScore + public class DrawablePerformanceScore : DrawableProfileScore { private readonly double? weight; diff --git a/osu.Game/Overlays/Profile/Sections/Ranks/DrawableScore.cs b/osu.Game/Overlays/Profile/Sections/Ranks/DrawableProfileScore.cs similarity index 92% rename from osu.Game/Overlays/Profile/Sections/Ranks/DrawableScore.cs rename to osu.Game/Overlays/Profile/Sections/Ranks/DrawableProfileScore.cs index 9fa828802a..06e4684d4c 100644 --- a/osu.Game/Overlays/Profile/Sections/Ranks/DrawableScore.cs +++ b/osu.Game/Overlays/Profile/Sections/Ranks/DrawableProfileScore.cs @@ -14,13 +14,13 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks { - public abstract class DrawableScore : DrawableProfileRow + public abstract class DrawableProfileScore : DrawableProfileRow { private readonly FillFlowContainer metadata; private readonly ScoreModsContainer modsContainer; protected readonly Score Score; - protected DrawableScore(Score score) + protected DrawableProfileScore(Score score) { Score = score; diff --git a/osu.Game/Overlays/Profile/Sections/Ranks/DrawableTotalScore.cs b/osu.Game/Overlays/Profile/Sections/Ranks/DrawableTotalScore.cs index 1539142f1d..56b2950f89 100644 --- a/osu.Game/Overlays/Profile/Sections/Ranks/DrawableTotalScore.cs +++ b/osu.Game/Overlays/Profile/Sections/Ranks/DrawableTotalScore.cs @@ -8,7 +8,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks { - public class DrawableTotalScore : DrawableScore + public class DrawableTotalScore : DrawableProfileScore { public DrawableTotalScore(Score score) : base(score) diff --git a/osu.Game/Overlays/Profile/Sections/Ranks/PaginatedScoreContainer.cs b/osu.Game/Overlays/Profile/Sections/Ranks/PaginatedScoreContainer.cs index dc30934990..472800860c 100644 --- a/osu.Game/Overlays/Profile/Sections/Ranks/PaginatedScoreContainer.cs +++ b/osu.Game/Overlays/Profile/Sections/Ranks/PaginatedScoreContainer.cs @@ -51,7 +51,7 @@ protected override void ShowMore() foreach (OnlineScore score in scores) { - DrawableScore drawableScore; + DrawableProfileScore drawableScore; switch (type) { diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index 0e93844de6..f8041b8b5e 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -488,7 +488,7 @@ - +