diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-03-16 22:17:58 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-03-16 22:17:58 -0400 |
commit | 0d762faf603aac417a382ec680aaabdf7248493b (patch) | |
tree | da05052ddeb77244746941b87b4f80afaefc4fb8 /src/SMAPI/Framework/IModMetadata.cs | |
parent | ebc6911301018f4c09a5325c06b96b08610570dd (diff) | |
download | SMAPI-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.cs | 4 |
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); } } |