using System; namespace StardewModdingAPI.Events { /// Events raised when something changes in the world. public interface IWorldEvents { /// Raised after a game location is added or removed. event EventHandler LocationListChanged; /// Raised after buildings are added or removed in a location. event EventHandler BuildingListChanged; /// Raised after debris are added or removed in a location. event EventHandler DebrisListChanged; /// Raised after large terrain features (like bushes) are added or removed in a location. event EventHandler LargeTerrainFeatureListChanged; /// Raised after NPCs are added or removed in a location. event EventHandler NpcListChanged; /// Raised after objects are added or removed in a location. event EventHandler ObjectListChanged; /// Raised after items are added or removed from a chest. event EventHandler ChestInventoryChanged; /// Raised after terrain features (like floors and trees) are added or removed in a location. event EventHandler TerrainFeatureListChanged; } }