Change DrawableProfileScore to use APIScoreInfo

This commit is contained in:
Dean Herbert
2021-10-29 15:14:52 +09:00
parent 17a83f701a
commit 31403daa20
5 changed files with 65 additions and 62 deletions

View File

@ -6,8 +6,8 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Resources.Localisation.Web;
using osu.Game.Scoring;
using osuTK;
namespace osu.Game.Overlays.Profile.Sections.Ranks
@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
{
private readonly double weight;
public DrawableProfileWeightedScore(ScoreInfo score, double weight)
public DrawableProfileWeightedScore(APIScoreInfo score, double weight)
: base(score)
{
this.weight = weight;