// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Replays.Types; 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; } /// /// For rulesets which support legacy (osu-stable) replay conversion, this method will create an empty replay frame /// for conversion use. /// /// An empty frame for the current ruleset, or null if unsupported. IConvertibleReplayFrame CreateConvertibleReplayFrame(); } }