public static class NetworkEvent.ChannelRegistrationChangeEvent extends NetworkEvent
NetworkEvent.ChannelRegistrationChangeEvent, NetworkEvent.ClientCustomPayloadEvent, NetworkEvent.ClientCustomPayloadLoginEvent, NetworkEvent.Context, NetworkEvent.GatherLoginPayloadsEvent, NetworkEvent.LoginPayloadEvent, NetworkEvent.RegistrationChangeType, NetworkEvent.ServerCustomPayloadEvent, NetworkEvent.ServerCustomPayloadLoginEvent
Modifier and Type | Field and Description |
---|---|
private NetworkEvent.RegistrationChangeType |
changeType |
Constructor and Description |
---|
ChannelRegistrationChangeEvent(java.util.function.Supplier<NetworkEvent.Context> source,
NetworkEvent.RegistrationChangeType changeType) |
Modifier and Type | Method and Description |
---|---|
NetworkEvent.RegistrationChangeType |
getRegistrationChangeType() |
getLoginIndex, getPayload, getSource
private final NetworkEvent.RegistrationChangeType changeType
ChannelRegistrationChangeEvent(java.util.function.Supplier<NetworkEvent.Context> source, NetworkEvent.RegistrationChangeType changeType)
public NetworkEvent.RegistrationChangeType getRegistrationChangeType()