Add callbacks for join/leave events to notify other room occupants

This commit is contained in:
Dean Herbert 2020-12-08 01:35:42 +09:00
parent ca86524c92
commit ff52a5ddc6

View File

@ -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);
}
}