mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add basic ordering
This commit is contained in:
@ -98,5 +98,14 @@ namespace osu.Game.Collections
|
||||
public string Name;
|
||||
|
||||
public readonly BindableList<BeatmapInfo> Beatmaps = new BindableList<BeatmapInfo>();
|
||||
|
||||
public DateTimeOffset LastModifyTime { get; private set; }
|
||||
|
||||
public BeatmapCollection()
|
||||
{
|
||||
LastModifyTime = DateTimeOffset.UtcNow;
|
||||
|
||||
Beatmaps.CollectionChanged += (_, __) => LastModifyTime = DateTimeOffset.Now;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user