// Copyright (c) ppy Pty Ltd . 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; namespace osu.Game.Rulesets.Edit.Checks.Components { /// /// A specific check that can be run on a beatmap to verify or find issues. /// public interface ICheck { /// /// The metadata for this check. /// public CheckMetadata Metadata { get; } /// /// All possible templates for issues that this check may return. /// public IEnumerable PossibleTemplates { get; } /// /// Runs this check and returns any issues detected for the provided beatmap. /// /// The playable beatmap of the beatmap to run the check on. /// The working beatmap of the beatmap to run the check on. public IEnumerable Run(IBeatmap playableBeatmap, IWorkingBeatmap workingBeatmap); } }