1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 09:09:52 +08:00
Files
osu-lazer/osu.Game/Online/Leaderboards/LeaderboardState.cs
T
Bartłomiej Dach c29f59fcdb Fix gameplay leaderboard showing scores from wrong beatmaps
Kind of a big oversight this. In wanting to get the leaderboard
refactors to move forward I sort of didn't realise the fact that all of
the error handling related to online status and such in
`BeatmapLeaderboard` kind of... can't stay there...

It's also an all-or-nothing business too - moving this stuff can't
really be done only in part.

Not sure whether tests are warranted if it's more or less moving logic
across?
2025-04-18 20:37:02 +02:00

21 lines
717 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.
namespace osu.Game.Online.Leaderboards
{
public enum LeaderboardState
{
Success,
Retrieving,
NoScores,
NetworkFailure = LeaderboardFailState.NetworkFailure,
BeatmapUnavailable = LeaderboardFailState.BeatmapUnavailable,
RulesetUnavailable = LeaderboardFailState.RulesetUnavailable,
NoneSelected = LeaderboardFailState.NoneSelected,
NotLoggedIn = LeaderboardFailState.NotLoggedIn,
NotSupporter = LeaderboardFailState.NotSupporter,
NoTeam = LeaderboardFailState.NoTeam,
}
}