2020-07-22 09:47:40 +00: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 08:43:40 +00:00
|
|
|
using JetBrains.Annotations;
|
2020-07-22 09:47:40 +00:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
2020-12-25 04:38:11 +00:00
|
|
|
namespace osu.Game.Online.Rooms
|
2020-07-22 09:47:40 +00: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 08:43:40 +00:00
|
|
|
[CanBeNull]
|
2020-07-22 09:47:40 +00: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 08:43:40 +00:00
|
|
|
[CanBeNull]
|
2020-07-22 09:47:40 +00:00
|
|
|
public MultiplayerScores Lower { get; set; }
|
|
|
|
}
|
|
|
|
}
|