Added version field

This commit is contained in:
erri120 2020-04-16 16:15:03 +02:00
parent a3305b08fe
commit e8923a11f1
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135
2 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,11 @@ namespace Wabbajack.Lib
/// </summary>
public Uri? Website;
/// <summary>
/// Current Version of the Modlist
/// </summary>
public Version Version = new Version(1, 0, 0, 0);
/// <summary>
/// The size of all the archives once they're downloaded
/// </summary>

View File

@ -21,6 +21,7 @@ namespace Wabbajack
public string Description => SourceModList?.Description;
public Uri Website => SourceModList?.Website;
public ModManager ModManager => SourceModList?.ModManager ?? ModManager.MO2;
public Version Version => SourceModList?.Version;
// Image isn't exposed as a direct property, but as an observable.
// This acts as a caching mechanism, as interested parties will trigger it to be created,