osu/osu.Game/Beatmaps/BeatmapStatistic.cs

23 lines
652 B
C#
Raw Normal View History

// 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
using System;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Beatmaps
{
public class BeatmapStatistic
{
/// <summary>
/// A function to create the icon for display purposes. Use default icons available via <see cref="BeatmapStatisticIcon"/> whenever possible for conformity.
/// </summary>
public Func<Drawable> CreateIcon;
2018-04-13 09:19:50 +00:00
public string Content;
public LocalisableString Name;
2018-04-13 09:19:50 +00:00
}
}