2017-06-19 13:58:01 -04:00
|
|
|
|
using SharedLibrary.Interfaces;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibrary
|
|
|
|
|
{
|
|
|
|
|
public class ServerConfiguration : Serialize<ServerConfiguration>
|
|
|
|
|
{
|
|
|
|
|
public string IP;
|
|
|
|
|
public int Port;
|
|
|
|
|
public string Password;
|
|
|
|
|
public string FtpPrefix;
|
|
|
|
|
public bool AllowMultipleOwners;
|
2018-02-10 01:26:38 -05:00
|
|
|
|
public bool AllowTrustedRank;
|
2017-06-19 13:58:01 -04:00
|
|
|
|
|
|
|
|
|
public override string Filename()
|
|
|
|
|
{
|
2018-02-21 20:29:23 -05:00
|
|
|
|
return $"{Utilities.OperatingDirectory}config/servers/{IP}_{Port}.cfg";
|
2017-06-19 13:58:01 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|