// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Localisation; using osu.Game.Rulesets.Scoring; namespace osu.Game.Scoring { /// /// Compiled result data for a specific in a score. /// public class HitResultDisplayStatistic { /// /// The associated result type. /// public HitResult Result { get; } /// /// The count of successful hits of this type. /// public int Count { get; } /// /// The maximum achievable hits of this type. May be null if undetermined. /// public int? MaxCount { get; } /// /// A custom display name for the result type. May be provided by rulesets to give better clarity. /// public LocalisableString DisplayName { get; } public HitResultDisplayStatistic(HitResult result, int count, int? maxCount, LocalisableString displayName) { Result = result; Count = count; MaxCount = maxCount; DisplayName = displayName; } } }