Refactor, fix chat scroll, rework automatic update system, remove manual install method, add documentation

This commit is contained in:
John Gross
2017-07-06 14:44:29 -07:00
parent 79fe6a08ab
commit 7373dd37a6
31 changed files with 594 additions and 322 deletions

View File

@@ -1,14 +1,47 @@
namespace Torch
using System.Collections.Generic;
namespace Torch
{
public interface ITorchConfig
{
/// <summary>
/// (server) Name of the instance.
/// </summary>
string InstanceName { get; set; }
/// <summary>
/// (server) Dedicated instance path.
/// </summary>
string InstancePath { get; set; }
bool RedownloadPlugins { get; set; }
bool AutomaticUpdates { get; set; }
/// <summary>
/// Enable automatic Torch updates.
/// </summary>
bool GetTorchUpdates { get; set; }
/// <summary>
/// Enable automatic Torch updates.
/// </summary>
bool GetPluginUpdates { get; set; }
/// <summary>
/// Restart Torch automatically if it crashes.
/// </summary>
bool RestartOnCrash { get; set; }
/// <summary>
/// Time-out in seconds for the Torch watchdog (to detect a hung session).
/// </summary>
int TickTimeout { get; set; }
/// <summary>
/// A list of plugins that should be installed.
/// </summary>
List<string> Plugins { get; }
/// <summary>
/// Saves the config.
/// </summary>
bool Save(string path = null);
}
}