bta-proxy/bta_proxy/packets/packet60explosion.py

14 lines
429 B
Python

from .base import Packet
class Packet60Explosion(Packet, packet_id=60):
__slots__ = ('x', 'y', 'z', 'size', 'destroyed_len', 'rel_destroyed', 'is_cannonball')
FIELDS = [
('x', 'double'),
('y', 'double'),
('z', 'double'),
('size', 'float'),
('destroyed_len', 'int'),
('rel_destroyed', ('list', 'destroyed_len', 'list', 3, 'byte')),
('is_cannonball', 'bool'),
]