mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-08 06:08:20 -05:00
add command interceptor functionality
This commit is contained in:
parent
054ae71d14
commit
ce6e759cef
@ -46,6 +46,8 @@ namespace IW4MAdmin.Application
|
|||||||
|
|
||||||
public IList<IRConParser> AdditionalRConParsers { get; }
|
public IList<IRConParser> AdditionalRConParsers { get; }
|
||||||
public IList<IEventParser> AdditionalEventParsers { get; }
|
public IList<IEventParser> AdditionalEventParsers { get; }
|
||||||
|
public IList<Func<GameEvent, bool>> CommandInterceptors { get; set; } =
|
||||||
|
new List<Func<GameEvent, bool>>();
|
||||||
public ITokenAuthentication TokenAuthenticator { get; }
|
public ITokenAuthentication TokenAuthenticator { get; }
|
||||||
public CancellationToken CancellationToken => _tokenSource.Token;
|
public CancellationToken CancellationToken => _tokenSource.Token;
|
||||||
public string ExternalIPAddress { get; private set; }
|
public string ExternalIPAddress { get; private set; }
|
||||||
|
@ -23,6 +23,7 @@ namespace SharedLibraryCore.Interfaces
|
|||||||
IList<IRConParser> AdditionalRConParsers { get; }
|
IList<IRConParser> AdditionalRConParsers { get; }
|
||||||
IList<IEventParser> AdditionalEventParsers { get; }
|
IList<IEventParser> AdditionalEventParsers { get; }
|
||||||
IMiddlewareActionHandler MiddlewareActionHandler { get; }
|
IMiddlewareActionHandler MiddlewareActionHandler { get; }
|
||||||
|
IList<Func<GameEvent, bool>> CommandInterceptors { get; }
|
||||||
string Version { get; }
|
string Version { get; }
|
||||||
ITokenAuthentication TokenAuthenticator { get; }
|
ITokenAuthentication TokenAuthenticator { get; }
|
||||||
string ExternalIPAddress { get; }
|
string ExternalIPAddress { get; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user