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