mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
BeatmapSetInfo
detach support
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using AutoMapper;
|
||||
using JetBrains.Annotations;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Framework.Testing;
|
||||
@ -143,6 +144,7 @@ namespace osu.Game.Beatmaps
|
||||
private int rulesetID;
|
||||
|
||||
[Ignored]
|
||||
[IgnoreMap]
|
||||
public int RulesetID
|
||||
{
|
||||
// ReSharper disable once ConstantConditionalAccessQualifier
|
||||
@ -182,6 +184,8 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public BeatmapInfo Clone() => this.Detach();
|
||||
|
||||
public override string ToString() => Metadata?.ToString() ?? base.ToString();
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user