mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Initial pass to make work with real API
This commit is contained in:
@ -21,9 +21,6 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
[JsonProperty("users")]
|
||||
public long Users { get; set; }
|
||||
|
||||
[JsonProperty("is_featured")]
|
||||
public bool IsFeatured { get; set; }
|
||||
|
||||
[JsonProperty("created_at")]
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
@ -114,7 +111,13 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("is_featured")]
|
||||
public bool IsFeatured { get; set; }
|
||||
|
||||
[JsonProperty("display_name")]
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
[JsonProperty("latest_build")]
|
||||
public APIChangelogBuild LatestBuild { get; set; }
|
||||
}
|
||||
}
|
||||
|
14
osu.Game/Online/API/Requests/Responses/APIChangelogIndex.cs
Normal file
14
osu.Game/Online/API/Requests/Responses/APIChangelogIndex.cs
Normal file
@ -0,0 +1,14 @@
|
||||
// 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;
|
||||
|
||||
namespace osu.Game.Online.API.Requests.Responses
|
||||
{
|
||||
public class APIChangelogIndex
|
||||
{
|
||||
public List<APIChangelogBuild> Builds;
|
||||
|
||||
public List<UpdateStream> Streams;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user