osu/osu.Game/Rulesets/ILegacyRuleset.cs

20 lines
509 B
C#
Raw Normal View History

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.
using osu.Game.Rulesets.Scoring;
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; }
ILegacyScoreSimulator CreateLegacyScoreSimulator();
2019-12-24 04:48:27 +00:00
}
}