osu/osu.Game/Online/Rooms/IndexedMultiplayerScores.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
847 B
C#
Raw Normal View History

2020-07-31 08:40:58 +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.
2022-06-17 07:37:17 +00:00
#nullable disable
2020-07-31 08:40:58 +00:00
using JetBrains.Annotations;
using Newtonsoft.Json;
2020-12-25 04:38:11 +00:00
namespace osu.Game.Online.Rooms
2020-07-31 08:40:58 +00:00
{
/// <summary>
/// A <see cref="MultiplayerScores"/> object returned via a <see cref="IndexPlaylistScoresRequest"/>.
/// </summary>
public class IndexedMultiplayerScores : MultiplayerScores
{
/// <summary>
/// The total scores in the playlist item.
/// </summary>
[JsonProperty("total")]
2022-11-06 22:59:27 +00:00
public long? TotalScores { get; set; }
2020-07-31 08:40:58 +00:00
/// <summary>
/// The user's score, if any.
/// </summary>
[JsonProperty("user_score")]
[CanBeNull]
public MultiplayerScore UserScore { get; set; }
}
}