Expose read-only list from request

This commit is contained in:
Dan Balasescu 2022-02-16 11:30:03 +09:00
parent f5b34e0313
commit 5db63a8751

View File

@ -2,12 +2,13 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using System.Collections.Generic;
namespace osu.Game.Online.API.Requests namespace osu.Game.Online.API.Requests
{ {
public class GetBeatmapsRequest : APIRequest<GetBeatmapsResponse> public class GetBeatmapsRequest : APIRequest<GetBeatmapsResponse>
{ {
public readonly int[] BeatmapIds; public readonly IReadOnlyList<int> BeatmapIds;
private const int max_ids_per_request = 50; private const int max_ids_per_request = 50;