// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Game.Database; namespace osu.Game.Rulesets { /// /// A representation of a ruleset's metadata. /// public interface IRulesetInfo : IHasOnlineID, IEquatable, IComparable { /// /// The user-exposed name of this ruleset. /// string Name { get; } /// /// An acronym defined by the ruleset that can be used as a permanent identifier. /// string ShortName { get; } /// /// A string representation of this ruleset, to be used with reflection to instantiate the ruleset represented by this metadata. /// string InstantiationInfo { get; } Ruleset CreateInstance(); } }