bta-proxy/bta_proxy/packets/packet1login.py

15 lines
321 B
Python
Raw Normal View History

2023-08-24 15:29:57 +03:00
from .base import Packet
2023-08-24 17:40:23 +03:00
class Packet1Login(Packet, packet_id=1):
2023-08-24 15:29:57 +03:00
FIELDS = [
('entity_id_and_proto', 'uint'),
('username', ('str', 16)),
('pubkey', ('str', 392)),
('seed', 'long'),
('dimension', 'byte'),
('worldtype', 'byte'),
('packet_delay', 'byte')
]