Adds IInstanceConfig

This commit is contained in:
Cyberboss
2017-11-06 15:52:56 -05:00
parent cc49bbcc47
commit 1a1f62e3a9
5 changed files with 154 additions and 84 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ namespace TGServerService
/// <summary>
/// Convert the settings version 6 .NET settings file to a config json
/// </summary>
/// <returns>An <see cref="InstanceConfig"/> based off the old .NET setting file</returns>
public static InstanceConfig CreateFromNETSettings()
/// <returns>An <see cref="IInstanceConfig"/> based off the old .NET setting file</returns>
public static IInstanceConfig CreateFromNETSettings()
{
var Config = Properties.Settings.Default;
var result = new DeprecatedInstanceConfig(LoadPreviousNetPropertyOrDefault("ServerDirectory", "C:\\tgstation-server-3"));