// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Game.Beatmaps; namespace osu.Game.Rulesets.Edit { /// /// Represents the context provided by the beatmap verifier to the checks it runs. /// Contains information about what is being checked and how it should be checked. /// public class BeatmapVerifierContext { /// /// The working beatmap instance of the current beatmap. /// public readonly IWorkingBeatmap WorkingBeatmap; /// /// The difficulty level which the current beatmap is considered to be. /// public readonly Bindable InterpretedDifficulty; public BeatmapVerifierContext(IWorkingBeatmap workingBeatmap, DifficultyRating difficultyRating = DifficultyRating.ExpertPlus) { WorkingBeatmap = workingBeatmap; InterpretedDifficulty = new Bindable(difficultyRating); } } }