IW4M-Admin/SharedLibraryCore/Configuration/ServerConfiguration.cs
RaidMax 96d6b03cc5 readme updates
started working on localization
2018-04-22 15:04:18 -05:00

24 lines
737 B
C#

using SharedLibraryCore.Interfaces;
using System.Collections.Generic;
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(Utilities.CurrentLocalization.LocalizationSet["SETUP_SERVER_USET6M"]);
return this;
}
public string Name() => "ServerConfiguration";
}
}