mirror of
https://github.com/ppy/osu
synced 2024-12-29 02:12:43 +00:00
Add callbacks for join/leave events to notify other room occupants
This commit is contained in:
parent
ca86524c92
commit
ff52a5ddc6
@ -15,5 +15,17 @@ namespace osu.Game.Online.RealtimeMultiplayer
|
||||
/// </summary>
|
||||
/// <param name="state">The state of the room.</param>
|
||||
Task RoomStateChanged(MultiplayerRoomState state);
|
||||
|
||||
/// <summary>
|
||||
/// Signals that a user has joined the room.
|
||||
/// </summary>
|
||||
/// <param name="user">The user.</param>
|
||||
Task UserJoined(MultiplayerRoomUser user);
|
||||
|
||||
/// <summary>
|
||||
/// Signals that a user has left the room.
|
||||
/// </summary>
|
||||
/// <param name="user">The user.</param>
|
||||
Task UserLeft(MultiplayerRoomUser user);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user