2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-04-10 22:42:23 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-04-11 20:02:56 +08:00
|
|
|
|
using System.Collections.Generic;
|
2017-04-24 18:17:11 +08:00
|
|
|
|
using Newtonsoft.Json;
|
2017-04-11 20:02:56 +08:00
|
|
|
|
|
2017-07-26 12:22:46 +08:00
|
|
|
|
namespace osu.Game.Beatmaps
|
2017-04-10 22:42:23 +08:00
|
|
|
|
{
|
2017-04-12 20:09:39 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Beatmap metrics based on acculumated online data from community plays.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class BeatmapMetrics
|
2017-04-10 22:42:23 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2017-11-23 17:09:42 +08:00
|
|
|
|
/// Total vote counts of user ratings on a scale of 0..10 where 0 is unused (probably will be fixed at API?).
|
2017-04-10 22:42:23 +08:00
|
|
|
|
/// </summary>
|
2017-04-12 00:43:48 +08:00
|
|
|
|
public IEnumerable<int> Ratings { get; set; }
|
2017-04-10 22:42:23 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-04-12 20:08:28 +08:00
|
|
|
|
/// Points of failure on a relative time scale (usually 0..100).
|
2017-04-10 22:42:23 +08:00
|
|
|
|
/// </summary>
|
2017-04-24 18:17:11 +08:00
|
|
|
|
[JsonProperty(@"fail")]
|
2017-04-12 00:43:48 +08:00
|
|
|
|
public IEnumerable<int> Fails { get; set; }
|
2017-04-10 22:42:23 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-04-12 20:08:28 +08:00
|
|
|
|
/// Points of retry on a relative time scale (usually 0..100).
|
2017-04-10 22:42:23 +08:00
|
|
|
|
/// </summary>
|
2017-04-24 18:17:11 +08:00
|
|
|
|
[JsonProperty(@"exit")]
|
2017-04-12 00:43:48 +08:00
|
|
|
|
public IEnumerable<int> Retries { get; set; }
|
2017-04-10 22:42:23 +08:00
|
|
|
|
}
|
|
|
|
|
}
|