Add required properties to make realm models backwards compatible

This commit is contained in:
Dean Herbert
2021-11-19 19:24:07 +09:00
parent 618903c217
commit c3df58e01c
5 changed files with 103 additions and 11 deletions

View File

@ -44,5 +44,15 @@ namespace osu.Game.Beatmaps
public string BackgroundFile { get; set; } = string.Empty;
IUser IBeatmapMetadataInfo.Author => Author;
#region Compatibility properties
public string AuthorString
{
get => Author.Username;
set => Author.Username = value;
}
#endregion
}
}