IW4M-Admin/SharedLibraryCore/Configuration/ServerConfiguration.cs

24 lines
685 B
C#
Raw Normal View History

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