summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-02-24 19:56:08 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 16:59:29 -0400
commitbad2ac2a29b8775be97133e4c4cfb67a4a7406ee (patch)
tree9cc61caa21be489a9eb6b67368e2c40aca17af80 /src/SMAPI/Events/EventArgsLocationObjectsChanged.cs
parent4a297e29eb0c97be799ee3939e9747dc1c631427 (diff)
downloadSMAPI-bad2ac2a29b8775be97133e4c4cfb67a4a7406ee.tar.gz
SMAPI-bad2ac2a29b8775be97133e4c4cfb67a4a7406ee.tar.bz2
SMAPI-bad2ac2a29b8775be97133e4c4cfb67a4a7406ee.zip
remove deprecated APIs (#606)
Diffstat (limited to 'src/SMAPI/Events/EventArgsLocationObjectsChanged.cs')
-rw-r--r--src/SMAPI/Events/EventArgsLocationObjectsChanged.cs42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs b/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs
deleted file mode 100644
index 9ca2e3e2..00000000
--- a/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-#if !SMAPI_3_0_STRICT
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.Xna.Framework;
-using StardewValley;
-using SObject = StardewValley.Object;
-
-namespace StardewModdingAPI.Events
-{
- /// <summary>Event arguments for a <see cref="LocationEvents.ObjectsChanged"/> event.</summary>
- public class EventArgsLocationObjectsChanged : EventArgs
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The location which changed.</summary>
- public GameLocation Location { get; }
-
- /// <summary>The objects added to the location.</summary>
- public IEnumerable<KeyValuePair<Vector2, SObject>> Added { get; }
-
- /// <summary>The objects removed from the location.</summary>
- public IEnumerable<KeyValuePair<Vector2, SObject>> Removed { get; }
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Construct an instance.</summary>
- /// <param name="location">The location which changed.</param>
- /// <param name="added">The objects added to the location.</param>
- /// <param name="removed">The objects removed from the location.</param>
- public EventArgsLocationObjectsChanged(GameLocation location, IEnumerable<KeyValuePair<Vector2, SObject>> added, IEnumerable<KeyValuePair<Vector2, SObject>> removed)
- {
- this.Location = location;
- this.Added = added.ToArray();
- this.Removed = removed.ToArray();
- }
- }
-}
-#endif