mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Rename BeatmapMetrics
to APIFailTimes
This commit is contained in:
26
osu.Game/Beatmaps/APIFailTimes.cs
Normal file
26
osu.Game/Beatmaps/APIFailTimes.cs
Normal file
@ -0,0 +1,26 @@
|
||||
// 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.
|
||||
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace osu.Game.Beatmaps
|
||||
{
|
||||
/// <summary>
|
||||
/// Beatmap metrics based on accumulated online data from community plays.
|
||||
/// </summary>
|
||||
public class APIFailTimes
|
||||
{
|
||||
/// <summary>
|
||||
/// Points of failure on a relative time scale (usually 0..100).
|
||||
/// </summary>
|
||||
[JsonProperty(@"fail")]
|
||||
public int[] Fails { get; set; } = Array.Empty<int>();
|
||||
|
||||
/// <summary>
|
||||
/// Points of retry on a relative time scale (usually 0..100).
|
||||
/// </summary>
|
||||
[JsonProperty(@"exit")]
|
||||
public int[] Retries { get; set; } = Array.Empty<int>();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user