diff --git a/Application/ApplicationManager.cs b/Application/ApplicationManager.cs index 38a4e065f..92ad710f6 100644 --- a/Application/ApplicationManager.cs +++ b/Application/ApplicationManager.cs @@ -46,6 +46,8 @@ namespace IW4MAdmin.Application public IList AdditionalRConParsers { get; } public IList AdditionalEventParsers { get; } + public IList> CommandInterceptors { get; set; } = + new List>(); public ITokenAuthentication TokenAuthenticator { get; } public CancellationToken CancellationToken => _tokenSource.Token; public string ExternalIPAddress { get; private set; } diff --git a/SharedLibraryCore/Interfaces/IManager.cs b/SharedLibraryCore/Interfaces/IManager.cs index 65c524005..2de44f94c 100644 --- a/SharedLibraryCore/Interfaces/IManager.cs +++ b/SharedLibraryCore/Interfaces/IManager.cs @@ -23,6 +23,7 @@ namespace SharedLibraryCore.Interfaces IList AdditionalRConParsers { get; } IList AdditionalEventParsers { get; } IMiddlewareActionHandler MiddlewareActionHandler { get; } + IList> CommandInterceptors { get; } string Version { get; } ITokenAuthentication TokenAuthenticator { get; } string ExternalIPAddress { get; }