bta-proxy/bta_proxy/packets/packet54playnoteblock.py

12 lines
282 B
Python
Raw Normal View History

2023-08-26 16:45:22 +03:00
from .base import Packet
class Packet54PlayNoteBlock(Packet, packet_id=54):
__slots__ = ('x', 'y', 'z', 'instrument', 'pitch')
FIELDS = [
('x', 'int'),
('y', 'short'),
('z', 'int'),
('instrument', 'ubyte'),
('pitch', 'ubyte'),
]