PacketBundler

interface PacketBundler

A packet bundler

Functions

Link copied to clipboard
abstract fun isEmpty(): Boolean
Checks this bundler is empty
Link copied to clipboard
open fun send(@NotNull player: @NotNull Player)
abstract fun send(@NotNull player: @NotNull Player, @NotNull onSuccess: @NotNull Runnable)
Sends all packets to player
Link copied to clipboard
abstract fun size(): Int
Gets bundler's packet size.