mirror of
https://github.com/ppy/osu
synced 2024-12-30 19:02:27 +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>
|
/// </summary>
|
||||||
/// <param name="state">The state of the room.</param>
|
/// <param name="state">The state of the room.</param>
|
||||||
Task RoomStateChanged(MultiplayerRoomState state);
|
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