1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Add some missing IgnoredAttributes to reduce automapper overhead

This commit is contained in:
Dean Herbert 2022-01-18 23:25:30 +09:00
parent 66ed4270c0
commit 3596c6ed5d
3 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ namespace osu.Game.Beatmaps
[Ignored]
public RealmNamedFileUsage? File => BeatmapSet?.Files.FirstOrDefault(f => f.File.Hash == Hash);
[Ignored]
public BeatmapOnlineStatus Status
{
get => (BeatmapOnlineStatus)StatusInt;

View File

@ -47,6 +47,7 @@ namespace osu.Game.Beatmaps
#region Compatibility properties
[Ignored]
public string AuthorString
{
get => Author.Username;

View File

@ -32,6 +32,7 @@ namespace osu.Game.Beatmaps
public IList<RealmNamedFileUsage> Files { get; } = null!;
[Ignored]
public BeatmapOnlineStatus Status
{
get => (BeatmapOnlineStatus)StatusInt;