2020-06-16 17:22:29 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace GCMM
|
|
|
|
|
{
|
2020-06-16 21:33:10 +00:00
|
|
|
|
public class ModInfo
|
2020-06-16 17:22:29 +00:00
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
2020-06-16 21:33:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Can be null.
|
|
|
|
|
/// </summary>
|
2020-06-16 17:22:29 +00:00
|
|
|
|
public string Version { get; set; }
|
|
|
|
|
public string LatestVersion { get; set; }
|
2020-06-16 21:33:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Can be null.
|
|
|
|
|
/// </summary>
|
2020-06-16 17:22:29 +00:00
|
|
|
|
public string Description { get; set; }
|
2020-06-16 21:33:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Can be null.
|
|
|
|
|
/// </summary>
|
2020-06-16 17:22:29 +00:00
|
|
|
|
public string Author { get; set; }
|
|
|
|
|
public DateTime LastUpdated { get; set; }
|
2020-06-16 21:33:10 +00:00
|
|
|
|
public bool Installed => Version != null;
|
|
|
|
|
public string DownloadURL { get; set; }
|
2020-06-16 17:22:29 +00:00
|
|
|
|
}
|
|
|
|
|
}
|