From c8e3c7e77bb9b00356cd6b020ac212941d1b5fa5 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 9 Dec 2020 17:45:07 +0900 Subject: [PATCH] Add stateful client interface --- .../IStatefulMultiplayerClient.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 osu.Game/Online/RealtimeMultiplayer/IStatefulMultiplayerClient.cs diff --git a/osu.Game/Online/RealtimeMultiplayer/IStatefulMultiplayerClient.cs b/osu.Game/Online/RealtimeMultiplayer/IStatefulMultiplayerClient.cs new file mode 100644 index 0000000000..578092662a --- /dev/null +++ b/osu.Game/Online/RealtimeMultiplayer/IStatefulMultiplayerClient.cs @@ -0,0 +1,17 @@ +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// See the LICENCE file in the repository root for full licence text. + +#nullable enable + +namespace osu.Game.Online.RealtimeMultiplayer +{ + /// + /// A multiplayer client which maintains local room and user state. Also provides a proxy to access the . + /// + public interface IStatefulMultiplayerClient : IMultiplayerClient, IMultiplayerServer + { + MultiplayerUserState State { get; } + + MultiplayerRoom? Room { get; } + } +}