Package org.spongepowered.api.event
Interface GenericEvent<T>
-
- Type Parameters:
T- The generic type
- All Superinterfaces:
Event
- All Known Subinterfaces:
CriterionEvent.Trigger<C>,EngineLifecycleEvent<E>,ProvideServiceEvent<T>,ProvideServiceEvent.EngineScoped<T>,ProvideServiceEvent.GameScoped<T>,RegisterCommandEvent<C>,RegisterDataPackValueEvent<T>,RegisterRegistryEvent.EngineScoped<E>,RegisterRegistryValueEvent.EngineScoped<E>,StartedEngineEvent<E>,StartingEngineEvent<E>,StoppingEngineEvent<E>
public interface GenericEvent<T> extends Event
AllEvents that require a generic type should implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.leangen.geantyref.TypeToken<T>paramType()Gets thegeneric type.
-
-
-
Method Detail
-
paramType
io.leangen.geantyref.TypeToken<T> paramType()
Gets thegeneric type.- Returns:
- The type token
-
-