1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 01:04:16 +08:00

Add xmldoc explaining how PreviewTime is intended to work

This commit is contained in:
Dean Herbert
2021-02-18 13:03:29 +09:00
Unverified
parent e30fb72ee2
commit e7308193e7
+5
View File
@@ -51,7 +51,12 @@ namespace osu.Game.Beatmaps
[JsonProperty(@"tags")]
public string Tags { get; set; }
/// <summary>
/// The time in milliseconds to begin playing the track for preview purposes.
/// If -1, the track should begin playing at 40% of its length.
/// </summary>
public int PreviewTime { get; set; }
public string AudioFile { get; set; }
public string BackgroundFile { get; set; }