VaultSmpInstaller/Data/ModProfile.cs
CanadianBacon 4663bbca87 1.0.1
Refactor, make safer, add some logging
2024-02-21 07:34:48 +01:00

20 lines
698 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
namespace VaultSmpInstaller.Data;
public class ModProfile
{
[JsonPropertyName("required")]
public bool Required { get; set; }
[JsonPropertyName("defaultState")]
public bool DefaultState { get; set; }
[JsonPropertyName("mods")]
public Dictionary<string, string> Mods { get; set; }
[JsonPropertyName("replaces")]
public Dictionary<string, string> Replaces { get; set; }
[JsonPropertyName("enabled")]
public bool IsEnabled { get; set; }
}