mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 20:07:25 +08:00
Add some missing IgnoredAttributes
to reduce automapper overhead
This commit is contained in:
parent
66ed4270c0
commit
3596c6ed5d
@ -64,6 +64,7 @@ namespace osu.Game.Beatmaps
|
|||||||
[Ignored]
|
[Ignored]
|
||||||
public RealmNamedFileUsage? File => BeatmapSet?.Files.FirstOrDefault(f => f.File.Hash == Hash);
|
public RealmNamedFileUsage? File => BeatmapSet?.Files.FirstOrDefault(f => f.File.Hash == Hash);
|
||||||
|
|
||||||
|
[Ignored]
|
||||||
public BeatmapOnlineStatus Status
|
public BeatmapOnlineStatus Status
|
||||||
{
|
{
|
||||||
get => (BeatmapOnlineStatus)StatusInt;
|
get => (BeatmapOnlineStatus)StatusInt;
|
||||||
|
@ -47,6 +47,7 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
#region Compatibility properties
|
#region Compatibility properties
|
||||||
|
|
||||||
|
[Ignored]
|
||||||
public string AuthorString
|
public string AuthorString
|
||||||
{
|
{
|
||||||
get => Author.Username;
|
get => Author.Username;
|
||||||
|
@ -32,6 +32,7 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
public IList<RealmNamedFileUsage> Files { get; } = null!;
|
public IList<RealmNamedFileUsage> Files { get; } = null!;
|
||||||
|
|
||||||
|
[Ignored]
|
||||||
public BeatmapOnlineStatus Status
|
public BeatmapOnlineStatus Status
|
||||||
{
|
{
|
||||||
get => (BeatmapOnlineStatus)StatusInt;
|
get => (BeatmapOnlineStatus)StatusInt;
|
||||||
|
Loading…
Reference in New Issue
Block a user