Add joining/parting room requests

This commit is contained in:
smoogipoo
2018-12-20 20:58:34 +09:00
parent 9031896484
commit 822225577b
6 changed files with 99 additions and 24 deletions

View File

@ -27,6 +27,7 @@ namespace osu.Game.Screens.Multi
public override bool AllowBeatmapRulesetChange => currentScreen?.AllowBeatmapRulesetChange ?? base.AllowBeatmapRulesetChange;
private readonly OsuButton createButton;
private readonly LoungeScreen loungeScreen;
private OsuScreen currentScreen;
@ -37,7 +38,6 @@ namespace osu.Game.Screens.Multi
RelativeSizeAxes = Axes.Both,
};
LoungeScreen loungeScreen;
waves.AddRange(new Drawable[]
{
new Container
@ -102,6 +102,9 @@ namespace osu.Game.Screens.Multi
if (track != null)
track.Looping = false;
loungeScreen.MakeCurrent();
loungeScreen.Exit();
return base.OnExiting(next);
}