2022-07-04 08:18:33 +00:00
|
|
|
// 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 MessagePack;
|
|
|
|
|
|
|
|
namespace osu.Game.Online.Metadata
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Describes a set of beatmaps which have been updated in some way.
|
|
|
|
/// </summary>
|
|
|
|
[MessagePackObject]
|
|
|
|
[Serializable]
|
|
|
|
public class BeatmapUpdates
|
|
|
|
{
|
|
|
|
[Key(0)]
|
|
|
|
public int[] BeatmapSetIDs { get; set; }
|
|
|
|
|
|
|
|
[Key(1)]
|
2022-07-05 12:42:35 +00:00
|
|
|
public int LastProcessedQueueID { get; set; }
|
2022-07-04 08:18:33 +00:00
|
|
|
|
2022-07-05 12:42:35 +00:00
|
|
|
public BeatmapUpdates(int[] beatmapSetIDs, int lastProcessedQueueID)
|
2022-07-04 08:18:33 +00:00
|
|
|
{
|
|
|
|
BeatmapSetIDs = beatmapSetIDs;
|
|
|
|
LastProcessedQueueID = lastProcessedQueueID;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|