Add UpdatedAt to MultiplayerPlaylistItem

This commit is contained in:
Dan Balasescu 2021-12-03 14:38:14 +09:00
parent 10932dd282
commit 1d2d1bfcf3

View File

@ -42,12 +42,16 @@ namespace osu.Game.Online.Rooms
/// <summary> /// <summary>
/// The order in which this <see cref="MultiplayerPlaylistItem"/> will be played, starting from 0 and increasing for items which will be played later. /// The order in which this <see cref="MultiplayerPlaylistItem"/> will be played, starting from 0 and increasing for items which will be played later.
/// </summary> /// </summary>
/// <remarks>
/// Undefined value for items which are expired.
/// </remarks>
[Key(8)] [Key(8)]
public int GameplayOrder { get; set; } public int GameplayOrder { get; set; }
/// <summary>
/// The date when this <see cref="MultiplayerPlaylistItem"/> was last updated.
/// Not serialised to/from the client.
/// </summary>
[IgnoreMember]
public DateTimeOffset UpdatedAt { get; set; }
public MultiplayerPlaylistItem() public MultiplayerPlaylistItem()
{ {
} }