1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-24 08:52:55 +08:00
osu-lazer/osu.Game/Screens/Multi/MultiplayerComposite.cs

56 lines
1.8 KiB
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
2019-02-21 18:04:31 +08:00
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
using osu.Game.Users;
namespace osu.Game.Screens.Multi
{
public class MultiplayerComposite : CompositeDrawable
{
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<int?> RoomID { get; private set; }
2019-04-25 16:36:17 +08:00
[Resolved(typeof(Room), nameof(Room.Name))]
protected Bindable<string> RoomName { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<User> Host { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<RoomStatus> Status { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<GameType> Type { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected BindableList<PlaylistItem> Playlist { get; private set; }
2019-02-11 18:11:34 +08:00
[Resolved(typeof(Room))]
protected Bindable<PlaylistItem> CurrentItem { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<IEnumerable<User>> Participants { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<int> ParticipantCount { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<int?> MaxParticipants { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<DateTimeOffset> EndDate { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<RoomAvailability> Availability { get; private set; }
[Resolved(typeof(Room))]
2019-02-05 18:00:01 +08:00
protected Bindable<TimeSpan> Duration { get; private set; }
}
}