mirror of
https://github.com/ppy/osu
synced 2024-12-13 02:17:32 +00:00
c13b93e6f1
This simplifies passing of contextual information by enabling addition without needing to refactor lots of classes. See next commit for example.
26 lines
809 B
C#
26 lines
809 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 osu.Framework.Bindables;
|
|
using osu.Game.Beatmaps;
|
|
|
|
namespace osu.Game.Rulesets.Edit
|
|
{
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public class BeatmapVerifierContext
|
|
{
|
|
/// <summary>
|
|
/// The working beatmap instance of the current beatmap.
|
|
/// </summary>
|
|
public readonly IWorkingBeatmap WorkingBeatmap;
|
|
|
|
public BeatmapVerifierContext(IWorkingBeatmap workingBeatmap)
|
|
{
|
|
WorkingBeatmap = workingBeatmap;
|
|
}
|
|
}
|
|
}
|