2019-01-24 08:43:03 +00:00
// 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.
2018-04-13 09:19:50 +00:00
2022-06-17 07:37:17 +00:00
#nullable disable
2020-09-03 08:51:54 +00:00
using System ;
using osu.Framework.Graphics ;
2022-01-28 04:53:48 +00:00
using osu.Framework.Localisation ;
2018-04-13 09:19:50 +00:00
2017-09-18 13:32:49 +00:00
namespace osu.Game.Beatmaps
2017-04-17 08:43:48 +00:00
{
public class BeatmapStatistic
{
2020-09-03 08:51:54 +00:00
/// <summary>
2020-09-04 06:01:32 +00:00
/// A function to create the icon for display purposes. Use default icons available via <see cref="BeatmapStatisticIcon"/> whenever possible for conformity.
2020-09-03 08:51:54 +00:00
/// </summary>
public Func < Drawable > CreateIcon ;
2017-04-17 08:43:48 +00:00
public string Content ;
2022-01-28 04:53:48 +00:00
public LocalisableString Name ;
2017-04-17 08:43:48 +00:00
}
2018-01-05 11:21:19 +00:00
}