using System.Reflection; namespace StardewModdingAPI { /// A private field obtained through reflection. /// The field value type. public interface IPrivateField { /********* ** Accessors *********/ /// The reflection metadata. FieldInfo FieldInfo { get; } /********* ** Public methods *********/ /// Get the field value. TValue GetValue(); /// Set the field value. //// The value to set. void SetValue(TValue value); } }