blob: ce288ae1c2b46e04102e9e3887507f3ca300bb6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
namespace StardewModdingAPI.Events
{
/// <summary>Provides events raised when something changes in the world.</summary>
public interface IWorldEvents
{
/*********
** Events
*********/
/// <summary>Raised after a game location is added or removed.</summary>
event EventHandler<WorldLocationListChangedEventArgs> LocationListChanged;
/// <summary>Raised after buildings are added or removed in a location.</summary>
event EventHandler<WorldBuildingListChangedEventArgs> BuildingListChanged;
/// <summary>Raised after NPCs are added or removed in a location.</summary>
event EventHandler<WorldNpcListChangedEventArgs> NpcListChanged;
/// <summary>Raised after objects are added or removed in a location.</summary>
event EventHandler<WorldObjectListChangedEventArgs> ObjectListChanged;
/// <summary>Raised after terrain features are added or removed in a location.</summary>
event EventHandler<WorldTerrainFeatureListChangedEventArgs> TerrainFeatureListChanged;
}
}
|