mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Add stateful client interface
This commit is contained in:
parent
bb97eae8b1
commit
c8e3c7e77b
@ -0,0 +1,17 @@
|
||||
// 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.
|
||||
|
||||
#nullable enable
|
||||
|
||||
namespace osu.Game.Online.RealtimeMultiplayer
|
||||
{
|
||||
/// <summary>
|
||||
/// A multiplayer client which maintains local room and user state. Also provides a proxy to access the <see cref="IMultiplayerServer"/>.
|
||||
/// </summary>
|
||||
public interface IStatefulMultiplayerClient : IMultiplayerClient, IMultiplayerServer
|
||||
{
|
||||
MultiplayerUserState State { get; }
|
||||
|
||||
MultiplayerRoom? Room { get; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user