@EventType("MyEvent") class MyEvent : Event { // ... }
Note: To use the basicEventType mixin template you need to define an EventType UDA otherwise it'll not work! You CAN create your own EventType version without UDAs but keep in mind you'll have to implement your custom logic of the abstract methods. The EventDispatcher is not afected by this.
Default EventType struct
Used as the main data storage for the events. \ You must define this as an UDA when declaring your custom events. \