Update GetVariantName to also support localisation

This commit is contained in:
Dean Herbert
2022-08-22 14:51:00 +09:00
parent 29ef1c8db8
commit d199b3b100
3 changed files with 2 additions and 4 deletions

View File

@ -289,7 +289,7 @@ namespace osu.Game.Rulesets
/// </summary>
/// <param name="variant">The variant.</param>
/// <returns>A descriptive name of the variant.</returns>
public virtual string GetVariantName(int variant) => string.Empty;
public virtual LocalisableString GetVariantName(int variant) => string.Empty;
/// <summary>
/// For rulesets which support legacy (osu-stable) replay conversion, this method will create an empty replay frame