CheckWorldSuitabilityCodec

@Singleton
class CheckWorldSuitabilityCodec @Inject constructor(key: RSAPrivateCrtKeyParameters) : VariableBytePacketCodec<LoginRequest.CheckWorldSuitability>

Constructors

Link copied to clipboard
@Inject
constructor(key: RSAPrivateCrtKeyParameters)

Properties

Link copied to clipboard
val opcode: Int
Link copied to clipboard

Functions

Link copied to clipboard
open override fun allocateBuffer(alloc: ByteBufAllocator, input: LoginRequest.CheckWorldSuitability, preferDirect: Boolean): ByteBuf
Link copied to clipboard
open override fun decode(input: ByteBuf, cipher: StreamCipher): LoginRequest.CheckWorldSuitability
Link copied to clipboard
open override fun encode(input: LoginRequest.CheckWorldSuitability, output: ByteBuf, cipher: StreamCipher)
Link copied to clipboard
Link copied to clipboard
open override fun isLengthReadable(input: ByteBuf): Boolean
Link copied to clipboard
open override fun readLength(input: ByteBuf): Int
Link copied to clipboard
open override fun setLength(output: ByteBuf, index: Int, written: Int)
Link copied to clipboard
open override fun writeLengthPlaceholder(output: ByteBuf)