VaultSmpInstaller/Data/ModProfile.cs

22 lines
649 B
C#

using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text.Json.Serialization;
namespace VaultSmpInstaller.Data;
[JsonSerializable(typeof(ModProfile))]
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; }
}