1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 02:39:53 +08:00
Commit Graph

3 Commits

  • Add file hash to file presence test
    Necessary because we now find the storage path of the file rather than just the file itself.
  • Add the playable beatmap as check argument
    This is different from the working beatmap's `.Beatmap` property in that it is mutated by the ruleset/editor.
    
    So hit objects, for example, are actually of type `Slider` and such instead of the legacy `ConvertSlider`.
    
    This should be preferred over `workingBeatmap.Beatmap`.
  • Factor out general file presence checking
    This allows us to use the same method of checking for other files that should exist, for example the audio file.
    
    By using the same method, they all share test cases too.