summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/EventArgsLocationBuildingsChanged.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events/EventArgsLocationBuildingsChanged.cs')
-rw-r--r--src/SMAPI/Events/EventArgsLocationBuildingsChanged.cs41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/SMAPI/Events/EventArgsLocationBuildingsChanged.cs b/src/SMAPI/Events/EventArgsLocationBuildingsChanged.cs
deleted file mode 100644
index 25e84722..00000000
--- a/src/SMAPI/Events/EventArgsLocationBuildingsChanged.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-#if !SMAPI_3_0_STRICT
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using StardewValley;
-using StardewValley.Buildings;
-
-namespace StardewModdingAPI.Events
-{
- /// <summary>Event arguments for a <see cref="LocationEvents.BuildingsChanged"/> event.</summary>
- public class EventArgsLocationBuildingsChanged : EventArgs
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The location which changed.</summary>
- public GameLocation Location { get; }
-
- /// <summary>The buildings added to the location.</summary>
- public IEnumerable<Building> Added { get; }
-
- /// <summary>The buildings removed from the location.</summary>
- public IEnumerable<Building> Removed { get; }
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Construct an instance.</summary>
- /// <param name="location">The location which changed.</param>
- /// <param name="added">The buildings added to the location.</param>
- /// <param name="removed">The buildings removed from the location.</param>
- public EventArgsLocationBuildingsChanged(GameLocation location, IEnumerable<Building> added, IEnumerable<Building> removed)
- {
- this.Location = location;
- this.Added = added.ToArray();
- this.Removed = removed.ToArray();
- }
- }
-}
-#endif