1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:43:20 +08:00

Revert clients to be Components

This commit is contained in:
Salman Ahmed 2021-02-09 07:46:00 +03:00
parent f76f92515e
commit 71e564d399
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ using System.Threading.Tasks;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Extensions.ObjectExtensions; using osu.Framework.Extensions.ObjectExtensions;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics;
using osu.Framework.Logging; using osu.Framework.Logging;
using osu.Game.Beatmaps; using osu.Game.Beatmaps;
using osu.Game.Database; using osu.Game.Database;
@ -28,7 +28,7 @@ using osu.Game.Utils;
namespace osu.Game.Online.Multiplayer namespace osu.Game.Online.Multiplayer
{ {
public abstract class StatefulMultiplayerClient : CompositeDrawable, IMultiplayerClient, IMultiplayerRoomServer public abstract class StatefulMultiplayerClient : Component, IMultiplayerClient, IMultiplayerRoomServer
{ {
/// <summary> /// <summary>
/// Invoked when any change occurs to the multiplayer room. /// Invoked when any change occurs to the multiplayer room.

View File

@ -10,7 +10,7 @@ using JetBrains.Annotations;
using Microsoft.AspNetCore.SignalR.Client; using Microsoft.AspNetCore.SignalR.Client;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics;
using osu.Game.Beatmaps; using osu.Game.Beatmaps;
using osu.Game.Online.API; using osu.Game.Online.API;
using osu.Game.Replays.Legacy; using osu.Game.Replays.Legacy;
@ -23,7 +23,7 @@ using osu.Game.Screens.Play;
namespace osu.Game.Online.Spectator namespace osu.Game.Online.Spectator
{ {
public class SpectatorStreamingClient : CompositeDrawable, ISpectatorClient public class SpectatorStreamingClient : Component, ISpectatorClient
{ {
/// <summary> /// <summary>
/// The maximum milliseconds between frame bundle sends. /// The maximum milliseconds between frame bundle sends.