namespace StardewModdingAPI.Framework.ModUpdateChecking { /// Update status for a mod. internal class ModUpdateStatus { /********* ** Accessors *********/ /// The version that this mod can be updated to (if any). public ISemanticVersion Version { get; } /// The error checking for updates of this mod (if any). public string Error { get; } /********* ** Public methods *********/ /// Construct an instance. /// The version that this mod can be update to. public ModUpdateStatus(ISemanticVersion version) { this.Version = version; } /// Construct an instance. /// The error checking for updates of this mod. public ModUpdateStatus(string error) { this.Error = error; } /// Construct an instance. public ModUpdateStatus() { } } }