add modloader to modpackconfig
This commit is contained in:
@@ -1,17 +1,29 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
|
||||||
namespace ModpackUpdater;
|
namespace ModpackUpdater;
|
||||||
|
|
||||||
public class ModpackConfig
|
public class ModpackConfig
|
||||||
{
|
{
|
||||||
public bool Maintenance { get; set; }
|
public bool Maintenance { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
public string UpdateUrl { get; set; }
|
public string UpdateUrl { get; set; }
|
||||||
|
|
||||||
public string InstallUrl { get; set; }
|
public string InstallUrl { get; set; }
|
||||||
|
|
||||||
public string UnleashApiUrl { get; set; }
|
public string UnleashApiUrl { get; set; }
|
||||||
|
|
||||||
public string UnleashInstanceId { get; set; }
|
public string UnleashInstanceId { get; set; }
|
||||||
|
|
||||||
public bool PreferDirectLinks { get; set; }
|
public bool PreferDirectLinks { get; set; }
|
||||||
|
|
||||||
|
public string MinecraftVersion { get; set; }
|
||||||
|
|
||||||
|
[JsonConverter(typeof(StringEnumConverter))]
|
||||||
|
public ModLoader ModLoader { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public string ConfigUrl { get; set; }
|
public string ConfigUrl { get; set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user