byType

open fun byType(type: Int): Packet<out Any>
open fun byType(type: Int, @NotNull direction: @NotNull PacketDirection): Packet<out Any>