bta-proxy/bta_proxy/packets/packet60explosion.py

14 lines
429 B
Python
Raw Normal View History

2023-08-26 12:33:31 +03:00
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'),
]