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.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2020-07-31 16:43:40 +08:00
|
|
|
using JetBrains.Annotations;
|
2020-07-22 17:47:40 +08:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
2020-12-25 12:38:11 +08:00
|
|
|
namespace osu.Game.Online.Rooms
|
2020-07-22 17:47:40 +08:00
|
|
|
{
|
|
|
|
/// <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; }
|
|
|
|
}
|
|
|
|
}
|