mirror of
https://github.com/ppy/osu
synced 2024-12-16 11:56:31 +00:00
8656176ab8
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`.
18 lines
615 B
C#
18 lines
615 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using System.Collections.Generic;
|
|
using osu.Game.Beatmaps;
|
|
using osu.Game.Rulesets.Edit.Checks.Components;
|
|
|
|
namespace osu.Game.Rulesets.Edit
|
|
{
|
|
/// <summary>
|
|
/// A class which can run against a beatmap and surface issues to the user which could go against known criteria or hinder gameplay.
|
|
/// </summary>
|
|
public interface IBeatmapVerifier
|
|
{
|
|
public IEnumerable<Issue> Run(IBeatmap playableBeatmap, WorkingBeatmap workingBeatmap);
|
|
}
|
|
}
|