diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-01 23:16:42 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-01 23:16:42 -0400 |
commit | 92006bd6ed20365f1ded4bd07387b0ba9ed0ff92 (patch) | |
tree | 0827ba985a2221577d8c4209f82a94748cae4612 /src/SMAPI/Framework/Events/ModWorldEvents.cs | |
parent | a2523696fd539621351c178f6ff57ade19dd3e34 (diff) | |
download | SMAPI-92006bd6ed20365f1ded4bd07387b0ba9ed0ff92.tar.gz SMAPI-92006bd6ed20365f1ded4bd07387b0ba9ed0ff92.tar.bz2 SMAPI-92006bd6ed20365f1ded4bd07387b0ba9ed0ff92.zip |
add large terrain feature list changed event (#310)
Diffstat (limited to 'src/SMAPI/Framework/Events/ModWorldEvents.cs')
-rw-r--r-- | src/SMAPI/Framework/Events/ModWorldEvents.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/Events/ModWorldEvents.cs b/src/SMAPI/Framework/Events/ModWorldEvents.cs index ca851550..db03e447 100644 --- a/src/SMAPI/Framework/Events/ModWorldEvents.cs +++ b/src/SMAPI/Framework/Events/ModWorldEvents.cs @@ -33,6 +33,13 @@ namespace StardewModdingAPI.Framework.Events remove => this.EventManager.World_BuildingListChanged.Remove(value); } + /// <summary>Raised after large terrain features (like bushes) are added or removed in a location.</summary> + public event EventHandler<WorldLargeTerrainFeatureListChangedEventArgs> LargeTerrainFeatureListChanged + { + add => this.EventManager.World_LargeTerrainFeatureListChanged.Add(value, this.Mod); + remove => this.EventManager.World_LargeTerrainFeatureListChanged.Remove(value); + } + /// <summary>Raised after NPCs are added or removed in a location.</summary> public event EventHandler<WorldNpcListChangedEventArgs> NpcListChanged { @@ -47,7 +54,7 @@ namespace StardewModdingAPI.Framework.Events remove => this.EventManager.World_ObjectListChanged.Remove(value); } - /// <summary>Raised after terrain features are added or removed in a location.</summary> + /// <summary>Raised after terrain features (like floors and trees) are added or removed in a location.</summary> public event EventHandler<WorldTerrainFeatureListChangedEventArgs> TerrainFeatureListChanged { add => this.EventManager.World_TerrainFeatureListChanged.Add(value); |