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