Added adult field to Nexus Mod

This commit is contained in:
erri120 2019-10-07 17:45:32 +02:00
parent 06e5817af0
commit 3c574db51e
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135
2 changed files with 2 additions and 0 deletions

View File

@ -555,6 +555,7 @@ namespace Wabbajack
nm.SlideShowPic = info.picture_url; nm.SlideShowPic = info.picture_url;
nm.NexusURL = NexusApiUtils.GetModURL(info.game_name, info.mod_id); nm.NexusURL = NexusApiUtils.GetModURL(info.game_name, info.mod_id);
nm.Summary = info.summary; nm.Summary = info.summary;
nm.Adult = info.contains_adult_content;
result = nm; result = nm;
} }

View File

@ -222,6 +222,7 @@ namespace Wabbajack
public string ModName; public string ModName;
public string NexusURL; public string NexusURL;
public string Summary; public string Summary;
public bool Adult;
} }
[Serializable] [Serializable]