TBMM/GCMM/ModInfo.cs
NorbiPeti d219f02a80 File tracking and uninstall
A list of files belonging to a mod is automatically saved
2020-06-17 18:31:20 +02:00

30 lines
835 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; }
}
}