namespace StardewModdingAPI.Toolkit.Framework.Clients.Wiki
{
/// Metadata from the wiki's mod compatibility list.
public class WikiModList
{
/*********
** Accessors
*********/
/// The stable game version.
public string? StableVersion { get; }
/// The beta game version (if any).
public string? BetaVersion { get; }
/// The mods on the wiki.
public WikiModEntry[] Mods { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The stable game version.
/// The beta game version (if any).
/// The mods on the wiki.
public WikiModList(string? stableVersion, string? betaVersion, WikiModEntry[] mods)
{
this.StableVersion = stableVersion;
this.BetaVersion = betaVersion;
this.Mods = mods;
}
}
}