#nullable disable using System; namespace StardewModdingAPI.Events { /// Events raised when the player data changes. public interface IPlayerEvents { /// Raised after items are added or removed to a player's inventory. NOTE: this event is currently only raised for the current player. event EventHandler InventoryChanged; /// Raised after a player skill level changes. This happens as soon as they level up, not when the game notifies the player after their character goes to bed. NOTE: this event is currently only raised for the current player. event EventHandler LevelChanged; /// Raised after a player warps to a new location. NOTE: this event is currently only raised for the current player. event EventHandler Warped; } }