1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:02:55 +08:00

add pinned property in comment

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-08-08 17:20:46 +07:00
parent 80d06a7e37
commit 0901333ef3
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -58,6 +58,9 @@ namespace osu.Game.Online.API.Requests.Responses
[JsonProperty(@"edited_by_id")]
public long? EditedById { get; set; }
[JsonProperty(@"pinned")]
public bool Pinned { get; set; }
public User EditedUser { get; set; }
public bool IsTopLevel => !ParentId.HasValue;