S
- The sidepublic static class FMLNetworkEvent.CustomPacketRegistrationEvent<S extends INetHandler> extends FMLNetworkEvent<S>
FMLNetworkEvent.ClientConnectedToServerEvent, FMLNetworkEvent.ClientCustomPacketEvent, FMLNetworkEvent.ClientDisconnectionFromServerEvent, FMLNetworkEvent.CustomNetworkEvent, FMLNetworkEvent.CustomPacketEvent<S extends INetHandler>, FMLNetworkEvent.CustomPacketRegistrationEvent<S extends INetHandler>, FMLNetworkEvent.ServerConnectionFromClientEvent, FMLNetworkEvent.ServerCustomPacketEvent, FMLNetworkEvent.ServerDisconnectionFromClientEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
CustomPacketRegistrationEvent(NetworkManager manager,
java.util.Set<java.lang.String> registrations,
java.lang.String operation,
Side side,
java.lang.Class<S> type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOperation() |
com.google.common.collect.ImmutableSet<java.lang.String> |
getRegistrations() |
Side |
getSide() |
getHandler, getHandlerType, getManager, getType
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public CustomPacketRegistrationEvent(NetworkManager manager, java.util.Set<java.lang.String> registrations, java.lang.String operation, Side side, java.lang.Class<S> type)
public com.google.common.collect.ImmutableSet<java.lang.String> getRegistrations()
public java.lang.String getOperation()
public Side getSide()