1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 23:00:52 +08:00

Add start date to Room

This commit is contained in:
Bartłomiej Dach
2024-05-31 11:49:56 +02:00
Unverified
parent 94b7148a9e
commit 6fb0cabf36
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -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; }