2022-07-04 16:18:33 +08: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.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace osu.Game.Online.Metadata
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Metadata server is responsible for keeping the osu! client up-to-date with any changes.
|
|
|
|
/// </summary>
|
|
|
|
public interface IMetadataServer
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Get any changes since a specific point in the queue.
|
|
|
|
/// Should be used to allow the client to catch up with any changes after being closed or disconnected.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="queueId">The last processed queue ID.</param>
|
|
|
|
/// <returns></returns>
|
2022-07-05 20:42:35 +08:00
|
|
|
Task<BeatmapUpdates> GetChangesSince(int queueId);
|
2022-07-04 16:18:33 +08:00
|
|
|
}
|
|
|
|
}
|