diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-01 01:15:26 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-01 01:15:26 -0400 |
commit | cca7bf197079975bf310ca90c03b78d0f77fdf02 (patch) | |
tree | 241c01950abf2e1c66178f47092f6b364adb50c6 /src/SMAPI/Framework/Events/EventManager.cs | |
parent | 558fb8a865b638cf5536856e7dcab44823feeaf3 (diff) | |
download | SMAPI-cca7bf197079975bf310ca90c03b78d0f77fdf02.tar.gz SMAPI-cca7bf197079975bf310ca90c03b78d0f77fdf02.tar.bz2 SMAPI-cca7bf197079975bf310ca90c03b78d0f77fdf02.zip |
rename new events for clarity (#310)
Diffstat (limited to 'src/SMAPI/Framework/Events/EventManager.cs')
-rw-r--r-- | src/SMAPI/Framework/Events/EventManager.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/SMAPI/Framework/Events/EventManager.cs b/src/SMAPI/Framework/Events/EventManager.cs index 53ea699a..0e1e6241 100644 --- a/src/SMAPI/Framework/Events/EventManager.cs +++ b/src/SMAPI/Framework/Events/EventManager.cs @@ -15,13 +15,13 @@ namespace StardewModdingAPI.Framework.Events ** World ****/ /// <summary>Raised after a game location is added or removed.</summary> - public readonly ManagedEvent<WorldLocationsChangedEventArgs> World_LocationsChanged; + public readonly ManagedEvent<WorldLocationListChangedEventArgs> World_LocationListChanged; /// <summary>Raised after buildings are added or removed in a location.</summary> - public readonly ManagedEvent<WorldBuildingsChangedEventArgs> World_BuildingsChanged; + public readonly ManagedEvent<WorldBuildingListChangedEventArgs> World_BuildingListChanged; /// <summary>Raised after objects are added or removed in a location.</summary> - public readonly ManagedEvent<WorldObjectsChangedEventArgs> World_ObjectsChanged; + public readonly ManagedEvent<WorldObjectListChangedEventArgs> World_ObjectListChanged; /********* @@ -225,9 +225,9 @@ namespace StardewModdingAPI.Framework.Events ManagedEvent ManageEvent(string typeName, string eventName) => new ManagedEvent($"{typeName}.{eventName}", monitor, modRegistry); // init events (new) - this.World_BuildingsChanged = ManageEventOf<WorldBuildingsChangedEventArgs>(nameof(IModEvents.World), nameof(IWorldEvents.LocationsChanged)); - this.World_LocationsChanged = ManageEventOf<WorldLocationsChangedEventArgs>(nameof(IModEvents.World), nameof(IWorldEvents.BuildingsChanged)); - this.World_ObjectsChanged = ManageEventOf<WorldObjectsChangedEventArgs>(nameof(IModEvents.World), nameof(IWorldEvents.ObjectsChanged)); + this.World_BuildingListChanged = ManageEventOf<WorldBuildingListChangedEventArgs>(nameof(IModEvents.World), nameof(IWorldEvents.LocationListChanged)); + this.World_LocationListChanged = ManageEventOf<WorldLocationListChangedEventArgs>(nameof(IModEvents.World), nameof(IWorldEvents.BuildingListChanged)); + this.World_ObjectListChanged = ManageEventOf<WorldObjectListChangedEventArgs>(nameof(IModEvents.World), nameof(IWorldEvents.ObjectListChanged)); // init events (old) this.Content_LocaleChanged = ManageEventOf<EventArgsValueChanged<string>>(nameof(ContentEvents), nameof(ContentEvents.AfterLocaleChanged)); |