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