re-enable API events
This commit is contained in:
parent
2b26b9a707
commit
4d3f7da48e
@ -71,8 +71,6 @@ namespace IW4MAdmin.Application
|
|||||||
PageList = new PageList();
|
PageList = new PageList();
|
||||||
AdditionalEventParsers = new List<IEventParser>();
|
AdditionalEventParsers = new List<IEventParser>();
|
||||||
AdditionalRConParsers = new List<IRConParser>();
|
AdditionalRConParsers = new List<IRConParser>();
|
||||||
//OnServerEvent += OnGameEvent;
|
|
||||||
//OnServerEvent += EventApi.OnGameEvent;
|
|
||||||
TokenAuthenticator = new TokenAuthentication();
|
TokenAuthenticator = new TokenAuthentication();
|
||||||
_metaService = new MetaService();
|
_metaService = new MetaService();
|
||||||
_tokenSource = new CancellationTokenSource();
|
_tokenSource = new CancellationTokenSource();
|
||||||
|
@ -34,6 +34,7 @@ namespace IW4MAdmin.Application
|
|||||||
{
|
{
|
||||||
var start = DateTime.Now;
|
var start = DateTime.Now;
|
||||||
await Manager.ExecuteEvent(args.Event);
|
await Manager.ExecuteEvent(args.Event);
|
||||||
|
EventApi.OnGameEvent(sender, args);
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
_profiler.Profile(start, DateTime.Now, args.Event);
|
_profiler.Profile(start, DateTime.Now, args.Event);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user