1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 01:42:54 +08:00
osu-lazer/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 16:40:58 +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:40:58 +08:00
using JetBrains.Annotations;
using Newtonsoft.Json;
2020-12-25 12:38:11 +08:00
namespace osu.Game.Online.Rooms
2020-07-31 16:40:58 +08: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-07 06:59:27 +08:00
public long? TotalScores { get; set; }
2020-07-31 16:40:58 +08:00
/// <summary>
/// The user's score, if any.
/// </summary>
[JsonProperty("user_score")]
[CanBeNull]
public MultiplayerScore UserScore { get; set; }
}
}