mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 23:47:24 +08:00
39 lines
1.2 KiB
C#
39 lines
1.2 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;
|
|
using System.Collections.Generic;
|
|
|
|
namespace osu.Game.Database
|
|
{
|
|
/// <summary>
|
|
/// Beatmap info retrieved for non-local viewing.
|
|
/// </summary>
|
|
public class BeatmapOnlineInfo
|
|
{
|
|
/// <summary>
|
|
/// The different sizes of cover art for this beatmap: cover, cover@2x, card, card@2x, list, list@2x.
|
|
/// </summary>
|
|
[JsonProperty(@"covers")]
|
|
public IEnumerable<string> Covers { get; set; }
|
|
|
|
/// <summary>
|
|
/// A small sample clip of this beatmap's song.
|
|
/// </summary>
|
|
[JsonProperty(@"previewUrl")]
|
|
public string Preview { get; set; }
|
|
|
|
/// <summary>
|
|
/// The amount of plays this beatmap has.
|
|
/// </summary>
|
|
[JsonProperty(@"play_count")]
|
|
public int PlayCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// The amount of people who have favourited this map.
|
|
/// </summary>
|
|
[JsonProperty(@"favourite_count")]
|
|
public int FavouriteCount { get; set; }
|
|
}
|
|
}
|