summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Caching
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-07-14 17:49:33 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:51:57 -0400
commit48f211f5447ec7580b9f9bba63eab0ec6b1ec5c7 (patch)
treed1f04939e6c094fd6cb0bec1bfa92bdcde0814c0 /src/SMAPI.Web/Framework/Caching
parent1053232c2039a2815baf2cfa99fe8c554d1350a9 (diff)
downloadSMAPI-48f211f5447ec7580b9f9bba63eab0ec6b1ec5c7.tar.gz
SMAPI-48f211f5447ec7580b9f9bba63eab0ec6b1ec5c7.tar.bz2
SMAPI-48f211f5447ec7580b9f9bba63eab0ec6b1ec5c7.zip
add metadata links to mod compatibility list
Diffstat (limited to 'src/SMAPI.Web/Framework/Caching')
-rw-r--r--src/SMAPI.Web/Framework/Caching/Wiki/CachedWikiMod.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/Caching/Wiki/CachedWikiMod.cs b/src/SMAPI.Web/Framework/Caching/Wiki/CachedWikiMod.cs
index f4331f8d..850272eb 100644
--- a/src/SMAPI.Web/Framework/Caching/Wiki/CachedWikiMod.cs
+++ b/src/SMAPI.Web/Framework/Caching/Wiki/CachedWikiMod.cs
@@ -58,6 +58,9 @@ namespace StardewModdingAPI.Web.Framework.Caching.Wiki
/// <summary>The human-readable warnings for players about this mod.</summary>
public string[] Warnings { get; set; }
+ /// <summary>Extra metadata links (usually for open pull requests).</summary>
+ public Tuple<Uri, string>[] MetadataLinks { get; set; }
+
/// <summary>The link anchor for the mod entry in the wiki compatibility list.</summary>
public string Anchor { get; set; }
@@ -122,6 +125,7 @@ namespace StardewModdingAPI.Web.Framework.Caching.Wiki
this.CustomSourceUrl = mod.CustomSourceUrl;
this.CustomUrl = mod.CustomUrl;
this.ContentPackFor = mod.ContentPackFor;
+ this.MetadataLinks = mod.MetadataLinks;
this.Warnings = mod.Warnings;
this.Anchor = mod.Anchor;
@@ -156,6 +160,7 @@ namespace StardewModdingAPI.Web.Framework.Caching.Wiki
CustomUrl = this.CustomUrl,
ContentPackFor = this.ContentPackFor,
Warnings = this.Warnings,
+ MetadataLinks = this.MetadataLinks,
Anchor = this.Anchor,
// stable compatibility