Java API
interface

EventSignalSource

me.tamkungz.signals.bungee.event.EventSignalSource

Version
0.2.1-SNAPSHOT
Java
21
Source file
me/tamkungz/signals/bungee/event/EventSignalSource.java
Repository
View source ↗

Supplies the {@link Signal} that carries a BungeeCord event type.

<p>

The per-domain accessors depend on this interface only, which keeps them free of {@code BungeeSignals} itself.

public interface EventSignalSource

Methods 1

on

<T extends Event> Signal<T> on(Class<T> eventType)

Returns the signal for a bridged BungeeCord event type.

@param
eventType BungeeCord event type
@param
<T> event type
@return
the signal for that event type
@throws
IllegalArgumentException if the event type is not bridged