mirror of
https://github.com/ppy/osu.git
synced 2026-05-21 10:50:20 +08:00
Add callbacks for join/leave events to notify other room occupants
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user