summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/IModMetadata.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-10-27 22:08:00 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-10-27 22:08:00 -0400
commit88ea1eae13f3c5e3bfcedfb2ac9139c6dc829bac (patch)
tree5ce2a537117a883d661434a75c62efe6c07b75d1 /src/SMAPI/Framework/IModMetadata.cs
parent8231d05a33d8783093dd993cbe004239039fe8e8 (diff)
downloadSMAPI-88ea1eae13f3c5e3bfcedfb2ac9139c6dc829bac.tar.gz
SMAPI-88ea1eae13f3c5e3bfcedfb2ac9139c6dc829bac.tar.bz2
SMAPI-88ea1eae13f3c5e3bfcedfb2ac9139c6dc829bac.zip
add support for ignored mod folders
Diffstat (limited to 'src/SMAPI/Framework/IModMetadata.cs')
-rw-r--r--src/SMAPI/Framework/IModMetadata.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/IModMetadata.cs b/src/SMAPI/Framework/IModMetadata.cs
index a62c9950..bda9429f 100644
--- a/src/SMAPI/Framework/IModMetadata.cs
+++ b/src/SMAPI/Framework/IModMetadata.cs
@@ -33,6 +33,9 @@ namespace StardewModdingAPI.Framework
/// <summary>The reason the metadata is invalid, if any.</summary>
string Error { get; }
+ /// <summary>Whether the mod folder should be ignored. This is <c>true</c> if it was found within a folder whose name starts with a dot.</summary>
+ bool IsIgnored { get; }
+
/// <summary>The mod instance (if loaded and <see cref="IModInfo.IsContentPack"/> is false).</summary>
IMod Mod { get; }