namespace StardewModdingAPI.Web.Framework.LogParsing.Models
{
/// Metadata about a mod or content pack in the log.
public class LogModInfo
{
/*********
** Accessors
*********/
/// The mod name.
public string Name { get; set; }
/// The mod author.
public string Author { get; set; }
/// The update version.
public string UpdateVersion { get; set; }
/// The update link.
public string UpdateLink { get; set; }
/// The mod version.
public string Version { get; set; }
/// The mod description.
public string Description { get; set; }
/// The name of the mod for which this is a content pack (if applicable).
public string ContentPackFor { get; set; }
/// The number of errors logged by this mod.
public int Errors { get; set; }
/// Whether the mod was loaded into the game.
public bool Loaded { get; set; }
/// Whether the mod has an update available.
public bool HasUpdate => this.UpdateVersion != null && this.Version != this.UpdateVersion;
}
}