2021-06-25 04:02:19 +00: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.
|
|
|
|
|
|
|
|
using osu.Framework.Bindables;
|
2022-02-15 12:05:05 +00:00
|
|
|
using osu.Game.Database;
|
2021-06-25 04:02:19 +00:00
|
|
|
using osu.Game.Online.Rooms;
|
|
|
|
using osu.Game.Screens.OnlinePlay;
|
|
|
|
|
|
|
|
namespace osu.Game.Tests.Visual.OnlinePlay
|
|
|
|
{
|
2021-06-25 09:02:53 +00:00
|
|
|
/// <summary>
|
2021-06-25 09:07:47 +00:00
|
|
|
/// Interface that defines the dependencies required for online play test scenes.
|
2021-06-25 09:02:53 +00:00
|
|
|
/// </summary>
|
2021-06-25 11:15:30 +00:00
|
|
|
public interface IOnlinePlayTestSceneDependencies
|
2021-06-25 04:02:19 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The cached <see cref="Room"/>.
|
|
|
|
/// </summary>
|
|
|
|
Bindable<Room> SelectedRoom { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The cached <see cref="IRoomManager"/>
|
|
|
|
/// </summary>
|
|
|
|
IRoomManager RoomManager { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The cached <see cref="OngoingOperationTracker"/>.
|
|
|
|
/// </summary>
|
|
|
|
OngoingOperationTracker OngoingOperationTracker { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The cached <see cref="OnlinePlayBeatmapAvailabilityTracker"/>.
|
|
|
|
/// </summary>
|
|
|
|
OnlinePlayBeatmapAvailabilityTracker AvailabilityTracker { get; }
|
2022-02-15 11:56:46 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The cached <see cref="UserLookupCache"/>.
|
|
|
|
/// </summary>
|
|
|
|
TestUserLookupCache UserLookupCache { get; }
|
2022-02-15 12:05:05 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The cached <see cref="BeatmapLookupCache"/>.
|
|
|
|
/// </summary>
|
|
|
|
BeatmapLookupCache BeatmapLookupCache { get; }
|
2021-06-25 04:02:19 +00:00
|
|
|
}
|
|
|
|
}
|