Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game/Online/Rooms/MultiplayerScoresAround.cs
5084 views
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

#nullable disable

using JetBrains.Annotations;
using Newtonsoft.Json;

namespace osu.Game.Online.Rooms
{
    /// <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")]
        [CanBeNull]
        public MultiplayerScores Higher { get; set; }

        /// <summary>
        /// Scores sorted "lower" than the user's score, depending on the sorting order.
        /// </summary>
        [JsonProperty("lower")]
        [CanBeNull]
        public MultiplayerScores Lower { get; set; }
    }
}