1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 12:32:20 +08:00
Files
osu-lazer/osu.Game/Screens/Select/Leaderboards/IGameplayLeaderboardProvider.cs
T

27 lines
911 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;
namespace osu.Game.Screens.Select.Leaderboards
{
/// <summary>
/// Provides a leaderboard to show during gameplay.
/// </summary>
public interface IGameplayLeaderboardProvider
{
/// <summary>
/// List of all scores to display on the leaderboard.
/// </summary>
/// <remarks>
/// Implementors should ensure that this list is only mutated from the update thread.
/// </remarks>
IBindableList<GameplayLeaderboardScore> Scores { get; }
}
public class EmptyGameplayLeaderboardProvider : IGameplayLeaderboardProvider
{
public IBindableList<GameplayLeaderboardScore> Scores { get; } = new BindableList<GameplayLeaderboardScore>();
}
}