namespace StardewModdingAPI.Toolkit.Framework.Clients.Wiki
{
/// A mod entry in the wiki list.
public class WikiModEntry
{
/*********
** Accessors
*********/
/// The mod's unique ID. If the mod has alternate/old IDs, they're listed in latest to newest order.
public string[] ID { get; set; }
/// The mod's display name. If the mod has multiple names, the first one is the most canonical name.
public string[] Name { get; set; }
/// The mod's author name. If the author has multiple names, the first one is the most canonical name.
public string[] Author { get; set; }
/// The mod ID on Nexus.
public int? NexusID { get; set; }
/// The mod ID in the Chucklefish mod repo.
public int? ChucklefishID { get; set; }
/// The GitHub repository in the form 'owner/repo'.
public string GitHubRepo { get; set; }
/// The URL to a non-GitHub source repo.
public string CustomSourceUrl { get; set; }
/// The custom mod page URL (if applicable).
public string CustomUrl { get; set; }
/// The mod's compatibility with the latest stable version of the game.
public WikiCompatibilityInfo Compatibility { get; set; }
/// The mod's compatibility with the latest beta version of the game (if any).
public WikiCompatibilityInfo BetaCompatibility { get; set; }
/// Whether a Stardew Valley or SMAPI beta which affects mod compatibility is in progress. If this is true, should be used for beta versions of SMAPI instead of .
public bool HasBetaInfo => this.BetaCompatibility != null;
/// The human-readable warnings for players about this mod.
public string[] Warnings { get; set; }
/// The link anchor for the mod entry in the wiki compatibility list.
public string Anchor { get; set; }
}
}