2025-12-11 01:58:28 -06:00
|
|
|
using LANCommander.SDK;
|
2025-11-16 12:31:25 -06:00
|
|
|
using LANCommander.Server.Settings.Enums;
|
|
|
|
|
|
|
|
|
|
namespace LANCommander.Server.Settings.Models;
|
|
|
|
|
|
|
|
|
|
public class GameServerSettings
|
|
|
|
|
{
|
2025-12-11 01:58:28 -06:00
|
|
|
public string StoragePath { get; set; } = AppPaths.GetConfigPath("Servers");
|
2025-11-17 18:01:53 -06:00
|
|
|
public IEnumerable<ServerEngineConfiguration> ServerEngines { get; set; } =
|
|
|
|
|
[
|
|
|
|
|
new()
|
2025-11-16 12:31:25 -06:00
|
|
|
{
|
|
|
|
|
Name = "Local",
|
|
|
|
|
Type = ServerEngine.Local,
|
|
|
|
|
},
|
2025-11-17 18:01:53 -06:00
|
|
|
new()
|
2025-11-16 12:31:25 -06:00
|
|
|
{
|
|
|
|
|
Name = "Docker",
|
|
|
|
|
Type = ServerEngine.Docker,
|
|
|
|
|
Address = "unix:///var/run/docker.sock",
|
|
|
|
|
}
|
2025-11-17 18:01:53 -06:00
|
|
|
];
|
2025-11-16 12:31:25 -06:00
|
|
|
}
|