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