2020-07-22 17:47:40 +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.Collections.Generic;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
using osu.Game.Online.API.Requests;
|
|
|
|
|
|
|
|
namespace osu.Game.Online.Multiplayer
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// An object which contains scores and related data for fetching next pages.
|
|
|
|
/// </summary>
|
2020-07-22 17:51:54 +08:00
|
|
|
public class MultiplayerScores : ResponseWithCursor
|
2020-07-22 17:47:40 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The scores.
|
|
|
|
/// </summary>
|
|
|
|
[JsonProperty("scores")]
|
2020-07-31 19:55:44 +08:00
|
|
|
public List<MultiplayerScore> Scores { get; set; } = new List<MultiplayerScore>();
|
2020-07-22 17:47:40 +08:00
|
|
|
|
2020-07-28 20:40:11 +08:00
|
|
|
/// <summary>
|
|
|
|
/// The parameters to be used to fetch the next page.
|
|
|
|
/// </summary>
|
|
|
|
[JsonProperty("params")]
|
2020-07-31 19:55:44 +08:00
|
|
|
public IndexScoresParams Params { get; set; } = new IndexScoresParams();
|
2020-07-22 17:47:40 +08:00
|
|
|
}
|
|
|
|
}
|