Class PacketEventsImplHelper
java.lang.Object
com.github.retrooper.packetevents.util.PacketEventsImplHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PacketSendEvent
handleClientBoundPacket
(Object channel, User user, Object player, Object buffer, boolean autoProtocolTranslation) static void
handleDisconnection
(Object channel, @Nullable UUID uuid) static PacketReceiveEvent
handleServerBoundPacket
(Object channel, User user, Object player, Object buffer, boolean autoProtocolTranslation)
-
Constructor Details
-
PacketEventsImplHelper
public PacketEventsImplHelper()
-
-
Method Details
-
handleClientBoundPacket
public static PacketSendEvent handleClientBoundPacket(Object channel, User user, Object player, Object buffer, boolean autoProtocolTranslation) throws Exception - Throws:
Exception
-
handleServerBoundPacket
public static PacketReceiveEvent handleServerBoundPacket(Object channel, User user, Object player, Object buffer, boolean autoProtocolTranslation) throws Exception - Throws:
Exception
-
handleDisconnection
-