1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 04:32:55 +08:00
osu-lazer/osu.Game/Online/Multiplayer/MultiplayerScoresAround.cs

29 lines
895 B
C#
Raw Normal View History

2020-07-22 17:47:40 +08: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.
2020-07-31 16:43:40 +08:00
using JetBrains.Annotations;
2020-07-22 17:47:40 +08:00
using Newtonsoft.Json;
namespace osu.Game.Online.Multiplayer
{
/// <summary>
/// An object which stores scores higher and lower than the user's score.
/// </summary>
public class MultiplayerScoresAround
{
/// <summary>
/// Scores sorted "higher" than the user's score, depending on the sorting order.
/// </summary>
[JsonProperty("higher")]
2020-07-31 16:43:40 +08:00
[CanBeNull]
2020-07-22 17:47:40 +08:00
public MultiplayerScores Higher { get; set; }
/// <summary>
/// Scores sorted "lower" than the user's score, depending on the sorting order.
/// </summary>
[JsonProperty("lower")]
2020-07-31 16:43:40 +08:00
[CanBeNull]
2020-07-22 17:47:40 +08:00
public MultiplayerScores Lower { get; set; }
}
}