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