Add error message when creation fails

This commit is contained in:
smoogipoo
2018-12-26 18:38:58 +09:00
parent 9901b11600
commit 940d4a16bb
7 changed files with 109 additions and 16 deletions

View File

@ -24,7 +24,8 @@ namespace osu.Game.Screens.Multi
/// Creates a new <see cref="Room"/>.
/// </summary>
/// <param name="room">The <see cref="Room"/> to create.</param>
void CreateRoom(Room room);
/// <param name="onError">An action to be invoked if an error occurred.</param>
void CreateRoom(Room room, Action<string> onError = null);
/// <summary>
/// Joins a <see cref="Room"/>.