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