Clean up spectator streaming client with new hub connector

This commit is contained in:
Salman Ahmed
2021-02-09 02:15:51 +03:00
parent 28b815ffe1
commit f76f92515e
3 changed files with 48 additions and 124 deletions

View File

@ -4,7 +4,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
@ -96,6 +95,8 @@ namespace osu.Game.Tests.Visual.Multiplayer
public class TestMultiplayerStreaming : SpectatorStreamingClient
{
protected override IBindable<bool> IsConnected { get; } = new BindableBool(false);
public new BindableList<int> PlayingUsers => (BindableList<int>)base.PlayingUsers;
private readonly int totalUsers;
@ -163,8 +164,6 @@ namespace osu.Game.Tests.Visual.Multiplayer
((ISpectatorClient)this).UserSentFrames(userId, new FrameDataBundle(header, Array.Empty<LegacyReplayFrame>()));
}
}
protected override Task Connect() => Task.CompletedTask;
}
}
}