2017-06-01 12:42:28 -05:00
|
|
|
|
using System.Collections.Generic;
|
2018-04-08 13:48:40 -05:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-04-08 01:44:42 -05:00
|
|
|
|
using SharedLibraryCore.Objects;
|
|
|
|
|
using SharedLibraryCore.Services;
|
|
|
|
|
using SharedLibraryCore.Configuration;
|
2017-05-26 17:49:27 -05:00
|
|
|
|
|
2018-04-08 01:44:42 -05:00
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
2017-05-26 17:49:27 -05:00
|
|
|
|
{
|
|
|
|
|
public interface IManager
|
|
|
|
|
{
|
2018-03-06 01:22:19 -06:00
|
|
|
|
Task Init();
|
2017-05-26 17:49:27 -05:00
|
|
|
|
void Start();
|
|
|
|
|
void Stop();
|
2017-05-27 18:29:20 -05:00
|
|
|
|
ILogger GetLogger();
|
2017-09-29 21:42:24 -05:00
|
|
|
|
IList<Server> GetServers();
|
|
|
|
|
IList<Command> GetCommands();
|
2017-06-12 17:47:31 -04:00
|
|
|
|
IList<Helpers.MessageToken> GetMessageTokens();
|
2017-06-12 13:50:00 -04:00
|
|
|
|
IList<Player> GetActiveClients();
|
2018-03-18 21:25:11 -05:00
|
|
|
|
IConfigurationHandler<ApplicationConfiguration> GetApplicationSettings();
|
2018-03-06 01:22:19 -06:00
|
|
|
|
ClientService GetClientService();
|
2017-11-25 19:29:58 -06:00
|
|
|
|
AliasService GetAliasService();
|
|
|
|
|
PenaltyService GetPenaltyService();
|
2018-04-04 23:38:45 -05:00
|
|
|
|
IDictionary<int, Player> GetPrivilegedClients();
|
2018-04-08 13:48:40 -05:00
|
|
|
|
IEventApi GetEventApi();
|
2018-04-08 16:50:58 -05:00
|
|
|
|
bool ShutdownRequested();
|
2017-05-26 17:49:27 -05:00
|
|
|
|
}
|
|
|
|
|
}
|