summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs')
-rw-r--r--src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs b/src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs
index 6a55c87a..c68951ce 100644
--- a/src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs
+++ b/src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs
@@ -4,13 +4,24 @@ using StardewValley;
namespace StardewModdingAPI.Events
{
+ /// <summary>Event arguments for a <see cref="LocationEvents.LocationsChanged"/> event.</summary>
public class EventArgsGameLocationsChanged : EventArgs
{
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The current list of game locations.</summary>
+ public List<GameLocation> NewLocations { get; private set; }
+
+
+ /*********
+ ** Public methods
+ *********/
+ /// <summary>Construct an instance.</summary>
+ /// <param name="newLocations">The current list of game locations.</param>
public EventArgsGameLocationsChanged(List<GameLocation> newLocations)
{
- NewLocations = newLocations;
+ this.NewLocations = newLocations;
}
-
- public List<GameLocation> NewLocations { get; private set; }
}
-} \ No newline at end of file
+}