namespace StardewModdingAPI.Toolkit.Framework.Clients.Wiki { /// Compatibility info for a mod. public class WikiCompatibilityInfo { /********* ** Accessors *********/ /// The compatibility status. public WikiCompatibilityStatus Status { get; } /// The human-readable summary of the compatibility status or workaround, without HTML formatting. public string? Summary { get; } /// The game or SMAPI version which broke this mod, if applicable. public string? BrokeIn { get; } /// The version of the latest unofficial update, if applicable. public ISemanticVersion? UnofficialVersion { get; } /// The URL to the latest unofficial update, if applicable. public string? UnofficialUrl { get; } /********* ** Accessors *********/ /// Construct an instance. /// The compatibility status. /// The human-readable summary of the compatibility status or workaround, without HTML formatting. /// The game or SMAPI version which broke this mod, if applicable. /// The version of the latest unofficial update, if applicable. /// The URL to the latest unofficial update, if applicable. public WikiCompatibilityInfo(WikiCompatibilityStatus status, string? summary, string? brokeIn, ISemanticVersion? unofficialVersion, string? unofficialUrl) { this.Status = status; this.Summary = summary; this.BrokeIn = brokeIn; this.UnofficialVersion = unofficialVersion; this.UnofficialUrl = unofficialUrl; } } }