summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/IModMetadata.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-03-16 22:17:58 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-03-16 22:17:58 -0400
commit0d762faf603aac417a382ec680aaabdf7248493b (patch)
treeda05052ddeb77244746941b87b4f80afaefc4fb8 /src/SMAPI/Framework/IModMetadata.cs
parentebc6911301018f4c09a5325c06b96b08610570dd (diff)
downloadSMAPI-0d762faf603aac417a382ec680aaabdf7248493b.tar.gz
SMAPI-0d762faf603aac417a382ec680aaabdf7248493b.tar.bz2
SMAPI-0d762faf603aac417a382ec680aaabdf7248493b.zip
add support for suppressing warnings in mod DB
Diffstat (limited to 'src/SMAPI/Framework/IModMetadata.cs')
-rw-r--r--src/SMAPI/Framework/IModMetadata.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/IModMetadata.cs b/src/SMAPI/Framework/IModMetadata.cs
index 7ada7dea..38514959 100644
--- a/src/SMAPI/Framework/IModMetadata.cs
+++ b/src/SMAPI/Framework/IModMetadata.cs
@@ -98,5 +98,9 @@ namespace StardewModdingAPI.Framework
/// <summary>Whether the mod has at least one valid update key set.</summary>
bool HasValidUpdateKeys();
+
+ /// <summary>Get whether the mod has a given warning and it hasn't been suppressed in the <see cref="DataRecord"/>.</summary>
+ /// <param name="warning">The warning to check.</param>
+ bool HasUnsuppressWarning(ModWarning warning);
}
}