1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 20:37:26 +08:00
osu-lazer/osu.Game/Rulesets/ILegacyRuleset.cs

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

27 lines
752 B
C#
Raw Normal View History

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