mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09: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…
x
Reference in New Issue
Block a user