mirror of
https://github.com/Wincent01/InfectedRose.git
synced 2025-12-17 10:05:47 -06:00
34 lines
910 B
C#
34 lines
910 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace InfectedRose.Interface;
|
|
|
|
public class ModPriority
|
|
{
|
|
[JsonPropertyName("directory")]
|
|
public string Directory { get; set; }
|
|
|
|
[JsonPropertyName("priority")]
|
|
public int Priority { get; set; }
|
|
}
|
|
|
|
public class Mods
|
|
{
|
|
[JsonPropertyName("version")]
|
|
public string Version { get; set; } = "";
|
|
|
|
[JsonPropertyName("database")]
|
|
public string Database { get; set; } = "cdclient.fdb";
|
|
|
|
[JsonPropertyName("sqlite")]
|
|
public string Sqlite { get; set; } = "CDServer.sqlite";
|
|
|
|
[JsonPropertyName("copy-mods")]
|
|
public string? Copy { get; set; }
|
|
|
|
[JsonPropertyName("resource-folder")]
|
|
public string ResourceFolder { get; set; } = "../res/maps/__mods__";
|
|
|
|
[JsonPropertyName("priorities")]
|
|
public List<ModPriority> Priorities { get; set; } = new List<ModPriority>();
|
|
} |