Package top.focess.qq.api.event
Annotation Type EventHandler
-
@Target(METHOD) @Retention(RUNTIME) public @interface EventHandler
Represent an event listener method. It means this method mush own one argument whose class is an implemented Event.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleannotCallIfCancelledSet whether this method should be called when the event is cancelledbooleannotCallIfPreventedSet whether this method should be called when the event is preventedEventPriorityprioritySet the priority of this event listener method
-
-
-
Element Detail
-
priority
EventPriority priority
Set the priority of this event listener method- Returns:
- the priority of this event listener method
- Default:
- top.focess.qq.api.event.EventPriority.NORMAL
-
-