dolor.packets.serverbound.login

class LoginStartPacket(*, buf=None, ctx=None, **kwargs)[source]

Bases: dolor.packets.packet.ServerboundPacket, dolor.packets.packet.LoginPacket

id = 0
name: dolor.types.string.String(16)
class EncryptionResponsePacket(*, buf=None, ctx=None, **kwargs)[source]

Bases: dolor.packets.packet.ServerboundPacket, dolor.packets.packet.LoginPacket

id = 1
shared_secret: dolor.types.array.RawByte[VarInt]
verify_token: dolor.types.array.RawByte[VarInt]
class LoginPluginResponsePacket(*, buf=None, ctx=None, **kwargs)[source]

Bases: dolor.packets.packet.ServerboundPacket, dolor.packets.packet.LoginPacket

id = 2
message_id: dolor.types.numeric.VarInt

A signed, variable-length 32-bit integer.

data: dolor.types.optional.OptionalRawByte[None]