1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 07:33:21 +08:00
osu-lazer/osu.Game/Overlays/Profile/Sections/Historical/PlayHistorySubsection.cs
2020-11-14 21:20:37 +03:00

20 lines
592 B
C#

// 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.
using osu.Framework.Bindables;
using osu.Game.Users;
using static osu.Game.Users.User;
namespace osu.Game.Overlays.Profile.Sections.Historical
{
public class PlayHistorySubsection : ChartProfileSubsection
{
public PlayHistorySubsection(Bindable<User> user)
: base(user, "Play History")
{
}
protected override UserHistoryCount[] GetValues(User user) => user?.MonthlyPlaycounts;
}
}