bta-proxy/bta_proxy/packets/packet23vehiclespawn.py

18 lines
460 B
Python
Raw Normal View History

2023-08-26 01:12:19 +03:00
from .base import Packet
class Packet23VehicleSpawn(Packet, packet_id=23):
FIELDS = [
('entity_id', 'int'),
('type', 'byte'),
('x', 'int'),
('y', 'int'),
('z', 'int'),
('pitch', 'float'),
('yaw', 'float'),
('vehicle_type', 'int'),
('dx?vehicle_type', 'short'),
('dy?vehicle_type', 'short'),
('dz?vehicle_type', 'short'),
('arrow_type?type==60', 'int'),
]