summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-03-12 01:15:01 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-03-12 01:15:01 -0500
commitb0fab4a0764d4cd1eb807db88e704aa401e4f716 (patch)
tree1049763de594bc1e56997c85545f4173164be343 /src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2
parent3663f70603fae8ed34e1e0c7500adc2c899312a5 (diff)
downloadSMAPI-b0fab4a0764d4cd1eb807db88e704aa401e4f716.tar.gz
SMAPI-b0fab4a0764d4cd1eb807db88e704aa401e4f716.tar.bz2
SMAPI-b0fab4a0764d4cd1eb807db88e704aa401e4f716.zip
log rewritten instructions (#247)
Diffstat (limited to 'src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2')
-rw-r--r--src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_ActiveClickableMenu_FieldRewriter.cs7
-rw-r--r--src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_GameMode_FieldRewriter.cs7
-rw-r--r--src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_Player_FieldRewriter.cs7
3 files changed, 21 insertions, 0 deletions
diff --git a/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_ActiveClickableMenu_FieldRewriter.cs b/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_ActiveClickableMenu_FieldRewriter.cs
index 66fe0369..bb49f16c 100644
--- a/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_ActiveClickableMenu_FieldRewriter.cs
+++ b/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_ActiveClickableMenu_FieldRewriter.cs
@@ -12,6 +12,13 @@ namespace StardewModdingAPI.AssemblyRewriters.Rewriters.SDV1_2
public class Game1_ActiveClickableMenu_FieldRewriter : BaseFieldRewriter
{
/*********
+ ** Accessors
+ *********/
+ /// <summary>A brief noun phrase indicating what the instruction finder matches.</summary>
+ public override string NounPhrase { get; } = $"{nameof(Game1)}.{nameof(Game1.activeClickableMenu)} field";
+
+
+ /*********
** Protected methods
*********/
/// <summary>Get whether a field reference should be rewritten.</summary>
diff --git a/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_GameMode_FieldRewriter.cs b/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_GameMode_FieldRewriter.cs
index 9cb6e13d..4d84d9ac 100644
--- a/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_GameMode_FieldRewriter.cs
+++ b/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_GameMode_FieldRewriter.cs
@@ -12,6 +12,13 @@ namespace StardewModdingAPI.AssemblyRewriters.Rewriters.SDV1_2
public class Game1_GameMode_FieldRewriter : BaseFieldRewriter
{
/*********
+ ** Accessors
+ *********/
+ /// <summary>A brief noun phrase indicating what the instruction finder matches.</summary>
+ public override string NounPhrase { get; } = $"{nameof(Game1)}.{nameof(Game1.gameMode)} field";
+
+
+ /*********
** Protected methods
*********/
/// <summary>Get whether a field reference should be rewritten.</summary>
diff --git a/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_Player_FieldRewriter.cs b/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_Player_FieldRewriter.cs
index 115e3d7d..f43f5d57 100644
--- a/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_Player_FieldRewriter.cs
+++ b/src/StardewModdingAPI.AssemblyRewriters/Rewriters/SDV1_2/Game1_Player_FieldRewriter.cs
@@ -12,6 +12,13 @@ namespace StardewModdingAPI.AssemblyRewriters.Rewriters.SDV1_2
public class Game1_Player_FieldRewriter : BaseFieldRewriter
{
/*********
+ ** Accessors
+ *********/
+ /// <summary>A brief noun phrase indicating what the instruction finder matches.</summary>
+ public override string NounPhrase { get; } = $"{nameof(Game1)}.{nameof(Game1.player)} field";
+
+
+ /*********
** Protected methods
*********/
/// <summary>Get whether a field reference should be rewritten.</summary>