dolor.packets.clientbound.login¶
- class DisconnectLoginPacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.LoginPacket- id = 0¶
- reason: dolor.types.chat.Chat¶
- class EncryptionRequestPacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.LoginPacket- id = 1¶
- server_id: dolor.types.string.String(20)¶
- public_key: dolor.types.array.RawByte[VarInt]¶
- verify_token: dolor.types.array.RawByte[VarInt]¶
- class LoginSuccessPacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.LoginPacket- id = 2¶
- username: dolor.types.string.String(16)¶
- class SetCompressionPacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.LoginPacket- id = 3¶
- threshold: dolor.types.numeric.VarInt¶
A signed, variable-length 32-bit integer.
- class LoginPluginRequestPacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.LoginPacket- id = 4¶
- message_id: dolor.types.numeric.VarInt¶
A signed, variable-length 32-bit integer.
- channel: dolor.types.string.Identifier¶
An identifier for a resource location.
- data: dolor.types.array.RawByte[None]¶