mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:33:21 +08:00
Stop BeatmapInfo
from implementing IBeatmapOnlineInfo
and remove all usages
This commit is contained in:
parent
9c926e5514
commit
4b1b92cde6
@ -17,7 +17,7 @@ namespace osu.Game.Beatmaps
|
|||||||
{
|
{
|
||||||
[ExcludeFromDynamicCompile]
|
[ExcludeFromDynamicCompile]
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class BeatmapInfo : IEquatable<BeatmapInfo>, IHasPrimaryKey, IBeatmapInfo, IBeatmapOnlineInfo
|
public class BeatmapInfo : IEquatable<BeatmapInfo>, IHasPrimaryKey, IBeatmapInfo
|
||||||
{
|
{
|
||||||
public int ID { get; set; }
|
public int ID { get; set; }
|
||||||
|
|
||||||
@ -201,24 +201,5 @@ namespace osu.Game.Beatmaps
|
|||||||
double IBeatmapInfo.StarRating => StarDifficulty;
|
double IBeatmapInfo.StarRating => StarDifficulty;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Implementation of IBeatmapOnlineInfo
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public int CircleCount => OnlineInfo.CircleCount;
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public int SliderCount => OnlineInfo.SliderCount;
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public int PlayCount => OnlineInfo.PlayCount;
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public int PassCount => OnlineInfo.PassCount;
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public APIFailTimes FailTimes => OnlineInfo.FailTimes;
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user