// 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 osu.Game.Beatmaps; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Scoring.Legacy; namespace osu.Game.Rulesets { public interface ILegacyRuleset { const int MAX_LEGACY_RULESET_ID = 3; /// /// Identifies the server-side ID of a legacy ruleset. /// int LegacyID { get; } /// /// Retrieves the number of mania keys required to play the beatmap. /// int GetKeyCount(IBeatmapInfo beatmapInfo, IReadOnlyList? mods = null) => 0; ILegacyScoreSimulator CreateLegacyScoreSimulator(); } }