sharedlibrarycoreinterfaces IManager - RaidMax/IW4M-Admin GitHub Wiki
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IManager[[IManager]]
class SharedLibraryCore.Interfaces.IManager interfaceStyle;
end
| Type | Name | Methods |
|---|---|---|
IList<IEventParser> |
AdditionalEventParsers |
get |
IList<IRConParser> |
AdditionalRConParsers |
get |
IAlertManager |
AlertManager |
get |
CancellationToken |
CancellationToken |
get |
IList<Func<GameEvent, bool>> |
CommandInterceptors |
get |
IReadOnlyList<IManagerCommand> |
Commands |
get |
string |
ExternalIPAddress |
get |
IInteractionRegistration |
InteractionRegistration |
get |
bool |
IsRestartRequested |
get |
bool |
IsRunning |
get |
IMiddlewareActionHandler |
MiddlewareActionHandler |
get |
IEnumerable<IPlugin> |
Pluginsenumerates the registered plugin instances |
get |
ConcurrentDictionary<long, GameEvent> |
ProcessingEvents |
get |
ITokenAuthentication |
TokenAuthenticator |
get |
string |
Version |
get |
| Returns | Name |
|---|---|
void |
AddAdditionalCommand(IManagerCommand command)adds an additional (script) command to the command list |
void |
AddEvent(GameEvent gameEvent)queues an event for processing |
Task |
ExecuteEvent(GameEvent gameEvent) |
Task<IList<T>> |
ExecuteSharedDatabaseOperation(string operationName) |
EFClient |
FindActiveClient(EFClient client) |
IEventParser |
GenerateDynamicEventParser(string name)Generates an event parser that can be configured by script plugins |
IRConParser |
GenerateDynamicRConParser(string name)generates an rcon parser that can be configured by script plugins |
IList<EFClient> |
GetActiveClients() |
IConfigurationHandler<ApplicationConfiguration> |
GetApplicationSettings() |
ClientService |
GetClientService() |
IList<IManagerCommand> |
GetCommands() |
ILogger |
GetLogger(long serverId) |
IList<MessageToken> |
GetMessageTokens() |
IPageList |
GetPageList()provides a page list to add and remove from |
PenaltyService |
GetPenaltyService() |
IList<Server> |
GetServers() |
Task |
Init() |
void |
QueueEvent(CoreEvent coreEvent)queues an event for processing |
void |
RegisterSharedDatabaseOperation(Task<IList> operation, string operationName) |
void |
RemoveCommandByName(string name)removes a command by its name |
Task |
Restart() |
Task |
Start() |
Task |
Stop() |
public Task Init()public Task Start()public Task Stop()public Task Restart()public ILogger GetLogger(long serverId)| Type | Name | Description |
|---|---|---|
long |
serverId |
public IList<Server> GetServers()public IList<IManagerCommand> GetCommands()public IList<MessageToken> GetMessageTokens()public IList<EFClient> GetActiveClients()public EFClient FindActiveClient(EFClient client)| Type | Name | Description |
|---|---|---|
EFClient |
client |
public IConfigurationHandler<ApplicationConfiguration> GetApplicationSettings()public ClientService GetClientService()public PenaltyService GetPenaltyService()public IPageList GetPageList()provides a page list to add and remove from
public Task<IList<T>> ExecuteSharedDatabaseOperation<T>(string operationName)
where T : | Type | Name | Description |
|---|---|---|
string |
operationName |
public void RegisterSharedDatabaseOperation(Task<IList> operation, string operationName)| Type | Name | Description |
|---|---|---|
Task<IList> |
operation | |
string |
operationName |
public IRConParser GenerateDynamicRConParser(string name)| Type | Name | Description |
|---|---|---|
string |
name | name of the RCon parser |
generates an rcon parser that can be configured by script plugins
new rcon parser instance
public IEventParser GenerateDynamicEventParser(string name)| Type | Name | Description |
|---|---|---|
string |
name | name of the event parser |
Generates an event parser that can be configured by script plugins
new event parser instance
public Task ExecuteEvent(GameEvent gameEvent)| Type | Name | Description |
|---|---|---|
GameEvent |
gameEvent |
public void AddEvent(GameEvent gameEvent)| Type | Name | Description |
|---|---|---|
GameEvent |
gameEvent | event to be processed |
queues an event for processing
public void QueueEvent(CoreEvent coreEvent)| Type | Name | Description |
|---|---|---|
CoreEvent |
coreEvent |
queues an event for processing
public void AddAdditionalCommand(IManagerCommand command)| Type | Name | Description |
|---|---|---|
IManagerCommand |
command |
adds an additional (script) command to the command list
public void RemoveCommandByName(string name)| Type | Name | Description |
|---|---|---|
string |
name | name of command |
removes a command by its name
public IReadOnlyList<IManagerCommand> Commands { get; }public IEnumerable<IPlugin> Plugins { get; }enumerates the registered plugin instances
public IList<IRConParser> AdditionalRConParsers { get; }public IList<IEventParser> AdditionalEventParsers { get; }public IMiddlewareActionHandler MiddlewareActionHandler { get; }public IList<Func<GameEvent, bool>> CommandInterceptors { get; }public string Version { get; }public ITokenAuthentication TokenAuthenticator { get; }public string ExternalIPAddress { get; }public CancellationToken CancellationToken { get; }public bool IsRestartRequested { get; }public bool IsRunning { get; }public ConcurrentDictionary<long, GameEvent> ProcessingEvents { get; }public IAlertManager AlertManager { get; }public IInteractionRegistration InteractionRegistration { get; }public event EventHandler<GameEvent> OnGameEventExecutedevent executed when event has finished executing
Generated with ModularDoc