diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-05 21:45:53 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-05 21:45:53 -0400 |
commit | 499cd8ab317080096c373c6ed6649bd51fb01c7d (patch) | |
tree | 0ecd704f094c131e00e5e72a7c5ff0315a3875f9 /src/SMAPI/Framework/ModLoading/Rewriters/Harmony1AssemblyRewriter.cs | |
parent | f4192663d78c7a45418f07f0bf4acb67b11291fe (diff) | |
download | SMAPI-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.cs | 9 |
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) { } |