18 lines
634 B
C#
18 lines
634 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 InstanceConfig
|
|
{
|
|
[JsonPropertyName("version")]
|
|
public string Version { get; set; }
|
|
[JsonPropertyName("modProfiles")]
|
|
public Dictionary<string, ModProfile> ModProfiles { get; set; }
|
|
[JsonPropertyName("replaceFiles")]
|
|
public Dictionary<string, string> ReplaceFiles { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public string InstancePath { get; set; }
|
|
} |