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
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
operation |
private com.google.common.collect.ImmutableSet<java.lang.String> |
registrations |
private Side |
side |
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
private final com.google.common.collect.ImmutableSet<java.lang.String> registrations
private final java.lang.String operation
private final Side side
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()