2019-01-24 16:43:03 +08:00
|
|
|
|
// 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 17:19:50 +08:00
|
|
|
|
|
2019-06-13 15:30:38 +08:00
|
|
|
|
using System;
|
2017-04-24 18:17:11 +08:00
|
|
|
|
using Newtonsoft.Json;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2017-07-26 12:22:46 +08:00
|
|
|
|
namespace osu.Game.Beatmaps
|
2017-04-10 22:42:23 +08:00
|
|
|
|
{
|
2017-04-12 20:09:39 +08:00
|
|
|
|
/// <summary>
|
2019-06-13 15:52:49 +08:00
|
|
|
|
/// Beatmap metrics based on accumulated online data from community plays.
|
2017-04-12 20:09:39 +08:00
|
|
|
|
/// </summary>
|
2021-10-25 14:34:41 +08:00
|
|
|
|
public class APIFailTimes
|
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")]
|
2023-06-23 23:59:36 +08:00
|
|
|
|
public int[]? Fails { get; set; } = Array.Empty<int>();
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
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")]
|
2023-06-23 23:59:36 +08:00
|
|
|
|
public int[]? Retries { get; set; } = Array.Empty<int>();
|
2017-04-10 22:42:23 +08:00
|
|
|
|
}
|
|
|
|
|
}
|