leonhard-s / auraxium

A high-level Python wrapper for the PlanetSide 2 API.
https://auraxium.readthedocs.io/
MIT License
28 stars 8 forks source link

Event rewrite #43

Closed leonhard-s closed 3 years ago

leonhard-s commented 3 years ago

This is a hybrid of #42 and the existing event model rewrite.

Still plenty of work to be done, particularly in tidying up the setup modes (EventType enum being gone, etc.), and the Trigger system has not been updated to support the new system properly. See below for updates.

leonhard-s commented 3 years ago

A minor commit dump later, I have resolved a lot of the circular import issues that were causing me worries about the solution. Unit tests pass and Pylance seems happy, but I have not yet done any thorough testing.

I still want to clean up a few more areas (namely finding a better solution for base classes and deciding how to best implement optional functionality, i.e. whether to use protocols, ABCs or "normal" mix-ins.