summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-05 21:45:53 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-05 21:45:53 -0400
commit499cd8ab317080096c373c6ed6649bd51fb01c7d (patch)
tree0ecd704f094c131e00e5e72a7c5ff0315a3875f9 /src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs
parentf4192663d78c7a45418f07f0bf4acb67b11291fe (diff)
downloadSMAPI-499cd8ab317080096c373c6ed6649bd51fb01c7d.tar.gz
SMAPI-499cd8ab317080096c373c6ed6649bd51fb01c7d.tar.bz2
SMAPI-499cd8ab317080096c373c6ed6649bd51fb01c7d.zip
combine Harmony 1.x rewrite logs (#711)
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs')
-rw-r--r--src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs b/src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs
index 29e44bfe..9faca235 100644
--- a/src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs
+++ b/src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs
@@ -19,11 +19,18 @@ namespace StardewModdingAPI.Framework.ModLoading.Rewriters
/*********
+ ** Accessors
+ *********/
+ /// <summary>A brief noun phrase indicating what the rewriter matches.</summary>
+ public const string DefaultNounPhrase = "Harmony 1.x";
+
+
+ /*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
public Harmony1AssemblyRewriter()
- : base(new TypeAssemblyFinder(Harmony1AssemblyRewriter.FromAssemblyName, InstructionHandleResult.None), "Harmony 1.x types")
+ : base(new TypeAssemblyFinder(Harmony1AssemblyRewriter.FromAssemblyName, InstructionHandleResult.None), Harmony1AssemblyRewriter.DefaultNounPhrase)
{ }