osu/osu.Game/Rulesets/Mods/IApplicableToScoreProcessor.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
884 B
C#
Raw Normal View History

// 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 09:19:50 +00:00
using osu.Game.Rulesets.Scoring;
using osu.Game.Scoring;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for mods that make general adjustments to score processor.
/// </summary>
public interface IApplicableToScoreProcessor : IApplicableMod
{
2019-05-02 05:03:58 +00:00
/// <summary>
/// Provides a loaded <see cref="ScoreProcessor"/> to a mod. Called once on initialisation of a play instance.
2019-05-02 05:03:58 +00:00
/// </summary>
void ApplyToScoreProcessor(ScoreProcessor scoreProcessor);
2019-04-30 15:12:27 +00:00
/// <summary>
2019-05-02 05:03:58 +00:00
/// Called every time a rank calculation is requested. Allows mods to adjust the final rank.
2019-04-30 15:12:27 +00:00
/// </summary>
ScoreRank AdjustRank(ScoreRank rank, double accuracy);
}
}