diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-23 12:57:33 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-23 12:57:33 -0400 |
commit | 5675f9fcebfdeb03510c347712df8e9934b362c6 (patch) | |
tree | d026ccce206b73e01bbda75da85ee1d180fc0d27 /src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs | |
parent | 87ac7fc4032c1edbc246e7f7a96881f1284c04b9 (diff) | |
download | SMAPI-5675f9fcebfdeb03510c347712df8e9934b362c6.tar.gz SMAPI-5675f9fcebfdeb03510c347712df8e9934b362c6.tar.bz2 SMAPI-5675f9fcebfdeb03510c347712df8e9934b362c6.zip |
add watcher names to simplify troubleshooting
Diffstat (limited to 'src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs')
-rw-r--r-- | src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs b/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs index b46e0b24..9c2ba9bc 100644 --- a/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs +++ b/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs @@ -14,6 +14,9 @@ namespace StardewModdingAPI.Framework.StateTracking.FieldWatchers public static ImmutableCollectionWatcher<TValue> Instance { get; } = new(); /// <inheritdoc /> + public string Name => nameof(ImmutableCollectionWatcher<TValue>); + + /// <inheritdoc /> public bool IsChanged { get; } = false; /// <inheritdoc /> |