iphydf
e2c01e457b
refactor: Use enum-specific pack functions for enum values.
...
It's more obvious this way.
2024-01-15 21:47:13 +00:00
iphydf
6caa7ce4b1
cleanup: Move the 2-element array pack out of individual events.
...
It's common across all events. No need to repeat it.
Co-authored-by: Green Sky <green@g-s.xyz>
2024-01-15 19:04:45 +00:00
iphydf
b4d8826228
cleanup: Remove old type-ordered event getters.
...
These are quite expensive, because they go through all events to index
in a typed array that no longer exists. Clients should index in the
union array and find the event they want themselves, or use dispatch.
2024-01-15 17:29:43 +00:00
Green Sky
8c35e0fefb
feat: add ngc events
2024-01-15 16:32:10 +00:00
iphydf
97bdd83937
refactor: Make event dispatch ordered by receive time.
2024-01-15 16:32:10 +00:00
Green Sky
41dfb1c1c0
fix: unpack enum function names in event impl generator
2023-12-24 14:34:34 +01:00
Green Sky
22cd38ad50
adopt event impl generation tool to #2392
2023-12-20 12:13:45 +01:00
Green Sky
f31ea1088a
add the event impl generation tool
2023-12-20 10:46:59 +01:00