TcpClientPacketReceivedEvent

This event is fired once the ServerConnection has received the packet but has not yet handled it.

Constructors

Link copied to clipboard
constructor(@NotNull connection: @NotNull ServerConnection, @NotNull packet: @NotNull Packet<out Any>)

Functions

Link copied to clipboard
open fun isCancelled(): Boolean
Link copied to clipboard
open fun setCancelled(cancel: Boolean)