mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
Moved Alias Database into interface...
This commit is contained in:
@ -19,6 +19,7 @@ namespace IW4MAdmin
|
||||
public List<Server> Servers { get; private set; }
|
||||
List<AsyncStatus> TaskStatuses;
|
||||
Database ClientDatabase;
|
||||
Database AliasesDatabase;
|
||||
SharedLibrary.Interfaces.IPenaltyList ClientPenalties;
|
||||
List<Command> Commands;
|
||||
Kayak.IScheduler webServiceTask;
|
||||
@ -33,15 +34,13 @@ namespace IW4MAdmin
|
||||
|
||||
private Manager()
|
||||
{
|
||||
//IFile logFile = new IFile("Logs/IW4MAdminManager.log", true);
|
||||
Logger = new Logger("Logs/IW4MAdmin.log");
|
||||
//Logger = new Log(logFile, Log.Level.Production, 0);
|
||||
Servers = new List<Server>();
|
||||
Commands = new List<Command>();
|
||||
TaskStatuses = new List<AsyncStatus>();
|
||||
|
||||
|
||||
ClientDatabase = new ClientsDB("Database/clients.rm");
|
||||
AliasesDatabase = new AliasesDB("Database/aliases.rm");
|
||||
ClientPenalties = new PenaltyList();
|
||||
}
|
||||
|
||||
@ -149,6 +148,11 @@ namespace IW4MAdmin
|
||||
return ClientDatabase as ClientsDB;
|
||||
}
|
||||
|
||||
public AliasesDB GetAliasesDatabase()
|
||||
{
|
||||
return AliasesDatabase as AliasesDB;
|
||||
}
|
||||
|
||||
public SharedLibrary.Interfaces.IPenaltyList GetClientPenalties()
|
||||
{
|
||||
return ClientPenalties;
|
||||
|
Reference in New Issue
Block a user