summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Events/ModWorldEvents.cs
diff options
context:
space:
mode:
authorwartech0 <wartech0@hotmail.com>2019-12-29 08:06:02 -0600
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-31 16:19:43 -0500
commitaef1b8ac2898e147e6200fe257e8fdd82ee7fdbc (patch)
treede3026eeac70d90e729802b8213cbb4004f2dee9 /src/SMAPI/Framework/Events/ModWorldEvents.cs
parentdca60f42b2048d6b0b27517b9e7686665e61e9c2 (diff)
downloadSMAPI-aef1b8ac2898e147e6200fe257e8fdd82ee7fdbc.tar.gz
SMAPI-aef1b8ac2898e147e6200fe257e8fdd82ee7fdbc.tar.bz2
SMAPI-aef1b8ac2898e147e6200fe257e8fdd82ee7fdbc.zip
Added the new ChestItemChanged event.
Diffstat (limited to 'src/SMAPI/Framework/Events/ModWorldEvents.cs')
-rw-r--r--src/SMAPI/Framework/Events/ModWorldEvents.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Events/ModWorldEvents.cs b/src/SMAPI/Framework/Events/ModWorldEvents.cs
index b85002a3..8d6701ec 100644
--- a/src/SMAPI/Framework/Events/ModWorldEvents.cs
+++ b/src/SMAPI/Framework/Events/ModWorldEvents.cs
@@ -51,6 +51,12 @@ namespace StardewModdingAPI.Framework.Events
remove => this.EventManager.ObjectListChanged.Remove(value);
}
+ public event EventHandler<ChestItemChangedEventArgs> ChestItemChanged
+ {
+ add => this.EventManager.ChestItemsChanged.Add(value);
+ remove => this.EventManager.ChestItemsChanged.Remove(value);
+ }
+
/// <summary>Raised after terrain features (like floors and trees) are added or removed in a location.</summary>
public event EventHandler<TerrainFeatureListChangedEventArgs> TerrainFeatureListChanged
{