from .base import Packet
class Packet102WindowClick(Packet, packet_id=102):
FIELDS = [
('window_id', 'byte'),
('action', 'byte'),
('size', 'byte'),
('args', ('bytes', 'size')),
('action_id', 'short'),
('item', 'itemstack_optional')
]