]> git.deb.at Git - rhonda/impostor.git/commit
Implemented EventListener priorities (#62)
authorGerard Smit <gsmit1996@gmail.com>
Wed, 21 Oct 2020 12:55:03 +0000 (14:55 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 12:55:03 +0000 (14:55 +0200)
commitd6eb6bc54a0138112ea16203d0e7df0925499055
treeeac8d0e7d7f2b28b666384281c0ef930f5537bd0
parent3b873d8209afa2ffa0b09ffb467d8a5b9b964ad4
Implemented EventListener priorities (#62)

* Improved EventManager

Now it actually will order the event listeners on their priority. Also I've cleaned up the registering of temporary event listeners.

* Ignore new Impostor.Api library while loading plugins

* Fixed Dockerfile
14 files changed:
Dockerfile
src/Impostor.Api/Events/Attributes/EventListenerAttribute.cs
src/Impostor.Api/Events/Managers/IEventManager.cs
src/Impostor.Server/Events/EventHandler.cs
src/Impostor.Server/Events/EventManager.cs
src/Impostor.Server/Events/Register/IRegisteredEventListener.cs [new file with mode: 0644]
src/Impostor.Server/Events/Register/InvokedRegisteredEventListener.cs [new file with mode: 0644]
src/Impostor.Server/Events/Register/RegisteredEventListener.cs [new file with mode: 0644]
src/Impostor.Server/Events/Register/TemporaryEventRegister.cs [new file with mode: 0644]
src/Impostor.Server/Events/Register/WrappedRegisteredEventListener.cs [new file with mode: 0644]
src/Impostor.Server/Events/RegisteredEventListener.cs [deleted file]
src/Impostor.Server/Events/TemporaryEventRegister.cs [deleted file]
src/Impostor.Server/Plugins/PluginLoader.cs
src/Impostor.Tests/Events/EventManagerTests.cs [new file with mode: 0644]