2018-04-11 18:24:21 -04:00
|
|
|
|
using SharedLibraryCore.Interfaces;
|
|
|
|
|
using System.Collections.Generic;
|
2018-03-18 22:25:11 -04:00
|
|
|
|
|
2018-04-08 02:44:42 -04:00
|
|
|
|
namespace SharedLibraryCore.Configuration
|
2018-03-14 01:36:25 -04:00
|
|
|
|
{
|
2018-04-11 18:24:21 -04:00
|
|
|
|
public class ServerConfiguration : IBaseConfiguration
|
2018-03-14 01:36:25 -04:00
|
|
|
|
{
|
|
|
|
|
public string IPAddress { get; set; }
|
|
|
|
|
public short Port { get; set; }
|
|
|
|
|
public string Password { get; set; }
|
2018-03-18 22:25:11 -04:00
|
|
|
|
public List<string> Rules { get; set; }
|
|
|
|
|
public List<string> AutoMessages { get; set; }
|
2018-04-11 18:24:21 -04:00
|
|
|
|
public bool UseT6MParser { get; set; }
|
|
|
|
|
|
|
|
|
|
public IBaseConfiguration Generate()
|
|
|
|
|
{
|
|
|
|
|
UseT6MParser = Utilities.PromptBool("Use T6M parser");
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Name() => "ServerConfiguration";
|
2018-03-14 01:36:25 -04:00
|
|
|
|
}
|
|
|
|
|
}
|