// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. 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 playable beatmap instance of the current beatmap. /// public readonly IBeatmap Beatmap; /// /// The working beatmap instance of the current beatmap. /// public readonly IWorkingBeatmap WorkingBeatmap; /// /// The difficulty level which the current beatmap is considered to be. /// public DifficultyRating InterpretedDifficulty; public BeatmapVerifierContext(IBeatmap beatmap, IWorkingBeatmap workingBeatmap, DifficultyRating difficultyRating = DifficultyRating.ExpertPlus) { Beatmap = beatmap; WorkingBeatmap = workingBeatmap; InterpretedDifficulty = difficultyRating; } } }