mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:23:22 +08:00
Add start date to Room
This commit is contained in:
parent
94b7148a9e
commit
6fb0cabf36
@ -146,6 +146,11 @@ namespace osu.Game.Online.Rooms
|
||||
|
||||
#endregion
|
||||
|
||||
// Only supports retrieval for now
|
||||
[Cached]
|
||||
[JsonProperty("starts_at")]
|
||||
public readonly Bindable<DateTimeOffset?> StartDate = new Bindable<DateTimeOffset?>();
|
||||
|
||||
// Only supports retrieval for now
|
||||
[Cached]
|
||||
[JsonProperty("ends_at")]
|
||||
|
@ -68,6 +68,9 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
[Resolved(typeof(Room))]
|
||||
public Bindable<PlaylistAggregateScore> UserScore { get; private set; }
|
||||
|
||||
[Resolved(typeof(Room))]
|
||||
protected Bindable<DateTimeOffset?> StartDate { get; private set; }
|
||||
|
||||
[Resolved(typeof(Room))]
|
||||
protected Bindable<DateTimeOffset?> EndDate { get; private set; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user