summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Events/ModWorldEvents.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-05-26 20:04:46 -0400
committerGitHub <noreply@github.com>2021-05-26 20:04:46 -0400
commitce84bbd9aed0942b3cff921cd6eea8095023bde9 (patch)
treea32b0cbef014a907479bc98cb3804e246623604f /src/SMAPI/Framework/Events/ModWorldEvents.cs
parent112b505118e65d2741a5cfebce44abd02742dd2f (diff)
parent9d7b31afc45b89278f5a74697da51a47215d6592 (diff)
downloadSMAPI-ce84bbd9aed0942b3cff921cd6eea8095023bde9.tar.gz
SMAPI-ce84bbd9aed0942b3cff921cd6eea8095023bde9.tar.bz2
SMAPI-ce84bbd9aed0942b3cff921cd6eea8095023bde9.zip
Merge pull request #779 from DiscipleOfEris/develop
Add `World.FurnitureListChanged` event
Diffstat (limited to 'src/SMAPI/Framework/Events/ModWorldEvents.cs')
-rw-r--r--src/SMAPI/Framework/Events/ModWorldEvents.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Events/ModWorldEvents.cs b/src/SMAPI/Framework/Events/ModWorldEvents.cs
index 21b1b664..f4c40abc 100644
--- a/src/SMAPI/Framework/Events/ModWorldEvents.cs
+++ b/src/SMAPI/Framework/Events/ModWorldEvents.cs
@@ -65,6 +65,13 @@ namespace StardewModdingAPI.Framework.Events
remove => this.EventManager.TerrainFeatureListChanged.Remove(value);
}
+ /// <summary>Raised after furniture are added or removed in a location.</summary>
+ public event EventHandler<FurnitureListChangedEventArgs> FurnitureListChanged
+ {
+ add => this.EventManager.FurnitureListChanged.Add(value, this.Mod);
+ remove => this.EventManager.FurnitureListChanged.Remove(value);
+ }
+
/*********
** Public methods