2019-12-24 04:48:27 +00:00
|
|
|
// 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.
|
|
|
|
|
2023-12-09 13:09:49 +00:00
|
|
|
using osu.Game.Beatmaps;
|
2023-09-04 08:43:23 +00:00
|
|
|
using osu.Game.Rulesets.Scoring.Legacy;
|
2023-06-29 08:24:37 +00:00
|
|
|
|
2019-12-24 04:48:27 +00:00
|
|
|
namespace osu.Game.Rulesets
|
|
|
|
{
|
|
|
|
public interface ILegacyRuleset
|
|
|
|
{
|
2020-12-03 17:38:45 +00:00
|
|
|
const int MAX_LEGACY_RULESET_ID = 3;
|
|
|
|
|
2019-12-24 04:48:27 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Identifies the server-side ID of a legacy ruleset.
|
|
|
|
/// </summary>
|
|
|
|
int LegacyID { get; }
|
2023-06-29 08:24:37 +00:00
|
|
|
|
2023-12-09 13:09:49 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Retrieves the number of mania keys required to play the beatmap.
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
int GetKeyCount(IBeatmapInfo beatmapInfo) => 0;
|
|
|
|
|
2023-07-04 08:32:54 +00:00
|
|
|
ILegacyScoreSimulator CreateLegacyScoreSimulator();
|
2019-12-24 04:48:27 +00:00
|
|
|
}
|
|
|
|
}
|