2023-06-23 00:37:25 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2021-06-25 12:02:19 +08:00
|
|
|
|
// 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>
|
2024-02-02 18:48:13 +08:00
|
|
|
|
Bindable<Room>? SelectedRoom { get; }
|
2021-06-25 12:02:19 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The cached <see cref="IRoomManager"/>
|
|
|
|
|
/// </summary>
|
2024-02-02 18:48:13 +08:00
|
|
|
|
IRoomManager? RoomManager { get; }
|
2021-06-25 12:02:19 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The cached <see cref="OngoingOperationTracker"/>.
|
|
|
|
|
/// </summary>
|
2024-02-02 18:48:13 +08:00
|
|
|
|
OngoingOperationTracker? OngoingOperationTracker { get; }
|
2021-06-25 12:02:19 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The cached <see cref="OnlinePlayBeatmapAvailabilityTracker"/>.
|
|
|
|
|
/// </summary>
|
2024-02-02 18:48:13 +08:00
|
|
|
|
OnlinePlayBeatmapAvailabilityTracker? AvailabilityTracker { get; }
|
2022-02-15 19:56:46 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The cached <see cref="UserLookupCache"/>.
|
|
|
|
|
/// </summary>
|
2024-02-02 18:48:13 +08:00
|
|
|
|
TestUserLookupCache? UserLookupCache { get; }
|
2022-02-15 20:05:05 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The cached <see cref="BeatmapLookupCache"/>.
|
|
|
|
|
/// </summary>
|
2024-02-02 18:48:13 +08:00
|
|
|
|
BeatmapLookupCache? BeatmapLookupCache { get; }
|
2021-06-25 12:02:19 +08:00
|
|
|
|
}
|
|
|
|
|
}
|