mirror of
https://github.com/ppy/osu
synced 2025-01-08 23:29:43 +00:00
APICommentsController -> CommentBundle
This commit is contained in:
parent
75a2e383f2
commit
3c714dc013
@ -8,7 +8,7 @@ using osu.Game.Overlays.Comments;
|
||||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetCommentsRequest : APIRequest<APICommentsController>
|
||||
public class GetCommentsRequest : APIRequest<CommentBundle>
|
||||
{
|
||||
private readonly long id;
|
||||
private readonly int page;
|
||||
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace osu.Game.Online.API.Requests.Responses
|
||||
{
|
||||
public class APICommentsController
|
||||
public class CommentBundle
|
||||
{
|
||||
private List<Comment> comments;
|
||||
|
@ -139,7 +139,7 @@ namespace osu.Game.Overlays.Comments
|
||||
api.Queue(request);
|
||||
}
|
||||
|
||||
private void onSuccess(APICommentsController response, bool initial)
|
||||
private void onSuccess(CommentBundle response, bool initial)
|
||||
{
|
||||
loadCancellation = new CancellationTokenSource();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user