mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Don't serialize TotalBreakTime
This commit is contained in:
@ -34,15 +34,16 @@ namespace osu.Game.Beatmaps
|
||||
[JsonIgnore]
|
||||
public BeatmapMetadata Metadata => BeatmapInfo?.Metadata ?? BeatmapInfo?.BeatmapSet?.Metadata;
|
||||
|
||||
[JsonConverter(typeof(TypedListConverter<HitObject>))]
|
||||
/// <summary>
|
||||
/// The HitObjects this Beatmap contains.
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(TypedListConverter<HitObject>))]
|
||||
public List<T> HitObjects = new List<T>();
|
||||
|
||||
/// <summary>
|
||||
/// Total amount of break time in the beatmap.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public double TotalBreakTime => Breaks.Sum(b => b.Duration);
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user