diff --git a/Booru.Net/Booru.Net.csproj b/Booru.Net/Booru.Net.csproj index 3bbeade..b633709 100644 --- a/Booru.Net/Booru.Net.csproj +++ b/Booru.Net/Booru.Net.csproj @@ -24,11 +24,11 @@ Yande.re booru imageboard api wrapper true - 2.0.1 + 2.0.2 LICENSE - 2.0.1.0 - 2.0.1.0 - Fix a few fields not being visible on E621Image#Score + 2.0.2.0 + 2.0.2.0 + Readded DanBooruImage#Score from Inheritence Rework diff --git a/Booru.Net/Models/Boards/DanBooruImage.cs b/Booru.Net/Models/Boards/DanBooruImage.cs index 51cc278..0569e4d 100644 --- a/Booru.Net/Models/Boards/DanBooruImage.cs +++ b/Booru.Net/Models/Boards/DanBooruImage.cs @@ -4,7 +4,10 @@ using System.Collections.Generic; namespace Booru.Net { public class DanbooruImage : BooruImage - { + { + [JsonProperty("score")] + public int? Score { get; set; } + [JsonProperty("tag_string")] private string TagString { get; set; }