mirror of
https://github.com/ppy/osu.git
synced 2024-11-08 02:59:48 +08:00
48 lines
1.4 KiB
C#
48 lines
1.4 KiB
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
namespace osu.Game.Beatmaps
|
|
{
|
|
/// <summary>
|
|
/// Beatmap info retrieved for previewing locally without having the beatmap downloaded.
|
|
/// </summary>
|
|
public class BeatmapOnlineInfo
|
|
{
|
|
/// <summary>
|
|
/// The length in milliseconds of this beatmap's song.
|
|
/// </summary>
|
|
public double Length { get; set; }
|
|
|
|
/// <summary>
|
|
/// Whether or not this beatmap has a background video.
|
|
/// </summary>
|
|
public bool HasVideo { get; set; }
|
|
|
|
/// <summary>
|
|
/// The amount of circles in this beatmap.
|
|
/// </summary>
|
|
[JsonProperty(@"count_circles")]
|
|
public int CircleCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// The amount of sliders in this beatmap.
|
|
/// </summary>
|
|
[JsonProperty(@"count_sliders")]
|
|
public int SliderCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// The amount of plays this beatmap has.
|
|
/// </summary>
|
|
[JsonProperty(@"playcount")]
|
|
public int PlayCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// The amount of passes this beatmap has.
|
|
/// </summary>
|
|
[JsonProperty(@"passcount")]
|
|
public int PassCount { get; set; }
|
|
}
|
|
}
|