Add host to DrawableRoomParticipantsList

This commit is contained in:
smoogipoo
2021-09-29 19:34:40 +09:00
parent 73ee82ee2b
commit d89577b2e7
2 changed files with 115 additions and 31 deletions

View File

@ -20,7 +20,18 @@ namespace osu.Game.Tests.Visual.Multiplayer
[SetUp]
public new void Setup() => Schedule(() =>
{
SelectedRoom.Value = new Room { Name = { Value = "test room" } };
SelectedRoom.Value = new Room
{
Name = { Value = "test room" },
Host =
{
Value = new User
{
Id = 2,
Username = "peppy",
}
}
};
Child = list = new DrawableRoomParticipantsList
{