mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 09:20:02 +09:00
Refactor BeatmapMetadataContainer
and usages to use interface types
This commit is contained in:
@ -33,7 +33,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
||||
protected override APIRequest<List<APIUserMostPlayedBeatmap>> CreateRequest() =>
|
||||
new GetUserMostPlayedBeatmapsRequest(User.Value.Id, VisiblePages++, ItemsPerPage);
|
||||
|
||||
protected override Drawable CreateDrawableItem(APIUserMostPlayedBeatmap model) =>
|
||||
new DrawableMostPlayedBeatmap(model.GetBeatmapInfo(Rulesets), model.PlayCount);
|
||||
protected override Drawable CreateDrawableItem(APIUserMostPlayedBeatmap mostPlayed) =>
|
||||
new DrawableMostPlayedBeatmap(mostPlayed);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user