Package com.mewna.catnip.shard.event
Interface DoubleEventType<T,E>
- All Known Implementing Classes:
DoubleEventTypeImpl
public interface DoubleEventType<T,E>
- Since:
- 3/7/19.
- Author:
- amy
-
Method Summary
-
Method Details
-
key
Key used in the event bus.- Returns:
- Key where this event is fired in the bus.
-
left
- Returns:
- The "left side" of this event. Is the first event that the consumer must handle.
-
right
- Returns:
- The "right side" of this event. Is the second event that the consumer must handle.
-
payloadClasses
Classes sent in the event payload.- Returns:
- A
Pair
of the classes that this event fires, in order.
-