Class: SendCmpctPacket

net/packets~SendCmpctPacket(mode, version)

SendCmpct Packet

Constructor

new SendCmpctPacket(mode, version)

Create a sendcmpct packet.

Parameters:
Name Type Description
mode Number | null
version Number | null
Properties:
Name Type Description
mode Number
version Number
Source:

Extends

  • Packet

Methods

getSize() → {Number}

Get serialization size.

Source:
Returns:
Type
Number

(private) read(br)

Inject properties from buffer reader.

Parameters:
Name Type Description
br BufferReader
Source:

write(bw)

Serialize sendcmpct packet to writer.

Parameters:
Name Type Description
bw BufferWriter
Source: