1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 03:02:56 +08:00
osu-lazer/osu.Game/Database/BeatmapMetrics.cs

32 lines
1011 B
C#
Raw Normal View History

2017-04-10 22:42:23 +08: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 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-04-10 22:42:23 +08:00
namespace osu.Game.Database
{
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-04-12 20:08:28 +08:00
/// Total vote counts of user ratings on a scale of 0..length.
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
}
}