mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 05:27:17 +09:00
Add ToString implementation to MultiplayerRoom for easier debug
This commit is contained in:
parent
c92c2cbfc0
commit
e09715d71e
@ -50,5 +50,7 @@ namespace osu.Game.Online.RealtimeMultiplayer
|
|||||||
/// Request a lock on this room to perform a thread-safe update.
|
/// Request a lock on this room to perform a thread-safe update.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public LockUntilDisposal LockForUpdate() => new LockUntilDisposal(writeLock);
|
public LockUntilDisposal LockForUpdate() => new LockUntilDisposal(writeLock);
|
||||||
|
|
||||||
|
public override string ToString() => $"RoomID:{RoomID} Host:{Host?.UserID} Users:{Users.Count} State:{State} Settings: [{Settings}]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user