NorbiPeti
e69b357da1
Handling "install and update" button label Fixed mod updating New version detection fixed, highlighting and showing a message in the info section Showing release information for mods that have a new version available Added information about mod requirements Added a button to find the game log Added a checkbox to run the game unpatched Added information about using the program
31 lines
885 B
C#
31 lines
885 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GCMM
|
|
{
|
|
public class ModInfo
|
|
{
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// Installed version. Can be null.
|
|
/// </summary>
|
|
public Version Version { get; set; }
|
|
public Version LatestVersion { get; set; }
|
|
/// <summary>
|
|
/// Can be null.
|
|
/// </summary>
|
|
public string Description { get; set; }
|
|
/// <summary>
|
|
/// Can be null.
|
|
/// </summary>
|
|
public string Author { get; set; }
|
|
public DateTime LastUpdated { get; set; }
|
|
public bool Installed => Version != null;
|
|
public string DownloadURL { get; set; }
|
|
public HashSet<string> ModFiles { get; set; }
|
|
public string UpdateDetails { get; set; }
|
|
}
|
|
}
|