mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-28 22:47:32 +02:00
d0c42ab061
* Add RegistrationOrder for order. * Add sorting functionality with some tests. (See RegistrationOrder.AbstractRegisTrationOrderSort.) * (Except for test cases, all this is not yet in use.) (Perhaps the sorting should be changed to use an array for output instead of iterators, this just represents a quick way in.) Further direction: * Replace all the registry lists like for INotifyReload and IDisableListener and so on within registries by a generic storage that uses this for sorting. This way every such thing will support both priority-based and tag-based order at the same time. * To support different order definitions depending on what type an interface like IRegisterWithOrder might be supported by a registry. * Later generic event listeners might also use this, simply. |
||
---|---|---|
.. | ||
src | ||
pom.xml |