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