ClientboundDisconnectPacketEvent

class ClientboundDisconnectPacketEvent(packet: ClientboundDisconnectPacket) : PacketEvent<ClientboundDisconnectPacket>

Constructors

Link copied to clipboard
constructor(packet: ClientboundDisconnectPacket)

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: ClientboundDisconnectPacket

The packet that is being sent or received.

Link copied to clipboard
var reason: Component