- 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; }
-
-
-
- public Version Version { get; set; }
- public Version LatestVersion { get; set; }
-
-
-
- public string Description { get; set; }
-
-
-
- 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; }
- public bool Updatable => Version != null && LatestVersion != null && Version < LatestVersion;
- }
- }
|