1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 03:31:54 +08:00
Files
osu-lazer/osu.Game/Online/Rooms/ItemAttemptsCount.cs
T
2025-04-10 18:44:44 +09:00

32 lines
913 B
C#

// 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.
using Newtonsoft.Json;
namespace osu.Game.Online.Rooms
{
/// <summary>
/// Represents attempts on a specific playlist item.
/// </summary>
public class ItemAttemptsCount
{
/// <summary>
/// The playlist item this object describes.
/// </summary>
[JsonProperty("id")]
public int PlaylistItemID { get; set; }
/// <summary>
/// The number of times the user attempted the playlist item.
/// </summary>
[JsonProperty("attempts")]
public int Attempts { get; set; }
/// <summary>
/// Whether the user has a passing score on the playlist item.
/// </summary>
[JsonProperty("passed")]
public bool Passed { get; set; }
}
}