PacketEvent

abstract class PacketEvent<P : Packet<*>>

Base class for packet events.

Type Parameters

P

the type of the packet

Inheritors

Properties

Link copied to clipboard

Whether the event is canceled. Packets that are canceled will not be sent or processed by the server.

Link copied to clipboard
var packet: P

The packet that is being sent or received.