Don't serialize TotalBreakTime

This commit is contained in:
smoogipoo 2017-12-07 14:40:28 +09:00
parent 245b5f759f
commit f5f7658e90
1 changed files with 2 additions and 1 deletions

View File

@ -34,15 +34,16 @@ public class Beatmap<T> : IJsonSerializable
[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>