mirror of https://github.com/ppy/osu
26 lines
764 B
C#
26 lines
764 B
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.Database
|
|
{
|
|
/// <summary>
|
|
/// Beatmap info retrieved for previewing locally without having the beatmap downloaded.
|
|
/// </summary>
|
|
public class BeatmapOnlineInfo
|
|
{
|
|
/// <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; }
|
|
}
|
|
}
|