mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
cleaned up configuration files to use appsettings
This commit is contained in:
17
SharedLibrary/Configuration/ApplicationConfiguration.cs
Normal file
17
SharedLibrary/Configuration/ApplicationConfiguration.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SharedLibrary.Configuration
|
||||
{
|
||||
public class ApplicationConfiguration
|
||||
{
|
||||
public bool EnableMultipleOwners { get; set; }
|
||||
public bool EnableTrustedRank { get; set; }
|
||||
public bool EnableClientVPNs { get; set; }
|
||||
public bool EnableAntiCheat { get; set; }
|
||||
public bool EnableDiscordLink { get; set; }
|
||||
public string DiscordInviteCode { get; set; }
|
||||
public string IPHubAPIKey { get; set; }
|
||||
public List<ServerConfiguration> Servers { get; set; }
|
||||
|
||||
}
|
||||
}
|
9
SharedLibrary/Configuration/ServerConfiguration.cs
Normal file
9
SharedLibrary/Configuration/ServerConfiguration.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace SharedLibrary.Configuration
|
||||
{
|
||||
public class ServerConfiguration
|
||||
{
|
||||
public string IPAddress { get; set; }
|
||||
public short Port { get; set; }
|
||||
public string Password { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user