mirror of https://github.com/ppy/osu
Add the ability for `HitObject`s to specify auxiliary samples
This commit is contained in:
parent
8f9b72c2ee
commit
8676a2587c
|
@ -3,6 +3,7 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Threading;
|
||||
using JetBrains.Annotations;
|
||||
using Newtonsoft.Json;
|
||||
|
@ -67,6 +68,12 @@ public IList<HitSampleInfo> Samples
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Any samples which may be used by this hit object that are non-standard.
|
||||
/// This is used only to preload these samples ahead of time.
|
||||
/// </summary>
|
||||
public virtual IList<HitSampleInfo> AuxiliarySamples => ImmutableList<HitSampleInfo>.Empty;
|
||||
|
||||
public SampleControlPoint SampleControlPoint = SampleControlPoint.DEFAULT;
|
||||
public DifficultyControlPoint DifficultyControlPoint = DifficultyControlPoint.DEFAULT;
|
||||
|
||||
|
|
Loading…
Reference in New Issue