summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-06-29 01:01:57 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-06-29 01:01:57 -0400
commita0888e0ad1bf0ed38982d2aadf78c31d046b061b (patch)
tree030252503aef17214766dda8a7dbbb60fc4fe4a8 /src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
parentc9fedebaf3231a2d5a00a95ff1ffd3ac5dac4ae2 (diff)
downloadSMAPI-a0888e0ad1bf0ed38982d2aadf78c31d046b061b.tar.gz
SMAPI-a0888e0ad1bf0ed38982d2aadf78c31d046b061b.tar.bz2
SMAPI-a0888e0ad1bf0ed38982d2aadf78c31d046b061b.zip
add optional extended metadata to mods API (#532)
Diffstat (limited to 'src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs')
-rw-r--r--src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs b/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
index adfdfef9..b311bd3b 100644
--- a/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
+++ b/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
@@ -11,9 +11,6 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi
/// <summary>The mod's unique ID (if known).</summary>
public string ID { get; set; }
- /// <summary>The mod name.</summary>
- public string Name { get; set; }
-
/// <summary>The main version.</summary>
public ModEntryVersionModel Main { get; set; }
@@ -23,6 +20,9 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi
/// <summary>The latest unofficial version, if newer than <see cref="Main"/> and <see cref="Optional"/>.</summary>
public ModEntryVersionModel Unofficial { get; set; }
+ /// <summary>Optional extended data which isn't needed for update checks.</summary>
+ public ModExtendedMetadataModel Metadata { get; set; }
+
/// <summary>The errors that occurred while fetching update data.</summary>
public string[] Errors { get; set; } = new string[0];