1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-06 19:07:19 +08:00
osu-lazer/osu.Game/Beatmaps/BeatmapMetrics.cs

27 lines
810 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2018-04-13 18:19:50 +09:00
2019-06-13 16:30:38 +09:00
using System;
2018-04-13 18:19:50 +09:00
using Newtonsoft.Json;
namespace osu.Game.Beatmaps
{
/// <summary>
2019-06-13 16:52:49 +09:00
/// Beatmap metrics based on accumulated online data from community plays.
2018-04-13 18:19:50 +09:00
/// </summary>
public class BeatmapMetrics
{
/// <summary>
/// Points of failure on a relative time scale (usually 0..100).
/// </summary>
[JsonProperty(@"fail")]
2019-06-13 16:30:38 +09:00
public int[] Fails { get; set; } = Array.Empty<int>();
2018-04-13 18:19:50 +09:00
/// <summary>
/// Points of retry on a relative time scale (usually 0..100).
/// </summary>
[JsonProperty(@"exit")]
2019-06-13 16:30:38 +09:00
public int[] Retries { get; set; } = Array.Empty<int>();
2018-04-13 18:19:50 +09:00
}
}