20 lines
698 B
C#
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; }
|
|
} |