// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using Newtonsoft.Json; using osu.Game.Rulesets.Difficulty; namespace osu.Game.Rulesets.Catch.Difficulty { public struct CatchPerformanceAttributes : IPerformanceAttributes { /// /// Calculated score performance points. /// [JsonProperty("pp")] public double Total { get; set; } public IEnumerable GetAttributesForDisplay() { yield return new PerformanceDisplayAttribute(nameof(Total), "Achieved PP", Total); } } }