#nullable disable using System; using System.Collections.Generic; using System.Linq; using StardewValley; namespace StardewModdingAPI.Events { /// Event arguments for a event. public class LocationListChangedEventArgs : EventArgs { /********* ** Accessors *********/ /// The added locations. public IEnumerable Added { get; } /// The removed locations. public IEnumerable Removed { get; } /********* ** Public methods *********/ /// Construct an instance. /// The added locations. /// The removed locations. internal LocationListChangedEventArgs(IEnumerable added, IEnumerable removed) { this.Added = added.ToArray(); this.Removed = removed.ToArray(); } } }