Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game/Rulesets/Scoring/Legacy/LegacyScoreAttributes.cs
4543 views
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

namespace osu.Game.Rulesets.Scoring.Legacy
{
    public struct LegacyScoreAttributes
    {
        /// <summary>
        /// The accuracy portion of the legacy (ScoreV1) total score.
        /// </summary>
        public int AccuracyScore;

        /// <summary>
        /// The combo-multiplied portion of the legacy (ScoreV1) total score.
        /// </summary>
        public long ComboScore;

        /// <summary>
        /// A ratio of standardised score to legacy score for the bonus part of total score.
        /// </summary>
        public double BonusScoreRatio;

        /// <summary>
        /// The bonus portion of the legacy (ScoreV1) total score.
        /// </summary>
        public int BonusScore;

        /// <summary>
        /// The max combo of the legacy (ScoreV1) total score.
        /// </summary>
        public int MaxCombo;
    }
}