mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Adjust API for returning statistics
This commit is contained in:
23
osu.Game/Screens/Ranking/Statistics/StatisticItem.cs
Normal file
23
osu.Game/Screens/Ranking/Statistics/StatisticItem.cs
Normal file
@ -0,0 +1,23 @@
|
||||
// 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 JetBrains.Annotations;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Screens.Ranking.Statistics
|
||||
{
|
||||
public class StatisticItem
|
||||
{
|
||||
public readonly string Name;
|
||||
public readonly Drawable Content;
|
||||
public readonly Dimension Dimension;
|
||||
|
||||
public StatisticItem([NotNull] string name, [NotNull] Drawable content, [CanBeNull] Dimension dimension = null)
|
||||
{
|
||||
Name = name;
|
||||
Content = content;
|
||||
Dimension = dimension;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user