|
|
|
from .base import Packet
|
|
|
|
class Packet1Login(Packet, packet_id=1):
|
|
|
|
FIELDS = [
|
|
('entity_id_and_proto', 'uint'),
|
|
('username', ('str', 16)),
|
|
('pubkey', ('str', 392)),
|
|
('seed', 'long'),
|
|
('dimension', 'byte'),
|
|
('worldtype', 'byte'),
|
|
('packet_delay', 'byte')
|
|
]
|