Events should be added in a config format
Opened this issue · 2 comments
Neoxas commented
Currently the events are hardcoded within the BossEvents.py file.
A significant improvement to flexability would be to load these from a config file type (JSON/YAML/XML)
Neoxas commented
Current exploratory work is being done using PyYaml to deserializer data.
Should allow for easy event configuration alongside extra metadata being added.
Neoxas commented
Progress made. Strange issues with lazy loading (potentially). Works but needs further investigation.
Current rational is:
- Initial deserialization of node looks okay
- Checking values revieved when calling loader.convert_mappings( node ) results in empty time array
- Constructor for event reports empty time array
- Call to get the value this was set (__rawTime) results in correct time logged.