osu/osu.Game/Beatmaps/BeatmapMetrics.cs

32 lines
1.0 KiB
C#
Raw Normal View History

2018-01-05 11:21:19 +00:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
2017-04-10 14:42:23 +00:00
// 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-07-26 04:22:46 +00:00
namespace osu.Game.Beatmaps
2017-04-10 14:42:23 +00:00
{
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>
/// 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 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
}
}