From 5675f9fcebfdeb03510c347712df8e9934b362c6 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 23 May 2022 12:57:33 -0400 Subject: add watcher names to simplify troubleshooting --- src/SMAPI/Framework/StateTracking/IWatcher.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/SMAPI/Framework/StateTracking/IWatcher.cs') diff --git a/src/SMAPI/Framework/StateTracking/IWatcher.cs b/src/SMAPI/Framework/StateTracking/IWatcher.cs index 8c7fa51c..4a0e3998 100644 --- a/src/SMAPI/Framework/StateTracking/IWatcher.cs +++ b/src/SMAPI/Framework/StateTracking/IWatcher.cs @@ -8,6 +8,9 @@ namespace StardewModdingAPI.Framework.StateTracking /********* ** Accessors *********/ + /// A name which identifies what the watcher is watching, used for troubleshooting. + string Name { get; } + /// Whether the value changed since the last reset. bool IsChanged { get; } -- cgit