diff --git a/osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs b/osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs
index 4bd8411344..dc7ced7a9a 100644
--- a/osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs
+++ b/osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs
@@ -6,6 +6,9 @@ using System.Collections.Generic;
namespace osu.Game.Online.RealtimeMultiplayer
{
+ ///
+ /// A multiplayer room.
+ ///
[Serializable]
public class MultiplayerRoom
{
@@ -24,50 +27,13 @@ namespace osu.Game.Online.RealtimeMultiplayer
///
public MultiplayerRoomSettings Settings { get; set; }
- private List users = new List();
+ ///
+ /// All users currently in this room.
+ ///
+ public List Users { get; set; } = new List();
private object writeLock = new object();
- ///
- /// All users which are currently in this room, in any state.
- ///
- public IReadOnlyList Users
- {
- get
- {
- lock (writeLock)
- return users.ToArray();
- }
- }
-
- ///
- /// Join a new user to this room.
- ///
- public MultiplayerRoomUser Join(int userId)
- {
- var user = new MultiplayerRoomUser(userId);
- PerformUpdate(_ => users.Add(user));
- return user;
- }
-
- ///
- /// Remove a user from this room.
- ///
- public MultiplayerRoomUser Leave(int userId)
- {
- MultiplayerRoomUser user = null;
-
- PerformUpdate(_ =>
- {
- user = users.Find(u => u.UserID == userId);
-
- if (user != null)
- users.Remove(user);
- });
-
- return user;
- }
-
///
/// Perform an update on this room in a thread-safe manner.
///