diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-03-17 21:55:38 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-03-17 21:55:38 -0400 |
commit | 013255d89e1a802e05f9fd61a16701ca73fa4411 (patch) | |
tree | 684714b18faba6d4413a106f885bcba18a2e5edb /src/SMAPI/Framework/IModMetadata.cs | |
parent | 10c7192bb9f06ff96b9b98a812d9f72a8d77ac76 (diff) | |
parent | 4a494c67bdfe2c07ef5c49c55541a0f6e29627cf (diff) | |
download | SMAPI-013255d89e1a802e05f9fd61a16701ca73fa4411.tar.gz SMAPI-013255d89e1a802e05f9fd61a16701ca73fa4411.tar.bz2 SMAPI-013255d89e1a802e05f9fd61a16701ca73fa4411.zip |
Merge branch 'develop' into stable
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); } } |