bta-proxy/bta_proxy/packets/packet1login.py

15 lines
321 B
Python

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')
]