using System;
using System.Collections.Generic;
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 mod ID in the CurseForge mod repo.
public int? CurseForgeID { get; set; }
/// The mod key in the CurseForge mod repo (used in mod page URLs).
public string CurseForgeKey { get; set; }
/// The mod ID in the ModDrop mod repo.
public int? ModDropID { 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 name of the mod which loads this content pack, if applicable.
public string ContentPackFor { 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 URL of the pull request which submits changes for an unofficial update to the author, if any.
public string PullRequestUrl { get; set; }
/// Special notes intended for developers who maintain unofficial updates or submit pull requests.
public string DevNote { get; set; }
/// Maps local versions to a semantic version for update checks.
public IDictionary MapLocalVersions { get; set; }
/// Maps remote versions to a semantic version for update checks.
public IDictionary MapRemoteVersions { get; set; }
/// The link anchor for the mod entry in the wiki compatibility list.
public string Anchor { get; set; }
}
}