1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 02:37:25 +08:00
osu-lazer/osu.Game/Screens/Spectate/SpectatorGameplayState.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.0 KiB
C#
Raw Normal View History

2021-04-01 21:02:32 +08:00
// 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.
2022-06-17 15:37:17 +08:00
#nullable disable
2021-04-01 21:02:32 +08:00
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Scoring;
namespace osu.Game.Screens.Spectate
{
/// <summary>
/// An immutable spectator gameplay state.
2021-04-01 21:02:32 +08:00
/// </summary>
public class SpectatorGameplayState
2021-04-01 21:02:32 +08:00
{
/// <summary>
/// The score which the user is playing.
/// </summary>
public readonly Score Score;
/// <summary>
/// The ruleset which the user is playing.
/// </summary>
public readonly Ruleset Ruleset;
/// <summary>
/// The beatmap which the user is playing.
/// </summary>
public readonly WorkingBeatmap Beatmap;
public SpectatorGameplayState(Score score, Ruleset ruleset, WorkingBeatmap beatmap)
2021-04-01 21:02:32 +08:00
{
Score = score;
Ruleset = ruleset;
Beatmap = beatmap;
}
}
}