Class PacketHandshakeSendEvent
java.lang.Object
com.github.retrooper.packetevents.event.PacketEvent
com.github.retrooper.packetevents.event.ProtocolPacketEvent
com.github.retrooper.packetevents.event.PacketSendEvent
com.github.retrooper.packetevents.event.simple.PacketHandshakeSendEvent
- All Implemented Interfaces:
CallableEvent
,CancellableEvent
,PlayerEvent
,UserEvent
-
Constructor Summary
ModifierConstructorDescriptionprotected
PacketHandshakeSendEvent
(int packetId, PacketTypeCommon packetType, ServerVersion serverVersion, Object channel, User user, Object player, Object byteBuf) PacketHandshakeSendEvent
(Object channel, User user, Object player, Object rawByteBuf, boolean autoProtocolTranslation) -
Method Summary
Methods inherited from class com.github.retrooper.packetevents.event.PacketSendEvent
call, getTasksAfterSend, hasTasksAfterSend
Methods inherited from class com.github.retrooper.packetevents.event.ProtocolPacketEvent
cleanUp, getAddress, getByteBuf, getChannel, getClientVersion, getConnectionState, getFullBufferClone, getLastUsedWrapper, getPacketId, getPacketName, getPlayer, getPostTasks, getServerVersion, getSocketAddress, getUser, hasPostTasks, isCancelled, isClone, markForReEncode, needsReEncode, setByteBuf, setCancelled, setClientVersion, setLastUsedWrapper, setServerVersion
Methods inherited from class com.github.retrooper.packetevents.event.PacketEvent
callPacketEventExternal, getTimestamp
-
Constructor Details
-
PacketHandshakeSendEvent
public PacketHandshakeSendEvent(Object channel, User user, Object player, Object rawByteBuf, boolean autoProtocolTranslation) throws PacketProcessException - Throws:
PacketProcessException
-
PacketHandshakeSendEvent
protected PacketHandshakeSendEvent(int packetId, PacketTypeCommon packetType, ServerVersion serverVersion, Object channel, User user, Object player, Object byteBuf) throws PacketProcessException - Throws:
PacketProcessException
-
-
Method Details
-
clone
- Overrides:
clone
in classPacketSendEvent
-
getPacketType
- Overrides:
getPacketType
in classProtocolPacketEvent
-