using System; using StardewValley; namespace StardewModdingAPI.Events { /// Event arguments for a event. public class EventArgsFarmerChanged : EventArgs { /********* ** Accessors *********/ /// The previous player character. public Farmer NewFarmer { get; } /// The new player character. public Farmer PriorFarmer { get; } /********* ** Public methods *********/ /// Construct an instance. /// The previous player character. /// The new player character. public EventArgsFarmerChanged(Farmer priorFarmer, Farmer newFarmer) { this.PriorFarmer = priorFarmer; this.NewFarmer = newFarmer; } } }