2023-08-25 23:11:36 +03:00
|
|
|
from .base import Packet
|
|
|
|
|
|
|
|
class Packet102WindowClick(Packet, packet_id=102):
|
|
|
|
FIELDS = [
|
|
|
|
('window_id', 'byte'),
|
|
|
|
('action', 'byte'),
|
|
|
|
('size', 'byte'),
|
2023-08-28 01:51:35 +03:00
|
|
|
('args', ('list', 'size', 'ubyte')),
|
2023-08-25 23:11:36 +03:00
|
|
|
('action_id', 'short'),
|
|
|
|
('item', 'itemstack_optional')
|
|
|
|
]
|